Add fesetexcept: sh.
[glibc.git] / ChangeLog
blob962e8a969c3f2ea9365ca86b54646e1f3c562da3
1 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5         * sysdeps/s390/fpu/fesetexcept.c: New file.
7         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
8         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11         * sysdeps/mips/fpu/fesetexcept.c: New file.
13         * sysdeps/m68k/fpu/fesetexcept.c: New file.
15         * sysdeps/ia64/fpu/fesetexcept.c: New file.
17         * sysdeps/hppa/fpu/fesetexcept.c: New file.
19         * sysdeps/arm/fesetexcept.c: New file.
21         * sysdeps/alpha/fpu/fesetexcept.c: New file.
23         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
25         * math/fesetexcept.c: New file.
26         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
27         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
28         * math/fenv.h: Define
29         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
30         <bits/libc-header-start.h> instead of including <features.h>.
31         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
32         declaration.
33         * manual/arith.texi (fesetexcept): Document function.
34         * math/Versions (fesetexcept): New libm symbol at version
35         GLIBC_2.25.
36         * math/Makefile (libm-support): Add fesetexcept.
37         (tests): Add test-fesetexcept and test-fesetexcept-traps.
38         * math/test-fesetexcept.c: New file.
39         * math/test-fesetexcept-traps.c: Likewise.
40         * sysdeps/nacl/libm.abilist: Update.
41         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
54         Likewise.
55         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
56         Likewise.
57         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
58         Likewise.
59         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
60         Likewise.
61         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
67         Likewise.
68         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
69         Likewise.
70         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
74 2016-08-16  Florian Weimer  <fweimer@redhat.com>
76         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
77         New.
78         (do_test): Apply default_stack_size_in_mb if not set.
79         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
81 2016-08-15  Andreas Schwab  <schwab@suse.de>
83         [BZ #20435]
84         CVE-2016-6323
85         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
86         as .cantunwind.
88 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
91         comment from fraiseexcpt.c.
93         * math/test-fexcept.c (feraiseexcept_exact): New function.
94         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
95         (test_except): Likewise.
97 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
99         [BZ #20455]
100         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
101         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
102         to be restored.
104         * math/test-fexcept-traps.c: New file.
105         * math/test-fexcept.c: Likewise.
106         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
107         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
108         macro.
109         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
110         (EXCEPTION_SET_FORCES_TRAP): Likewise.
112 2016-08-09  Torvald Riegel  <triegel@redhat.com>
114         * include/atomic.h (atomic_fetch_and_relaxed,
115         atomic_fetch_and_release, atomic_fetch_or_release,
116         atomic_fetch_xor_release): New.
118 2016-08-06  Christian Seiler  <christian@iwakd.de>
120         [BZ #20444]
121         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
122         MACH_PORT_NULL.
124 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
126         * math/s_fdim.c: Avoid alias renamed.
127         * math/s_fdimf.c: Likewise.
128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
129         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
130         Add s_fdimf-vis3, s_fdim-vis3.
131         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
132         (CFLAGS-s_fdim-vis3.c): Likewise.
133         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
134         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
136 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
139         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
140         Remove s_fdimf-vis3, s_fdim-vis3.
141         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
142         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
149         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
150         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
152 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
154         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
155         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
156         -Wa,-Av9a -mvis.
158 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
160         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
161         LIT() to individual constants in simple expressions
162         after splitting on spaces.
163         (_apply_lit): Rename replaced version, and use it to
164         apply to what appears to be a token.
166         * math/libm-test.inc: Fix many, many issues with
167         spacing.
169 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
171         * math/math.h: Move comment about <bits/mathdef.h> definitions
172         above inclusion of <bits/mathdef.h>.  Do not mention
173         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
175 2016-08-05  Torvald Riegel  <triegel@redhat.com>
177         * include/atomic.h (atomic_exchange_relaxed): New.
179 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
181         * math/e_scalb.c: Do not include <fenv.h>.
182         (invalid_fn): Do calculation resulting in NaN instead of raising
183         FE_INVALID and returning a NaN explicitly.
184         * math/e_scalbf.c: Do not include <fenv.h>.
185         (invalid_fn): Do calculation resulting in NaN instead of raising
186         FE_INVALID and returning a NaN explicitly.
187         * math/e_scalbl.c: Do not include <fenv.h>.
188         (invalid_fn): Do calculation resulting in NaN instead of raising
189         FE_INVALID and returning a NaN explicitly.
191 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
193         * po/de.po: Updated from Translation Project.
194         * po/fi.po: Likewise.
195         * po/sv.po: Likewise.
197 2016-08-04  Florian Weimer  <fweimer@redhat.com>
199         [BZ #20452]
200         Use sysdep.o from libc.a in static libraries.
201         * sysdeps/unix/sysv/linux/i386/Makefile
202         (libpthread-shared-only-routines): Add sysdep.
203         (librt-shared-only-routines): Likewise.
205 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
207         * math/tgmath.h (nextdown): Define if
208         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
209         (nextup): Likewise.
211         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
212         macro.
213         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
214         Document.
215         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
216         Document macro.
217         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
218         (exp10f): Likewise.
219         (exp10l): Likewise.
220         * math/bits/mathcalls.h (exp10): Declare if
221         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
223         * manual/arith.texi (nextup): Fix typo in last change.
225 2016-08-03  Zack Weinberg  <zackw@panix.com>
227         [BZ #19239]
228         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
229         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
230         define major, minor, and makedev to issue deprecation warnings on use.
231         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
232         previously-activated deprecation warnings for these macros and prevent
233         subsequent inclusions of this header from having any effect.
234         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
235         including <sys/sysmacros.h>, and undefine it again afterward.
237 2016-08-03  Zack Weinberg  <zackw@panix.com>
239         * sysdeps/generic/sys/sysmacros.h: Delete file.
240         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
241         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
242         * bits/sysmacros.h: ... here; this encoding is now the generic
243         encoding.  Now defines only the following macros:
244         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
245         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
246         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
248         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
249         bits/sysmacros.h and the above new macros to generate the
250         public implementations of major, minor, and makedev.
251         * misc/tst-makedev.c: New test.
252         * include/sys/sysmacros.h: New wrapper.
254         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
255         (routines): Add makedev.
256         (tests): Add tst-makedev.
257         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
258         gnu_dev_makedev.
259         * posix/Makefile (headers): Remove sys/sysmacros.h.
260         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
262         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
263         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
264         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
265         * sysdeps/unix/sysv/linux/alpha/libc.abilist
266         * sysdeps/unix/sysv/linux/arm/libc.abilist
267         * sysdeps/unix/sysv/linux/hppa/libc.abilist
268         * sysdeps/unix/sysv/linux/i386/libc.abilist
269         * sysdeps/unix/sysv/linux/ia64/libc.abilist
270         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
271         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
272         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
273         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
274         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
275         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
276         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
277         * sysdeps/unix/sysv/linux/nios2/libc.abilist
278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
282         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
283         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
284         * sysdeps/unix/sysv/linux/sh/libc.abilist
285         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
286         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
289         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
290         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
291         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
292         Add GLIBC_2.25.
294         * include/features.h (__glibc_clang_prereq): New macro.
295         * misc/sys/cdefs.h (__glibc_clang_has_extension)
296         (__attribute_deprecated_msg__): New macros.
298 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
300         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
301         macro.
302         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
303         * manual/arith.texi (issignaling): Document as ISO from TS
304         18661-1:2014.
305         (nextup): Likewise.
306         (nextupf): Likewise.
307         (nextupl): Likewise.
308         (nextdown): Likewise.
309         (nextdownf): Likewise.
310         (nextdownl): Likewise.
311         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
312         macro.
313         * math/math.h: Define
314         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
315         <bits/libc-header-start.h> instead of including <features.h>.
316         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
317         [__USE_GNU].
318         * math/bits/mathcalls.h (nextdown): Declare if
319         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
320         (nextup): Likewise.
321         (__issignaling): Likewise.
323 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
325         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
326         check, and remove __glibc_likely hint
327         from FP_INFINITE check.
328         * s_csinhf.c (__csinhf): Likewise.
330         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
331         hint from FP_INFINITE check.
332         * s_csinhl.c (__csinhl): Likewise.
334 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
336         * math/Makefile (libm-calls): Insert F placeholder into
337         object names.  Move w_lgamma_compat* routines into
338         (libm-compat-calls): New variable.
339         (libm-compat-calls-ldouble-yes): New variable.
340         (calls): Insert F placeholder.
341         (generated): Redefine using new type-foreach macro call.
342         (routines): Likewise.
344         (types): New variable to hold a list of symbolic names
345         for each type supported by the target machine.
346         (libm-routines): Redefine using new types variable.
347         (type-foreach): macro to replace fooF with the
348         appropriately suffixed foo for each types.
350         (type-ldouble-suffix): New variable.
351         (type-ldouble-routines): Likewise.
352         (type-ldouble-yes): Likewise.
353         (type-double-suffix): Likewise.
354         (type-double-routines): Likewise.
355         (type-float-suffix): Likewise.
356         (type-float-routines): Likewise.
358         (dbl-only-routines): Remove.
359         (long-c-yes): Likewise.
360         (long-m-routines): Likewise.
361         (long-m-support): Likewise.
362         (long-m-yes): Likewise.
363         (test-longdouble-yes): Likewise.
365         (test-float.o): Simplify by increasing the scope of the
366         recipe which adds libm-test.stmp to the vector types.
367         (test-ifloat.o): Likewise.
368         (test-float-finite.o): Likewise.
369         (test-double.o): Likewise
370         (test-idouble.o): Likewise.
371         (test-double-finite.o): Likewise.
372         (test-ldouble.o): Likewise
373         (test-ildoubl.o): Likewise.
374         (test-ldouble-finite.o): Likewise.
376         (libm-tests): Redefine type tests using foreach and the
377         list of types in types.
379         (CPPFLAGS-test-ildoubl.c): Rename to
380         (CPPFLAGS-test-ildouble.c): New variable
382         * math/test-ildoubl.c: Rename to
383         * math/test-ildouble.c: New file.
385 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
387         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
388         Use fabsl instead of fabs.
389         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
390         Likewise.
391         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
392         Add long double suffix to constant to ensure proper
393         promotion to long double.
395 2016-08-03  Tom Tromey  <tom@tromey.com>
397         [BZ #20311]
398         * nptl_db/Makefile (headers): Add proc_service.h.
399         * nptl_db/proc_service.h: Add include guard.  Use
400         __BEGIN/__END_DECLS.
401         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
402         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
403         arguments.
406 2016-08-03  Florian Weimer  <fweimer@redhat.com>
408         [BZ #17730]
409         Avoid using memalign for TCB allocations.
410         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
411         (_dl_allocate_tls_storage): Use malloc and manual alignment.
412         Avoid alignment gap in the TLS_DTV_AT_TP case.
413         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
414         determine the pointer to free.
415         * nptl/tst-tls3-malloc.c: New test.
416         * nptl/Makefile (tests): Add it.
417         (tst-tls3-malloc): Link with libdl, libpthread.
418         (LDFLAGS-tst-tls3-malloc): Set.
419         (tst-tls3-malloc.out): Depend on DSO used in test.
421 2016-08-03  Florian Weimer  <fweimer@redhat.com>
423         [BZ #17730]
424         Avoid using memalign for TLS allocations.
425         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
426         is_static member with to_free member.
427         (union dtv): Use struct dtv_pointer.
428         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
429         dtv_pointer instead of is_static.
430         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
431         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
432         instead of val.
433         (allocate_dtv_entry): New function.
434         (allocate_and_init): Return struct dtv_pointer.  Call
435         allocate_dtv_entry instead of __libc_memalign.
436         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
437         instead of val.
438         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
439         instead of is_static.  Adjust call to allocate_and_init.
440         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
441         struct dtv_pointer instead of val.
443 2016-08-03  Florian Weimer  <fweimer@redhat.com>
445         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
446         (MALLOC_ALIGN_MASK): Move ...
447         * malloc/malloc-internal.h: ... to here.
448         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
450 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
452         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
453         (UDP_ENCAP_GTP1U): Likewise.
455         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
456         (PF_MAX): Update value.
457         (AF_QIPCRTR): New macro.
459 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
461         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
462         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
463         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
465         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
466         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
467         s_truncf-vis3, s_trunc-vis3.
468         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
469         (CFLAGS-s_ceil-vis3.c): Likewise.
470         (CFLAGS-s_floorf-vis3.c): Likewise.
471         (CFLAGS-s_floor-vis3.c): Likewise.
472         (CFLAGS-s_truncf-vis3.c): Likewise.
473         (CFLAGS-s_trunc-vis3.c): Likewise.
474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
482         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
483         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
484         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
485         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
487 2016-08-02  David S. Miller  <davem@davemloft.net>
489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
490         (__nearbyint_vis3): Don't check for sNaN before float register is
491         loaded with the incoming argument.
492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
493         (__nearbyintf_vis3): Likewise.
494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
495         Likewise.
496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
497         Likewise.
499         * string/test-strncmp.c (do_test_limit): Make sure the test data
500         stream is aligned as required for the type "CHAR".
501         (do_test): Likewise.
503 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
505         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
506         by beq instructions jumping to the end of the function.
507         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
508         clobber list. Use "i" constraint instead of "X".
509         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
510         of "X".
512 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
514         * bits/libc-header-start.h: New file.
515         * Makefile (headers): Add bits/libc-header-start.h.
516         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
517         (__GLIBC_USE): New macro.
518         * libio/stdio.h: Define
519         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
520         <bits/libc-header-start.h> instead of including <features.h>.
521         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
522         (open_memstream): Likewise.
523         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
524         (__asprintf): Likewise.
525         (asprintf): Likewise.
526         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
527         (getdelim): Likewise.
528         (getline): Likewise.
529         * string/string.h: Define
530         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
531         <bits/libc-header-start.h> instead of including <features.h>.
532         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
533         (strndup): Likewise.
534         * wcsmbs/wchar.h: Define
535         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
536         <bits/libc-header-start.h> instead of including <features.h>.
537         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
538         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
540 2016-08-02  Florian Weimer  <fweimer@redhat.com>
542         Support linking against compatibility symbols, for use in tests.
543         * include/libc-symbols.h (symbol_version_reference): New macro.
544         (symbol_version): Use it.
545         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
546         (compat_symbol): Use compat_symbol_reference.
547         (compat_symbol_1, compat_symbol_2): Remove.
548         (compat_symbol_reference, compat_symbol_reference_1)
549         (compat_symbol_reference_2): New macro.  Use
550         symbol_version_reference.
552 2016-08-02  Florian Weimer  <fweimer@redhat.com>
554         [BZ #19469]
555         * malloc/Makefile (CPPFLAGS): Compile tests with
556         -DTEST_NO_MALLOPT.
557         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
559 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
561         [BZ #20033]
562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
563         finite version.
564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
566         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
567         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
568         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
569         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
571         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
572         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
573         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
574         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
575         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
576         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
577         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
578         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
579         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
580         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
581         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
582         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
583         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
584         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
585         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
586         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
587         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
588         in zero power.
590 2016-08-02  Florian Weimer  <fweimer@redhat.com>
592         [BZ #20370]
593         * malloc/arena.c (get_free_list): Update comment.  Assert that
594         arenas on the free list have no attached threads.
595         (remove_from_free_list): New function.
596         (reused_arena): Call it.
598 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
600         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
601         when it is a NaN.
602         [_IEEE_FP_INEXACT] Remove.
603         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
604         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
605         when it is a NaN.
606         [_IEEE_FP_INEXACT] Remove.
607         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
608         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
609         when it is a NaN.
610         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
611         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
612         when its absolute value is greater than 0x1.0p52.
613         [_IEEE_FP_INEXACT] Remove.
614         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
615         when its absolute value is greater than 0x1.0p23.
616         [_IEEE_FP_INEXACT] Remove.
618 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
620         * version.h (RELEASE): Set to "development"
621         (VERSION): Set to 2.24.90.
622         * NEWS: Add 2.25 section.
624         * version.h (RELEASE): Set to "stable"
625         (VERSION): Set to 2.24.
626         * include/features.h (__GLIBC_MINOR__): Set to 24.
628         * NEWS: Add 2.24 fixed bugs.
629         * po/libc.pot: Regenerate.
631 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
634         [$(subdir) = math] (libm-sysdep_routines): Remove.
635         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
636         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
637         s_truncf-vis3, s_trunc-vis3.
638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
640         file.
641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
666         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
674         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
675         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
676         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
677         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
678         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
679         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
680         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
681         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
682         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
683         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
685 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
687         [BZ #20384]
688         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
689         test-double-libmvec-sincos-avx-main.o,
690         test-double-libmvec-sincos-avx2-main.o,
691         test-double-libmvec-sincos-main.o,
692         test-float-libmvec-sincosf-avx-main.o,
693         test-float-libmvec-sincosf-avx2-main.o and
694         test-float-libmvec-sincosf-main.o.
695         test-float-libmvec-sincosf-avx512-main.o.
696         ($(objpfx)test-double-libmvec-sincos): Also link with
697         $(objpfx)test-double-libmvec-sincos-main.o.
698         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
699         $(objpfx)test-double-libmvec-sincos-avx-main.o.
700         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
701         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
702         ($(objpfx)test-float-libmvec-sincosf): Also link with
703         $(objpfx)test-float-libmvec-sincosf-main.o.
704         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
705         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
706         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
707         test-double-libmvec-sincos-avx512-main.o and
708         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
709         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
710         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
711         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
712         (CFLAGS-test-double-libmvec-sincos.c): Removed.
713         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
714         (CFLAGS-test-double-libmvec-sincos-main.c): New.
715         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
716         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
717         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
718         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
719         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
720         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
721         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
722         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
723         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
724         -DREQUIRE_AVX2.
725         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
726         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
727         -DREQUIRE_AVX512F.
728         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
729         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
730         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
731         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
732         file.
733         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
734         Likewise.
735         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
736         Likewise.
737         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
738         Likewise.
739         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
740         Likewise.
741         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
742         Likewise.
743         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
744         Likewise.
745         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
746         Likewise.
748 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
750         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
752 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
754         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
755         and typo in a comment about AT_HWCAP entry.
757 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
759         * sysdeps/aarch64/libm-test-ulps: Updated.
761 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
763         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
764         of r13 as it is not restored in mvcle case.
766 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
768         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
769         Rename "ret" to "__ret".
770         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
771         inline_syscall5, inline_syscall6): Likewise.
773 2016-07-19   Will Newton  <will.newton@gmail.com>
775         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
776         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
777         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
778         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
779         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
781 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
783         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
784         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
785         -mfpmath=387 with $(rtld-CFLAGS).
786         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
787         $(rtld-CFLAGS).
789 2016-07-18   Ross Burton  <ross.burton@intel.com>
790              Khem Raj  <raj.khem@gmail.com>
792         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
793         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
794         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
795         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
796         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
797         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
798         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
799         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
800         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
801         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
802         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
803         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
804         R_METAG_TLS_DTPOFF): New.
806 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
807             Matt Clay  <mclay@lycos.com>
809         [BZ #20357]
810         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
811         to call __mpsin/__mpcos and to negate values.
812         * math/auto-libm-test-in: Add test.
813         * math/auto-libm-test-out: Regenerate.
815 2016-07-18  Zack Weinberg  <zackw@panix.com>
817         * grp/Makefile: Don't install the internal header grp-merge.h.
819 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
821         * sysdeps/aarch64/libm-test-ulps: Regenerated.
823 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
825         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
827 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
829         [BZ #15368]
830         * sysdeps/unix/sysv/linux/nptl-signals.h
831         (__nptl_clear_internal_signals): New function.
832         (__libc_signal_block_all): Likewise.
833         (__libc_signal_block_app): Likewise.
834         (__libc_signal_restore_set): Likewise.
835         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
836         implementation.
837         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
838         the cached pid/tid value in pthread structure.
840 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
842         [BZ #20347]
843         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
845 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
847         [BZ #20348]
848         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
849         preadv64, pwrite64 and pwritev64.
851 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
853         [BZ #20350]
854         * posix/tst-preadwrite.c: Renamed to ...
855         * posix/tst-preadwrite-common.c: This.
856         (PREAD): Removed.
857         (PWRITE): Likewise.
858         (STRINGIFY): Likewise.
859         (STRINGIFY2): Likewise.
860         (do_prepare): Make it static and remove function arguments.
861         (do_test): Likewise.
862         (PREPARE): Updated.
863         (TEST_FUNCTION): New.
864         (name): Make it static.
865         (fd): Likewise.
866         (do_prepare): Use create_temp_file.
867         (do_test): Renamed to ...
868         (do_test_with_offset): This.  Make it static and accept offset.
869         Properly check return value of PWRITE and PREAD.  Return bytes
870         read.  Don't close fd nor unlink name.
871         * posix/tst-preadwrite.c: Rewrite.
872         * posix/tst-preadwrite64.c: Likewise.
874 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
876         [BZ #20309]
877         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
878         -mtls-dialect=gnu2 works.
879         * configure: Regenerated.
880         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
881         (tests): Add tst-gnu2-tls1.
882         (modules-names): Add tst-gnu2-tls1mod.
883         ($(objpfx)tst-gnu2-tls1): New.
884         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
885         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
886         * elf/tst-gnu2-tls1.c: New file.
887         * elf/tst-gnu2-tls1mod.c: Likewise.
888         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
889         bytes for push in the PLT entry to align the stack.
891 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
893         [BZ #20349]
894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
896 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
898         [BZ #18707]
899         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
900         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
902 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
904         * sysdeps/unix/sysv/linux/sysdep.h
905         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
906         guards.
907         * misc/tst-preadvwritev-common.c: New file.
908         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
909         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
910         a check for files larger than 2GB.
912         * sysdeps/unix/sysv/linux/mips/kernel-features.h
913         (__ASSUME_OFF_DIFF_OFF64): Remove define.
914         * sysdeps/unix/sysv/linux/pread.c
915         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
916         __OFF_T_MATCHES_OFF64_T.
917         * sysdeps/unix/sysv/linux/pread64.c
918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
919         * sysdeps/unix/sysv/linux/preadv.c
920         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
921         * sysdeps/unix/sysv/linux/preadv64.c
922         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
923         * sysdeps/unix/sysv/linux/pwrite.c
924         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
925         * sysdeps/unix/sysv/linux/pwrite64.c
926         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
927         * sysdeps/unix/sysv/linux/pwritev.c
928         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
929         * sysdeps/unix/sysv/linux/pwritev64.c
930         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
932 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
934         * sysdeps/unix/sysv/linux/tile/kernel-features.h
935         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
937 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
939         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
941 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
943         [BZ #20240]
944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
945         (CFLAGS-s_modf-ppc32.c): New variable.
946         (CFLAGS-s_modff-ppc32.c): Likewise.
947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
948         (CFLAGS-s_modf-ppc64.c): Likewise.
949         (CFLAGS-s_modff-ppc64.c): Likewise.
951 2016-07-07  Andreas Schwab  <schwab@suse.de>
953         [BZ #20263]
954         * nptl/tst-robust10.c: New test.
955         * nptl/Makefile (tests): Add tst-robust10.
957 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
959         [BZ #20263]
960         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
962 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
964         * sysdeps/s390/linkmap.h (struct link_map_machine):
965         Remove member gotplt and add member jmprel.
966         * sysdeps/s390/s390-32/dl-machine.h
967         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
968         instead of gotplt with &got[3].
969         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
970         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
972 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
974         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
976 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
978         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
979         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
980         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
981         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
982         * libio/vtables.c (_IO_vtable_check)
983         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
984         * libio/libioP.h (IO_set_accept_foreign_vtables)
985         [!PTR_MANGLE]: Do not call PTR_MANGLE.
987 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
989         [BZ #20314]
990         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
991         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
992         $(common-objpfx)cmath.
993         ($(common-objpfx)cstdlib): New target.
994         ($(common-objpfx)cmath): Likewise.
996 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
998         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1000 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1002         [BZ #20327]
1003         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1004         are not part of the string.
1006 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1008         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1009         * nptl/tst-cancel4-common.h (fifoname): New variable.
1010         (fifofd): Likewise.
1011         (cl_fifo): New function.
1012         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1013         SIGINT.
1014         (tf_open): Add early cancel test.
1016 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1018         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1020 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1022         * sysdeps/generic/ldsodefs.h
1023         (dl_symbol_visibility_binds_local_p): New inline function.
1024         * elf/dl-addr.c (determine_info): Treat hidden and internal
1025         symbols as local.
1026         * elf/dl-lookup.c (do_lookup_x): Likewise.
1027         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1029 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1031         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1032         invalid exception for a sNaN input.
1033         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1034         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1035         (__nearbyint_vis3): Likewise
1036         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1037         (__nearbyintf_vis3): Likewise
1038         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1039         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1040         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1041         Likewise.
1042         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1043         Likewise.
1045 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1047         [BZ #20139]
1048         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1049         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1050         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1051         2.24 or above.
1052         (HAVE_AVX512_ASM_SUPPORT): Removed.
1053         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1054         * sysdeps/x86_64/configure: Regenerated.
1055         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1056         check unconditional.
1057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1058         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1059         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1060         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1061         Likewise.
1062         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1063         Likewise.
1064         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1065         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1066         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1067         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1068         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1069         Likewise.
1070         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1071         Likewise.
1072         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1074         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1075         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1076         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1077         Likewise.
1078         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1079         Likewise.
1080         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1081         Likewise.
1082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1083         Likewise.
1084         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1085         Likewise.
1086         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1087         Likewise.
1088         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1089         Likewise.
1090         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1091         Likewise.
1092         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1093         Likewise.
1094         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1095         Likewise.
1096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1097         Likewise.
1099 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1101         [BZ #20024]
1102         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1104         of this implementation of vector function.
1105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1106         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1107         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1108         Likewise.
1109         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1110         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1111         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1112         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1113         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1114         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1115         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1116         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1117         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1118         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1119         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1120         for testing vector sincos with fixed ABI.
1121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1122         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1123         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1124         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1125         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1126         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1127         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1128         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1129         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1130         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1131         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1132         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1133         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1134         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1135         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1136         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1138 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1140         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1142 2016-06-30  Anton Blanchard  <anton@samba.org>
1144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1145         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1146         s_sinf-ppc64.
1147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1150         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1152 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1156         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1157         e_expf-ppc64.
1158         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1159         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1160         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1161         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1163 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1165         [BZ #20277]
1166         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1167         when SHARED is defined.
1169 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1171         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1172         (index_arch_Prefer_ERMS): Likewise.
1173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1174         __memcpy_erms for Prefer_ERMS.
1175         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1176         (__memmove_erms): Enabled for libc.a.
1177         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1178         __memmove_erms or Prefer_ERMS.
1179         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1180         __mempcpy_erms for Prefer_ERMS.
1181         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1182         __memset_erms for Prefer_ERMS.
1184 2016-06-30  Andreas Schwab  <schwab@suse.de>
1186         [BZ #20262]
1187         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1188         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1189         of memory.
1191 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1193         [BZ #18645]
1194         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1195         (test-extras): Add tst-cleanupx4aux.
1196         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1197         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1198         tst-cleanupx4aux.o.
1199         * nptl/tst-cleanupx4aux.c: New file.
1201 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1203         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1205 2016-06-29  Andreas Schwab  <schwab@suse.de>
1207         [BZ #20260]
1208         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1209         address before the beginning of the string as an integer to avoid
1210         array-bounds warning.
1212 2016-06-28  Richard Henderson  <rth@redhat.com>
1214         * elf/elf.h (EM_BPF): New.
1215         (EM_NUM): Update.
1216         (R_BPF_NONE, R_BPF_MAP_FD): New.
1218         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1219         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1220         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1221         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1222         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1223         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1224         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1225         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1226         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1227         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1228         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1229         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1230         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1231         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1232         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1233         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1234         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1235         (EM_NUM): Update.
1237 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1239         [BZ #18960]
1240         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1241         Set _nl_current_LC_CATEGORY_used to two instead of one.
1243 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1245         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1246         (do_test): ... this.
1247         (TEST_FUNCTION): New macro.
1248          Include test-skeleton.c.
1249         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1250         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1252 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1254         [BZ #15479]
1255         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1256         floating-point environment rather than just control word.
1257         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1258         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1259         floating-point environment, with "invalid" exceptions merged in,
1260         rather than just control word.
1261         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1262         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1263         "inexact" exceptions.
1265         [BZ #15479]
1266         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1267         floating-point environment rather than just control word.
1268         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1269         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1270         floating-point environment, with "invalid" exceptions merged in,
1271         rather than just control word.
1272         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1273         * math/libm-test.inc (floor_test_data): Do not allow spurious
1274         "inexact" exceptions.
1276         [BZ #15479]
1277         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1278         floating-point environment rather than just control word.
1279         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1280         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1281         floating-point environment, with "invalid" exceptions merged in,
1282         rather than just control word.
1283         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1284         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1285         "inexact" exceptions.
1287 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1289         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1290         __libc_vfork.
1291         (__vfork) [IS_IN (libc)]: Remove alias.
1292         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1293         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1294         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1296 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1298         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1299         of atomic_compare_and_exchange_bool_rel.
1300         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1301         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1302         catomic_compare_and_exchange_bool_rel): Remove.
1303         * sysdeps/aarch64/atomic-machine.h
1304         (atomic_compare_and_exchange_bool_rel): Likewise.
1305         * sysdeps/alpha/atomic-machine.h
1306         (atomic_compare_and_exchange_bool_rel): Likewise.
1307         * sysdeps/arm/atomic-machine.h
1308         (atomic_compare_and_exchange_bool_rel): Likewise.
1309         * sysdeps/mips/atomic-machine.h
1310         (atomic_compare_and_exchange_bool_rel): Likewise.
1311         * sysdeps/microblaze/atomic-machine.h
1312         ( __arch_compare_and_exchange_bool_8_rel,
1313         __arch_compare_and_exchange_bool_16_rel): Likewise.
1314         * sysdeps/powerpc/atomic-machine.h
1315         ( __arch_compare_and_exchange_bool_8_rel,
1316         __arch_compare_and_exchange_bool_16_rel): Likewise.
1317         * sysdeps/powerpc/powerpc32/atomic-machine.h
1318         ( __arch_compare_and_exchange_bool_32_rel,
1319         __arch_compare_and_exchange_bool_64_rel): Likewise.
1320         * sysdeps/powerpc/powerpc64/atomic-machine.h
1321         ( __arch_compare_and_exchange_bool_32_rel,
1322         __arch_compare_and_exchange_bool_64_rel): Likewise.
1323         * sysdeps/tile/atomic-machine.h
1324         (atomic_compare_and_exchange_bool_rel): Likewise.
1326 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1328         [BZ #20296]
1329         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1330         when either argument is a NaN.
1331         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1332         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1334         * math/libm-test.inc (snan_value_ld): New macro.
1335         (isgreater_test_data): Add sNaN tests.
1336         (isgreaterequal_test_data): Likewise.
1337         (isless_test_data): Likewise.
1338         (islessequal_test_data): Likewise.
1339         (islessgreater_test_data): Likewise.
1340         (isunordered_test_data): Likewise.
1341         (nextafter_test_data): Likewise.
1342         (nexttoward_test_data): Likewise.
1343         (remainder_test_data): Likewise.
1344         (remquo_test_data): Likewise.
1345         (significand_test_data): Likewise.
1346         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1348 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1350         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1351         environment macros are defined.
1352         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1354 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1356         [BZ #20191]
1357         Implement vtable verification in libio.
1358         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1359         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1360         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1361         _IO_new_file_init_internal instead of _IO_file_init.
1362         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1363         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1364         * libio/Makefile (routines): Add vtables.
1365         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1366         (_IO_init): Remove, not for internal use.
1367         (_IO_init_internal): Declare, internal replacement for _IO_init.
1368         (_IO_file_init): Remove, not for internal use.
1369         (_IO_new_file_init): Remove, not for internal use.
1370         (_IO_new_file_init_internal): Declare, internal replacement for
1371         _IO_new_file_init.
1372         (_IO_old_file_init): Remove, not for internal use.
1373         (_IO_old_file_init_internal): Declare, internal replacement for
1374         _IO_old_file_init.
1375         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1376         internal use.
1377         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1378         Declare.
1379         (libio_vtable): New macro.
1380         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1381         functions.
1382         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1383         _IO_new_file_init.
1384         (_IO_new_file_init): New externally visible wrapper which disables
1385         vtable verification.
1386         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1387         Define as vtables.
1388         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1389         (_IO_init): New externally visible wrapper which disables
1390         vtable verification.
1391         * libio/iofdopen.c (_IO_new_fdopen): Call
1392         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1393         comment.
1394         * libio/iofopen.c (__fopen_internal): Call
1395         _IO_new_file_init_internal instead of _IO_file_init.
1396         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1397         Define as vtables.
1398         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1399         _IO_new_file_init_internal instead of _IO_file_init.
1400         * libio/iopopen.c (_IO_new_popen): Likewise.
1401         (_IO_proc_jumps): Define as vtable.
1402         * libio/iovdprintf.c (_IO_vdprintf): Call
1403         _IO_new_file_init_internal instead of _IO_file_init.
1404         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1405         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1406         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1407         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1408         _IO_old_file_init.
1409         (_IO_old_file_init): New externally visible wrapper which disables
1410         vtable verification.
1411         (_IO_old_file_jumps): Define as vtable.
1412         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1413         _IO_old_file_init_internal instead of _IO_old_file_init.
1414         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1415         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1416         (_IO_old_proc_jumps): Define as vtable.
1417         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1418         Define as vtables.
1419         * libio/vtables.c: New file.
1420         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1421         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1422         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1423         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1424         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1425         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1426         instead of _IO_init.
1428 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1430         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1432 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1434         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1435         potentially unused.
1437 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1439         * test-skeleton.c (write_message): New function.
1440         * malloc/tst-mallocfork2.c (write_message): Remove.
1441         * debug/tst-longjmp_chk2.c (write_indented): New function.
1442         (write_message): Remove.
1443         (stackoverflow_handler): Call write_indented.
1445 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1447         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1448         "inexact" exceptions after fnstenv.
1449         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1450         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1451         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1453 2015-06-22  Zack Weinberg  <zackw@panix.com>
1455         * sysdeps/generic/bits/hwcap.h: Moved to ...
1456         * bits/hwcap.h: Here.
1458 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1460         * sysdeps/aarch64/memcpy.S (memcpy):
1461         Further tuning for performance.
1463 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1465         [BZ #20284]
1466         * malloc/arena.c (reused_arena): Do not return NULL if we start
1467         out with a non-corrupted arena.
1469 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1471         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1472         * misc/tst-preadvwritev.c: New file.
1473         * misc/tst-preadvwritev64.c: Likewise.
1474         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1475         usage.
1476         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1477         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1478         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1479         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1481 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1483         [BZ #19654]
1484         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1485         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1486         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1487         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1488         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1489         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1490         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1491         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1492         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1493         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1494         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1495         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1496         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1497         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1498         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1499         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1500         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1501         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1502         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1503         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1504         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1505         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1506         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1507         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1508         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1509         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1511 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1513         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1514         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1516 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1518         * sysdeps/aarch64/memcpy.S (memcpy):
1519         Rewrite of optimized memcpy and memmove.
1520         * sysdeps/aarch64/memmove.S (memmove): Remove
1521         memmove code (merged into memcpy.S).
1523 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1525         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1526         * sysdeps/generic/dl-dtv.h: New file.
1527         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1528         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1529         (dtv_t): Remove.
1530         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1531         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1532         (dtv_t): Remove.
1533         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1534         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1535         (dtv_t): Remove.
1536         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1537         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1538         (dtv_t): Remove.
1539         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1540         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1541         (dtv_t): Remove.
1542         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1543         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1544         (dtv_t): Remove.
1545         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1546         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1547         (dtv_t): Remove.
1548         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1549         (dtv_t): Remove.
1550         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1551         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1552         (dtv_t): Remove.
1553         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1554         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1555         (dtv_t): Remove.
1556         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1557         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1558         (dtv_t): Remove.
1559         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1560         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1561         (dtv_t): Remove.
1562         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1563         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1564         (dtv_t): Remove.
1565         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1566         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1567         (dtv_t): Remove.
1568         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1569         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1570         (dtv_t): Remove.
1571         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1572         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1573         (dtv_t): Remove.
1575 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1577         Revert symbol poisoning of  __malloc_initialize_hook.
1578         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1579         poisoning.
1580         * malloc/Makefile: Remove un-poisoning.
1581         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1582         instead of old__malloc_initialize_hook.
1583         * malloc/malloc-hooks.h: Likewise.
1584         * malloc/malloc.c: Likewise.
1585         * malloc/mcheck-init.c: Likewise.
1587 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1589         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1591 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1593         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1594         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1595         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1596         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1598 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1600         * NEWS: Mention addition of nextup and nextdown.
1601         * manual/arith.texi: Document nextup and nextdown.
1602         * manual/libm-err-tab.pl: Add nextup and nextdown.
1603         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1604         * math/Versions (libm): Add GLIBC_2.24.
1605         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1606         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1607         Add new test.
1608         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1609         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1610         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1611         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1612         (nextup_test_data): Likewise.
1613         (nextdown_test_data): Likewise.
1614         * math/s_nextdown.c: New file.
1615         * math/s_nextdownf.c: Likewise.
1616         * math/s_nextdownl.c: Likewise.
1617         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1618         F(nextup): New function.
1619         F(nextdown): Likewise.
1620         * math/tgmath.h: Add nextup and nextdown.
1621         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1622         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1623         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1624         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1625         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1626         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1627         Add nextup and nextdown.
1628         (CFLAGS-nldbl-nextup.c): New variable.
1629         (CFLAGS-nldbl-nextdown.c): Likewise.
1630         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1631         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1632         * sysdeps/nacl/libm.abilist: Update.
1633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1634         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1635         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1636         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1637         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1638         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1639         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1641         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1642         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1643         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1644         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1647         Likewise.
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1650         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1651         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1652         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1654         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1657         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1658         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1659         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1660         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1662 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1664         * manual/pattern.texi: Fix typos & grammar errors.
1666 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1668         * manual/search.texi: Fix typos & grammar errors.
1670 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1672         * manual/message.texi: Fix typos & grammar errors.
1674 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1676         * manual/contrib.texi: Fix spelling typos.
1677         * manual/crypt.texi: Likewise.
1678         * manual/filesys.texi: Likewise.
1679         * manual/locale.texi: Likewise.
1680         * manual/message.texi: Likewise.
1681         * manual/nss.texi: Likewise.
1682         * manual/string.texi: Likewise.
1684 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1686         * manual/locale.texi: Fix typos & grammar errors.
1688 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1690         * manual/charset.texi: Fix typos & grammar errors.
1692 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1694         * manual/string.texi: Fix typos.
1696 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1698         * manual/ctype.texi: Fix typos.
1700 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1702         * manual/memory.texi: Fix various typos & grammar errors.
1704 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1706         [BZ #20255]
1707         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1708         * math/libm-test.inc (fdim_test_data): Add another test.
1710         [BZ #6796]
1711         [BZ #20255]
1712         [BZ #20256]
1713         * math/s_fdim.c: Include <math_private.h>.
1714         (__fdim): Use math_narrow_eval on result.
1715         * math/s_fdimf.c: Include <math_private.h>.
1716         (__fdimf): Use math_narrow_eval on result.
1717         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1718         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1719         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1720         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1721         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1722         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1723         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1724         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1725         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1726         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1727         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1728         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1729         overflow.  Add sNaN tests.
1731         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1732         fpclassify.
1733         * math/s_fdimf.c (__fdimf): Likewise.
1734         * math/s_fdiml.c (__fdiml): Likewise.
1736 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1738         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1739         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1741         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1742         ifunc'ed strcasecmp/strncasecmp.
1743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1744         [EALIGN]: Removed.
1745         [END]: Likewise.
1746         [__strcasecmp]: Define instead of the above to control symbol name.
1747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1748         for __strcasecmp_power8.
1749         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1750         for __strncasecmp_power8.
1751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1752         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1753         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1754         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1755         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1756         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1758 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1760         [BZ #20252]
1761         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1762         arguments when second argument is a NaN.
1763         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1764         qNaN tests.
1766         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1767         (conj_test_data): Likewise.
1768         (copysign_test_data): Likewise.
1769         (creal_test_data): Likewise.
1770         (fma_test_data): Likewise.
1771         (fmod_test_data): Likewise.
1773         [BZ #20250]
1774         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1775         itself.
1776         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1777         zero input to itself.
1778         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1779         Likewise.
1780         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1781         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1782         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1783         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1784         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1786 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1788         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1789         * nptl/tst-cancel4-common.c: New file.
1790         * nptl/tst-cancel4-common.h: Likewise.
1791         * nptl/tst-cancel4.c: Move common definitions to
1792         tst-cancel4-common.{c,h} file.
1793         * nptl/tst-cancel4_1.c: New test.
1794         * nptl/tst-cancel4_2.c: New test.
1796 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1798         [BZ #20248]
1799         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1800         (write_message): New function.
1801         (stackoverflow_handler): Call it instead of printf, to avoid
1802         excessive stack usage by printf.
1803         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1805 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1807         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1808         (prio_inherit_missing): Remove define.
1809         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1810         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1811         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1812         Likewise.
1813         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1814         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1815         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1816         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1817         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1818         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1820 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1822         [BZ #19670]
1823         [BZ #19672]
1825         * io/test-lfs.c (do_prepare): Use xmalloc.
1826         * io/tst-fcntl.c (do_prepare): Likewise.
1827         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1828         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1829         * login/tst-utmp.c (do_prepare): Likewise.
1830         * posix/tst-exec.c (do_prepare): Likewise.
1831         * posix/tst-pathconf.c (prepare): Likewise.
1832         * posix/tst-spawn.c (do_prepare): Likewise.
1833         * posix/tst-truncate.c (do_prepare): Likewise.
1834         * rt/tst-aio.c (do_prepare): Likewise.
1835         * rt/tst-aio64.c (do_prepare): Likewise.
1837 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1839         [BZ #20237]
1840         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1841         (get*ent): Set entidx to NULL during initialization.  If entidx is
1842         NULL, start iteration from the beginning.
1844 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1846         * malloc/malloc.c (musable): Return correct size for dumped fake
1847         mmapped chunk.
1849 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1851         [BZ #20222]
1852         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1853         (_IO_cookie_write): Likewise.
1854         (_IO_cookie_seek): Likewise.
1855         (_IO_cookie_close): Likewise.
1856         (_IO_old_cookie_seek): Likewise.
1857         (set_callbacks): New function.
1858         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1860 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1862         * locale/programs/localedef.c (oldstyle_tables): Remove.
1863         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1865 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1867         [BZ #20240]
1868         * math/Makefile (CFLAGS-s_modf.c): New variable.
1869         (CFLAGS-s_modff.c): Likewise.
1870         (CFLAGS-s_modfl.c): Likewise.
1871         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1873 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1875         [BZ #20215]
1876         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1877         [!__GNUC_PREREQ (3,2)]: Likewise.
1879 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1881         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1882         (msghdr.msg_controllen): Likewise.
1883         (cmsghdr.cmsg_len): Likewise.
1884         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1885         ptw-oldsendmsg.
1886         (CFLAGS-oldrecvmsg.c): Remove rule.
1887         (CFLAGS-oldsendmsg.c): Likewise.
1888         (CFLAGS-recvmsg.c): Add rule.
1889         (CFLAGS-sendmsg.c): Likewise.
1890         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1891         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1892         (CFLAGS-recvmsg.c): Remove rule.
1893         (CFLAGS-sendmsg.c): Likewise.
1894         (CFLAGS-oldrecvmsg.c): Likewise.
1895         (CFLAGS-oldsendmsg.c): Likewise.
1896         (CFLAGS-recvmmsg.c): Likewise.
1897         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1898         to kernel defined interfaces.
1899         (msghdr.msg_controllen): Likewise.
1900         (cmsghdr.cmsg_len): Likewise.
1901         (msghdr.__glibc_reserved1): Remove member.
1902         (msghdr.__glibc_reserved2): Likewise.
1903         (cmsghdr.__glibc_reserved1): Likewise.
1904         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1905         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1906         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1907         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1908         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1909         version.
1910         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1911         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1912         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1913         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1914         Remove recvmsg and sendmsg.
1915         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1916         Likewise.
1917         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1918         Likewise.
1919         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1920         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1921         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1922         Likewise.
1923         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1924         Likewise.
1925         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1926         [libc] (GLIBC_2.24): Likewise.
1927         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1928         Likewise.
1929         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1930         Likewise.
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1932         [libc] (GLIBC_2.24): Likewise.
1933         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1934         Likewise.
1935         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1936         Likewise.
1937         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1938         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1939         Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1941         Likewise.
1942         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1943         Likewise.
1944         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1945         Likewise.
1946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1947         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1948         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1949         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1950         version for {recv,send,recm,sendm}msg.
1951         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1952         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1953         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1954         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1956         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1958         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1959         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1964         Likewise.
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1966         Likewise.
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1972         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1973         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1977         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1979         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1981 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1983         [BZ #19564]
1984         Remove __malloc_initialize_hook from the API.
1985         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1986         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1987         #pragma GCC poison.
1988         * malloc/malloc-hooks.h: New file.
1989         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1990         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1991         (old__malloc_initialize_hook): Rename from
1992         __malloc_initialize_hook to evade poisoning.  Turn into compat
1993         symbol.
1994         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1995         __malloc_initialize_hook.
1996         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1997         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1998         * manual/memory.texi (Hooks for Malloc): Remove
1999         __malloc_initialize_hook.  Adjust hook example.
2001 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2003         [BZ #20235]
2004         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2005         itself.
2006         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2007         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2009         [BZ #20234]
2010         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2011         infinity or NaN input to itself.
2013         [BZ #20233]
2014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2015         to itself.
2017         [BZ #20232]
2018         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2019         itself.
2021 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2023         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2024         __libc_start_main via GOT.
2026 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2028         * sysdeps/x86_64/memcopy.h: New file.
2029         * sysdeps/x86_64/wordcopy.c: Likewise.
2031 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2033         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2034         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2035         <cstdlib>.
2036         (optimization_barrier): New.
2037         (do_test): Use it.  Call quick_exit in the global namespace.
2038         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2039         instead of <cstdlib>, <thread>.
2040         (optimization_barrier): New.
2041         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2042         Call quick_exit in the global namespace.
2043         (do_test): Call optimization_barrier.  Use pthread_create,
2044         pthread_join instead of std::thread.
2046 2016-06-09  Andreas Schwab  <schwab@suse.de>
2048         [BZ #19755]
2049         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2050         new entries in auto-propagate mode.
2051         * nscd/grpcache.c (cache_addgr): Likewise.
2053 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2055         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2056         New functions.
2057         (add_temp_file): Use them.
2059 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2061         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2063 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2065         [BZ #20229]
2066         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2067         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2068         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2070         [BZ #20228]
2071         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2072         itself.
2073         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2074         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2076         [BZ #20227]
2077         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2078         itself.
2079         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2080         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2081         * math/libm-test.inc (log_test_data): Add sNaN tests.
2083         [BZ #20226]
2084         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2085         itself.
2086         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2087         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2088         (exp10_test_data): Likewise.
2089         (expm1_test_data): Likewise.
2091         [BZ #20225]
2092         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2093         itself.
2094         * math/s_ldexpf.c (__ldexpf): Likewise.
2095         * math/s_ldexpl.c (__ldexpl): Likewise.
2096         * math/w_scalbln.c (__w_scalbln): Likewise.
2097         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2098         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2099         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2100         (scalbln_test_data): Likewise.
2102         [BZ #20224]
2103         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2104         argument to itself.
2105         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2107 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2109         [BZ #19776]
2110         * sysdeps/x86_64/memcpy.S: Make it dummy.
2111         * sysdeps/x86_64/mempcpy.S: Likewise.
2112         * sysdeps/x86_64/memmove.S: New file.
2113         * sysdeps/x86_64/memmove_chk.S: Likewise.
2114         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2115         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2116         * sysdeps/x86_64/memmove.c: Removed.
2117         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2118         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2119         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2120         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2121         Likewise.
2122         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2123         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2125         memcpy-sse2-unaligned, memmove-avx-unaligned,
2126         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2127         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2128         (__libc_ifunc_impl_list): Replace
2129         __memmove_chk_avx512_unaligned_2 with
2130         __memmove_chk_avx512_unaligned.  Remove
2131         __memmove_chk_avx_unaligned_2.  Replace
2132         __memmove_chk_sse2_unaligned_2 with
2133         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2134         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2135         with __memmove_avx512_unaligned.  Replace
2136         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2137         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2138         with __memcpy_chk_avx512_unaligned.  Remove
2139         __memcpy_chk_avx_unaligned_2.  Replace
2140         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2141         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2142         Replace __memcpy_avx512_unaligned_2 with
2143         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2144         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2145         with __mempcpy_chk_avx512_unaligned.  Remove
2146         __mempcpy_chk_avx_unaligned_2.  Replace
2147         __mempcpy_chk_sse2_unaligned_2 with
2148         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2149         Replace __mempcpy_avx512_unaligned_2 with
2150         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2151         Replace __mempcpy_sse2_unaligned_2 with
2152         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2153         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2154         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2155         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2156         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2157         (ENTRY): Removed.
2158         (END): Likewise.
2159         (ENTRY_CHK): Likewise.
2160         (libc_hidden_builtin_def): Likewise.
2161         Don't include ../memcpy.S.
2162         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2163         __memcpy_chk_avx512_unaligned_erms and
2164         __memcpy_chk_avx512_unaligned.  Use
2165         __memcpy_chk_avx_unaligned_erms and
2166         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2167         Default to __memcpy_chk_sse2_unaligned.
2168         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2169         Change function suffix from unaligned_2 to unaligned.
2170         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2171         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2172         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2173         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2174         (ENTRY): Removed.
2175         (END): Likewise.
2176         (ENTRY_CHK): Likewise.
2177         (libc_hidden_builtin_def): Likewise.
2178         Don't include ../mempcpy.S.
2179         (mempcpy): New.  Add a weak alias.
2180         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2181         __mempcpy_chk_avx512_unaligned_erms and
2182         __mempcpy_chk_avx512_unaligned.  Use
2183         __mempcpy_chk_avx_unaligned_erms and
2184         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2185         Default to __mempcpy_chk_sse2_unaligned.
2187 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2189         [BZ #19881]
2190         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2191         into ...
2192         * sysdeps/x86_64/memset.S: This.
2193         (__bzero): Removed.
2194         (__memset_tail): Likewise.
2195         (__memset_chk): Likewise.
2196         (memset): Likewise.
2197         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2198         defined.
2199         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2200         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2201         (__memset_zero_constant_len_parameter): Check SHARED instead of
2202         PIC.
2203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2204         memset-avx2 and memset-sse2-unaligned-erms.
2205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2206         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2207         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2208         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2209         (__bzero): Enabled.
2210         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2211         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2212         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2213         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2214         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2215         (memset): Removed.
2216         (__memset_chk): Likewise.
2217         (MEMSET_SYMBOL): New.
2218         (libc_hidden_builtin_def): Replace __memset_sse2 with
2219         __memset_sse2_unaligned.
2220         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2221         __memset_chk_sse2 and __memset_chk_avx2 with
2222         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2223         Use __memset_chk_sse2_unaligned_erms or
2224         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2225         __memset_chk_avx512_unaligned_erms and
2226         __memset_chk_avx512_unaligned.
2228 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2230         * math/gen-auto-libm-test.c (fp_format_desc): remove
2231         suffix member.
2232         (output_generic_value): Remove usage of suffix member,
2233         and the resulting unuse of the fp_format argument.
2234         (output_for_one_input_case): Remove unused fp_format
2235         parameter.
2237         * math/auto-libm-test-out: Regenerate.
2239         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2240         usage with TEST_COND_ibm128.
2241         (TEST_COND_flt_32): Remove.
2242         (TEST_COND_dbl_64): Remove.
2243         (TEST_COND_ldbl_96_intel): Remove.
2244         (TEST_COND_ldbl_96_m68k): Remove.
2245         (TEST_COND_ldbl_128): Remove.
2247 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2249         * auto-libm-test-in:
2250         Replace flt-32 usage with binary32.
2251         Replace dbl-64 usage with binary64.
2252         Replace ldbl-intel-96 usage with intel96.
2253         Replace ldbl-m68k-96 usage with m68k96.
2254         Replace ldbl-128ibm usage with ibm128.
2255         Replace ldbl-128 usage with binary128.
2257         * auto-libm-test-out: Regenerate.
2259 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2261         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2262         (parse_ulps): Dynamically generate type name matching
2263         string from all_floats.
2264         (get_ulps): Generate the ulps as an array instead.
2265         (output_ulps): Dynamically compose the type based
2266         on the number of supported formats, and print
2267         the indices as type specific helper macros.
2269         * math/libm-test.inc: Remove comment about CHOOSE.
2270         (ulp_data): Generate the type in libm-test-ulps.h.
2271         (ULP_IDX): New macro.
2272         (find_ulps): Update usage of max_ulp.
2274         * math/test-double-vlen2.h (CHOOSE): Remove.
2275         * math/test-double-vlen4.h (CHOOSE): Likewise.
2276         * math/test-double-vlen8.h (CHOOSE): Likewise.
2277         * math/test-float.c (CHOOSE): Likewise.
2278         * math/test-float-finite.c (CHOOSE): Likewise.
2279         * math/test-double.c (CHOOSE): Likewise.
2280         * math/test-double-finite.c (CHOOSE): Likewise.
2281         * math/test-idouble.c (CHOOSE): Likewise.
2282         * math/test-ifloat.c (CHOOSE): Likewise.
2283         * math/test-ildoubl.c (CHOOSE): Likewise.
2284         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2285         * math/test-ldouble.c (CHOOSE): Likewise.
2287         * math/test-float.h (TEST_FLOAT): Remove.
2288         * math/test-double.h (TEST_DOUBLE): Likewise.
2289         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2291 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2293         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2294         (parse_args): Strip C suffix from floating point literals
2295         typed with 'f' and wrap them with LIT().
2297         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2298         (test_ff_f_data_nexttoward): Rename to
2299         (test_fj_f_data): New struct.
2300         (nexttoward_test_data): Relabel tests as
2301         TEST_fj_f instead of TEST_ff_f.
2303 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2305         Emacs bug 23726.
2306         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2307         (__libc_realloc): Correct size computation for dumped fake mmapped
2308         chunks.
2310 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2312         [BZ #20219]
2313         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2314         to itself.
2315         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2317         [BZ #20218]
2318         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2319         to itself.
2320         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2322 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2324         [BZ #20195]
2325         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2326         check to ...
2327         (init_cpu_features): Here.
2329 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2331         [BZ #20214]
2332         * sysdeps/unix/sysv/linux/bits/in.h
2333         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2334          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2335         Define to 1.
2336         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2337          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2338         Define to 0.
2339         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2340         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2342 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2344         [BZ #20198]
2345         * stdlib/Makefile (tests): Add tst-quick_exit, and
2346         tst-thread-quick_exit.
2347         [ifeq ($(have-cxx-thread_local),yes)]
2348         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2349         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2350         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2351         (LDLIBS-tst-thread-quick_exit): Likewise.
2352         [ifneq ($(have-cxx-thread_local),yes)]
2353         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2354         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2355         If run_dtors is true call __call_tls_dtors.
2356         (exit): Call __run_exit_handlers with run_dtors set to true.
2357         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2358         definition.
2359         * stdlib/quick_exit.c (quick_exit): Remove function.
2360         (__new_quick_exit): New function.
2361         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2362         function.
2363         * stdlib/tst-quick_exit.cc: New file.
2364         * stdlib/tst-thread-quick_exit.cc: New file.
2365         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2366         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2367         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2368         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2369         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2370         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2371         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2372         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2373         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2374         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2375         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2376         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2377         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2378         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2379         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2380         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2385         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2386         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2387         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2388         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2389         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2392         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2393         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2394         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2396 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2398         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2399         a typo in comments.
2401 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2403         [BZ #20213]
2404         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2405         argument to itself.
2406         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2408 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2410         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2411         required flags.
2412         (CFLAGS-pwritev64.c): Likewise.
2413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2415         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2416         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2417         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2418         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2419         syscall from auto-generation.
2420         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2421         [WORDSIZE == 64] (pwritev64): Remove macro.
2422         [!PWRITEV] (PWRITEV): Likewise.
2423         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2424         [!PWRITEV] (PWRITE): Likewise.
2425         [!PWRITEV] (OFF_T): Likewise.
2426         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2427         (LO_HI_LONG): Remove macro.
2428         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2429         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2430         (PWRITEV): Remove macro.
2431         (PWRITEV_REPLACEMENTE): Likewise.
2432         (PWRITE): Likewise.
2433         (OFF_T): Likewise.
2434         (pwritev64): New function.
2435         * nptl/tst-cancel4.c (tf_writev): Add test.
2437         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2438         required flags.
2439         (CFLAGS-preadv64.c): Likewise.
2440         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2441         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2442         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2443         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2444         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2445         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2446         syscall from auto-generation.
2447         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2448         [WORDSIZE == 64] (preadv64): Remove macro.
2449         [!PREADV] (PREADV): Likewise.
2450         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2451         [!PREADV] (PREAD): Likewise.
2452         [!PREADV] (OFF_T): Likewise.
2453         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2454         (LO_HI_LONG): Remove macro.
2455         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2456         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2457         (PREADV): Remove macro.
2458         (PREADV_REPLACEMENTE): Likewise.
2459         (PREAD): Likewise.
2460         (OFF_T): Likewise.
2461         (preadv64): New function.
2462         * nptl/tst-cancel4.c (tf_preadv): Add test.
2464 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2466         [BZ #20212]
2467         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2468         argument to itself.
2469         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2471 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2473         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2474         New symbol defined as libc_hidden_def.
2475         (strcasestr): Became a weak alias to __strcasestr.
2476         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2477         according to multi-arch support.  Move __stpncpy hidden
2478         definition from here to...
2479         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2480         symbol stpncpy.
2481         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2482         libc_hidden_builtin_def.
2483         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2484         memset symbol to use when multi-arch support is available.
2486 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2488         * dlfcn/tst-rec-dlopen.c: Include string.h.
2490 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2492         * manual/install.texi: Remove mention of --without-tls
2493         * INSTALL: Regenerate.
2495 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2497         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2498         Remove.
2499         (call_function, interposed_malloc_called): New variables.
2500         (malloc): New function.
2501         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2502         and clear call_function as needed.
2504 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2506         * include/wchar.h (__wmemset): Use __typeof.
2508 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2510         * include/wchar.h (__wmemset): Declare function without typeof.
2512 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2514         [BZ #20205]
2515         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2516         exponent when incrementing negative subnormal with low mantissa
2517         word zero.
2518         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2519         Add another test.
2521 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2523         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2524         __wmemset instead of wmemset.
2526 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2528         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2529         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2530         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2531         __USE_KERNEL_IPV6_DEFS to 0.
2532         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2533         Update comment.
2535 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2537         [BZ #19861]
2538         Do not use IFUNC resolver with potentially unrelocated symbol.
2539         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2540         (DEFINE_FORK): Remove macro and inline definition.
2541         (fork_alias): Renamed from fork_ifunc.
2542         (__fork_alias): Renamed from __fork_ifunc.
2544 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2546         [BZ 19653]
2547         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2548         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2550 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2552         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2553         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2554         i386-linux-gnu).
2555         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2556         Set to no.
2557         * sysdeps/mach/hurd/configure: Refresh.
2559 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2561         [BZ #20178]
2562         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2563         on failure instead of exit.
2565 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2567         [BZ #3629]
2568         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2569         of POSIX.1-2008.
2571 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2573         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2574           Use PLT entry for calling _hurd_self_sigstate.
2576 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2578         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2579         available logical processors with SMT level type sharing L2
2580         cache for Intel processors.
2582 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2584         [BZ #20160]
2585         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2586         argument to itself before returning the result.
2587         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2588         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2589         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2590         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2591         Likewise.
2592         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2593         Likewise.
2594         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2595         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2596         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2597         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2598         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2599         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2601         [BZ #20160]
2602         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2603         argument to itself before returning the result.
2604         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2605         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2606         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2608         Likewise.
2609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2610         Likewise.
2611         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2612         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2613         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2614         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2615         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2616         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2618 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2620         * libm-test.inc: Replace usage of M_El with
2621         (lit_e): New macro.
2623 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2625         * libm-test.inc: Replace usage of M_PI_4l with
2626         (lit_pi_4_d): New macro.
2628 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2630         * libm-test.inc: Replace usage of M_PIl with
2631         (lit_pi): New macro.
2633 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2635         * libm-test.inc: Replace usage of M_PI2l with
2636         (lit_pi_2_d): New macro.
2638         * math/test-double.h (LITM): New macro.
2639         * math/test-float.h (LITM): Likewise.
2640         * math/test-ldouble.h (LITM): Likewise.
2642 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2644         * libm-test.inc (M_PI_34l): Rename to
2645         (lit_pi_3_m_4_d): New Macro.
2646         (M_PI_34_LOG10El): Rename to
2647         (lit_pi_3_m_4_ln10_m_d): New Macro.
2648         (M_PI2_LOG10El): Rename to
2649         (lit_pi_2_ln10_m_d):  New Macro.
2650         (M_PI4_LOG10El): Rename to
2651         (lit_pi_4_ln10_m_d):  New Macro.
2652         (M_PI_LOG10El): Rename to
2653         (lit_pi_ln10_d):  New Macro.
2655 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2657         [BZ #20157]
2658         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2659         determine whether to negate low half if [_ARCH_PPCGR], and integer
2660         comparison otherwise.
2661         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2662         determine whether to negate low half.
2664         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2665         (NO_TEST_INLINE_DOUBLE): Likewise.
2666         (TEST_COND_x86_64): Likewise.
2667         (TEST_COND_x86): Likewise.
2668         (M_PI_6l): Likewise.
2670 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2672         * math/libm-test.inc:
2673         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2674         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2675         (TEST_LDOUBLE): Update usage to evaluate as true if
2676         the guarded tests match the property being tested.
2677         (LDBL_MAX_EXP): Change to MAX_EXP.
2678         (LDBL_MIN_EXP): Change to MIN_EXP.
2679         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2680         nexttoward tests.
2682 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2684         * math/libm-test.inc:
2685         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2686         (TYPE_MIN): Likewise.
2687         (TYPE_TRUE_MIN): Likewise.
2688         (TYPE_MAX): Likewise.
2689         (MIN_EXP): Likewise.
2690         (MAX_EXP): Likewise.
2691         (MANT_DIG): Likewise.
2693         (FSTR_MAX): New macro.
2694         (__CONCATX): Likewise.
2695         (QTYPE_STR): Likewise.
2696         (TEST_COND_binary32): Likewise.
2697         (TEST_COND_binary64): Likewise.
2698         (TEST_COND_binary128): Likewise.
2699         (TEST_COND_ibm128): Likewise.
2700         (TEST_COND_intel96): Likewise.
2701         (TEST_COND_m68k96): Likewise.
2703         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2704         (TEST_COND_dbl_64): Likewise.
2705         (TEST_COND_ldbl_96_intel): Likewise.
2706         (TEST_COND_ldbl_96_m68k): Likewise.
2707         (TEST_COND_ldbl_128): Likewise.
2708         (TEST_COND_ldbl_128ibm): Likewise.
2710         (plus_zero): Redefine using LIT macro.
2711         (minus_zero): Likewise.
2712         (plus_infty): Redefine as (INF).
2713         (minux_infty): Redefine as (-INF).
2714         (max_value): Redefine as TYPE_MAX.
2715         (min_value): Redefine as TYPE_MIN.
2716         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2718         (print_float): Refactor to use snprintf to convert FLOAT values
2719         to string. This brings it closer to dropin replacement of strtof
2720         for the TS 18661 defined types.
2721         (update_stats): Likewise.
2722         (print_complex_function_ulps): Likewise.
2723         (print_max_error): Likewise.
2724         (print_complex_max_error): Likewise.
2725         (check_float_internal): Likewise.
2727         * math/test-float.h (PREFIX): New macro.
2728         (LIT): Likewise.
2729         (TYPE_STR): Likewise.
2730         (FTOSTR): Likewise.
2732         * math/test-double.h (PREFIX): New macro.
2733         (LIT): Likewise.
2734         (TYPE_STR): Likewise.
2735         (FTOSTR): Likewise.
2737         * math/test-ldouble.h (PREFIX): New macro.
2738         (LIT): Likewise.
2739         (TYPE_STR): Likewise.
2740         (FTOSTR): Likewise.
2742 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2744         [BZ #20156]
2745         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2746         to itself when zero or not finite.
2747         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2748         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2749         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2750         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2752 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2754         [BZ #20153]
2755         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2756         x * x + x for infinities and NaNs.
2758         [BZ #20151]
2759         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2760         argument to itself before returning result.
2761         (__ieee754_y0l): Likewise.
2762         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2763         (__ieee754_y1l).
2765         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2766         (atan_test_data): Likewise.
2767         (ceil_test_data): Likewise.
2768         (cos_test_data): Likewise.
2769         (cosh_test_data): Likewise.
2770         (erf_test_data): Likewise.
2771         (exp2_test_data): Likewise.
2772         (fabs_test_data): Likewise.
2773         (floor_test_data): Likewise.
2774         (ilogb_test_data): Likewise.
2775         (j0_test_data): Likewise.
2776         (j1_test_data): Likewise.
2777         (jn_test_data): Likewise.
2778         (lgamma_test_data): Likewise.
2779         (lrint_test_data): Likewise.
2780         (llrint_test_data): Likewise.
2781         (logb_test_data): Likewise.
2782         (lround_test_data): Likewise.
2783         (llround_test_data): Likewise.
2784         (nearbyint_test_data): Likewise.
2785         (rint_test_data): Likewise.
2786         (round_test_data): Likewise.
2787         (sin_test_data): Likewise.
2788         (sincos_test_data): Likewise.
2789         (sinh_test_data): Likewise.
2790         (sqrt_test_data): Likewise.
2791         (tan_test_data): Likewise.
2792         (tanh_test_data): Likewise.
2793         (tgamma_test_data): Likewise.
2794         (trunc_test_data): Likewise.
2795         (y0_test_data): Likewise.
2796         (y1_test_data): Likewise.
2797         (yn_test_data): Likewise.
2799         * math/libm-test.inc: Update comment about NaN testing.
2800         (TEST_SNAN): New macro.
2801         (snan_value): Likewise.
2802         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2803         (fpclassify_test_data): Add sNaN tests.
2804         (isfinite_test_data): Likewise.
2805         (isinf_test_data): Likewise.
2806         (isnan_test_data): Likewise.
2807         (isnormal_test_data): Likewise.
2808         (issignaling_test_data): Likewise.
2809         (signbit_test_data): Likewise.
2810         * math/gen-libm-test.pl (%beautify): Add snan_value.
2811         (show_exceptions): Add argument $test_snan.
2812         (parse_args): Handle snan_value as non-finite.  Update call to
2813         show_exceptions.
2814         * math/Makefile (libm-test-no-inline-cflags): Add
2815         -fsignaling-nans.
2817 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2819         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2820         (CFLAGS-oldsendmsg.c): Add rule.
2821         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2822         Correct recvmsg symbol name.
2823         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2824         Likewise.
2826 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2828         * sysdeps/unix/sysv/linux/Makefile
2829         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2830         oldsendmmsg.
2831         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2832         sendmmsg.
2833         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2834         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2835         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2836         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2838         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2839         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2841         Likewise.
2842         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2843         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2844         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2845         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2846         iovlen and controllen fields to adjust to POSIX specification.
2847         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2849         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2850         and change to correct expected type.
2851         (msghdr.msg_controllen): Likewise.
2852         (cmsghdr.cmsg_len): Likewise.
2853         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2854         expected POSIX assumption about the size.
2855         (msghdr.msg_controllen): Likewise.
2856         (msghdr.__glibc_reserved1): Likewise.
2857         (msghdr.__glibc_reserved2): Likewise.
2858         (cmsghdr.cmsg_len): Likewise.
2859         (cmsghdr.__glibc_reserved1): Likewise.
2860         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2861         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2862         (CFLAGS-sendmsg.c): Remove rule.
2863         (CFLAGS-recvmsg.c): Likewise.
2864         (CFLAGS-oldsendmsg.c): Add rule.
2865         (CFLAGS-oldrecvmsg.c): Likewise.
2866         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2867         recvmsg and sendmsg.
2868         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2869         Likewise.
2870         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2871         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2872         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2873         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2874         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2875         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2878         Likewise.
2879         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2880         Likewise.
2881         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2882         Likewise.
2883         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2886         Likewise.
2887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2888         (GLIBC_2.24): Likewise.
2889         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2890         Likewise.
2891         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2892         Likewise.
2893         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2894         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2895         Likewise.
2896         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2897         Likewise.
2898         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2899         Likewise.
2900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2901         (GLIBC_2.24): Likewise.
2902         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2903         Likewise.
2904         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2905         Likewise.
2906         * sysdeps/unix/sysv/linux/Makefile
2907         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2908         (CFLAGS-sendmsg.c): Add rule.
2909         (CFLAGS-recvmsg.c): Likewise.
2910         (CFLAGS-oldsendmsg.c): Likewise.
2911         (CFLAGS-oldrecvmsg.c): Likewise.
2912         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2913         initialization.
2914         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2915         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2916         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2917         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2918         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2919         iovlen and controllen fields to adjust to POSIX specification.
2920         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2921         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2922         added recvmsg and sendmsg.
2923         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2924         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2925         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2926         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2927         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2928         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2929         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2930         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2931         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2932         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2933         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2934         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2936         Likewise.
2937         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2939         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2940         Likewise.
2941         Likewise.
2942         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2943         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2944         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2945         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2946         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2947         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2949         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2951         Likewise.
2952         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2953         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2955         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2956         from auto-generation.
2957         (sendmsg): Likewise.
2958         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2959         (sendmsg): Likewise.
2960         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2961         (sendmsg): Likewise.
2962         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2963         (sendmsg): Likewise.
2964         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2965         (sendmsg): Likewise.
2966         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2967         (sendmsg): Likewise.
2968         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2969         Likewise.
2970         (sendmsg): Likewise.
2971         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2972         (sendmsg): Likewise.
2973         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2975         Remove.
2976         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2977         Likewise.
2978         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2979         Undefine.
2980         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2981         Likewise.
2982         * sysdeps/unix/sysv/linux/kernel-features.h
2983         (__ASSUME_SENDMSG_SYSCALL): Define.
2984         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2985         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2986         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2987         Remove.
2988         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2989         Likewise.
2990         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2991         Undefine.
2992         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2993         Likewise.
2994         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2996         Remove.
2997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2998         Likewise.
2999         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3000         Undefine.
3001         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3002         Likewise.
3003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3004         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3005         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3006         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3007         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3008         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3009         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3010         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3011         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3013 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3015         * stdlib/gen-tst-strtod-round.c: Add backslash to
3016         compile command in comment.
3017         (printfp): Remove the literal suffix, and define an infinite
3018         value as INF to avoid expansion clash with INFINITY.
3019         (round_str): Remove the literal suffix.
3020         (round_for_all): Likewise, remove the now duplicate ldbl-64
3021         entry, and remove some magic constants.
3023         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3024         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3025         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3026         (_CONCAT): New macro.
3027         (CONCAT): Likewise.
3028         (CHOOSE_ld): Likewise.
3029         (CHOOSE_f): Likewise.
3030         (CHOOSE_d): Likewise.
3031         (FTYPE_MEMBER): Likewise.
3032         (BOOL_MEMBER): Likewise.
3033         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3034         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3035         (_XNTRY): Likewise.
3036         (XNTRY): Likewise.
3037         (_ENTRY): Likewise.
3038         (ENTRY): Likewise.
3039         (test_exactness): Generate members via macro.
3040         (test_results): Likewise.
3041         (test): Update members.
3042         (TEST): Redefine using new macros.
3043         (INF): New macro.
3044         (fetestmodes): New structure.
3045         (do_test): Refactor to be type generic.
3046         (test_in_one_mode): Refactor duplicate code into
3047         (GEN_ONE_TEST): New macro.
3049         * stdlib/tst-strtod-round-data.h: Regenerate.
3051         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3052         Extend to pass additional arbitrary parameters to
3053         generators.
3055 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3057         [BZ #15479]
3058         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3059         floating-point state after first floating-point operation on
3060         input.  Restore full floating-point state instead of just rounding
3061         mode.
3062         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3063         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3064         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3065         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3066         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3068         [BZ #15479]
3069         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3070         floating-point state after first floating-point operation on
3071         input.  Restore full floating-point state instead of just rounding
3072         mode.
3073         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3074         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3075         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3076         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3077         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3079 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3081         [BZ #19727]
3082         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3083         valid high surrogate.
3084         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3085         of an utf16 surrogate.
3086         * iconv/gconv_simple.c (BODY): Likewise.
3087         * iconvdata/bug-iconv12.c: New file.
3088         * iconvdata/Makefile (tests): Add bug-iconv12.
3090 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3092         [BZ #19726]
3093         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3094         outptrp in case of an illegal input.
3095         * iconv/tst-iconv6.c: New file.
3096         * iconv/Makefile (tests): Add tst-iconv6.
3098 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3100         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3101         an error in case of a value in range of an utf16 low surrogate.
3103 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3105         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3106         an error in case of a value in range of an utf16 low surrogate.
3108 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3110         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3111         Move to ...
3112         * sysdeps/s390/Makefile: ... here.
3113         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3114         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3115         (BRANCH_ON_COUNT): New define.
3116         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3117         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3118         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3119         run on s390-32, too.
3120         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3121         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3122         run on s390-32, too.
3123         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3124         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3125         run on s390-32, too.
3127 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3129         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3130         etf3eh or new vector loop-variant.
3132 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3134         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3135         etf3eh or new vector loop-variant.
3137 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3139         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3140         or new vector loop-variant.
3142 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3144         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3145         Rename to TR_LOOP and usage of tr instead of troo instruction.
3147 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3149         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3150         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3154         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3155         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3156         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3157         New override define.
3158         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3160 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3162         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3163         * sysdeps/s390/configure.ac: Add test for S390 vector register
3164         support in gcc.
3165         * sysdeps/s390/configure: Regenerated.
3167 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3169         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3170         Install file from $(objpfx)gconv-modules.
3171         ($(objpfx)gconv-modules): Concatenate architecture specific file
3172         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3173         * sysdeps/s390/gconv-modules: New file.
3174         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3175         Deleted.
3176         ($(objpfx)gconv-modules-s390): Deleted.
3177         (sysdeps-gconv-modules): New variable.
3179 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3181         [BZ #15479]
3182         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3183         of immediate operand to rounding instruction.
3184         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3185         Likewise.
3186         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3187         Likewise.
3188         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3189         Likewise.
3191 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3193         * math/libm-test.inc (MIN_EXP): Directly define as
3194         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3196 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3198         * math/libm-test.inc (MANT_DIG): Directly define as
3199         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3201 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3203         * stdlib/gen-tst-strtod-round.c (main):
3204           Change usage to more closely match the generated
3205           output.  Add usage and compilation instructions.
3206           (string_to_fp): Add and use FILE* parameter as
3207           output target.
3208           (print_fp): Likewise.
3209           (round_str): Likewise.
3210           (round_for_all): Likewise.
3211         * stdlib/tst-strtod-round.c (tests): Move into
3212         * stdlib/tst-strtod-round-data.h: New file.
3214 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3216         [BZ #15479]
3217         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3218         (__round): Do not force "inexact" exception.
3219         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3220         variable.
3221         (__round): Do not force "inexact" exception.
3222         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3223         (__roundf): Do not force "inexact" exception.
3224         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3225         (__roundl): Do not force "inexact" exception.
3226         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3227         (__roundl): Do not force "inexact" exception.
3228         * math/libm-test.inc (round_test_data): Do not allow spurious
3229         "inexact" exceptions.
3231         [BZ #15479]
3232         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3233         exception in comment.
3234         (huge): Remove variable.
3235         (__floor): Do not force "inexact" exception.
3236         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3237         "inexact" exception in comment.
3238         (huge): Remove variable.
3239         (__floor): Do not force "inexact" exception.
3240         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3241         exception in comment.
3242         (huge): Remove variable.
3243         (__floorf): Do not force "inexact" exception.
3244         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3245         exception in comment.
3246         (huge): Remove variable.
3247         (__floorl): Do not force "inexact" exception.
3249         [BZ #15479]
3250         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3251         exception in comment.
3252         (huge): Remove variable.
3253         (__ceil): Do not force "inexact" exception.
3254         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3255         "inexact" exception in comment.
3256         (huge): Remove variable.
3257         (__ceil): Do not force "inexact" exception.
3258         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3259         (__ceilf): Do not force "inexact" exception.
3260         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3261         exception in comment.
3262         (huge): Remove variable.
3263         (__ceill): Do not force "inexact" exception.
3265 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3267         * config.h.in (BIND_NOW): New.
3268         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3269         * configure: Regenerated.
3270         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3271         indirect branch via the GOT slot.
3273 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3275         [BZ #19765]
3276         * sysdeps/s390/mempcpy.S: New File.
3277         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3278         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3279         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3280         Add mempcpy variants.
3281         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3282         (memcpy): Adjust to be usable from mempcpy entry point.
3283         (__memcpy_mvcle): Likewise.
3284         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3285         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3286         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3287         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3288         (__memcpy_z10): Likewise.
3289         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3291 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3293         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3294         Remove __GI_ symbol.
3295         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3296         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3297         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3298         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3299         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3300         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3302 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3304         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3305         Use cghi instead of chi to compare 64bit value.
3307 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3309         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3310         Jump to 1MB check before executing mvc-loop.
3312 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3314         [BZ #6527]
3315         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3316         unconditionally.
3317         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3319 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3321         * stdlib/tst-strtod6.c (do_test): Use new type generic
3322         invocation of the test function.
3323         (test): Refactor into ...
3324         (TEST_STRTOD): New macro base function.
3326 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3328         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3329         (TEST_STRTOD): New macro.
3330         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3332 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3334         * stdlib/tst-strtod6.c (do_test): Use new type generic
3335         invocation of the test function.
3336         (test): Refactor into ...
3337         (TEST_STRTOD): New macro base function.
3339 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3341         CVE-2016-4429
3342         [BZ #20112]
3343         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3344         payload.
3346 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3348         [BZ #20111]
3349         * bits/sockaddr.h (_SS_SIZE): Define.
3350         * bits/socket.h (_SS_SIZE): Remove.
3351         (_SS_PADSIZE): Adjust to account for all padding.
3352         (struct sockaddr_storage): Update comment.  Avoid implicit
3353         padding.
3354         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3355         (_SS_PADSIZE): Adjust to account for all padding.
3356         (struct sockaddr_storage): Update comment.  Avoid implicit
3357         padding.
3358         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3359         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3360         (_SS_PADSIZE): Adjust to account for all padding.
3361         (struct sockaddr_storage): Update comment.  Avoid implicit
3362         padding.
3363         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3364         __SS_SIZE is 126 in this version.
3365         * inet/tst-sockaddr.c: New file.
3366         * inet/Makefile (tests): Add tst-sockaddr.c
3367         (tst-sockaddr.c): Compile with non-strict aliasing.
3369 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3371         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3372         [XPG3 || XPG4].
3373         (NL_ARGMAX): Also expect for [XPG3].
3374         (NL_LANGMAX): Likewise.
3375         (NL_MSGMAX): Likewise.
3376         (NL_NMAX): Likewise.
3377         (NL_SETMAX): Likewise.
3378         (NL_TEXTMAX): Likewise.
3379         (NZERO): Likewise.
3380         (TMP_MAX): Likewise.
3381         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3382         variable.
3384         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3385         (PF_MAX): Update value.
3386         (AF_KCM): New macro.
3387         (SOL_NETBEUI): Likewise.
3388         (SOL_LLC): Likewise.
3389         (SOL_DCCP): Likewise.
3390         (SOL_NETLINK): Likewise.
3391         (SOL_TIPC): Likewise.
3392         (SOL_RXRPC): Likewise.
3393         (SOL_PPPOL2TP): Likewise.
3394         (SOL_BLUETOOTH): Likewise.
3395         (SOL_PNPIPE): Likewise.
3396         (SOL_RDS): Likewise.
3397         (SOL_IUCV): Likewise.
3398         (SOL_CAIF): Likewise.
3399         (SOL_ALG): Likewise.
3400         (SOL_NFC): Likewise.
3401         (SOL_KCM): Likewise.
3402         (MSG_BATCH): New enum value and macro.
3404 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3406         [BZ #18185]
3407         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3408         sharing L2 cache to 2 for Knights Landing.
3410 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3412         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3413         (FTW_DP): Do not expect for [XPG3 || XPG4].
3414         (FTW_SL): Do not expect for [XPG3].
3415         (FTW_SLN): Likewise.
3416         (FTW_PHYS): Likewise.
3417         (FTW_MOUNT): Likewise.
3418         (FTW_DEPTH): Likewise.
3419         (FTW_CHDIR): Likewise.
3420         (nftw): Likewise.
3421         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3422         variable.
3424 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3426         * manual/errno.texi: Fix various typos & grammar errors.
3428 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3430         * manual/intro.texi: Fix duplicated typo.
3432 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3434         [BZ #13304]
3435         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3436         <float.h>, <math_private.h> and <stdlib.h>.
3437         (add_split): New function.
3438         (mul_split): Likewise.
3439         (ext_val): New typedef.
3440         (store_ext_val): New function.
3441         (mul_ext_val): New function.
3442         (compare): New function.
3443         (add_split_ext): New function.
3444         (__fmal): After checking for Inf, NaN and zero, compute result as
3445         an exact sum of scaled double values in round-to-nearest before
3446         adding those up and adjusting for other rounding modes.
3447         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3448         tests of fma.
3449         * math/auto-libm-test-out: Regenerated.
3451 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3453         [BZ #20119]
3454         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3455         processor level type mask for CPUID with EAX == 11.
3457 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3459         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3460         logical threads if the HTT bit is 0.
3461         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3462         (index_cpu_HTT): Likewise.
3463         (reg_HTT): Likewise.
3465 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3467         [BZ #20115]
3468         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3469         Remove alignments on jump targets.
3471 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3473         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3474         (getpwent): Likewise.
3475         (setpwent): Likewise.
3476         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3477         variable.
3479         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3480         (remque): Likewise.
3481         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3482         variable.
3484 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3486         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3487         not being tested.
3489 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3491         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3492         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3493         call.
3494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3495         (__condvar_cleanup1): Likewise.
3497 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3499         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3500         New
3501         (__pthread_unwind): Renamed to ...
3502         (PTHREAD_UNWIND): This.
3503         (__pthread_enable_asynccancel): Replace
3504         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3506 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3508         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3509         (CLONE_NEWCGROUP): New macro.
3511         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3512         (Q_GETNEXTQUOTA): New macro.
3514 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3516         [BZ #19907]
3517         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3518         buffer updated by the previous run.
3519         * string/test-memcpy.c (do_one_test): Likewise.
3520         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3521         * string/test-memmove.c (do_one_test): Likewise.
3523 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3525         [BZ #20094]
3526         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3527         not [__USE_XOPEN].
3528         (unlockpt): Likewise.
3529         (ptsname): Likewise.
3530         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3531         variable.
3533         [BZ #20076]
3534         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3535         instead of [__USE_UNIX98].
3536         (S_ISSOCK): Likewise.
3537         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3538         variable.
3540         [BZ #20074]
3541         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3542         [__USE_POSIX].
3543         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3544         variable.
3546         [BZ #20051]
3547         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3548         (ttyslot): Do not declare.
3549         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3550         (ttyslot): New prototype.
3551         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3552         variable.
3553         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3555 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3557         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3559 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3561         Fix race condition in tst-mallocfork2, use fewer resources.
3562         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3563         to current process group.
3564         (signal_sender): Yield in the non-sleeping case.
3566 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3568         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3569         (ecvt): Likewise.
3570         (fcvt): Likewise.
3571         (gcvt): Likewise.
3572         (getsubopt): Likewise.
3573         (grantpt): Likewise.
3574         (initstate): Likewise.
3575         (l64a): Likewise.
3576         (mktemp): Likewise.
3577         (mkstemp): Likewise.
3578         (ptsname): Likewise.
3579         (random): Likewise.
3580         (realpath): Likewise.
3581         (setstate): Likewise.
3582         (srandom): Likewise.
3583         (ttyslot): Likewise.
3584         (unlockpt): Likewise.
3585         (valloc): Likewise.
3587         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3588         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3589         variable.
3591 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3593         [BZ #20072]
3594         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3595         init_cpu_features only if SHARED is defined.
3596         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3598 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3600         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3601         non-inclusive caches on Intel processors.
3603 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3605         * malloc/malloc.c (dumped_main_arena_start)
3606         (dumped_main_arena_end): New variables.
3607         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3608         (do_check_chunk): Skip dumped fake mmapped chunks.
3609         (munmap_chunk): Likewise.
3610         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3611         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3612         mmapped chunks.
3613         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3614         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3615         and dumped_main_arena_end to cover the dumped heap.
3617 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3619         * conform/data/time.h-data (getdate_err): Do not expect for
3620         [XPG3].
3621         (getdate): Likewise.
3622         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3623         variable.
3625         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3626         (F_ULOCK): Likewise.
3627         (F_TEST): Likewise.
3628         (F_TLOCK): Likewise.
3629         (useconds_t): Likewise.
3630         (intptr_t): Do not expect for [XPG3] or [XPG4].
3631         (brk): Do not expect for [XPG3]
3632         (fchown): Likewise.
3633         (fchdir): Likewise.
3634         (ftruncate): Likewise.
3635         (getdtablesize): Likewise.
3636         (gethostid): Likewise.
3637         (getpagesize): Likewise.
3638         (getpgid): Likewise.
3639         (getsid): Likewise.
3640         (getwd): Likewise.
3641         (lchown): Likewise.
3642         (lockf): Likewise.
3643         (readlink): Likewise.
3644         (sbrk): Likewise.
3645         (setpgrp): Likewise.
3646         (setregid): Likewise.
3647         (setreuid): Likewise.
3648         (symlink): Likewise.
3649         (sync): Likewise.
3650         (truncate): Likewise.
3651         (ualarm): Likewise.
3652         (usleep): Likewise.
3653         (vfork): Likewise.
3654         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3655         variable.
3657         [BZ #20054]
3658         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3659         not [__USE_UNIX98].
3660         * conform/data/unistd.h-data (gethostname): Do not expect for
3661         [XPG3].
3663         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3664         [!POSIX] (S_IFBLK): Likewise.
3665         [!POSIX] (S_IFCHR): Likewise.
3666         [!POSIX] (S_IFIFO): Likewise.
3667         [!POSIX] (S_IFREG): Likewise.
3668         [!POSIX] (S_IFDIR): Likewise.
3669         [!POSIX] (S_IFLNK): Likewise.
3670         [!POSIX] (S_IFSOCK): Likewise.
3671         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3672         variable.
3673         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3675 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3677         * sysdeps/aarch64/memset.S (__memset):
3678         Rewrite of optimized memset.
3680 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3682         [BZ #19703]
3683         Partially async-signal-safe fork for single-threaded processes.
3684         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3685         variable.  Do not acquire and reset/release malloc and libio locks
3686         in single-threaded processes.
3687         * malloc/tst-mallocfork2.c: New file.
3688         * malloc/Makefile (tests): Add it.
3690 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3692         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3693         argument.  Use scratch buffer instead of extend_alloca.
3694         (gethosts): Use scratch buffer instead of extend_alloca.
3695         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3696         extend_alloca.
3697         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3699 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3701         [BZ #20055]
3702         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3703         instead of [__USE_UNIX98].
3704         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3705         [__USE_UNIX98].
3706         * conform/data/termios.h-data (tcgetsid): Do not expect for
3707         [XPG3].
3708         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3709         variable.
3710         (test-xfail-XPG4/termios.h/conform): Likewise.
3712 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3714         Do not use mcheck in localedef.
3715         * locale/programs/localedef.c (turn_on_mcheck)
3716         (__malloc_initialize_hook): Remove.
3718 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3720         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3721         * sysdeps/s390/s390-64/Makefile: Likewise.
3723 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3725         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3726         Remove ifunc-defines.sym.
3727         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3728         Likewise.
3729         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3730         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3731         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3732         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3733         rtld-global-offsets.sym.
3734         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3735         * sysdeps/x86/cpu-features-offsets.sym: This.
3736         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3737         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3739 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3741         [BZ #20073]
3742         * io/sys/stat.h (fchmod): Declare for
3743         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3744         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3745         variable.
3747         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3748         [XPG3] (S_IFSOCK): Likewise.
3749         [XPG3] (S_ISVTX): Likewise.
3750         [XPG3] (S_ISLNK): Likewise.
3751         [XPG3] (S_ISSOCK): Likewise.
3752         [XPG3] (fchmod): Likewise.
3753         [XPG3] (lstat): Likewise.
3754         [XPG3] (mknod): Likewise.
3756         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3757         [XPG3].  Expect type long and XFAIL for [XPG4].
3758         (st_blocks): Likewise.
3760         [BZ #20044]
3761         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3762         (pthread_atfork): New prototype.
3763         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3764         variable.
3766         [BZ #20043]
3767         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3768         prototype.
3770 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3772         [BZ #20017]
3773         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3774         gmtime.
3776 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3778         [BZ #19994]
3779         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3780         flag in _res.options.
3782 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3784         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3785         [XPG3 || XPG4].
3786         (blksize_t): Likewise.
3787         (clockid_t): Likewise.
3788         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3789         variable.
3790         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3792 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3794         * sysdeps/unix/sysv/linux/s390/init-first.c:
3795         Add VDSO_SYMBOL(getcpu).
3796         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3797         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3798         Add VDSO_SYMBOL(getcpu).
3799         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3800         New define HAVE_GETCPU_VSYSCALL.
3801         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3803 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3805         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3806         instead of <sysdeps/x86_64/cacheinfo.c>.
3807         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3808         * sysdeps/x86/cacheinfo.c: Here.
3810 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3812         * malloc/malloc-internal.h: Adjust header file guard.
3814 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3816         [BZ #19787]
3817         * inet/getnameinfo.c (check_sprintf_result): New function.
3818         (CHECKED_SNPRINTF): New macro.
3819         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3820         to the host buffer.
3821         (gni_host_local): Use checked_copy to copy the host name.
3822         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3823         (gni_serv_local): Use checked_copy to copy the service name.
3824         (getnameinfo): Remove unnecessary truncation of result buffers.
3826 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3828         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3829         in case of inet_ntop failure.
3831 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3833         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3834         avoid long lines.
3835         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3836         variables.
3837         (gni_host_inet, gni_host_local): Add comment.
3838         (gni_host): Add comment.  Use temporary to avoid long lines.
3840 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3842         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3843         registers specifiers where general purpose registers specifiers should
3844         have been used.
3846 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3848         [BZ #19779]
3849         CVE-2016-1234
3850         Avoid copying names of directory entries.
3851         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3852         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3853         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3854         (struct readdir_result): New type.
3855         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3856         (GL_READDIR): New macros.
3857         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3858         (convert_dirent, convert_dirent64): New functions.
3859         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3860         convert_dirent64.  Adjust references to the readdir result.
3861         * sysdeps/unix/sysv/linux/i386/glob64.c:
3862         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3863         * posix/bug-glob2.c (LONG_NAME): Define.
3864         (filesystem): Add LONG_NAME.
3865         (my_DIR): Increase the size of room_for_dirent.
3867 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3869         [BZ #20041]
3870         * misc/sys/select.h (__need_timespec): Only define if
3871         [__USE_XOPEN2K].
3872         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3873         variable.
3874         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3875         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3876         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3878 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3879             Segher Boessenkool  <segher@gcc.gnu.org>
3881         [BZ #20004]
3882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3883         (__novec_swapcontext): Add missing load.
3885 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3887         [BZ #20023]
3888         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3889         <time.h>.
3890         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3891         variable.
3892         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3894 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3897         flags CLONE_VM compare.
3899 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3901         [BZ #20031]
3902         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3903         completely empty.
3905 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3907         [BZ #19573]
3908         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3909         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3910         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3911         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3912         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3913         (hesiod_free_list): Mark as hidden.
3914         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3915         res_set, res_get.
3916         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3917         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3918         (hesiod_init): Remove obsolete res_ninit call.
3919         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3920         (hesiod_bind): Do not call init.
3921         (get_txt_records): Use res_mkquery, res_send instead of
3922         res_nmkquery, res_nsend.
3923         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3924         instead of _nss_hesiod_init.
3925         (_nss_hesiod_initgroups_dyn): Likewise.
3926         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3927         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3928         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3930 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3932         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3933         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3935 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3937         * hesiod/hesiod.h: Remove RCS keyword.
3938         * hesiod/hesiod_p.h: Likewise.
3940         * hesiod/hesiod.c: Likewise.
3942 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3944         [BZ #12450]
3945         * locale/iso-639.def: Add Samogitian/sgs.
3947 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3949         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3951         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3953 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3954             Carlos O'Donell  <carlos@redhat.com>
3956         [BZ #19072]
3957         * grp/Makefile (headers): Add grp-merge.h
3958         (routines): Add grp-merge.
3959         * grp/getgrgid_r.c: Include grp-merge.h.
3960         (DEEPCOPY_FN): Define.
3961         (MERGE_FN): Define.
3962         * grp/getgrname_r.c: Include grp-merge.h.
3963         (DEEPCOPY_FN): Define.
3964         (MERGE_FN): Define.
3965         * grp/grp-merge.c: New file.
3966         * grp/grp-merge.h: New file.
3967         * include/grp-merge.h: New file.
3968         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3969         __copy_grp@GLIBC_PRIVATE.
3970         * manual/nss.texi (Actions in the NSS configuration): Describe
3971         return, continue, and merge.
3972         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3973         (DEEPCOPY_FN): Define.
3974         (MERGE_FN): Define.
3975         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3976         (DEEPCOPY_FN): Define.
3977         (MERGE_FN): Define.
3978         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3979         [!MERGE_FN]: Define __merge_einval.
3980         (CHECK_MERGE): Define.
3981         (REENTRANT_NAME): Process merge if do_merge is true.
3982         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3983         (__nss_getent_r): Likewise.
3984         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3985         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3987 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3989         [BZ #20012]
3990         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3991         length to calculate the buffer to read.
3992         (fmemopen_write): Set the buffer position based on bytes written.
3993         (fmemopen_seek): Return EINVAL for invalid whence modes.
3995         [BZ #19957]
3996         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3997         tst-getpid2.
3998         (test): Add tst-clone2.
3999         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4000         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4001         pid/tid fields for CLONE_VM.
4002         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4003         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4004         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4005         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4006         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4007         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4008         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4009         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4011         Likewise.
4012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4013         Likewise.
4014         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4015         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4016         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4017         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4018         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4019         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4020         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4021         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4023 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4025         [BZ #19642]
4026         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4027         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4028         (gni_serv_local, gni_serv): New functions extracted from
4029         getnameinfo.
4030         (getnameinfo): Call gni_host and gni_serv to perform the
4031         processing.  Always free scratch buffer.
4033 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4035         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4036         remaining bytes in the dest string, with zeros.
4038 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4040         [BZ #20010]
4041         CVE-2016-3706
4042         * sysdeps/posix/getaddrinfo.c
4043         (convert_hostent_to_gaih_addrtuple): New function.
4044         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4045         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4046         AF_INET data.
4048 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4050         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4051         callback function gl_readdir.
4052         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4053         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4054         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4055         memcpy to copy the name.
4056         * manual/pattern.texi (Calling Glob): Document requirements for
4057         implementations of the gl_readdir callback function.
4058         * manual/examples/mkdirent.c: New example.
4059         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4060         per the manual guidance.
4061         * posix/tst-gnuglob.c (my_readdir): Likewise.
4063 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4065         [BZ #20014]
4066         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4067         not [__USE_POSIX].
4068         (getchar_unlocked): Likewise.
4069         (putc_unlocked): Likewise.
4070         (putchar_unlocked): Likewise.
4071         (flockfile): Likewise.
4072         (ftrylockfile): Likewise.
4073         (funlockfile): Likewise.
4074         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4075         variable.
4076         (test-xfail-XPG4/stdio.h/conform): Likewise.
4078         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4079         Expect constant.
4080         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4081         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4082         variable.
4083         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4084         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4086         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4087         [__USE_LARGEFILE64] (off64_t): Likewise.
4088         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4089         variable.
4091 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4093         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4097         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4098         * resolv/res_init.c: Likewise.
4099         * resolv/res_mkquery.c: Likewise.
4101 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4103         * resolv/res_init.c (isascii): Do not define.  Use definition in
4104         <ctype.h>.
4105         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4106         (LOG_AUTH): Remove.
4107         (SPRINTF): Remove, adjust caller.
4108         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4110 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4112         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4113         SUNSECURITY conditional.
4114         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4116 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4118         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4119         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4120         Remove BSD-related preprocessor conditionals.
4121         * conf/portability.h: Remove.
4123 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4125         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4126         * resolv/res_data.c: Likewise.
4128 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4130         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4131         * resolv/res_data.c: Remove code conditional on ultrix.
4133 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4135         * resolv/res_init.c (RFC1535): Do not define.  Remove
4136         RFC1535 preprocessor conditionals.
4137         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4138         because there configuration options which make the resolver
4139         behavior different.
4141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4143         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4144         RESOLVSORT preprocessor conditionals.
4145         * resolv/nss_dns/dns-host.c: Likewise.
4146         * resolv/res_init.c: Likewise.
4148 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4150         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4151         is never defined.
4153 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4155         * inet/inet_lnaof.c: Remove SCSS keyword.
4156         * inet/inet_mkadr.c: Likewise.
4157         * inet/inet_net.c: Likewise.
4158         * inet/inet_netof.c: Likewise.
4159         * inet/rcmd.c: Likewise.
4160         * inet/rexec.c: Likewise.
4161         * inet/ruserpass.c: Likewise.
4163 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4165         * resolv/inet_addr.c: Remove _LIBC conditionals.
4166         * resolv/res_data.c: Likewise.
4167         * resolv/res_init.c: Likewise.
4168         * resolv/res_mkquery.c: Likewise.
4169         * resolv/res_libc.c: Update comment.
4170         * resolv/README: Update.
4172 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4174         * resolv/gethnamaddr.c: Remove SCSS keyword.
4175         * resolv/herror.c: Likewise.
4176         * resolv/inet_addr.c: Likewise.
4177         * resolv/inet_net_ntop.c: Likewise.
4178         * resolv/inet_net_pton.c: Likewise.
4179         * resolv/inet_neta.c: Likewise.
4180         * resolv/inet_ntop.c: Likewise.
4181         * resolv/inet_pton.c: Likewise.
4182         * resolv/ns_date.c: Remove RCS keyword.
4183         * resolv/ns_name.c: Likewise.
4184         * resolv/ns_netint.c: Likewise.
4185         * resolv/ns_parse.c: Likewise.
4186         * resolv/ns_print.c: Likewise.
4187         * resolv/ns_samedomain.c: Likewise.
4188         * resolv/ns_ttl.c: Likewise.
4189         * resolv/nsap_addr.c: Likewise.
4190         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4191         * resolv/res_data.c: Remove RCS keyword.
4192         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4193         * resolv/res_init.c: Likewise.
4194         * resolv/res_mkquery.c: Likewise.
4195         * resolv/res_query.c: Likewise.
4196         * resolv/res_send.c: Likewise.
4198 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4200         * conform/data/stdio.h-data (fdopen): Expect also for
4201         [XPG3 || XPG4].
4203         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4204         (fseeko): Likewise.
4205         (ftello): Likewise.
4206         (ftrylockfile): Likewise.
4207         (funlockfile): Likewise.
4208         (getc_unlocked): Likewise.
4209         (getchar_unlocked): Likewise.
4210         (putc_unlocked): Likewise.
4211         (putchar_unlocked): Likewise.
4213 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4215         [BZ #19868]
4216         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4217         DNS packet syntax checks (which were not needed before).  Skip
4218         over non-PTR records.
4220 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4222         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4223         definition.  Include <stddef.h> instead.
4225 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4227         [BZ #19831]
4228         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4229         function.
4230         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4231         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4233 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4235         [BZ #19862]
4236         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4237         (getanswer_r): Do not call syslog.
4238         (gaih_getanswer_slice): Likewise.
4239         * resolv/gethnamaddr.c (AskedForGot): Remove.
4240         (getanswer): Do not call syslog.
4241         (gethostbyaddr): Likewise.
4243 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4245         * conform/data/signal.h-data (union sigval): Expect also if
4246         [XOPEN2K].
4247         (struct sigevent): Likewise.
4248         (SIGEV_NONE): Likewise.
4249         (SIGEV_SIGNAL): Likewise.
4250         (SIGEV_THREAD): Likewise.
4251         (SIGRTMIN): Likewise.
4252         (SIGRTMAX): Likewise.
4253         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4254         variable.
4255         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4257 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4259         [BZ #19830]
4260         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4261         (gaih_getanswer_slice): Likewise.
4262         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4263         Also check for availability of RR metadata.
4265 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4267         [BZ #19825]
4268         * resolv/res_send.c (send_vc): Remove early *resplen2
4269         initialization.  Set *resplen2 on socket error.  Call
4270         close_and_return_error for other errors.
4272 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4274         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4275         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4276         (SCM_IUCV_TRGCLS): New define.
4278 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4280         [BZ #20005]
4281         * libio/fmemopen.c (fmemopen_write): Update internal position after
4282         write.
4283         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4284         * stdio-common/tst-fmemopen4.c: New file..
4286 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4288         [BZ #19996]
4289         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4290         not [__USE_XOPEN2K].
4291         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4292         variable.
4294         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4295         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4296         variable.
4298         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4299         [__USE_XOPEN2K8].
4300         [__USE_LARGEFILE64] (off64_t): Likewise.
4301         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4302         variable.
4304 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4306         [BZ #19989]
4307         * libio/stdio.h (cuserid): Do not declare if
4308         [__USE_XOPEN2K && !__USE_GNU].
4309         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4310         variable.
4312 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4314         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4315         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4317         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4318         ifunc'ed strcspn.
4319         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4320         [EALIGN]: Removed.
4321         [END]: Likewise
4322         [STRSPN]: Define instead of the above to control symbol name.
4323         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4324         New file.
4325         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4326         Likewise.
4327         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4328         Likewise.
4329         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4330         Likewise.
4331         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4332         [INITIAL_MASK]: New macro.
4333         [STRCSPN]: Likewise.
4334         [UPDATE_MASK]: Likewise.
4335         [USE_AS_STRCSPN]: Lisewise.
4337 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4339         [BZ #19931]
4340         * stdio-common/tst-vfprintf-width-prec.c: New file.
4341         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4342         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4343         (generated): Add mtrace-related files.
4344         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4345         (tst-%-mem.out): New pattern rule, replaces
4346         tst-printf-bz18872-mem.out.
4347         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4348         specifier, deallocate any previously allocated work buffer.
4350 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4352         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4353         Add nop before __startcontext, add explaining comments.
4355 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4357         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4358         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4359         completely different API.
4361         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4362         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4363         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4364         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4365         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4366         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4367         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4368         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4369         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4370         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4372 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4374         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4376 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4378         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4379         when it is the default of 0.
4381 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4383         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4384         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4385         (sysdep_routines): Add new strcasestr targets.
4386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4387         (__libc_ifunc_impl_list): Likewise.
4388         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4389         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4390         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4391         * sysdeps/powerpc/powerpc64/power8/Makefile:
4392         New file to add strcasestr-ppc64 to sysdep_routines.
4393         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4394         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4396 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4398         * benchtests/Makefile (wcsmbs-benchset): Include only for
4399         native builds and runs.
4400         (LOCALES): Likewise.
4401         (bench-build): Build timing-type here instead of the bench
4402         target.  Generate locale only for native builds.
4403         * benchtests/README: Add note for cross-building.
4405         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4407         * benchtests/README: Update README to include instructions on
4408         using bench-build.
4410         * Makefile.in (bench-build): New target.
4411         * Rules (PHONY): Add bench-build target.
4412         * benchtests/Makefile (bench): Depend on bench-build.
4413         (bench-build): New target.
4415 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4417         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4418         profil_reply_port.
4419         (profile_waiter): Do not initialize profil_reply_port.
4420         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4421         frequency instead of tick length in us.
4423 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4425         [BZ #18712]
4426         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4427         (__old_mempcpy_small): Likewise.
4428         (__old_strcpy_small): Likewise.
4429         (__old_stpcpy_small): Likewise.
4430         (__old_strpbrk_c2): Fix compat symbol name.
4431         (__old_strpbrk_c3): Likewise.
4432         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4433         (__mempcpy_small): Remove.
4434         (__strcpy_small): Remove.
4435         (__stpcpy_small): Remove.
4437 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4439         [BZ #19400]
4440         * locale/iso-639.def: Add the Talossan/tzl language.
4442 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4444         [BZ #16983]
4445         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4446         comment.  Add "ln" to strchr check on postal_fmt.
4448 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4450         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4451         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4452         tel_dom_fmt.
4454 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4456         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4457         (sysdep_routines): Added __strlen_power8.
4458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4459         __strlen_power8 entry.
4460         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4461         Implementation for POWER8.
4462         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4463         for __strlen_power8.
4464         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4465         Implementation for POWER8.
4467 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4469         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4471 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4473         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4474         Goldmont and Airmont processors.
4476 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4478         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4479         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4480         (__STRING2_SMALL_GET32): Remove.
4481         (memset): Remove.
4482         (__memset_1): Remove.
4483         (__memset_gc): Remove.
4484         (__mempcpy): Remove.
4485         (mempcpy): Remove.
4486         (__mempcpy_args): Remove.
4487         (strchr): Remove.
4488         (strcpy): Remove.
4489         (strcpy_args): Remove.
4490         (__stpcpy_args): Remove.
4491         (__strcmp_cc): Remove.
4492         (__strcmp_gc): Remove.
4493         (strstr): Remove.
4495 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4497         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4498         * nis/nis_call.c (nis_server_cache_add): Likewise.
4500 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4502         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4504 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4506         * malloc/arena.c (__malloc_fork_lock_parent)
4507         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4508         internal_function attribute.
4510 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4512         * stdio-common/printf_fp.c (__printf_fp_l):
4513         Rename ___printf_fp_l to __printf_fp_l and
4514         remove strong alias. Use libc_hidden_def instead
4515         of ldbl_hidden_def macro.
4517 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4519         Remove malloc hooks from fork handler.  They are no longer needed
4520         because malloc runs right before fork, and no malloc calls from
4521         other fork handlers are not possible anymore.
4522         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4523         declarations.
4524         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4525         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4526         (atfork_recursive_cntr): Remove.
4527         (__malloc_fork_lock_parent): Do not override malloc hooks and
4528         thread_arena.
4529         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4530         thread_arena.
4531         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4532         thread_arena instead of save_arena.
4534 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4536         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4537         (thread_atfork, thread_atfork_static): Remove.
4538         * sysdeps/mach/hurd/malloc-machine.h:
4539         (thread_atfork, thread_atfork_static): Remove.
4541 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4543         [BZ #19431]
4544         Run the malloc fork handler as late as possible to avoid deadlocks.
4545         * malloc/malloc-internal.h: New file.
4546         * malloc/malloc.c: Include it.
4547         * malloc/arena.c (ATFORK_MEM): Remove.
4548         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4549         Update comment.
4550         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4551         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4552         Remove outdated comment.
4553         (ptmalloc_init): Do not call thread_atfork.  Remove
4554         thread_atfork_static.
4555         * malloc/tst-malloc-fork-deadlock.c: New file.
4556         * Makefile (tests): Add tst-malloc-fork-deadlock.
4557         (tst-malloc-fork-deadlock): Link against libpthread.
4558         * manual/memory.texi (Aligned Memory Blocks): Update safety
4559         annotation comments.
4560         * sysdeps/nptl/fork.c (__libc_fork): Call
4561         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4562         __malloc_fork_unlock_child.
4563         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4565 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4567         [BZ #19613]
4568         Remove union wait.
4569         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4570         (w_stopsig, w_stopval): Remove.
4571         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4572         stat_loc argument.
4573         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4574         (__WAIT_STATUS_DEFN): Remove.
4575         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4576         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4577         (wait, wait3, wait4): Use int * for the stat_loc argument.
4578         * posix/wait.c (__wait): Likewise.
4579         * posix/wait3.c (__wait3): Likewise.
4580         * posix/wait4.c (__wait4): Likewise.
4581         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4582         (__WAIT_STATUS_DEFN): Remove.
4583         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4584         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4585         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4586         argument.
4587         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4588         * sysdeps/posix/wait3.c (__wait3): Likewise.
4589         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4590         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4591         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4592         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4593         stat_loc argument.
4594         * manual/process.texi (BSD Wait Functions): Remove union wait.
4596 2016-04-13  Andreas Schwab  <schwab@suse.de>
4598         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4599         (test-extras): Add tst-tlsalign-vars.
4600         * math/Makefile: Wrap long lines.
4601         (libm-vec-test-wrappers): Define.
4602         (test-extras): Add $(libm-vec-test-wrappers).
4603         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4604         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4605         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4606         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4607         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4608         (extra-test-objs): Add corresponding objects.
4610 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4612         [BZ #19928]
4613         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4614         New.
4615         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4616         times of shared cache size.
4617         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4618         (VMOVNT): New.
4619         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4620         (VMOVNT): Likewise.
4621         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4622         (VMOVNT): Likewise.
4623         (VMOVU): Changed to movups for smaller code sizes.
4624         (VMOVA): Changed to movaps for smaller code sizes.
4625         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4626         comments.
4627         (PREFETCH): New.
4628         (PREFETCH_SIZE): Likewise.
4629         (PREFETCHED_LOAD_SIZE): Likewise.
4630         (PREFETCH_ONE_SET): Likewise.
4631         Rewrite to use forward and backward loops, which move 4 vector
4632         registers at a time, to support overlapping addresses and use
4633         non temporal store if size is above the threshold and there is
4634         no overlap between destination and source.
4636 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4638         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4639         Include dl-vdso.
4640         * sysdeps/unix/sysv/linux/mips/Versions: Add
4641         __vdso_clock_gettime.
4642         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4643         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4644         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4645         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4646         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4647         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4648         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4649         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4650         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4652 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4654         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4655         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4658         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4659         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4662         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4663         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4664         syscalls generation.
4665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4666         [__NR_pwrite64] (__NR_write): Remove define.
4667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4668         [__NR_pwrite64] (__NR_write): Remove define.
4669         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4670         Remove define.
4671         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4672         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4673         Remove define.
4674         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4675         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4676         Linux implementation as base.
4677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4679         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4680         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4685         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4687         syscall generation.
4688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4689         [__NR_pread64] (__NR_pread): Remove define.
4690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4691         [__NR_pread64] (__NR_pread): Likewise.
4692         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4693         define.
4694         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4695         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4696         Remove define.
4697         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4698         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4699         Linux implementation as base.
4700         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4701         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4702         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4704         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4705         definition.
4706         (__ALIGNMENT_COUNT): Likewise.
4707         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4708         (__ALIGNMENT_COUNT): Likewise.
4709         (SYSCALL_LL): New define.
4710         (SYSCALL_LL64): Likewise.
4711         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4712         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4713         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4714         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4716         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4717         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4718         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4719         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4720         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4721         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4723 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4725         [BZ #19865]
4726         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4727         original buffer before retry.
4729 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4731         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4732         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4733         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4734         GLRO(dl_auxv) list.
4735         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4736         including <ldsodefs.h>.
4737         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4739 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4741         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4742         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4743         $(CPPFLAGS).
4745 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4747         [BZ #17950]
4748         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4749         Add -mfpmath=387.
4751 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4753         * sysdeps/i386/configure.ac: Change == to = when calling test.
4754         * sysdeps/x86_64/configure.ac: Likewise.
4755         * sysdeps/i386/configure: Regenerated.
4756         * sysdeps/x86_64/configure: Likewise.
4758 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4760         [BZ #16137]
4761         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4762         * benchtests/bench-strcoll.c (input_files): Likewise.
4763         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4764         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4765         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4767 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4769         [BZ #19929]
4770         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4771         [__USE_XOPEN2K8 && !__USE_GNU].
4772         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4773         variable.
4775         [BZ #19925]
4776         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4777         define if [!__USE_MISC && __USE_XOPEN2K].
4778         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4779         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4780         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4781         Likewise.
4782         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4783         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4784         variable.
4785         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4787 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4789         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4790         (sysdep_routines): Add new strspn targets.
4791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4792         (__libc_ifunc_impl_list): Add strspn.
4793         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4794         New file.
4795         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4796         Likewise.
4797         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4798         Likewise.
4799         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4800         Likewise.
4802 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4804         * misc/hsearch_r.c: Include <limits.h>.
4806 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4808         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4810 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4812         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4813         (MEMCPY_SYMBOL): New.
4814         (MEMPCPY_SYMBOL): Likewise.
4815         (MEMMOVE_CHK_SYMBOL): Likewise.
4816         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4817         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4818         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4819         Provide alias for memcpy in libc.a and ld.so.
4821 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4823         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4824         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4825         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4826         Disabled fro now.
4827         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4828         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4830 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4832         * benchtests/Makefile (string-benchset): Add memcpy-large,
4833         memmove-large and memset-large.
4834         * benchtests/bench-memcpy-large.c: New file.
4835         * benchtests/bench-memmove-large.c: Likewise.
4836         * benchtests/bench-memmove-large.c: Likewise.
4837         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4839 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4841         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4842         32-bit displacement to avoid long nop between instructions.
4844 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4846         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4847         a comment on VMOVU and VMOVA.
4849 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4851         [BZ #19633]
4852         Use specified locale for number formatting in strfmon_l.
4853         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4854         (__nl_lookup_word): New inline functions.
4855         * include/printf.h (__print_fp_l): Declare.
4856         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4857         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4858         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4859         (___printf_fp): New function.
4860         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4861         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4862         * stdlib/tst-strfmon_l.c (do_test): New test.
4863         * stdlib/Makefile (tests): Add kt.
4864         (LOCALES): Build additional locales.
4865         (tst-strfmon_l.out): Require locales.
4867 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4869         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4870         if not in libc.
4871         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4872         Likewise.
4873         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4874         Likewise.
4875         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4876         Likewise.
4878 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4880         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4881         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4882         with unaligned_erms.
4883         (__memmove_erms): Skip if source == destination.
4884         (__memmove_unaligned_erms): Don't check source == destination
4885         first.
4887 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4889         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4890         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4892 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4894         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4895         * string/strspn.c (strspn): Likewise.
4897 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4899         * benchtests/bench-memset.c (do_test): Support 64-byte
4900         alignment.
4901         (test_main): Test 64-byte alignment.
4903 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4905         * benchtests/bench-memmove.c (test_main): Test 64-byte
4906         alignment.
4908 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4910         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4912 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4914         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4915         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4916         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4918         * string/strpbrk.c (strpbrk): Rewrite function.
4919         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4920         (__strpbrk_c2): Likewise.
4921         (__strpbrk_c3): Likewise.
4922         * string/string-inlines.c
4923         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4924         Likewise.
4925         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4926         Likewise.
4928         * string/strspn.c (strcspn): Rewrite function.
4929         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4930         (__strspn_c1): Remove inline function.
4931         (__strspn_c2): Likewise.
4932         (__strspn_c3): Likewise.
4933         * string/string-inlines.c
4934         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4935         compatibility symbol.
4936         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4937         Likewise.
4938         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4939         Likewise.
4940         * string/string-inlines.c: Include generic version.
4942 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4943             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4945         * string/Version (libc): Add GLIBC_2.24.
4946         * string/strcspn.c (strcspn): Rewrite function.
4947         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4948         (__strcspn_c1): Remove inline function.
4949         (__strcspn_c2): Likewise.
4950         (__strcspn_c3): Likewise.
4951         * string/string-inline.c
4952         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4953         compatibility symbol.
4954         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4955         Likewise.
4956         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4957         Likewise.
4958         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4960 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4962         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4963         Use ahi instead of aghi to adjust stack pointer.
4965 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4967         [BZ #19853]
4968         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4969         TEST to take significant digits as second parameter.
4970         [TEST]: Redefine in terms of TEST_N taking 30
4971         significant digits.
4972         (do_test): Add test case to demonstrate precision
4973         failure in the ldbl-128ibm printf.
4974         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4975         (__mpn_extract_long_double): Carry 7 extra intermediate
4976         bits of precision to aide computing difference when
4977         signs differ.
4979 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4981         [BZ #19881]
4982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4983         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4984         memset-avx512-unaligned-erms.
4985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4986         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4987         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4988         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4989         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4990         __memset_sse2_unaligned_erms, __memset_erms,
4991         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4992         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4993         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4994         file.
4995         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4996         Likewise.
4997         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4998         Likewise.
4999         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5000         Likewise.
5002 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5004         [BZ #19776]
5005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5006         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5007         memmove-avx512-unaligned-erms.
5008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5009         (__libc_ifunc_impl_list): Test
5010         __memmove_chk_avx512_unaligned_2,
5011         __memmove_chk_avx512_unaligned_erms,
5012         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5013         __memmove_chk_sse2_unaligned_2,
5014         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5015         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5016         __memmove_avx512_unaligned_erms, __memmove_erms,
5017         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5018         __memcpy_chk_avx512_unaligned_2,
5019         __memcpy_chk_avx512_unaligned_erms,
5020         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5021         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5022         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5023         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5024         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5025         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5026         __mempcpy_chk_avx512_unaligned_erms,
5027         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5028         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5029         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5030         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5031         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5032         __mempcpy_erms.
5033         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5034         file.
5035         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5036         Likwise.
5037         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5038         Likwise.
5039         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5040         Likwise.
5042 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5044         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5045         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5046         (La_s390_64_regs): Likewise.
5047         (La_s390_32_retval): Append vector register lrv_v24.
5048         (La_s390_64_retval): Likeweise.
5049         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5050         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5051         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5052         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5054 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5056         [BZ #19916]
5057         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5058         to create a non-vector/vector version for _dl_runtime_resolve and
5059         _dl_runtime_profile. Move implementation to ...
5060         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5061         (_dl_runtime_resolve) Save and restore fpr/vrs.
5062         (_dl_runtime_profile) Save and restore vrs and fix some issues
5063         if _dl_call_pltexit is called.
5064         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5065         Choose the correct resolver function if running on a machine with vx.
5066         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5067         to create a non-vector/vector version for _dl_runtime_resolve and
5068         _dl_runtime_profile. Move implementation to ...
5069         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5070         (_dl_runtime_resolve) Save and restore fpr/vrs.
5071         (_dl_runtime_profile) Save and restore vrs and fix some issues
5072         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5073         Choose the correct resolver function if running on a machine with vx.
5075 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5077         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5079 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5081         [BZ #19509]
5082         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5083         skip_map != NULL.
5084         * elf/tst-dlsym-error.c: New file.
5085         * elf/Makefile (tests): Add tst-dlsym-error.
5086         (tst-dlsym-error): Link against libdl.
5088 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5091         (__ASSUME_FUTIMESAT): Remove macro.
5092         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5094 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5096         [BZ #19879]
5097         CVE-2016-3075
5098         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5099         copy name.
5101 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5103         [BZ #19837]
5104         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5105         error if parse_line fails.
5107 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5109         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5110         (index_cpu_ERMS): Likewise.
5111         (reg_ERMS): Likewise.
5113 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5115         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5116         PER_LINUX_FDPIC): Add.
5118 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5121         memcpy-avx512-no-vzeroupper.
5122         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5123         to ...
5124         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5125         (MEMCPY): Don't define.
5126         (MEMCPY_CHK): Likewise.
5127         (MEMPCPY): Likewise.
5128         (MEMPCPY_CHK): Likewise.
5129         (MEMPCPY_CHK): Renamed to ...
5130         (__mempcpy_chk_avx512_no_vzeroupper): This.
5131         (MEMPCPY_CHK): Renamed to ...
5132         (__mempcpy_chk_avx512_no_vzeroupper): This.
5133         (MEMCPY_CHK): Renamed to ...
5134         (__memmove_chk_avx512_no_vzeroupper): This.
5135         (MEMCPY): Renamed to ...
5136         (__memmove_avx512_no_vzeroupper): This.
5137         (__memcpy_avx512_no_vzeroupper): New alias.
5138         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5140 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5142         [BZ #18858]
5143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5144         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5145         and mempcpy-avx512-no-vzeroupper.
5146         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5147         New.
5148         (MEMPCPY): Likewise.
5149         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5150         (MEMPCPY_CHK): New.
5151         (MEMPCPY): Likewise.
5152         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5153         (MEMPCPY): Likewise.
5154         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5155         (MEMPCPY): Likewise.
5156         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5157         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5158         Likewise.
5159         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5160         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5162 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5163              Amit Pawar  <Amit.Pawar@amd.com>
5165         [BZ #19583]
5166         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5167         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5168         processors.  Set Fast_Copy_Backward for AMD Excavator
5169         processors.
5170         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5171         New.
5172         (index_arch_Fast_Unaligned_Copy): Likewise.
5173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5174         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5176 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5178         [BZ #19791]
5179         * resolv/res_send.c (close_and_return_error): New function.
5180         (send_dg): Initialize *resplen2 after reopen failure.  Call
5181         close_and_return_error for error returns.  On error paths without
5182         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5183         successful return.
5185 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5187         [BZ# 19860]
5188         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5189         zero if the compiler does not provide the AVX512F bit.
5191 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5193         [BZ #19848]
5194         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5195         from 8 to 4.
5196         (__ieee754_powl): Compare integer exponent against 4 not 8.
5197         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5198         from 8 to 4.
5199         (__ieee754_powl): Compare integer exponent against 4 not 8.
5200         * math/auto-libm-test-in: Add more tests of pow.
5201         * math/auto-libm-test-out: Regenerated.
5202         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5205 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5207         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5208         Make code unconditional.
5209         [!__NR_utimensat]: Remove conditional code.
5210         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5211         Make code unconditional.
5212         [!__NR_utimensat]: Remove conditional code.
5213         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5214         Make code unconditional.
5215         [!__NR_utimensat]: Remove conditional code.
5217 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5219         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5220         Make code unconditional.
5222 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5224         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5225         call-clobbered %eax on retry path.
5226         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5228 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5230         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5231         Don't set %rcx twice before "rep movsb".
5233 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5235         [BZ #19583]
5236         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5237         inline.  Check family before setting family, model and
5238         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5239         bits here.
5240         (init_cpu_features): Replace HAS_CPU_FEATURE and
5241         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5242         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5243         for Intel processors with usable AVX2.  Call get_common_indeces
5244         for other processors with family == NULL.
5245         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5246         (CPU_FEATURES_ARCH_P): Likewise.
5247         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5248         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5250 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5252         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5253         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5254         $(shared-thread-library) instead of hardcoding the path to libpthread.
5256 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5258         * sysdeps/unix/sysv/linux/kernel-features.h
5259         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5260         * sysdeps/unix/sysv/linux/getdents.c
5261         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5262         [!have_no_getdents64_defined]: Likewise.
5263         (__GETDENTS): Remove __have_no_getdents64 conditional.
5265 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5267         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5268         Remove macro.
5269         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5270         <kernel-features.h>.
5271         (signalfd) [__NR_signalfd4]: Make code unconditional.
5272         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5274 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5276         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5277         style.
5279 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5281         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5282         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5283         __pthread_unwind.
5284         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5285         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5287         (__condvar_cleanup1): Likewise.
5289 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5291         [BZ #19822]
5292         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5293         move it to the final $@ location.
5295 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5297         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5298         access where posix_spawn success and pid argument is null.
5299         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5300         success case.
5302 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5304         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5306         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5308         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5309         and __fcntl.
5310         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5311         __fcntl only.
5312         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5313         adding attribute_hidden to __open and __fcntl.
5315         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5316         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5317         depend on libc-modules.h,
5318         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5320 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5323         Remove macro.
5324         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5325         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5326         entry.
5328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5329         Remove macro.
5330         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5331         include <kernel-features.h>.
5332         [!__ASSUME_FALLOCATE]: Remove conditional code.
5333         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5335 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5337         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5338         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5340         (_ZGVdN4v_cos_avx2): Likewise.
5341         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5342         (_ZGVdN4v_cos): Likewise.
5343         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5344         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5345         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5346         (_ZGVdN4v_exp_avx2): Likewise.
5347         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5348         (_ZGVdN4v_exp): Likewise.
5349         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5350         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5351         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5352         (_ZGVdN4v_log_avx2): Likewise.
5353         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5354         (_ZGVdN4v_log): Likewise.
5355         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5356         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5357         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5358         (_ZGVdN4vv_pow_avx2): Likewise.
5359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5360         (_ZGVdN4vv_pow): Likewise.
5361         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5362         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5364         (_ZGVdN4v_sin_avx2): Likewise.
5365         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5366         (_ZGVdN4v_sin): Likewise.
5367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5368         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5369         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5370         (_ZGVdN4vvv_sincos_avx2): Likewise.
5371         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5372         (_ZGVdN4vvv_sincos): Likewise.
5373         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5374         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5375         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5376         (_ZGVbN4v_cosf_sse4): Likewise.
5377         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5378         (_ZGVdN8v_cosf_avx2): Likewise.
5379         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5380         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5381         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5382         (_ZGVbN4v_expf_sse4): Likewise.
5383         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5384         (_ZGVdN8v_expf_avx2): Likewise.
5385         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5386         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5387         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5388         (_ZGVbN4v_logf_sse4): Likewise.
5389         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5390         (_ZGVdN8v_logf_avx2): Likewise.
5391         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5392         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5393         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5394         (_ZGVbN4vv_powf_sse4): Likewise.
5395         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5396         (_ZGVdN8vv_powf_avx2): Likewise.
5397         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5398         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5400         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5402         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5403         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5404         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5405         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5406         (_ZGVbN4v_sinf_sse4): Likewise.
5407         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5408         (_ZGVdN8v_sinf_avx2): Likewise.
5409         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5410         Use JUMPTARGET to call callee.
5411         (WRAPPER_IMPL_SSE2_ff): Likewise.
5412         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5413         (WRAPPER_IMPL_AVX): Likewise.
5414         (WRAPPER_IMPL_AVX_ff): Likewise.
5415         (WRAPPER_IMPL_AVX_fFF): Likewise.
5416         (WRAPPER_IMPL_AVX512): Likewise.
5417         (WRAPPER_IMPL_AVX512_ff): Likewise.
5418         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5419         Likewise.
5420         (WRAPPER_IMPL_SSE2_ff): Likewise.
5421         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5422         (WRAPPER_IMPL_AVX): Likewise.
5423         (WRAPPER_IMPL_AVX_ff): Likewise.
5424         (WRAPPER_IMPL_AVX_fFF): Likewise.
5425         (WRAPPER_IMPL_AVX512): Likewise.
5426         (WRAPPER_IMPL_AVX512_ff): Likewise.
5427         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5429 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5431         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5432         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5433         qualifier.
5434         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5435         internal_function qualifiers.
5437 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5439         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5440         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5441         * math/atest-exp.c (exp_mpn): Mark chk unused.
5442         * math/atest-exp2.c (exp_mpn): Likwise.
5443         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5444         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5446 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5448         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5449         Remove macro.
5450         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5451         <kernel-features.h>.
5452         [__NR_ppoll]: Make code unconditional.
5453         [!__ASSUME_PPOLL]: Remove conditional code.
5455         * sysdeps/unix/sysv/linux/kernel-features.h
5456         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5457         (__ASSUME_ACCEPT4): Likewise.
5458         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5459         Define.
5460         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5461         Likewise.
5462         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5463         Likewise.
5464         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5465         Likewise.
5466         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5467         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5468         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5469         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5470         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5474         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5475         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5476         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5477         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5478         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5479         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5480         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5482         Likewise.
5483         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5484         Likewise.
5485         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5486         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5487         0x040300].
5488         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5489         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5490         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5491         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5492         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5493         0x030300].
5494         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5495         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5496         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5497         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5498         0x040300].
5499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5502         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5504         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5505         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5506         0x030300].
5507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5508         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5511         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5512         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5515         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5516         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5517         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5518         0x040300].
5519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5521         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5522         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5525         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5526         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5528         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5530         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5531         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5532         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5533         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5534         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5536         Likewise.
5537         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5538         Likewise.
5540 2016-03-15  Andreas Schwab  <schwab@suse.de>
5542         [BZ #19257]
5543         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5544         statp->_u._ext.nscount as loop count.
5546 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5548         * math/test-signgam-finite-c99.c: Also #undef
5549         __LIBC_INTERNAL_MATH_INLINES.
5550         * math/test-signgam-main.c: Likewise.
5552 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5554         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5555         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5556         (MADV_FREE): Likewise.
5557         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5558         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5559         EPOLLEXCLUSIVE.
5561 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5563         * timezone/README: Remove mention of checktab.awk. Mention wiki
5564         SharedSourceFiles.
5566 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5568         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5569         WUNTRACED.
5571 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5573         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5574         order to match the type of p when calling atomic_exchange_acq().
5576 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5578         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5579         cfi_offset calls.
5580         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5581         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5582         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5583         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5584         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5586 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5588         * timezone/checktab.awk: Removed.
5590 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5592         * manual/math.texi (Errors in Math Functions): Document relaxed
5593         accuracy goals for IBM long double.
5594         * math/libm-test.inc (test_exceptions): Always allow spurious
5595         "underflow" and "inexact" exceptions for IBM long double.
5597 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5599         [BZ #19762]
5600         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5601         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5602         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5603         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5604         (bit_arch_*): This for feature array.
5605         (bit_*): Renamed to ...
5606         (bit_cpu_*): This for cpu array.
5607         (index_*): Renamed to ...
5608         (index_arch_*): This for feature array.
5609         (index_*): Renamed to ...
5610         (index_cpu_*): This for cpu array.
5611         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5612         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5613         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5614         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5615         bit_##name with index_cpu_##name and bit_cpu_##name.
5616         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5617         bit_##name with index_arch_##name and bit_arch_##name.
5619 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5621         [BZ #19792]
5622         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5623         Terminate FDE before return label.
5625 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5627         [BZ #19790]
5628         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5629         (rintl): Define as macro.
5630         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5631         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5632         of fesetround.  Ensure results are evaluated before end of scope.
5633         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5634         USE_AS_NEARBYINTL and include s_rintl.c.
5635         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5636         Disable exception traps in new environment.
5637         (libc_feholdsetround_ppc_ctx): Likewise.
5639 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5641         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5642         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5643         (tst_audit10_aux) [__AVX512F__]: ... here.
5645 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5647         * include/sys/auxv.h: New file.
5649 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5651         [BZ #19759]
5652         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5654 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5656         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5657         operand modifier.
5658         (feclearexcept): Likewise.
5660 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5662         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5663         to reflect the entire 32-bit HWCAP.
5664         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5665         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5667 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5669         [BZ #19783]
5670         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5671         $(test-via-rtld-prefix).
5672         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5674 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5676         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5677         union wait.  Report any non-zero exit status as error.
5679 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5681         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5682         configured with --enable-hardcoded-path-in-tests.
5684 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5686         [BZ #19677]
5687         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5688         (__ieee754_remainderl): Put zero low parts in canonical form.
5689         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5690         file.  Based on
5691         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5692         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5693         with wrapper round test-fmodrem-ldbl-128ibm.c.
5694         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5695         file.
5696         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5697         Likewise.
5698         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5699         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5701 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5703         [BZ #19610]
5704         * elf/ldconfig.c (opt_link): Update comment.
5705         (options): Update help string for option -X.
5706         (search_dir): Unlink stale symbolic link only if updating symbolic
5707         links.
5708         * elf/tst-ldconfig-X.sh: New file.
5709         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5710         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5712 2016-03-07  Andreas Schwab  <schwab@suse.de>
5714         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5715         needed arguments.
5717 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5719         [BZ #15333]
5720         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5721         to lstat64.
5723 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5725         * libio/filedoalloc.c (isatty): Remove.
5726         (local_isatty): Add comment.  Call __isatty directly.
5727         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5728         * libio/wfiledoalloc.c (isatty): Remove.
5729         (_IO_wfile_doallocate): Update comment.
5731 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5733         [BZ #19269]
5734         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5735         tst-audit4-aux.o.
5736         (tst-audit10): Depend on tst-audit10-aux.o.
5737         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5738         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5739         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5740         instead of inline AVX code.
5741         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5742         instead of inline AVX512 code.
5743         * sysdeps/x86_64/tst-audit4-aux.c: New file
5744         * sysdeps/x86_64/tst-audit10-aux.c: New file
5746         [BZ #19648]
5747         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5749 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5751         [BZ #14750]
5752         [BZ #10354]
5753         [BZ #18433]
5754         * include/sched.h (__clone): Add hidden prototype.
5755         (__clone2): Likewise.
5756         * include/unistd.h (__dup): Likewise.
5757         * posix/Makefile (tests): Add tst-spawn2.
5758         * posix/tst-spawn2.c: New file.
5759         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5760         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5761         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5762         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5763         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5764         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5765         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5766         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5767         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5768         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5769         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5771         Likewise.
5772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5773         Likewise.
5774         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5775         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5776         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5777         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5778         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5779         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5780         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5781         * sysdeps/unix/sysv/linux/nptl-signals.h
5782         (____nptl_is_internal_signal): New function.
5783         * sysdeps/unix/sysv/linux/spawni.c: New file.
5785         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5786         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5787         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5788         * posix/tst-execvp2.c (do_test): Likewise.
5789         * posix/tst-execvp3.c (do_test): Likewise.
5790         * posix/tst-execvp4.c (do_test): Likewise.
5791         * posix/tst-execvpe1.c: New file.
5792         * posix/tst-execvpe2.c: Likewise.
5793         * posix/tst-execvpe3.c: Likewise.
5794         * posix/tst-execvpe4.c: Likewise.
5795         * posix/tst-execvpe5.c: Likewise.
5796         * posix/tst-execvpe6.c: Likewise.
5798         [BZ #19534]
5799         * posix/execl.c (execl): Remove dynamic memory allocation.
5800         * posix/execle.c (execle): Likewise.
5801         * posix/execlp.c (execlp): Likewise.
5803 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5805         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5806         Replace .text with .text.avx512.
5807         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5808         Likewise.
5810 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5812         * sysdeps/generic/libnsl.abilist: New file.
5813         * sysdeps/generic/libutil.abilist: New file.
5815 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5817         [BZ #19762]
5818         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5819         HAS_ARCH_FEATURE with Fast_Rep_String.
5820         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5821         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5822         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5823         Likewise.
5824         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5825         Likewise.
5826         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5827         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5828         Likewise.
5829         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5830         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5831         Likewise.
5833 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5835         [BZ #19745]
5836         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5837         with *%rax in call.
5839 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5841         [BZ #19745]
5842         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5843         with *__libc_start_main@GOTPCREL(%rip) in call.
5845 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5847         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5848         inside conditional for nonempty $(CXX).
5850         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5851         nonempty.
5853         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5854         to test for empty $(CXX) rather than $(CXX) of "no".
5856 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5858         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5860 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5861             H.J. Lu  <hongjiu.lu@intel.com>
5863         [BZ #18880]
5864         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5865         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5866         enable __memcpy_ssse3_back.
5868 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5870         [BZ #19758]
5871         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5872         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5874 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5876         [BZ #19490]
5877         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5878         (__fentry__): Likewise.
5880 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5882         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5883         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5885 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5887         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5888         __mcount_internal directly.
5889         (C_LABEL(__fentry__)): Likewise.
5890         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5891         directly.
5893 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5895         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5896         (__start_context): Call __setcontext directly.
5898 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5900         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5901         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5902         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5903         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5904         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5905         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5906         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5907         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5908         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5909         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5910         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5911         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5912         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5913         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5914         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5915         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5916         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5917         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5918         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5919         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5920         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5921         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5922         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5923         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5924         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5925         Remove conditional code.
5926         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5927         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5928         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5929         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5930         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5931         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5932         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5933         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5934         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5935         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5936         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5937         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5939 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5941         * NEWS (2.23): Fix typo in bug 19048 text.
5943 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5945         [BZ #14259]
5946         * Makeconfig: Rename msgcatdir to localedir.
5947         Rename inst_msgcatdir to inst_localedir.
5948         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5949         * config.make.in: Add localedir.
5950         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5951         (ldd-rewrite): Likewise.
5952         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5953         (install-others): Use inst_localedir.
5954         (CPPFLAGS): Use localedir.
5955         * locale/Makefile (locale-CPPFLAGS): Likewise.
5956         * po/Makefile (mo-installed): Use inst_localedir.
5958         [BZ #19575]
5959         * localedata/charmaps/GB18030: Update comments regarding PAU to
5960         non-PUA mappings.
5962 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5964         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5965         test for header.
5966         * sysdeps/unix/sysv/linux/configure: Regenerated.
5967         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5968         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5969         Remove conditional code.
5970         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5972         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5973         Define to 3.2.0.
5974         (arch_minimum_kernel): Likewise.
5975         * sysdeps/unix/sysv/linux/configure: Regenerated.
5976         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5977         Define to 2.6.32.
5978         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5979         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5980         (arch_minimum_kernel): Define to 2.6.32.
5981         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5982         * README: Document Linux 3.2 requirement.
5983         * manual/install.texi (Linux): Document Linux 3.2 headers
5984         requirement.
5985         * INSTALL: Regenerated.
5987 2016-02-24  Andreas Schwab  <schwab@suse.de>
5989         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5990         if !NO_LONG_DOUBLE.
5992 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5994         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5995         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5997 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5999         [BZ #19512]
6000         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6002 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6004         * posix/tst-dir.c: Include libc-internal.h.
6006 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6008         [BZ #19056]
6009         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6010         * manual/filesys.texi (Reading/Closing Directory): Mention
6011         deprecaion.
6012         * posix/tst-dir.c (main): Disable deprecation warning in test.
6014 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6016         [BZ #19679]
6017         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6018         Renamed to ...
6019         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6020         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6021         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6022         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6023         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6024         * sysdeps/x86_64/dl-trampoline.h
6025         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6026         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6028 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6030         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6032 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6034         * elf/elf.h (R_386_GOT32X): New.
6035         (R_386_NUM): Update.
6036         (R_X86_64_GOTPCRELX: New.
6037         (R_X86_64_REX_GOTPCRELX): New.
6038         (R_X86_64_NUM): Update.
6040 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6042         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6044 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6046         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6047         assign attr->stackaddr to it, and adjust it down when
6048         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6049         [_STACK_GROWS_UP]: Delete assert.
6050         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6051         Implement stack grows up logic.
6052         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6053         stack grows up logic.
6055 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6057         * NEWS: Update with 2.24 template.
6059 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6061         [BZ #19678]
6062         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6063         Ensure +0.0 is returned when taking the next value below the least
6064         positive value.
6066 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6068         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6069         available.  Do not define NO_THREADS.
6070         * malloc/malloc.c: Do not check NO_THREADS.
6071         * malloc/arena.c: Likewise.
6073 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6075         * malloc/malloc.c (__libc_mallinfo): Update comment.
6076         (struct malloc_par): Remove max_total_mem member, it was always 0.
6077         (int_mallinfo): Store 0 into usmblks (no functional change).
6078         * malloc/hooks.c (struct malloc_state): Document that
6079         max_total_mem is always 0.
6080         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6081         always 0.
6082         * manual/memory.texi (Statistics of Malloc): Likewise.
6084 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6086         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6087         * malloc/arena.c (arena_max): Remove.
6088         (heap_trim, _int_new_arena): Do not update arena_max.
6090 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6092         * resolv/res_init.c (res_ninit): Update comment.
6094 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6096         [BZ #19505]
6097         * posix/spawn_int.h: Add headers and include guard.
6098         (__spawn_valid_fd): New function.
6099         * posix/spawn_faction_addopen.c
6100         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6101         * posix/spawn_faction_addclose.c
6102         (posix_spawn_file_actions_addclose): Likewise.
6103         * posix/spawn_faction_adddup2.c
6104         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6105         second file descriptor.
6106         * posix/spawn_valid_fd.c: New file.
6107         * posix/tst-posix_spawn-fd.c: New file.
6108         * posix/Makefile (routines): Add spawn_valid_fd.
6109         (tests): Add tst-posix_spawn-fd.
6111 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6113         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6114         (do_test): Limit the number of arenas, so that we can use fewer
6115         outer threads.  Limit timeout to 3 seconds, in preparation for a
6116         larger TIMEOUT value.
6118 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6120         [BZ #19674]
6121         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6122         sign in overflowing and underflowing results when overflow or
6123         underflow is detected early.  Include sign in result before rather
6124         than after scaling.
6126         [BZ #19603]
6127         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6128         (__ieee754_remainderl): Adjust sign of integer version of low part
6129         when taking absolute value of high part.
6130         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6131         * math/libm-test.inc (remainder_test_data): Add another test.
6132         (remquo_test_data): Likewise.
6134 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6136         [BZ #19602]
6137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6138         equal high parts and both low parts zero specially.
6139         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6140         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6141         Add test-fmodl-ldbl-128ibm.
6143         [BZ #19595]
6144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6145         common logic for all cases of shifting subnormal results.  Do not
6146         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6147         exponent to ldbl_insert_mantissa in subnormal case.
6149         [BZ #19594]
6150         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6151         on high and low parts then adjust result and use
6152         ldbl_canonicalize_int if needed.
6154         [BZ #19593]
6155         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6156         on high part and __floor or __ceil on low part then use
6157         ldbl_canonicalize_int if needed.
6159         [BZ #19592]
6160         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6161         high and low parts then use ldbl_canonicalize_int if needed.
6163         [BZ #17899]
6164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6165         New function.
6166         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6167         on high and low parts then use ldbl_canonicalize_int if needed.
6169 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6171         * configure: Regenerated.
6173         * po/libc.pot: Regenerated.
6175         * po/be.po: Updated translation.
6176         * po/bg.po: Likewise.
6177         * po/ca.po: Likewise.
6178         * po/cs.po: Likewise.
6179         * po/da.po: Likewise.
6180         * po/el.po: Likewise.
6181         * po/eo.po: Likewise.
6182         * po/es.po: Likewise.
6183         * po/fi.po: Likewise.
6184         * po/fr.po: Likewise.
6185         * po/gl.po: Likewise.
6186         * po/hr.po: Likewise.
6187         * po/hu.po: Likewise.
6188         * po/ia.po: Likewise.
6189         * po/id.po: Likewise.
6190         * po/it.po: Likewise.
6191         * po/ja.po: Likewise.
6192         * po/lt.po: Likewise.
6193         * po/nb.po: Likewise.
6194         * po/nl.po: Likewise.
6195         * po/pt_BR.po: Likewise.
6196         * po/rw.po: Likewise.
6197         * po/sk.po: Likewise.
6198         * po/sl.po: Likewise.
6199         * po/sv.po: Likewise.
6200         * po/tr.po: Likewise.
6201         * po/zh_CN.po: Likewise.
6202         * po/zh_TW.po: Likewise.
6204         * version.h (RELEAES): Set to "development".
6205         (VERSION): Set to 2.23.90.
6207         * version.h (RELEASE): Set to "stable".
6208         (VERSION): Set to 2.23.
6209         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6211         * NEWS: Updated fixed bugs.
6213 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6214             Wilco Dijkstra  <wdijkstr@arm.com>
6216         [BZ #19462]
6217         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6218         (_STRING_INLINE_unaligned): This.
6219         * include/string.h: Include <string_private.h>.
6220         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6221         _STRING_INLINE_unaligned.
6222         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6223         (_STRING_INLINE_unaligned): New.
6224         * sysdeps/aarch64/string_private.h: New file.
6225         * sysdeps/generic/string_private.h: Likewise.
6226         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6227         * sysdeps/s390/string_private.h: Likewise.
6228         * sysdeps/x86/string_private.h: Likewise.
6229         * sysdeps/m68k/m680x0/m68020/bits/string.h
6230         (_STRING_ARCH_unaligned): Renamed to ...
6231         (_STRING_INLINE_unaligned): This.
6232         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6233         to ...
6234         (_STRING_INLINE_unaligned): This.
6235         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6236         to ...
6237         (_STRING_INLINE_unaligned): This.
6238         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6239         to ...
6240         (_STRING_INLINE_unaligned): This.
6242 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6243             H.J. Lu  <hongjiu.lu@intel.com>
6245         [BZ #19590]
6246         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6247         relocation.
6249 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6251         [BZ #18665]
6252         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6253         *herrno_p.
6254         (gaih_getanswer): Document functional behviour. Return tryagain
6255         if any result is tryagain.
6256         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6257         when freed.
6258         * resolv/res_send.c: Add copyright text.
6259         (__libc_res_nsend): Document that MAXPACKET is expected.
6260         (send_vc): Document. Remove buffer reuse.
6261         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6262         size of the buffer. Add Dprint for truncated UDP buffer.
6264 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6266         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6267         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6268         * INSTALL: Regenerate.
6270 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6271             Jonathan Wakely  <jwakely@redhat.com>
6272             Carlos O'Donell  <carlos@redhat.com>
6274         [BZ 19439]
6275         * math/Makefile (tests): Add test-math-isinff.
6276         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6277         * math/bits/mathcalls.h [__USE_MISC]: Use
6278         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6279         functions not in C++11 and which don't conflict e.g. isinff,
6280         isinfl etc.
6281         * math/test-math-isinff.cc: New file.
6283 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6285         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6287 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6289         [BZ #19529]
6290         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6292 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6294         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6296 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6298         [BZ #19550]
6299         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6300         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6301         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6302         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6303         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6304         New syscall entry.
6305         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6306         New syscall entry.
6307         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6308         syscall entry.
6310 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6312         [BZ #18240]
6313         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6314         unsigned int wraparound.
6316 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6318         [BZ #18240]
6319         * misc/bug18240.c: New test.
6320         * misc/Makefile (tests): Add it.
6322 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6323             Joseph Myers  <joseph@codesourcery.com>
6325         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6326         load in branch delay slot when less than a word of input left.
6328 2016-01-27  Andreas Schwab  <schwab@suse.de>
6330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6331         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6332         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6333         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6335 2016-01-26  David S. Miller  <davem@davemloft.net>
6337         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6339 2016-01-25  David S. Miller  <davem@davemloft.net>
6341         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6342         __sqrtl_finite.
6343         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6344         instead using versioned_symbol.
6345         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6346         of entries.
6348         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6349         __sqrtl_finite to GLIBC_2.23
6351 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6353         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6355 2016-01-25  Andreas Schwab  <schwab@suse.de>
6357         [BZ #17514]
6358         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6359         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6360         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6361         * nptl/tst-mutex-errorcheck.c: New file.
6363 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6365         [BZ #18560]
6366         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6367         (IPCOP_semop): Likewise.
6368         (IPCOP_semget): Likewise.
6369         (IPCOP_semctl): Likewise.
6370         (IPCOP_msgsnd): Likewise.
6371         (IPCOP_msgrcv): Likewise.
6372         (IPCOP_msgget): Likewise.
6373         (IPCOP_msgctl): Likewise.
6374         (IPCOP_shmat): Likewise.
6375         (IPCOP_shmdt): Likewise.
6376         (IPCOP_shmget): Likewise.
6377         (IPCOP_shmctl): Likewise.
6379 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6381         * string/tst-endian.c: Include <libc-internal.h>.
6382         (do_test): Ignore tautological-compare warnings around
6383         "htobeXX (beXXtoh (i)) != i" and
6384         "htoleXX (leXXtoh (i)) != i" if-statements.
6386 2016-01-24  David S. Miller  <davem@davemloft.net>
6388         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6389         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6390         alias.
6391         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6392         __sqrtl_finite.
6394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6396 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6398         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6399         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6400         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6402 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6404         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6405         (thread_func): Use new function to simplify barrier check.
6406         (do_test): Use new function to simplify checking barrier exit
6407         code, and actually join the child thread.
6409 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6411         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6412         semicolon.
6413         (__libc_tend): Likewise.
6414         (__libc_tabort): Likewise.
6416 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6418         * sysdeps/nios2/libm-test-ulps: Update.
6419         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6420         (__gtsf2): Likewise.
6421         (__unorddf2): Likewise.
6422         (__unordsf2): Likewise.
6423         (__ledf2): Likewise.
6425 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6427         * nis/nis_table.c (__follow_path): Disable diagnostic for
6428         uninitialized variable that is a false positive for gcc 4.7.
6429         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6431 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6433         * sysdeps/nacl/lowlevellock-futex.h
6434         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6435         Always evaluate PRIVATE argument.
6437 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6439         [BZ #19490]
6440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6441         (pthread_cond_broadcast): Use ENTRY/END
6442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6443         (pthread_cond_signal): Likewise.
6444         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6445         Likewise.
6446         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6447         Likewise.
6448         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6449         Likewise.
6451 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6453         * sysdeps/ieee754/dbl-64/s_finite.c
6454         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6455         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6456         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6457         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6458         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6461         (__gtsf2): Add as optional for libc.so.
6462         (__unordsf2): Likewise.
6463         (__signbit): Remove for libc.so.
6464         (__signbitl): Likewise.
6466 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6468         * iconvdata/bug-iconv11.c (test_ibm93x):
6469         Use %zu printf format specifier for size_t argument.
6471 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6473         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6474         already-recorded ulps.
6475         * sysdeps/arm/libm-test-ulps: Regenerated.
6476         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6477         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6478         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6480 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6481             Paul Pluzhnikov  <ppluzhnikov@google.com>
6483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6484         assembler not supporting AVX-512.
6486 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6488         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6490 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6492         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6493         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6495         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6497         * sysdeps/arm/libm-test-ulps: Regenerated.
6499 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6501         [BZ #19451]
6502         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6504 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6506         [BZ #19486]
6507         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6508         * sysdeps/generic/fix-fp-int-convert-overflow.h
6509         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6510         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6511         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6512         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6513         Likewise.
6514         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6515         Avoid conversions to long int where inexact exceptions
6516         could be raised.
6517         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6518         Likewise.
6519         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6520         Avoid conversions to long long int where inexact exceptions
6521         could be raised.
6522         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6523         Likewise.
6525 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6527         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6528         * configure: Regenerated.
6530 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6532         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6534 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6536         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6537         outside of comment.
6539 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6541         * nptl/tst-barrier1.c: Add description on first line.
6542         * nptl/tst-barrier2.c: Likewise.
6543         * nptl/tst-barrier3.c: Likewise.
6544         * nptl/tst-barrier4.c: Likewise.
6545         * nptl/tst-barrier5.c: Likewise.
6547 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6549         [BZ #18868]
6550         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6552 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6556         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6557         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6558         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6559         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6560         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6561         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6562         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6563         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6564         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6566 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6568         [BZ #13065]
6569         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6570         new implementation.
6571         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6572         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6573         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6574         (BARRIER_IN_THRESHOLD): New macro.
6575         * nptl/pthread_barrierattr_setpshared.c
6576         (pthread_barrierattr_setpshared): Clean up.
6577         * nptl/tst-barrier4.c: Correct comment.
6578         * nptl/tst-barrier5.c: New file.
6579         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6580         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6581         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6582         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6583         * nptl/lowlevelbarrier.sym: Remove.
6584         * nptl/DESIGN-barrier.txt: Remove.
6585         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6586         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6587         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6588         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6589         error.
6590         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6591         implementation.
6593 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6595         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6596         (do_child): Mask SIGRTMIN while thr is running.
6598 2016-01-15  Martin Sebor  <msebor@redhat.com>
6600         [BZ #19432]
6601         * iconvdata/Makefile: Add bug-iconv11.
6602         * iconvdata/bug-iconv11.c: New test.
6603         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6604         * iconvdata/ibm933.c: Same.
6605         * iconvdata/ibm935.c: Same.
6606         * iconvdata/ibm937.c: Same.
6607         * iconvdata/ibm939.c: Same.
6609 2016-01-15  Martin Sebor  <msebor@redhat.com>
6611         [BZ #19443]
6612         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6613         [DEBUG] (_ufc_set_bits): Declare used.
6614         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6615         [DEBUG] (print_all): Declare used.
6616         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6617         operands of the ternary ?: expression to target type.
6618         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6619         calling the undeclared abort.
6620         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6622 2016-01-15  Martin Sebor  <msebor@redhat.com>
6624         [BZ #18755]
6625         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6626         warnings.
6627         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6628         (__gai_create_helper_thread): Same.
6629         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6630         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6631         to suppress -Wmaybe-uninitialized warnings.
6633 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6635         [BZ #19465]
6636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6637         inside if.
6638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6640         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6642 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6644         [BZ #19466]
6645         * time/tst-mktime2.c (time_t_max): Removed.
6646         (time_t_min): Likewise.
6647         (TYPE_SIGNED): New.
6648         (TYPE_MINIMUM): Likewise.
6649         (TYPE_MAXIMUM): Likewise.
6650         (TIME_T_MIN): Likewise.
6651         (TIME_T_MAX): Likewise.
6652         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6653         and TIME_T_MIN.
6654         (do_test): Likewise.
6656 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6658         [BZ #19467]
6659         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6660         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6662 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6664         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6666 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6668         * benchtests/Makefile (PYTHON): Define.
6669         (bench-func): Use $(PYTHON) to run python scripts.
6670         ($(objpfx)bench-%.c): Likewise.
6672 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6674         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6675         leading slash when `file_name' is "/".
6677 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6679         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6680         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6683         Likewise.
6684         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6685         Likewise.
6686         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6687         enum constant and macro.
6688         (PTRACE_SETSIGMASK): Likewise.
6689         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6690         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6691         (PTRACE_GETSIGMASK): Likewise.
6692         (PTRACE_SETSIGMASK): Likewise.
6693         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6694         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6695         Likewise.
6696         (PTRACE_SETSIGMASK): Likewise.
6697         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6699         (PTRACE_GETSIGMASK): Likewise.
6700         (PTRACE_SETSIGMASK): Likewise.
6701         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6702         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6703         Likewise.
6704         (PTRACE_SETSIGMASK): Likewise.
6705         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6706         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6707         Likewise.
6708         (PTRACE_SETSIGMASK): Likewise.
6709         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6710         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6711         Likewise.
6712         (PTRACE_SETSIGMASK): Likewise.
6713         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6715 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6716             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6718         [BZ #19439]
6719         * math/bits/mathcalls.h
6720         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6721         prototype.
6722         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6724 2016-01-11  Andreas Schwab  <schwab@suse.de>
6726         [BZ #19253]
6727         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6728         cache when TZDEFRULES was used.
6729         * time/tst-tzname.c: New file.
6730         * time/Makefile (test): Add tst-tzname.
6731         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6732         * timezone/Makefile (test-zones): Add $(posixrules-file).
6733         ($(testdata)/$(posixrules-file)): New rule.
6735 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6737         Fix doc quoting problems with Texinfo 5
6738         Without this change, in the info file output, Texinfo 5 quotes code
6739         in text with undirected single quotes 'like this' and generates
6740         code examples that with many PDF readers cannot be cut out of PDFs
6741         and pasted into code.
6742         * manual/libc.texinfo: Configure the libc manual like the GNU
6743         Emacs manual, by using @documentencoding and setting
6744         txicodequoteundirected and txicodequotebacktick.  This way,
6745         Texinfo 5 quotes code in text with directed single quotes ‘like
6746         this’ and produces examples that can be cut out of PDFs.  This
6747         change causes Texinfo 5 to generate info files that contain UTF-8
6748         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6749         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6751 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6753         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6754         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6755         barriers to their respective compiler built-ins.
6756         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6757         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6758         * sysdeps/powerpc/sysdep.h: Likewise.
6759         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6760         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6761         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6763 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6765         * scripts/config.guess: Revert previous shebang change.
6766         * scripts/config.sub: Likewise.
6767         * scripts/mkinstalldirs: Likewise.
6769 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6771         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6772         PPC_FEATURE2_HAS_IEEE128.
6773         * sysdeps/powerpc/dl-procinfo.c:
6774         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6776 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6778         [BZ #19415]
6779         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6780         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6781         (_dl_lookup_address): Rewrite using function resolver trampoline.
6782         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6783         two bits in address.
6785 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6787         * longlong.h: Change !__SHMEDIA__ to
6788         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6789         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6791 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6792             Joseph Myers  <joseph@codesourcery.com>
6793             Mark Shinwell  <shinwell@codesourcery.com>
6794             Andrew Stubbs  <ams@codesourcery.com>
6795             Rich Felker <dalias@libc.org>
6797         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6799 2016-01-07  Richard Henderson  <rth@redhat.com>
6801         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6803 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6805         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6806         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6807         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6808         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6809         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6811 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6812             Joseph Myers  <joseph@codesourcery.com>
6814         * timezone/private.h: Update from tzcode 2015g.
6815         * timezone/tzfile.h: Likewise.
6816         * timezone/tzselect.ksh: Likewise.
6817         * timezone/zdump.c: Likewise.
6818         * timezone/zic.c: Likewise.
6819         * timezone/ialloc.c: Remove file.
6820         * timezone/scheck.c: Likewise.
6821         * timezone/Makefile (extra-objs): Remove variable.
6822         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6823         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6824         -Wno-maybe-uninitialized.
6825         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6826         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6827         (CFLAGS-ialloc.c): Remove variable.
6828         (CFLAGS-scheck.c): Likewise.
6829         * timezone/README: Update list of files from tzcode.
6831 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6833         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6834         instead of __fxprintf when _LIBC is undefined.
6836 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6838         * catgets/test-gencat.sh: Remove space after shebang.
6839         * conform/GlibcConform.pm: Likewise.
6840         * conform/check-header-lists.sh: Likewise.
6841         * conform/conformtest.pl: Likewise.
6842         * conform/linknamespace.pl: Likewise.
6843         * conform/list-header-symbols.pl: Likewise.
6844         * debug/catchsegv.sh: Likewise.
6845         * elf/genrtldtbl.awk: Likewise.
6846         * elf/tst-pathopt.sh: Likewise.
6847         * elf/tst-rtld-load-self.sh: Likewise.
6848         * grp/tst_fgetgrent.sh: Likewise.
6849         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6850         * iconvdata/gen-8bit-gap.sh: Likewise.
6851         * iconvdata/gen-8bit.sh: Likewise.
6852         * iconvdata/run-iconv-test.sh: Likewise.
6853         * intl/tst-gettext.sh: Likewise.
6854         * intl/tst-gettext2.sh: Likewise.
6855         * intl/tst-gettext4.sh: Likewise.
6856         * intl/tst-gettext6.sh: Likewise.
6857         * intl/tst-translit.sh: Likewise.
6858         * io/ftwtest-sh: Likewise.
6859         * libio/test-freopen.sh: Likewise.
6860         * locale/gen-translit.pl: Likewise.
6861         * malloc/tst-mtrace.sh: Likewise.
6862         * manual/check-safety.sh: Likewise.
6863         * manual/libc-texinfo.sh: Likewise.
6864         * manual/tsort.awk: Likewise.
6865         * manual/xtract-typefun.awk: Likewise.
6866         * nptl/tst-cancel-wrappers.sh: Likewise.
6867         * nptl/tst-tls6.sh: Likewise.
6868         * posix/globtest.sh: Likewise.
6869         * posix/tst-getconf.sh: Likewise.
6870         * posix/wordexp-tst.sh: Likewise.
6871         * scripts/check-c++-types.sh: Likewise.
6872         * scripts/check-local-headers.sh: Likewise.
6873         * scripts/config.guess: Likewise.
6874         * scripts/config.sub: Likewise.
6875         * scripts/cpp: Likewise.
6876         * scripts/cross-test-ssh.sh: Likewise.
6877         * scripts/documented.sh: Likewise.
6878         * scripts/evaluate-test.sh: Likewise.
6879         * scripts/gen-libc-abis: Likewise.
6880         * scripts/gen-sorted.awk: Likewise.
6881         * scripts/list-fixed-bugs.py: Likewise.
6882         * scripts/merge-test-results.sh: Likewise.
6883         * scripts/mkinstalldirs: Likewise.
6884         * scripts/rellns-sh: Likewise.
6885         * scripts/test-installation.pl: Likewise.
6886         * scripts/update-copyrights: Likewise.
6887         * stdio-common/tst-printf.sh: Likewise.
6888         * stdio-common/tst-unbputc.sh: Likewise.
6889         * stdlib/tst-fmtmsg.sh: Likewise.
6890         * stdlib/tst-setcontext3.sh: Likewise.
6891         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6892         * sysdeps/unix/make-syscalls.sh: Likewise.
6894 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6896         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6897         asm stw with atomic_exchange_rel.  Add explanatory comment.
6898         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6899         Likewise.
6901 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6903         [BZ #19122]
6904         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6905         * sysdeps/generic/dl-unistd.h: New file.
6906         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6908 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6910          [BZ #19122]
6911          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6912          * sysdeps/generic/dl-mman.h: New file.
6913          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6915 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6917         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6918         trailing whitespace removed.
6919         * scripts/config.guess: Update to version 2016-01-01.
6920         * scripts/config.sub: Update to version 2016-01-01.
6921         * scripts/move-if-change: Update from gnulib.
6923 2016-01-04  Anton Blanchard  <anton@samba.org>
6925         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6926         for array indices.
6927         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6929 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6931         * NEWS: Update copyright dates.
6932         * catgets/gencat.c (print_version): Likewise.
6933         * csu/version.c (banner): Likewise.
6934         * debug/catchsegv.sh: Likewise.
6935         * debug/pcprofiledump.c (print_version): Likewise.
6936         * debug/xtrace.sh (do_version): Likewise.
6937         * elf/ldconfig.c (print_version): Likewise.
6938         * elf/ldd.bash.in: Likewise.
6939         * elf/pldd.c (print_version): Likewise.
6940         * elf/sotruss.sh: Likewise.
6941         * elf/sprof.c (print_version): Likewise.
6942         * iconv/iconv_prog.c (print_version): Likewise.
6943         * iconv/iconvconfig.c (print_version): Likewise.
6944         * locale/programs/locale.c (print_version): Likewise.
6945         * locale/programs/localedef.c (print_version): Likewise.
6946         * login/programs/pt_chown.c (print_version): Likewise.
6947         * malloc/memusage.sh (do_version): Likewise.
6948         * malloc/memusagestat.c (print_version): Likewise.
6949         * malloc/mtrace.pl: Likewise.
6950         * manual/libc.texinfo: Likewise.
6951         * nptl/version.c (banner): Likewise.
6952         * nscd/nscd.c (print_version): Likewise.
6953         * nss/getent.c (print_version): Likewise.
6954         * nss/makedb.c (print_version): Likewise.
6955         * posix/getconf.c (main): Likewise.
6956         * scripts/test-installation.pl: Likewise.
6957         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6959         * All files with FSF copyright notices: Update copyright dates
6960         using scripts/update-copyrights.
6961         * intl/plural.c: Regenerated.
6962         * locale/programs/charmap-kw.h: Likewise.
6963         * locale/programs/locfile-kw.h: Likewise.
6965 2016-01-02  Helge Deller  <deller@gmx.de>
6967         [BZ #19285]
6968         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6969         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6970         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6971         (MADV_xxK_PAGES): Remove.
6973 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6975         [BZ #15421]
6976         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6977         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6978         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6979         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6981 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6983         [BZ #19408]
6984         * sysdeps/unix/sysv/linux/personality.c: New file.
6985         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6986         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6987         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6988         (sysdep_routines): Add personality.
6989         (tests): Add tst-personality.
6990         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6991         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6992         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6993         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6994         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6995         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6996         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6997         Likewise.
6998         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6999         Likewise.
7000         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7001         Likewise.
7002         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7003         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7004         Likewise.
7006 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7008         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7009         (PATH_ARM_SYSTYPE): Remove.
7010         (PATH_CPUINFO): Likewise.
7011         (IO_BASE_FOOTBRIDGE): Likewise.
7012         (IO_SHIFT_FOOTBRIDGE): Likewise.
7013         (struct platform): Likewise.
7014         (init_iosys): Remove compatibility code for 2.4 kernels.
7015         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7017 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7019         * malloc/tst-malloc-thread-fail.c: New file.
7020         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7021         (tst-malloc-thread-fail): Link against libpthread.
7023 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7025         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7026         (get_parser): New function.
7027         (main): New function.
7029 2015-12-29  Rob Wu  <rob@robwu.nl>
7031         [BZ #19369]
7032         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7034 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7036         [BZ #19270]
7037         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7039 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7041         [BZ #15421]
7042         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7044 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7046         [BZ #13690]
7047         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7048         after releasing it.
7049         (__lll_robust_unlock): Likewise.
7050         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7051         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7052         (lll_robust_unlock): Likewise.
7053         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7054         Prevent warnings in callers.
7056 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7058         * malloc/arena.c (list_lock): Update comment.
7060 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7062         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7063         __parse_hwcap_and_convert_at_platform to libc.a.
7065 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7067         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7068         platform and feature support for POWER9.
7069         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7070         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7071         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7072         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7073         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7074         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7075         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7076         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7078 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7080         Harmonize generic stdio-lock support with nptl
7082         This fixes build when _IO_funlockfile is a macro, fixes build where
7083         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7084         stack unwind.
7086         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7087         _IO_release_lock ): Use cleanup attribute on new
7088         _IO_acquire_lock_file variable instead of assuming that
7089         _IO_release_lock will be called.
7090         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7091         _IO_acquire_lock_needs_exceptions_enabled.
7092         (_IO_acquire_lock_clear_flags2): New macro.
7094 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7096         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7098 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7100         [BZ #19182]
7101         * malloc/arena.c (list_lock): Document lock ordering requirements.
7102         (free_list_lock): New lock.
7103         (ptmalloc_lock_all): Comment on free_list_lock.
7104         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7105         (detach_arena): Update comment.  free_list_lock is now needed.
7106         (_int_new_arena): Use free_list_lock around detach_arena call.
7107         Acquire arena lock after list_lock.  Add comment, including FIXME
7108         about incorrect synchronization.
7109         (get_free_list): Switch to free_list_lock.
7110         (reused_arena): Acquire free_list_lock around detach_arena call
7111         and attached threads counter update.  Add two FIXMEs about
7112         incorrect synchronization.
7113         (arena_thread_freeres): Switch to free_list_lock.
7114         * malloc/malloc.c (struct malloc_state): Update comments to
7115         mention free_list_lock.
7117 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7119         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7120         Remove functions.
7121         (sloww, sloww1): Accept argument to offset quadrant.
7122         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7123         quadrant.
7124         (__sin, __cos): Consolidate common code into new functions.
7125         (reduce_sincos_1, do_sincos_1): New functions.
7126         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7129         code to new functions.
7130         (reduce_sincos_2, do_sincos_2): New functions.
7131         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7134         common code for sincos.
7135         (__cos) [!IN_SINCOS]: Likewise.
7136         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7137         New function.
7138         (__sincos): Use it.
7140 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7142         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7143         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7144         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7146 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7148         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7151         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7152         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7153         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7154         index_Prefer_No_VZEROUPPER): New feature.
7155         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7156         Prefer_No_VZEROUPPER for Knights Landing.
7158 015-12-18  Torvald Riegel  <triegel@redhat.com>
7160         * math/atest-exp2.c (mp_exp_m1): Remove.
7162 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7164         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7165         syscalls.
7166         (__SYSCALL0): New macro.
7167         (__SYSCALL1): Likewise.
7168         (__SYSCALL2): Likewise.
7169         (__SYSCALL3): Likewise.
7170         (__SYSCALL4): Likewise.
7171         (__SYSCALL5): Likewise.
7172         (__SYSCALL6): Likewise.
7173         (__SYSCALL_CONCAT_X): Likewise.
7174         (__SYSCALL_CONCAT): Likewise.
7175         (__SYSCALL_DIST): Likewise.
7176         (__SYSCALL_CALL): Likewise.
7178 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7180         [BZ #19363]
7181         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7183 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7185         [BZ #19375]
7186         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7187         negative subnormals.
7189 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7192         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7193         (INTERNAL_SYSCALL_NCS): Use it.
7194         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7196 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7198         [BZ #19243]
7199         * malloc/arena.c (get_free_list): Remove assert and adjust
7200         reference count handling.  Add comment about reused_arena
7201         interaction.
7202         (reused_arena): Add comments abount get_free_list interaction.
7203         * malloc/tst-malloc-thread-exit.c: New file.
7204         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7205         (tst-malloc-thread-exit): Link against libpthread.
7207 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7209         [BZ #19367]
7210         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7211         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7212         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7213         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7214         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7216 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7218         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7219         Silvermont optimizations for Knights Landing.
7221 2015-12-15  Andreas Schwab  <schwab@suse.de>
7223         [BZ #17197]
7224         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7225         immediately after emitting SI.
7226         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7227         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7228         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7229         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7230         * iconvdata/bug-iconv10.c: New file.
7231         * iconvdata/Makefile (tests): Add bug-iconv10.
7232         ($(objpfx)bug-iconv10.out): New rule.
7234 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7236         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7237         aliasing violation.
7239 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7241         [BZ #18472]
7242         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7243         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7244         conditionals for them.
7245         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7246         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7248         sys/kdaemon.h.
7249         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7250         compat-only syscall, obsoleted in glibc 2.23.
7251         (create_module): Likewise.
7252         (get_kernel_syms): Likewise.
7253         (query_module): Likewise.
7254         (uselib): Likewise.
7255         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7257 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7259         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7260         <linux/version.h>.
7261         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7262         conditional code.
7263         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7264         and ioshift_name initialization.
7266 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7268         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7269         Fix indentation.
7271 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7273         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7275 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7277         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7279 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7280             Jakub Wilk  <jwilk@debian.org>
7282         [BZ #19347]
7283         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7284         to change the group of the device to the tty group.
7286 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7288         Split large string section; add truncation advice
7289         * manual/examples/strncat.c: Remove.
7290         This example was misleading, as the code would have undefined
7291         behavior if "hello" was longer than SIZE.  Anyway, the manual
7292         shouldn't encourage strncpy+strncat for this sort of thing.
7293         * manual/string.texi (Copying Strings and Arrays): Split into
7294         three sections Copying Strings and Arrays, Concatenating Strings,
7295         and Truncating Strings, as this section was way too long.  All
7296         cross-referenced changed.  Add advice about string-truncation
7297         functions.  Remove misleading strncat example.
7299 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7301         * manual/nss.texi (NSS Modules Interface): Document
7302         NSS_STATUS_NOTFOUND and SUCCESS.
7304 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7306         [BZ 18568]
7307         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7308         201505L, for Unicode 8.
7310 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7312         * locale/C-translit.h: Regenerate.
7314 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7316         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7317         and U+0153.
7319 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7321         [BZ #19351]
7322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7323         expanding log(1+z), compare z rather than its square with epsilon
7324         to determine when to avoid evaluating the expansion.
7326         [BZ #19350]
7327         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7328         Increase overflow threshold.
7330         [BZ #19349]
7331         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7332         when small.
7334         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7336         New macro.
7337         [__LINUX_KERNEL_VERSION >= 0x040300]
7338         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7339         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7340         Likewise.
7341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7342         Likewise.
7343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7344         Likewise.
7345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7346         Likewise.
7347         [__LINUX_KERNEL_VERSION >= 0x040300]
7348         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7349         [__LINUX_KERNEL_VERSION >= 0x040300]
7350         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7351         [__LINUX_KERNEL_VERSION >= 0x040300]
7352         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7353         [__LINUX_KERNEL_VERSION >= 0x040300]
7354         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7355         [__LINUX_KERNEL_VERSION >= 0x040300]
7356         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7358         Likewise.
7359         [__LINUX_KERNEL_VERSION >= 0x040300]
7360         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7362         Likewise.
7363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7364         Likewise.
7365         [__LINUX_KERNEL_VERSION >= 0x040300]
7366         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7368         Likewise.
7369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7370         Likewise.
7371         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7373         Likewise.
7374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7375         Likewise.
7376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7377         Likewise.
7378         [__LINUX_KERNEL_VERSION >= 0x040300]
7379         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7381         Likewise.
7382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7383         Likewise.
7384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7385         Likewise.
7386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7387         Likewise.
7388         [__LINUX_KERNEL_VERSION >= 0x040300]
7389         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7390         [__LINUX_KERNEL_VERSION >= 0x040300]
7391         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7392         [__LINUX_KERNEL_VERSION >= 0x040300]
7393         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7394         [__LINUX_KERNEL_VERSION >= 0x040300]
7395         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7396         [__LINUX_KERNEL_VERSION >= 0x040300]
7397         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7399         Likewise.
7400         [__LINUX_KERNEL_VERSION >= 0x040300]
7401         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7403         Likewise.
7404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7405         Likewise.
7406         [__LINUX_KERNEL_VERSION >= 0x040300]
7407         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7408         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7409         Likewise.
7410         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7411         Likewise.
7412         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7413         (__ASSUME_SOCKET_SYSCALL): Likewise.
7414         (__ASSUME_BIND_SYSCALL): Likewise.
7415         (__ASSUME_CONNECT_SYSCALL): Likewise.
7416         (__ASSUME_LISTEN_SYSCALL): Likewise.
7417         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7418         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7419         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7420         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7421         (__ASSUME_SEND_SYSCALL): Likewise.
7422         (__ASSUME_SENDTO_SYSCALL): Likewise.
7423         (__ASSUME_RECV_SYSCALL): Likewise.
7424         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7425         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7426         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7427         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7428         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7429         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7430         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7431         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7432         Likewise.
7433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7434         Likewise.
7435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7436         Likewise.
7437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7438         Likewise.
7439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7440         Likewise.
7441         [__LINUX_KERNEL_VERSION >= 0x020625]
7442         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7443         [__LINUX_KERNEL_VERSION >= 0x020625]
7444         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7445         [__LINUX_KERNEL_VERSION >= 0x020625]
7446         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7448         Likewise.
7449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7450         Likewise.
7451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7452         Likewise.
7453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7454         Likewise.
7455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7456         Likewise.
7457         [__LINUX_KERNEL_VERSION >= 0x020625]
7458         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7459         [__LINUX_KERNEL_VERSION >= 0x020625]
7460         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7461         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7462         Likewise.
7463         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7464         Likewise.
7466 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7468         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7469         record the current if the current ABI and CPU support the FP64
7470         extension.
7471         (has-modd-spreg): Define to record the current if the current ABI and
7472         CPU support 32-bit floating point values in odd FPU registers.
7473         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7474         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7475         $(has-modd-spreg) equals yes.
7476         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7477         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7478         $(has-modd-spreg) equal yes.
7480 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7482         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7483         basename.
7485 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7487         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7488         (bench-string): ... here.
7489         (bench): Add bench-string.
7490         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7491         to *-benchset to reflect what they are.
7492         (benchset): Adjust.
7494         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7495         cos-inputs.
7497 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7499         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7500         __attribute__ ((__simd__)) for vector math function declarations.
7502 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7504         Fix typo in strncat, wcsncat manual entries
7505         * manual/string.texi (Copying and Concatenation): Fix typos in
7506         sample implementations of strncat and wcsncat, by having them use
7507         the old value of the destination length, not the new one.
7509 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7511         [BZ #16961]
7512         [BZ #16962]
7513         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7514         string on the stack for strtod.
7515         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7516         a string on the stack for strtof.
7517         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7518         constructing a string on the stack for strtold.
7519         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7520         __strtold_nan to GLIBC_PRIVATE.
7521         * math/test-nan-overflow.c: New file.
7522         * math/test-nan-payload.c: Likewise.
7523         * math/Makefile (tests): Add test-nan-overflow and
7524         test-nan-payload.
7526 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7528         Consistency about byte vs character in string.texi
7529         * manual/string.texi (String and Array Utilities):
7530         Distinguish more carefully among bytes, multibyte characters,
7531         and wide characters.  Use "byte" when talking about C 'char',
7532         to distinguish it more clearly from multibyte characters.
7533         Say "wide character" or "multibyte character" instead of
7534         "character", when a wide or multibyte character is intended.
7535         Similarly for "multibyte string" versus "string".
7536         Define these terms more carefully.
7538 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7540         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7541         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7542         Likewise.
7543         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7544         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7545         * sysdeps/sh/math_private.h: New file.
7546         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7547         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7548         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7549         long double function name.
7550         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7551         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7552         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7553         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7554         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7556         Remove __finitel, __isinfl, and __isnanl.
7557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7558         Likewise.
7559         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7561         Remove __finitel.
7562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7563         Likewise.
7564         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7566 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7568         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7569         installed libmvec_nonshared.a.
7571 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7573         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7574         (sysdep_routines): Likewise.
7575         (sysdep-rtld-routines): Likewise.
7576         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7577         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7578         * sysdeps/powerpc/Versions: Added new
7579         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7580         * sysdeps/powerpc/hwcapinfo.c: New file.
7581         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7582         and parse hwcap, hwcap2 and platform number information.
7583         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7584         to store HWCAP+HWCAP2 and platform number.
7585         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7586         for HWCAP+HWCAP2 and platform number in the TCB.
7587         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7588         the HWCAP, HWCAP2 and platform number in the TCB.
7589         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7590         (TLS_INIT_TP): Included calls to add the hwcap and
7591         at_platform values in the TCB in TP initialization.
7592         (TLS_DEFINE_INIT_TP): Likewise.
7593         (THREAD_GET_HWCAP): New macro.
7594         (THREAD_SET_HWCAP): Likewise.
7595         (THREAD_GET_AT_PLATFORM): Likewise.
7596         (THREAD_SET_AT_PLATFORM): Likewise.
7597         * sysdeps/powerpc/powerpc32/dl-machine.h:
7598         (dl_platform_init): New function that calls
7599         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7600         powerpc32.
7601         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7602         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7603         this functionality, static linking case.
7604         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7605         linking case.
7606         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7607         __parse_hwcap_and_convert_at_platform for the static linking case.
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7609         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7610         ABI list for GLIBC 2.23.
7611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7612         Likewise.
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7614         Likewise.
7616 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7618         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7619         * configure: Regenerate.
7620         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7621         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7623 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7625         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7626         * iconvdata/ibm933.c: Likewise.
7627         * iconvdata/ibm935.c: Likewise.
7628         * iconvdata/ibm937.c: Likewise.
7629         * iconvdata/ibm939.c: Likewise.
7631 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7633         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7634         pthread_join.
7635         * nptl/tst-cancel21.c (tf): Likewise.
7637 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7639         [BZ #19313]
7640         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7641         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7642         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7643         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7644         Likewise.
7645         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7646         Likewise.
7647         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7648         Likewise.
7649         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7650         Likewise.
7651         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7652         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7653         unsigned long int with __CPU_MASK_TYPE.
7655 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7657         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7659 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7661         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7662         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7663         t512.x.
7664         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7666 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7668         [BZ #19214]
7669         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7670         argument to return extended model.  Update family and model
7671         with extended family and model when family == 0x0f.
7672         (init_cpu_features): Updated.
7674 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7676         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7677         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7679         * sysdeps/mach/hurd/mmap64.c: New file.
7681 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7683         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7684         rights for its main user thread in NEWTASK.
7686 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7688         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7689         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7691 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7693         [BZ #14259]
7694         * Makeconfig: Rename localedir to complocaledir.
7695         Rename inst_localedir to inst_complocaledir.
7696         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7697         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7698         * configure.ac: Use libc_cv_complocaledir.
7699         * configure: Regenerate.
7700         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7701         -DCOMPLOCALEDIR.
7702         * locale/findlocale.c: Use COMPLOCALEDIR.
7703         * locale/loadarchive.c: Likewise.
7704         * locale/programs/locale.c: Likewise.
7705         * locale/programs/localedef.c: Likewise.
7706         * locale/programs/locarchive.c: Likewise.
7707         * localedata/Makefile: Use inst_complocaledir.
7708         * sysdeps/gnu/configure: Regenerate.
7709         * sysdeps/hppa/configure: Regenerate.
7710         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7711         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7713         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7714         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7715         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7716         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7718 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7720         [BZ #19058]
7721         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7722         AS_NEEDED.
7723         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7724         workaround.
7725         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7726         libmvec-static-only-routines): Added new file.
7727         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7729 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7731         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7732         of interrupted RPC instead of restoring it.
7734         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7735         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7736         libc_hidden_def.
7737         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7738         into initialized data instead of common. Define rtld_hidden_data_def.
7739         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7740         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7741         libc_hidden_def.
7742         (if_freenameindex): Add libc_hidden_weak.
7743         (if_nameindex): Add libc_hidden_weak.
7744         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7745         __open64.
7746         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7747         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7748         * sysdeps/mach/nanosleep.c: Include <time.h>
7749         (__nanosleep): Rename to __libc_nanosleep.
7750         (__nanosleep): Add weak_alias.
7751         (nanosleep): Update alias.
7753 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7755         * stdlib/strtod_nan.c: New file.
7756         * stdlib/strtod_nan_double.h: Likewise.
7757         * stdlib/strtod_nan_float.h: Likewise.
7758         * stdlib/strtod_nan_main.c: Likewise.
7759         * stdlib/strtod_nan_narrow.h: Likewise.
7760         * stdlib/strtod_nan_wide.h: Likewise.
7761         * stdlib/strtof_nan.c: Likewise.
7762         * stdlib/strtold_nan.c: Likewise.
7763         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7764         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7765         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7766         * wcsmbs/wcstod_nan.c: Likewise.
7767         * wcsmbs/wcstof_nan.c: Likewise.
7768         * wcsmbs/wcstold_nan.c: Likewise.
7769         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7770         strtold_nan.
7771         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7772         wcstof_nan.
7773         * include/stdlib.h (__strtof_nan): Declare and use
7774         libc_hidden_proto.
7775         (__strtod_nan): Likewise.
7776         (__strtold_nan): Likewise.
7777         (__wcstof_nan): Likewise.
7778         (__wcstod_nan): Likewise.
7779         (__wcstold_nan): Likewise.
7780         * include/wchar.h (____wcstoull_l_internal): Declare.
7781         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7782         (____strtoull_l_internal): Remove declaration.
7783         (STRTOF_NAN): Define macro.
7784         (SET_MANTISSA): Remove macro.
7785         (STRTOULL): Likewise.
7786         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7787         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7788         (STRTOF_NAN): Define macro.
7789         (SET_MANTISSA): Remove macro.
7790         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7791         (SET_MANTISSA): Remove macro.
7792         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7793         macro.
7794         (SET_MANTISSA): Remove macro.
7795         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7796         macro.
7797         (SET_MANTISSA): Remove macro.
7798         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7799         (SET_MANTISSA): Remove macro.
7800         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7801         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7802         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7804         [BZ #19266]
7805         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7806         upper case and lower case letters inside NAN(), not using TOLOWER.
7807         * stdlib/tst-strtod-nan-locale-main.c: New file.
7808         * stdlib/tst-strtod-nan-locale.c: Likewise.
7809         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7810         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7811         Depend on $(gen-locales).
7812         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7813         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7814         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7815         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7816         Depend on $(gen-locales).
7817         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7819 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7821         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7823         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7825         __finitel, __isinfl, and __isnanl.
7826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7827         Likewise.
7828         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7830         __finitel.
7831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7832         Likewise.
7833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7835 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7837         * malloc/memusage.c (me): Remove redundant getenv call.
7839 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7841         [BZ #19143]
7842         [BZ #19164]
7843         * nptl/check-cpuset.h: Remove.
7844         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7845         Remove CPU set size check.
7846         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7847         Likewise.
7848         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7849         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7850         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7851         (__pthread_setaffinity_new): Remove CPU set size check.
7852         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7853         (__kernel_cpumask_size): Remove.
7854         (__sched_setaffinity_new): Remove CPU set size check.
7855         * manual/threads.texi (Default Thread Attributes): Remove stale
7856         reference to check_cpuset_attr, determine_cpumask_size in comment.
7857         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7858         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7859         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7860         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7861         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7862         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7863         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7864         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7865         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7866         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7867         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7868         skeleton test file.
7869         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7870         tst-affinity-pid.
7872 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7874         * scripts/update-abilist.sh: New file.
7875         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7876         * Makerules (update-all-abi-%, update-all-abi)
7877         (subdir_update-all-abi): New targets.
7878         * elf/Makefile (update-all-abi): New target.
7880 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7882         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7883         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7884         (__libc_lock_define_initialized): Use it.
7885         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7886         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7887         * malloc/malloc.c (main_arena): Likewise.
7888         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7889         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7891 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7893         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7894         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7895         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7896         (PTRACE_O_MASK): Update value.
7897         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7898         New value in enum __ptrace_setoptions.
7899         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7900         (PTRACE_O_MASK): Update value.
7901         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7902         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7903         (PTRACE_O_MASK): Update value.
7904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7905         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7906         (PTRACE_O_MASK): Update value.
7907         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7908         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7909         (PTRACE_O_MASK): Update value.
7910         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7911         New value in enum __ptrace_setoptions.
7912         (PTRACE_O_MASK): Update value.
7913         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7914         New value in enum __ptrace_setoptions.
7915         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7916         (PTRACE_O_MASK): Update value.
7918         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7919         New macro.
7920         (PACKET_AUXDATA): Likewise.
7921         (PACKET_ORIGDEV): Likewise.
7922         (PACKET_VERSION): Likewise.
7923         (PACKET_HDRLEN): Likewise.
7924         (PACKET_RESERVE): Likewise.
7925         (PACKET_TX_RING): Likewise.
7926         (PACKET_LOSS): Likewise.
7927         (PACKET_VNET_HDR): Likewise.
7928         (PACKET_TX_TIMESTAMP): Likewise.
7929         (PACKET_TIMESTAMP): Likewise.
7930         (PACKET_FANOUT): Likewise.
7931         (PACKET_TX_HAS_OFF): Likewise.
7932         (PACKET_QDISC_BYPASS): Likewise.
7933         (PACKET_ROLLOVER_STATS): Likewise.
7934         (PACKET_FANOUT_DATA): Likewise.
7935         (PACKET_MR_UNICAST): Likewise.
7937         [BZ #19242]
7938         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7939         (TOUPPER): Likewise.
7940         * stdlib/tst-strtol-locale-main.c: New file.
7941         * stdlib/tst-strtol-locale.c: Likewise.
7942         * stdlib/Makefile (tests): Add tst-strtol-locale.
7943         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7944         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7945         Depend on $(gen-locales).
7946         * wcsmbs/tst-wcstol-locale.c: New file.
7947         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7948         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7949         tr_TR.ISO-8859-9.
7950         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7951         Depend on $(gen-locales).
7953 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7955         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7956         __glibc_likely instead of __builtin_expect.  After falling back to
7957         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7958         system interface to register the code pages as occupied.
7960 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7962         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7963         [!ARM_MATH_PRIVATE_H].
7964         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7965         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7966         [!HPPA_MATH_PRIVATE_H].
7967         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7968         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7969         to [!I386_MATH_PRIVATE_H].
7970         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7971         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7972         Change guard to [!M68K_MATH_PRIVATE_H].
7973         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7974         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7975         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7976         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7977         macro.
7978         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7979         [!MIPS_MATH_PRIVATE_H].
7980         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7981         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7982         [!NIO2_MATH_PRIVATE_H].
7983         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7984         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7985         [!TILE_MATH_PRIVATE_H].
7986         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7988         [BZ #15421]
7989         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7990         initialize with 0 and define as weak alias of __signgam.
7991         * include/math.h [!_ISOMAC] (__signgam): Declare.
7992         * math/Makefile (libm-calls): Add w_lgamma_compat.
7993         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7994         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7995         test-signgam-ullong-init.
7996         (tests-static): Add test-signgam-uchar-static,
7997         test-signgam-uchar-init-static, test-signgam-uint-static,
7998         test-signgam-uint-init-static, test-signgam-ullong-static and
7999         test-signgam-ullong-init-static.
8000         (CFLAGS-test-signgam-uchar.c): New variable.
8001         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8002         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8003         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8004         (CFLAGS-test-signgam-uint.c): Likewise.
8005         (CFLAGS-test-signgam-uint-init.c): Likewise.
8006         (CFLAGS-test-signgam-uint-static.c): Likewise.
8007         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8008         (CFLAGS-test-signgam-ullong.c): Likewise.
8009         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8010         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8011         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8012         * math/Versions (libm): Add GLIBC_2.23.
8013         * math/lgamma-compat.h: New file.
8014         * math/test-signgam-main.c: Likewise.
8015         * math/test-signgam-uchar-init-static.c: Likewise.
8016         * math/test-signgam-uchar-init.c: Likewise.
8017         * math/test-signgam-uchar-static.c: Likewise.
8018         * math/test-signgam-uchar.c: Likewise.
8019         * math/test-signgam-uint-init-static.c: Likewise.
8020         * math/test-signgam-uint-init.c: Likewise.
8021         * math/test-signgam-uint-static.c: Likewise.
8022         * math/test-signgam-uint.c: Likewise.
8023         * math/test-signgam-ullong-init-static.c: Likewise.
8024         * math/test-signgam-ullong-init.c: Likewise.
8025         * math/test-signgam-ullong-static.c: Likewise.
8026         * math/test-signgam-ullong.c: Likewise.
8027         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8028         wrapper of w_lgamma_main.c.
8029         * math/w_lgamma_compat.c: New file.
8030         * math/w_lgamma_compatf.c: Likewise.
8031         * math/w_lgamma_compatl.c: Likewise.
8032         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8033         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8034         defining compatibility symbols.
8035         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8036         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8037         wrapper of w_lgammaf_main.c.
8038         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8039         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8040         defining compatibility symbols.
8041         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8042         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8043         wrapper of w_lgammal_main.c.
8044         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8045         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8046         defining compatibility symbols.
8047         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8048         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8049         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8050         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8051         <lgamma-compat.h>.
8052         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8053         (__ieee754_gamma): Define as alias.
8054         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8055         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8056         <lgamma-compat.h>.
8057         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8058         (__ieee754_gammaf): Define as alias.
8059         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8060         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8061         <lgamma-compat.h>.
8062         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8063         (__ieee754_gammal): Define as alias.
8064         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8065         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8066         <math/w_lgamma_compat.c>.
8067         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8068         Define as alias of __lgamma_compat and use in defining lgammal.
8069         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8070         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8071         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8072         (USE_AS_COMPAT): New macro.
8073         (LGAMMA_OLD_VER): Undefine and redefine.
8074         (lgammal): Do not define here.
8075         (gammal): Only define here if [GAMMA_ALIAS].
8076         * conform/linknamespace.pl (@whitelist): Remove signgam.
8077         * sysdeps/nacl/libm.abilist: Update.
8078         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8079         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8080         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8082         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8084         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8085         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8086         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8087         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8088         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8089         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8091         Likewise.
8092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8093         Likewise.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8095         Likewise.
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8097         Likewise.
8098         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8099         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8102         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8104         Likewise.
8105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8106         Likewise.
8107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8108         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8111 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8113         [BZ #16364]
8114         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8115         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8117 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8119         * sysdeps/s390/fpu/bits/mathinline.h:
8120         Use __asm__ [__volatile__] instead of asm [volatile].
8121         * sysdeps/s390/abort-instr.h: Likewise.
8122         * sysdeps/s390/atomic-machine.h: Likewise.
8123         * sysdeps/s390/bits/string.h: Likewise.
8124         * sysdeps/s390/dl-tls.h: Likewise.
8125         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8126         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8127         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8128         * sysdeps/s390/fpu/fesetround.c: Likewise.
8129         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8130         * sysdeps/s390/fpu/s_fma.c: Likewise.
8131         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8132         * sysdeps/s390/memusage.h: Likewise.
8133         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8134         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8135         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8136         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8137         * sysdeps/s390/nptl/tls.h: Likewise.
8138         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8139         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8140         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8141         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8142         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8143         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8144         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8145         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8146         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8147         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8148         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8149         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8150         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8151         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8152         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8153         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8154         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8155         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8156         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8158         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8159         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8160         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8162 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8163             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8165         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8166         Add lwarx hint, and use macro for acquire instruction.
8167         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8168         Likewise.
8169         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8170         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8171         update to use new atomic macros.
8173 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8175         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8176         (__lll_trylock_elision): Fix setting of adapt_count.
8177         * sysdeps/unix/sysv/linux/powerpc/htm.h
8178         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8179         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8180         (_ABORT_SYSCALL): Renumber, and clarify definition.
8181         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8183 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8185         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8186         after system headers to prevent MIN/MAX redefinition.  Define
8187         HAVE_ALLOCA to preserve builtin alloca usage.
8189 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8192         static and don't set or restore rounding.
8193         (__cos)[IN_SINCOS]: Likewise.
8194         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8195         (__sincos): Set and restore rounding mode.  Remove check for infinite
8196         or NaN input.
8198         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8200         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8201         as used.
8203 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8205         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8207 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8209         * config.make.in (have-glob-dat-reloc): New.
8210         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8211         target supports GLOB_DAT relocaton. AC_SUBST.
8212         * configure: Regenerated.
8213         * elf/Makefile (tests): Add tst-prelink.
8214         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8215         (tst-prelink-ENV): New.
8216         ($(objpfx)tst-prelink-conflict.out): Likewise.
8217         ($(objpfx)tst-prelink-cmp.out): Likewise.
8218         * sysdeps/x86/tst-prelink.c: Moved to ...
8219         * elf/tst-prelink.c: Here.
8220         * sysdeps/x86/tst-prelink.exp: Moved to ...
8221         * elf/tst-prelink.exp: Here.
8222         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8223         (tst-prelink-ENV): Removed.
8224         ($(objpfx)tst-prelink-conflict.out): Likewise.
8225         ($(objpfx)tst-prelink-cmp.out): Likewise.
8226         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8228 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8230         [BZ #14551]
8231         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8232         (__mpn_construct_long_double): If high part overflows to infinity,
8233         set errno and recompute overflowed result of the correct sign.
8234         * sysdeps/ieee754/ldbl-128ibm/Makefile
8235         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8236         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8237         $(libm).
8238         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8240 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8242         [BZ #15479]
8243         [BZ #19238]
8244         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8245         floating-point state after first operation on input.  Restore full
8246         state rather than just rounding mode.
8247         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8248         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8249         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8251         [BZ #19235]
8252         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8253         add 0.5 to integer arguments.
8254         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8255         Likewise.
8256         (.LC2): New object.
8258 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8260         * scripts/pylintrc (reports): Set to no.
8262 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8264         * elf/dl-load.c (open_verify): Take new argument FD.
8265         Skip __open call if passed FD is not -1.
8266         (_dl_map_object, open_path): Update callers.
8267         * elf/dl-sysdep-open.h: New file.
8268         * elf/dl-load.c: Include it.
8269         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8270         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8271         * sysdeps/nacl/dl-sysdep-open.h: New file.
8272         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8273         from libc to rtld.
8275 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8277         [BZ #19228]
8278         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8279         and restore full floating-point state.
8280         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8281         Likewise.
8282         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8283         Likewise.
8284         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8285         Likewise.
8286         * math/test-nearbyint-except-2.c: New file.
8287         * math/Makefile (tests): Add test-nearbyint-except-2.
8289 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8291         [BZ #19178]
8292         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8293         (tst-prelink-ENV): New.
8294         ($(objpfx)tst-prelink-conflict.out): Likewise.
8295         ($(objpfx)tst-prelink-cmp.out): Likewise.
8296         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8297         * sysdeps/x86/tst-prelink.c: New file.
8298         * sysdeps/x86/tst-prelink.exp: Likewise.
8300 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8302         * math/auto-libm-test-in: Add another test of pow.
8303         * math/auto-libm-test-out: Regenerated.
8304         * math/libm-test.inc (pow_test_data): Add another test.
8306 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8308         [BZ #19219]
8309         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8310         weak_alias to nearbyintl.
8312 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8314         * sysdeps/aarch64/bits/string.h: New file.
8315         (_STRING_ARCH_unaligned): Define.
8317 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8319         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8320         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8321         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8322         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8325 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8327         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8328         for original name of the DSO.  Add it to the name list of the DSO
8329         if it is actually given.
8330         (_dl_map_object): Keep track of whether an audit module rewrote
8331         the file name.  If yes, pass the original name to
8332         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8333         debugging is enabled, log the change of the file name.
8334         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8335         _dl_map_object_from_fd.
8336         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8337         * elf/tst-audit11.c: New file
8338         * elf/tst-auditmod11.c: New file.
8339         * elf/tst-audit11mod1.c: New file.
8340         * elf/tst-audit11mod2.c: New file.
8341         * elf/tst-audit11mod2.map: New file.
8342         * elf/tst-audit12.c: New file
8343         * elf/tst-auditmod12.c: New file.
8344         * elf/tst-audit12mod1.c: New file.
8345         * elf/tst-audit12mod2.c: New file.
8346         * elf/tst-audit12mod2.map: New file.
8347         * elf/tst-audit12mod3.c: New file.
8349 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8351         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8352         Don't create weak aliases,
8353         because versioned symbols are created later.
8354         * sysdeps/s390/s390-32/setjmp.S
8355         (setjmp, _setjmp): Remove weak and rename to an unique name
8356         in SHARED case due to existing versioned symbols.
8357         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8358         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8359         (getcontext): Create weak alias only in non SHARED case.
8360         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8362 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8364         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8365         (__ASSUME_*_SYSCALL) Define new macros.
8366         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8367         Remove socketcall syscalls.
8368         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8369         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8370         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8371         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8372         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8373         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8375 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8377         [BZ #12926]
8378         Terminate process on invalid netlink response.
8379         * sysdeps/unix/sysv/linux/netlinkaccess.h
8380         (__netlink_assert_response): Declare.
8381         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8382         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8383         (sysdep_routines): Add netlink_assert_response.
8384         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8385         __netlink_assert_response.
8386         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8387         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8388         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8389         __netlink_assert_response.
8391 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8393         [BZ #19178]
8394         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8395         (RTYPE_CLASS_PLT): Likewise.
8396         (RTYPE_CLASS_COPY): Likewise.
8397         (RTYPE_CLASS_TLS): Likewise.
8398         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8399         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8400         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8401         DL_DEBUG_PRELINK.
8403 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8405         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8406         calls with argument -0.5.
8407         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8409         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8410         (libc_cv_z_nodlopen): Likewise.
8411         (libc_cv_z_initfirst): Likewise.
8412         * configure: Regenerated.
8414 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8416         Simplify abilist format to be line-based.
8417         * scripts/abilist.awk: Collect descriptors in the descs variable.
8418         (emit): Write descs variable and sort it
8419         externally, with sort.
8420         * sysdeps/**/*.abilist: Convert to new format.
8422 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8424         [BZ #11460]
8425         * io/Makefile (routines): Add fts64.
8426         (tests): Add tst-fts and tst-fts-lfs.
8427         (CFLAGS-fts64.c): New.
8428         * io/Versions (GLIBC_2.23): New.
8429         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8430         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8431         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8432         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8433         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8434         (FTSENT64): Likewise.
8435         (fts64_children): Likewise.
8436         (fts64_close): Likewise.
8437         (fts64_open): Likewise.
8438         (fts64_read): Likewise.
8439         (fts64_set): Likewise.
8440         * io/fts64.c: New file.
8441         * io/tst-fts.c: New test.
8442         * io/tst-fts-lfs.c: Likewise.
8443         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8444         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8445         fts64_set.
8446         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8447         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8448         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8449         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8450         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8451         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8452         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8453         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8454         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8455         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8456         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8457         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8458         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8460         Likewise.
8461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8462         Likewise.
8463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8465         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8466         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8467         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8468         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8472         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8473         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8474         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8475         * sysdeps/wordsize-64/fts.c: New file.
8476         * sysdeps/wordsize-64/fts64.c: Likewise.
8477         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8478         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8479         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8480         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8482 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8484         * math/libm-test.inc (NON_FINITE): New macro.
8485         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8486         * math/gen-libm-test.pl (show_exceptions): Add argument
8487         $non_finite.
8488         (parse_args): Update call to show_exceptions.
8489         * math/test-math-finite.h: New file.
8490         * math/test-math-no-finite.h: Likewise.
8491         * math/test-double-finite.c: Likewise.
8492         * math/test-float-finite.c: Likewise.
8493         * math/test-ldouble-finite.c: Likewise.
8494         * math/test-double.c: Include "test-math-no-finite.h".
8495         * math/test-float.c: Include "test-math-no-finite.h".
8496         * math/test-ldouble.c: Include "test-math-no-finite.h".
8497         * math/test-math-inline.h (TEST_FINITE): New macro.
8498         * math/test-math-vector.h (TEST_FINITE): Likewise.
8499         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8500         (libm-tests): Add test-float-finite and test-double-finite.
8501         ($(objpfx)test-float-finite.o): New dependency on
8502         $(objpfx)libm-test.stmp.
8503         ($(objpfx)test-double-finite.o): Likewise.
8504         ($(objpfx)test-ldouble-finite.o): Likewise.
8505         (libm-test-no-inline-cflags): New variable.
8506         (libm-test-finite-cflags): Likewise.
8507         (CFLAGS-test-float-finite.c): Likewise.
8508         (CFLAGS-test-double-finite.c): Likewise.
8509         (CFLAGS-test-ldouble-finite.c): Likewise.
8510         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8511         (CFLAGS-test-double.c): Likewise.
8512         (CFLAGS-test-ldouble.c): Likewise.
8514 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8516         * io/fcntl.c (__fcntl): Add ... to prototype.
8517         * misc/ioctl.c (__ioctl): Likewise.
8518         * misc/syscall.c (syscall): Likewise.
8520 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8522         * scripts/list-fixed-bugs.py: New file.
8524         [BZ #19213]
8525         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8526         returned for argument 1.
8527         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8528         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8529         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8530         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8531         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8532         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8534         [BZ #19211]
8535         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8536         __USE_XOPEN], not if [!__USE_ISOC99].
8537         (lgammaf): Likewise.
8538         (lgammal): Likewise.
8539         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8540         (gammaf): Likewise.
8541         (gammal): Likewise.
8542         * math/test-signgam-finite-c11.c: New file.
8543         * math/test-signgam-finite-c99.c: Likewise.
8544         * math/test-signgam-finite.c: Likewise.
8545         * math/Makefile (tests): Add test-signgam-finite,
8546         test-signgam-finite-c99 and test-signgam-finite-c11.
8547         (CFLAGS-test-signgam-finite.c): New variable.
8548         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8549         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8551         [BZ #19212]
8552         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8553         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8554         500].
8555         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8556         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8557         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8558         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8559         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8560         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8561         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8562         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8563         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8564         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8566         [BZ #19209]
8567         * math/bits/math-finite.h (ldexp): Remove declaration.
8568         (ldexpf): Likewise.
8569         (ldexpl): Likewise.
8571         [BZ #19205]
8572         * math/bits/math-finite.h (acosf): Condition declaration on
8573         [__USE_ISOC99].
8574         (acosl): Likewise.
8575         (acoshf): Likewise.
8576         (acoshl): Likewise.
8577         (asinf): Likewise.
8578         (asinl): Likewise.
8579         (atan2f): Likewise.
8580         (atan2l): Likewise.
8581         (atanhf): Likewise.
8582         (atanhl): Likewise.
8583         (coshf): Likewise.
8584         (coshl): Likewise.
8585         (expf): Likewise.
8586         (expl): Likewise.
8587         (fmodf): Likewise.
8588         (fmodl): Likewise.
8589         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8590         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8591         (j0l): Likewise.
8592         (y0f): Likewise.
8593         (y0l): Likewise.
8594         (j1f): Likewise.
8595         (j1l): Likewise.
8596         (y1f): Likewise.
8597         (y1l): Likewise.
8598         (jnf): Likewise.
8599         (jnl): Likewise.
8600         (ynf): Likewise.
8601         (ynl): Likewise.
8602         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8603         (lgammal_r): Likewise.
8604         (__lgamma_r_finite): New declaration.
8605         (__lgammaf_r_finite): Likewise.
8606         (__lgammal_r_finite): Likewise.
8607         (lgamma): Use __lgamma_r_finite.
8608         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8609         __lgammaf_r_finite.
8610         (lgammal): Condition definition on [__USE_ISOC99].  Use
8611         __lgammal_r_finite.
8612         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8613         __lgamma_r_finite.
8614         (gammaf): Condition definition on [__USE_ISOC99].  Use
8615         __lgammaf_r_finite.
8616         (gammal): Condition definition on [__USE_ISOC99].  Use
8617         __lgammal_r_finite.
8618         (logf): Condition declaration on [__USE_ISOC99].
8619         (logl): Likewise.
8620         (log10f): Likewise.
8621         (log10l): Likewise.
8622         (ldexpf): Likewise.
8623         (ldexpl): Likewise.
8624         (powf): Likewise.
8625         (powl): Likewise.
8626         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8627         __USE_ISOC99].
8628         (remainderf): Condition declaration on [__USE_ISOC99].
8629         (remainderl): Likewise.
8630         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8631         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8632         (scalbl): Likewise.
8633         (sinhf): Condition declaration on [__USE_ISOC99].
8634         (sinhl): Likewise.
8635         (sqrtf): Likewise.
8636         (sqrtl): Likewise.
8638 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8640         * sysdeps/arm/atomic-machine.h
8641         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8642         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8643         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8644         Remove conditional code.
8645         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8646         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8647         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8648         Change conditional to [__ASSEMBLER__].
8649         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8650         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8651         [!__ASSEMBLER__].
8652         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8653         code.
8654         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8655         conditional macro definitions.
8656         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8657         (__arch_compare_and_exchange_val_16_acq): Likewise.
8658         (__arch_compare_and_exchange_val_32_acq): Likewise.
8659         (atomic_exchange_and_add): Likewise.
8660         (atomic_add): Likewise.
8661         (atomic_add_negative): Likewise.
8662         (atomic_add_zero): Likewise.
8663         (atomic_bit_set): Likewise.
8664         (atomic_bit_test_set): Likewise.
8665         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8666         code unconditional.
8667         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8669         * math/test-math-errno.h: New file.
8670         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8671         empty.
8672         (TEST_ERRNO): New macro.
8673         (TEST_EXCEPTIONS): Likewise.
8674         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8675         (TEST_EXCEPTIONS): Likewise.
8676         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8677         * math/test-double.c: Include "test-math-errno.h".
8678         * math/test-float.c: Likewise.
8679         * math/test-ldouble.c: Likewise.
8680         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8681         code unconditional.
8682         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8683         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8684         unconditional.
8685         (test_errno): Only run code if TEST_ERRNO.
8686         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8688 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8690         * nptl/tst-once5.cc: Remove attribution.
8692 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8694         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8695         sqrt, tan, tanh, y0, y1 and yn.
8696         * math/auto-libm-test-out: Regenerated.
8697         * math/libm-test.inc (scalb_test_data): Add more tests.
8698         (scalbn_test_data): Likewise.
8699         (scalbln_test_data): Likewise.
8700         (signbit_test_data): Likewise.
8701         (sin_test_data): Likewise.
8702         (sincos_test_data): Likewise.
8703         (sinh_test_data): Likewise.
8704         (sqrt_test_data): Likewise.
8705         (tan_test_data): Likewise.
8706         (tanh_test_data): Likewise.
8707         (tgamma_test_data): Likewise.
8708         (y0_test_data): Likewise.
8709         (y1_test_data): Likewise.
8710         (yn_test_data): Likewise.
8711         (significand_test_data): Likewise.
8712         * sysdeps/i386/fpu/libm-test-ulps: Update.
8714 2015-11-03  David Kastrup  <dak@gnu.org>
8716         [BZ #18604]
8717         * assert/assert.h (assert): Don't macro-expand failed assertion
8718         expression in error message.
8719         * malloc/malloc.c (assert): Likewise.
8721 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8723         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8724         test.
8725         * configure: Regenerated.
8727 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8729         * math/libm-test.inc (modf_test_data): Add more tests.
8730         (nearbyint_test_data): Likewise.
8731         (nextafter_test_data): Likewise.
8732         (nexttoward_test_data): Likewise.
8733         (pow_test_data): Likewise.
8734         (remainder_test_data): Likewise.
8735         (remquo_test_data): Likewise.
8736         (rint_test_data): Likewise.
8738         [BZ #19201]
8739         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8740         Check for zero remainder in case of large exponents and ensure
8741         correct sign of result in that case.
8742         * math/libm-test.inc (remainder_test_data): Add more tests.
8744         [BZ #6799]
8745         * math/s_nextafter.c: Include <errno.h>.
8746         (__nextafter): Set errno on overflow and underflow.
8747         * math/s_nexttowardf.c: Include <errno.h>.
8748         (__nexttowardf): Set errno on overflow and underflow.
8749         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8750         (__nextafterl): Set errno on overflow and underflow.
8751         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8752         (__nexttoward): Set errno on overflow and underflow.
8753         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8754         (__nexttowardf): Set errno on overflow and underflow.
8755         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8756         (__nextafterf): Set errno on overflow and underflow.
8757         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8758         (__nextafterl): Set errno on overflow and underflow.
8759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8760         (__nexttoward): Set errno on overflow and underflow.
8761         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8762         (__nexttowardf): Set errno on overflow and underflow.
8763         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8764         (__nextafterl): Set errno on overflow and underflow.
8765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8766         (__nexttoward): Set errno on overflow and underflow.
8767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8768         (__nexttowardf): Set errno on overflow and underflow.
8769         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8770         (__nexttoward): Set errno on overflow and underflow.
8771         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8772         (__nexttowardf): Set errno on overflow and underflow.
8773         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8774         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8775         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8776         (__nextafterl): Set errno on overflow and underflow.
8777         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8778         setting to be missing on overflow.  Add more tests.
8779         (nexttoward_test_data): Likewise.
8781         * configure.ac (libc_cv_initfini_array): Remove configure test.
8782         * configure: Regenerated.
8784 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8786         [BZ #19189]
8787         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8788         non-finite argument handle arguments with negative sign.
8790         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8791         result from infinite argument.
8792         (j1_test_data): Likewise.
8793         (jn_test_data): Likewise.
8794         (y0_test_data): Likewise.
8795         (y1_test_data): Likewise.
8796         (yn_test_data): Likewise.
8798         [BZ #16171]
8799         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8800         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8801         * math/w_remainderf.c (dremf): Define as weak alias of
8802         __remainderf.
8803         * math/w_remainderl.c (dreml): Define as weak alias of
8804         __remainderl.
8805         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8806         __remainder.
8807         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8808         __remainderf.
8809         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8810         __remainderl.
8811         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8812         weak alias of remainderl.
8813         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8814         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8815         alias of __remainder.
8816         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8817         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8818         strong alias of __remainderl.
8819         (dreml): Use long_double_symbol.
8820         * math/Makefile (libm-calls): Remove w_drem.
8821         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8822         (CFLAGS-nldbl-drem.c): Remove variable.
8823         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8824         * math/w_drem.c: Remove file.
8825         * math/w_dremf.c: Likewise.
8826         * math/w_dreml.c: Likewise.
8827         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8828         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8829         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8831         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8832         * sysdeps/i386/configure: Regenerated.
8833         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8834         * sysdeps/x86_64/configure: Regenerated.
8836         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8837         test.
8838         (libc_cv_visibility_attribute): Likewise.
8839         (libc_cv_protected_data): Test unconditionally.
8840         (libc_cv_broken_visibility_attribute): Remove configure test.
8841         (libc_cv_have_sdata_section): Test unconditionally.
8842         * configure: Regenerated.
8844         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8845         * include/scratch_buffer.h: Include <stddef.h> instead of
8846         <libc-internal.h>.
8847         (struct scratch_buffer): Use max_align_t instead of
8848         libc_max_align_t.
8850 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8852         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8853         instead of extend_alloca.  Change control flow to avoid a goto.
8854         Remove assert which is trivially always true.
8856 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8858         [BZ #16068]
8859         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8860         (FE_ALL_EXCEPT_X86): New macro.
8861         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8862         FE_ALL_EXCEPT.  Ensure precision control is included in
8863         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8864         handle "denormal operand exception" and clear FZ and DAZ bits.
8865         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8866         (FE_ALL_EXCEPT_X86): New macro.
8867         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8868         FE_ALL_EXCEPT.  Ensure precision control is included in
8869         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8870         handle "denormal operand exception" and clear FZ and DAZ bits.
8871         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8872         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8873         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8874         test-fenv-x87 and test-fenv-sse-2.
8875         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8877         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8878         * math/test-double.h (BUILD_COMPLEX): New macro.
8879         * math/test-float.h (BUILD_COMPLEX): Likewise.
8880         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8882         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8883         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8884         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8886         instead of DBL_DENORM_MIN in comment.
8887         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8888         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8889         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8890         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8892         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8894 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8896         [BZ# 19048]
8897         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8898         attached_threads member.
8899         (main_arena): Initialize attached_threads.
8900         * malloc/arena.c (list_lock): Update comment.
8901         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8902         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8903         (deattach_arena): New function.
8904         (_int_new_arena): Initialize arena reference count and deattach
8905         replaced arena.
8906         (get_free_list, reused_arena): Update reference count and deattach
8907         replaced arena.
8908         (arena_thread_freeres): Update arena reference count and only put
8909         unreferenced arenas on the free list.
8911 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8913         [BZ #19181]
8914         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8915         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8916         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8917         * math/test-fenv-clear-main.c: New file.
8918         * math/test-fenv-clear.c: Likewise.
8919         * math/Makefile (tests): Add test-fenv-clear.
8920         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8921         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8922         test-fenv-clear-sse.
8923         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8925         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8926         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8927         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8929 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8931         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8932         static libc.
8934 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8936         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8937         test.
8938         * sysdeps/i386/configure: Regenerated.
8939         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8940         test.
8941         * sysdeps/x86_64/configure: Regenerated.
8942         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8944         memset-avx2 unconditionally instead of conditionally on
8945         [$(config-cflags-avx2) = yes].
8946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8947         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8948         unconditional.
8949         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8950         * sysdeps/x86_64/multiarch/memset_chk.S
8951         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8952         to [IS_IN (libc) && SHARED].
8954 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8956         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8957         configure test.
8958         * sysdeps/arm/configure: Regenerated.
8959         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8960         Define variable if not already defined.
8962         [BZ #17404]
8963         * sysdeps/mips/atomic-machine.h
8964         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8965         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8966         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8968         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8969         unconditional.
8970         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8971         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8972         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8973         unconditional.
8974         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8975         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8976         unconditional.
8977         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8978         * stdlib/setenv.c
8979         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8980         code unconditional.
8981         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8982         Remove conditional code.
8983         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8984         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8985         unconditional.
8986         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8987         code.
8988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8989         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8990         unconditional.
8991         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8992         code.
8993         * sysdeps/ieee754/ldbl-128/k_tanl.c
8994         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8995         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8996         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8997         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8998         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8999         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9000         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9001         unconditional.
9002         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9003         code.
9004         * sysdeps/ieee754/ldbl-96/k_tanl.c
9005         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9006         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9008         * nptl/tst-initializers1-c11.c: New file.
9009         * nptl/tst-initializers1-gnu11.c: Likewise.
9010         * nptl/Makefile (tests): Add these new tests.
9011         (CFLAGS-tst-initializers1-c11.c): New variable.
9012         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9014         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9015         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9016         instead of -std=gnu99.
9017         * configure.ac (systemtap): Test with -std=gnu11 instead of
9018         -std=gnu99.
9019         * configure: Regenerated.
9020         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9021         in compilation command in comment.
9023         * sysdeps/nptl/configure.ac: Remove file.
9024         * sysdeps/nptl/configure: Remove generated file.
9025         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9026         * configure: Regenerated.
9027         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9028         * config.make.in (have-forced-unwind): Remove variable.
9029         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9030         unconditional.
9031         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9032         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9033         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9034         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9035         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9036         unconditional.
9038 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9040         [BZ #19174]
9041         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9042         .skip_lock_out_of_tbegin_retries.
9043         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9044         (__lll_lock_elision): Likewise, and respect a value of
9045         try_tbegin <= 0.
9047 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9049         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9050         statement.
9052 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9054         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9055         variable.
9056         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9057         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9059         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9060         of -std=c1x -D_ISOC11_SOURCE.
9062         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9063         * configure: Regenerated.
9064         * manual/install.texi (Tools for Compilation): Document
9065         requirement for GCC 4.7 or later.
9066         * INSTALL: Regenerated.
9068 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9070         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9071         on CNT to a conditional jump to 'puntdata'.
9073 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9075         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9076         (libc_cv_gcc_tls_model_attr): Likewise.
9077         * configure: Regenerated.
9079         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9080         * configure: Regenerated.
9081         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9083 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9085         * configure.ac (old_glibc_headers): Remove configure test.
9086         * configure: Regenerated.
9087         * config.make.in (old-glibc-headers): Remove variable.
9088         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9089         (install): Remove dependency on remove-old-headers.
9090         (headers2_0): Remove variable.
9091         (remove-old-headers): Remove rule.
9093         * configure.ac (libc_cv_dot_text): Remove configure test.
9094         (libc_cv_asm_set_directive): Use .text instead of
9095         ${libc_cv_dot_text} in configure test.
9096         * configure: Regenerated.
9098 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9100         [BZ #19168]
9101         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9103 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9105         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9106         not support static linking.
9107         * configure: Regenerate.
9109 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9111         * math/libm-test.inc (check_float_internal): Do not special-case
9112         errors up to 0.5 ulp.
9114         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9115         log2.
9116         * math/auto-libm-test-out: Regenerated.
9117         * math/libm-test.inc (MAX_EXP): New macro.
9118         (ilogb_test_data): Add more tests.
9119         (isfinite_test_data): Likewise.
9120         (isgreater_test_data): Likewise.
9121         (isgreaterequal_test_data): Likewise.
9122         (isinf_test_data): Likewise.
9123         (isless_test_data): Likewise.
9124         (islessequal_test_data): Likewise.
9125         (islessgreater_test_data): Likewise.
9126         (isnan_test_data): Likewise.
9127         (isnormal_test_data): Likewise.
9128         (issignaling_test_data): Likewise.
9129         (isunordered_test_data): Likewise.
9130         (j0_test_data): Likewise.
9131         (j1_test_data): Likewise.
9132         (jn_test_data): Likewise.
9133         (lgamma_test_data): Likewise.
9134         (log_test_data): Likewise.
9135         (log10_test_data): Likewise.
9136         (log1p_test_data): Likewise.
9137         (log2_test_data): Likewise.
9138         (logb_test_data): Likewise.
9139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9141         [BZ #18611]
9142         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9143         avoid excess range and precision on underflow.
9144         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9145         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9146         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9147         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9148         underflow.
9149         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9151         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9152         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9153         * math/auto-libm-test-in: Do not allow missing errno setting for
9154         tests of j1 and jn.
9155         * math/auto-libm-test-out: Regenerated.
9157 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9159         [BZ #15491]
9160         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9161         floating-point environment instead of clearing all exceptions.
9162         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9163         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9164         merging in "invalid" exceptions from frndint.
9165         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9166         * math/test-nearbyint-except.c: New file.
9167         * math/Makefile (tests): Add test-nearbyint-except.
9169 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9171         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9173         * sysdeps/tile/libm-test-ulps: Regenerated.
9175 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9178         (__NR_sync_file_range2): Assume it is always defined.
9179         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9180         (__NR_sync_file_range): Assume it is always defined.
9182 2015-10-22  Andreas Schwab  <schwab@suse.de>
9184         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9185         INTERNAL_SYSCALL_ERRNO.
9186         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9187         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9188         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9189         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9190         Likewise.
9191         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9193 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9195         * io/tst-fcntl.c (fd): New static variable.
9196         (do_prepare): Open temporary file here....
9197         (do_test): ...not here.
9199         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9201 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9203         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9204         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9205         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9206         Moved before "#ifdef __ASSEMBLER__".
9208 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9210         [BZ #19156]
9211         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9212         arguments very close to 0.
9214 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9216         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9217         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9219 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9221         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9222         New.  Defined for GCC 5 and above when not compiling for
9223         profiling.
9224         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9226         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9227         Renamed to ...
9228         (CFLAGS-epoll_pwait.o): This.
9229         (CFLAGS-mmap.c): Renamed to ...
9230         (CFLAGS-mmap.o): This.
9231         (CFLAGS-mmap64.c): Renamed to ...
9232         (CFLAGS-mmap64.o): This.
9233         (CFLAGS-epoll_pwait.os): New.
9234         (CFLAGS-mmap.os): Likewise.
9235         (CFLAGS-mmap64.os): Likewise.
9236         (CFLAGS-semtimedop.os): Likewise.
9237         (CFLAGS-semtimedop.c): Renamed to ...
9238         (CFLAGS-semtimedop.o): This.
9240 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9242         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9243         warning message.
9245 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9247         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9248         * Makefile ($(objpfx)c++-types-check.out): Filter out
9249         $(+gccwarn-c) instead of -Wstrict-prototypes.
9251         * io/fts.c (fts_open): Convert to prototype-style function
9252         definition.
9253         * malloc/mcheck.c (mcheck): Likewise.
9254         (mcheck_pedantic): Likewise.
9255         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9256         internal_function.
9257         (re_search_internal): Likewise.
9258         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9259         prototype-style function definition.
9260         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9261         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9262         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9263         (xdr_utmpptr): Likewise.
9264         (xdr_utmparr): Likewise.
9265         (xdr_utmpidle): Likewise.
9266         (xdr_utmpidleptr): Likewise.
9267         (xdr_utmpidlearr): Likewise.
9269         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9270         log, log10 and log2.
9271         * math/auto-libm-test-out: Regenerated.
9272         * math/libm-test.inc (fmod_test_data): Add more tests.
9273         (fpclassify_test_data): Likewise.
9274         (frexp_test_data): Likewise.
9275         (hypot_test_data): Likewise.
9276         (ilogb_test_data): Likewise.
9278 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9280         * debug/fortify_fail.c (__fortify_fail): Convert to
9281         prototype-style function definition.  Use internal_function.
9282         * libio/genops.c (save_for_backup): Convert to prototype-style
9283         function definition.
9284         * libio/wgenops.c (save_for_wbackup): Likewise.
9285         * login/grantpt.c (grantpt): Likewise.
9286         * login/ptsname.c (ptsname): Likewise.
9287         (__ptsname_r): Likewise.
9288         * login/unlockpt.c (unlockpt): Likewise.
9289         * mach/msgserver.c (__mach_msg_server): Likewise.
9290         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9291         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9292         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9293         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9294         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9295         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9296         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9297         Likewise.
9298         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9299         internal_function.
9300         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9301         prototype-style function definition.
9302         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9303         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9304         (__pthread_create_2_0): Likewise.
9305         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9306         * nptl/register-atfork.c (__register_atfork): Likewise.
9307         * posix/glob.c (glob): Likewise.
9308         * posix/regcomp.c (re_comp): Likewise.
9309         * posix/regexec.c (re_exec): Likewise.
9310         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9311         [!__STDC__]: Remove conditional code.
9312         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9313         [!__STDC__]: Remove conditional code.
9314         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9315         [!__STDC__]: Remove conditional code.
9316         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9317         [!__STDC__]: Remove conditional code.
9318         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9319         [!__STDC__]: Remove conditional code.
9320         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9321         [!__STDC__]: Remove conditional code.
9322         * stdlib/mul.c [__STDC__]: Make code unconditional.
9323         [!__STDC__]: Remove conditional code.
9324         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9325         [!__STDC__]: Remove conditional code.
9326         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9327         [!__STDC__]: Remove conditional code.
9328         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9329         function definition.
9330         (STRTOF): Likewise.
9331         * stdlib/strtod_l.c (__STRTOF): Likewise.
9332         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9333         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9334         (__strtol_l): Likewise.
9335         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9336         [!__STDC__]: Remove conditional code.
9337         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9338         definition.
9339         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9340         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9341         type.
9342         (__strcasecmp): Convert to prototype-style function definition.
9343         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9344         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9345         type.
9346         (__strncasecmp): Convert to prototype-style function definition.
9347         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9348         * sunrpc/xdr.c (xdr_union): Likewise.
9349         * sunrpc/xdr_array.c (xdr_array): Likewise.
9350         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9351         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9352         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9353         Likewise.
9354         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9355         Likewise.
9356         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9357         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9358         Likewise.
9359         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9360         (LOCALE_PARAM_PROTO): Likewise.
9361         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9362         argument type.
9363         (ut_argument_spec): Remove macro.
9364         (ut_argument_spec_iso): Rename to ut_argument_spec.
9365         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9366         prototype-style function definition.
9367         (memcpy_uppcase): Likewise.
9368         (__strftime_internal): Likewise.
9369         (my_strftime): Likewise.
9370         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9371         (LOCALE_PARAM_DECL): Likewise.
9372         [_LIBC] (LOCALE_PARAM): Include argument type.
9373         (__strptime_internal): Convert to prototype-style function
9374         definition.
9375         (strptime): Likewise.
9376         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9377         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9378         type.
9379         (__wcscasecmp): Convert to prototype-style function definition.
9380         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9381         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9382         type.
9383         (__wcsncasecmp): Convert to prototype-style function definition.
9385         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9386         function definition.
9387         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9388         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9389         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9390         * elf/dl-minimal.c (_itoa): Likewise.
9391         * hurd/hurdmalloc.c (malloc): Likewise.
9392         (free): Likewise.
9393         (realloc): Likewise.
9394         * inet/inet6_option.c (inet6_option_space): Likewise.
9395         (inet6_option_init): Likewise.
9396         (inet6_option_append): Likewise.
9397         (inet6_option_alloc): Likewise.
9398         (inet6_option_next): Likewise.
9399         (inet6_option_find): Likewise.
9400         * io/ftw.c (FTW_NAME): Likewise.
9401         (NFTW_NAME): Likewise.
9402         (NFTW_NEW_NAME): Likewise.
9403         (NFTW_OLD_NAME): Likewise.
9404         * libio/iofwide.c (_IO_fwide): Likewise.
9405         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9406         (_IO_str_init_static): Likewise.
9407         (_IO_str_init_readonly): Likewise.
9408         (_IO_str_overflow): Likewise.
9409         (_IO_str_underflow): Likewise.
9410         (_IO_str_count): Likewise.
9411         (_IO_str_seekoff): Likewise.
9412         (_IO_str_pbackfail): Likewise.
9413         (_IO_str_finish): Likewise.
9414         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9415         (_IO_wstr_overflow): Likewise.
9416         (_IO_wstr_underflow): Likewise.
9417         (_IO_wstr_count): Likewise.
9418         (_IO_wstr_seekoff): Likewise.
9419         (_IO_wstr_pbackfail): Likewise.
9420         (_IO_wstr_finish): Likewise.
9421         * locale/programs/localedef.c (normalize_codeset): Likewise.
9422         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9423         (add_locales_to_archive): Likewise.
9424         (delete_locales_from_archive): Likewise.
9425         * malloc/malloc.c (__libc_mallinfo): Likewise.
9426         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9427         * misc/tsearch.c (__tfind): Likewise.
9428         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9429         * nptl/pthread_attr_getdetachstate.c
9430         (__pthread_attr_getdetachstate): Likewise.
9431         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9432         Likewise.
9433         * nptl/pthread_attr_getinheritsched.c
9434         (__pthread_attr_getinheritsched): Likewise.
9435         * nptl/pthread_attr_getschedparam.c
9436         (__pthread_attr_getschedparam): Likewise.
9437         * nptl/pthread_attr_getschedpolicy.c
9438         (__pthread_attr_getschedpolicy): Likewise.
9439         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9440         Likewise.
9441         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9442         Likewise.
9443         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9444         Likewise.
9445         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9446         Likewise.
9447         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9448         (__pthread_attr_init_2_0): Likewise.
9449         * nptl/pthread_attr_setdetachstate.c
9450         (__pthread_attr_setdetachstate): Likewise.
9451         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9452         Likewise.
9453         * nptl/pthread_attr_setinheritsched.c
9454         (__pthread_attr_setinheritsched): Likewise.
9455         * nptl/pthread_attr_setschedparam.c
9456         (__pthread_attr_setschedparam): Likewise.
9457         * nptl/pthread_attr_setschedpolicy.c
9458         (__pthread_attr_setschedpolicy): Likewise.
9459         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9460         Likewise.
9461         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9462         Likewise.
9463         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9464         Likewise.
9465         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9466         Likewise.
9467         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9468         Likewise.
9469         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9470         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9471         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9472         use internal_function.
9473         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9474         prototype-style function definition.
9475         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9476         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9477         internal_function.
9478         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9479         Convert to prototype-style function definition.
9480         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9481         Likewise.
9482         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9483         Likewise.
9484         (__pthread_mutex_unlock): Likewise.
9485         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9486         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9487         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9488         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9489         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9490         * nss/makedb.c (process_input): Likewise.
9491         * posix/fnmatch.c (__strchrnul): Likewise.
9492         (__wcschrnul): Likewise.
9493         (fnmatch): Likewise.
9494         * posix/fnmatch_loop.c (FCT): Likewise.
9495         * posix/glob.c (globfree): Likewise.
9496         (__glob_pattern_type): Likewise.
9497         (__glob_pattern_p): Likewise.
9498         * posix/regcomp.c (re_compile_pattern): Likewise.
9499         (re_set_syntax): Likewise.
9500         (re_compile_fastmap): Likewise.
9501         (regcomp): Likewise.
9502         (regerror): Likewise.
9503         (regfree): Likewise.
9504         * posix/regexec.c (regexec): Likewise.
9505         (re_match): Likewise.
9506         (re_search): Likewise.
9507         (re_match_2): Likewise.
9508         (re_search_2): Likewise.
9509         (re_search_stub): Likewise.  Use internal_function
9510         (re_copy_regs): Likewise.
9511         (re_set_registers): Convert to prototype-style function
9512         definition.
9513         (prune_impossible_nodes): Likewise.  Use internal_function.
9514         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9515         prototype-style function definition.
9516         (inet_net_pton_ipv4): Likewise.
9517         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9518         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9519         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9520         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9521         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9522         Make variadic.
9523         * time/strptime_l.c (localtime_r): Convert to prototype-style
9524         function definition.
9525         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9526         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9527         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9528         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9530         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9531         definition.
9532         (_ufc_doit_r): Likewise.
9533         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9534         (_ufc_output_conversion_r): Likewise.
9535         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9536         * inet/rcmd.c (rcmd_af): Likewise.
9537         (rcmd): Likewise.
9538         (ruserok_af): Likewise.
9539         (ruserok): Likewise.
9540         (ruserok2_sa): Likewise.
9541         (ruserok_sa): Likewise.
9542         (iruserok_af): Likewise.
9543         (iruserok): Likewise.
9544         (__ivaliduser): Likewise.
9545         (__validuser2_sa): Likewise.
9546         * inet/rexec.c (rexec_af): Likewise.
9547         (rexec): Likewise.
9548         * inet/ruserpass.c (ruserpass): Likewise.
9549         * locale/programs/xmalloc.c (xcalloc): Likewise.
9550         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9551         * math/w_drem.c (__drem): Likewise.
9552         * math/w_dremf.c (__dremf): Likewise.
9553         * math/w_dreml.c (__dreml): Likewise.
9554         * misc/daemon.c (daemon): Likewise.
9555         * resolv/res_debug.c (p_fqnname): Likewise.
9556         * stdlib/div.c (div): Likewise.
9557         * string/memcmp.c (memcmp_bytes): Likewise.
9558         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9559         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9561         * crypt/cert.c (main): Convert to prototype-style function
9562         definition.
9563         * io/pipe.c (__pipe): Likewise.
9564         * io/pipe2.c (__pipe2): Likewise.
9565         * misc/futimesat.c (futimesat): Likewise.
9566         * misc/utimes.c (__utimes): Likewise.
9567         * posix/execve.c (__execve): Likewise.
9568         * posix/execvp.c (execvp): Likewise.
9569         * posix/execvpe.c (__execvpe): Likewise.
9570         * posix/fexecve.c (fexecve): Likewise.
9571         * socket/socketpair.c (socketpair): Likewise.
9572         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9573         * stdlib/erand48.c (erand48): Likewise.
9574         * stdlib/erand48_r.c (__erand48_r): Likewise.
9575         * stdlib/jrand48.c (jrand48): Likewise.
9576         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9577         * stdlib/lcong48.c (lcong48): Likewise.
9578         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9579         * stdlib/nrand48.c (nrand48): Likewise.
9580         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9581         * stdlib/seed48.c (seed48): Likewise.
9582         * stdlib/seed48_r.c (__seed48_r): Likewise.
9583         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9584         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9585         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9587 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9589         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9590         * configure: Regenerated.
9591         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9592         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9593         unconditional.
9594         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9595         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9596         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9597         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9598         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9599         unconditional.
9600         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9602         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9603         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9605         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9606         function definition.
9607         * crypt/crypt_util.c (__encrypt_r): Likewise.
9608         * libio/genops.c (_IO_no_init): Likewise.
9609         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9610         (_IO_old_fopencookie): Likewise.
9611         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9612         * libio/iogetline.c (_IO_getline): Likewise.
9613         (_IO_getline_info): Likewise.
9614         * libio/iogetwline.c (_IO_getwline): Likewise.
9615         (_IO_getwline_info): Likewise.
9616         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9617         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9618         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9619         (find_entry): Likewise.
9620         (iterate_table): Likewise.
9621         (lookup): Likewise.
9622         * login/forkpty.c (forkpty): Likewise.
9623         * misc/hsearch_r.c (__hsearch_r): Likewise.
9624         * misc/select.c (__select): Likewise.
9625         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9626         Likewise.
9627         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9628         Likewise.
9629         * nptl/old_pthread_cond_timedwait.c
9630         (__pthread_cond_timedwait_2_0): Likewise.
9631         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9632         * nptl/pthread_barrierattr_getpshared.c
9633         (pthread_barrierattr_getpshared): Likewise.
9634         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9635         Likewise.
9636         * nptl/pthread_mutex_setprioceiling.c
9637         (pthread_mutex_setprioceiling): Likewise.
9638         * nptl/pthread_mutexattr_getprioceiling.c
9639         (pthread_mutexattr_getprioceiling): Likewise.
9640         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9641         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9642         Likewise.
9643         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9644         Likewise.
9645         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9646         Likewise.
9647         * socket/recvfrom.c (__recvfrom): Likewise.
9648         * socket/sendto.c (__sendto): Likewise.
9649         * socket/setsockopt.c (__setsockopt): Likewise.
9650         * stdio-common/_itoa.c (_itoa): Likewise.
9651         * stdio-common/_itowa.c (_itowa): Likewise.
9652         * stdio-common/reg-printf.c (__register_printf_specifier):
9653         Likewise.
9654         (__register_printf_function): Likewise.
9655         * stdio-common/tempname.c (__path_search): Likewise.
9656         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9657         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9658         * stdlib/random_r.c (__initstate_r): Likewise.
9659         * stdlib/setenv.c (__add_to_environ): Likewise.
9660         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9661         * streams/getpmsg.c (getpmsg): Likewise.
9662         * streams/putmsg.c (putmsg): Likewise.
9663         * streams/putpmsg.c (putpmsg): Likewise.
9664         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9665         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9666         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9667         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9668         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9669         * sunrpc/svc_udp.c (cache_get): Likewise.
9670         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9671         * sysdeps/mach/hurd/getcwd.c
9672         (__canonicalize_directory_name_internal): Likewise.
9673         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9674         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9675         * sysdeps/mach/hurd/select.c (__select): Likewise.
9676         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9677         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9678         * sysdeps/sparc/nptl/pthread_barrier_init.c
9679         (__pthread_barrier_init): Likewise.
9680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9681         (__pthread_cond_timedwait): Likewise.
9682         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9683         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9684         Likewise.
9685         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9686         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9687         Likewise.
9688         * sysvipc/semtimedop.c (semtimedop): Likewise.
9689         * time/setitimer.c (__setitimer): Likewise.
9690         * time/strftime_l.c (emacs_strftime): Likewise.
9692 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9694         * config.make.in (have-ssp): Delete.
9695         (stack-protector): New variable.
9696         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9697         cache test for -fstack-protector-strong.  Export stack_protector to
9698         the best ssp flag.
9699         * configure: Regenerated.
9700         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9701         * nscd/Makefile (CFLAGS-nscd): Likewise.
9702         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9704 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9706         [BZ #19122]
9707         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9708         attribute_hidden.
9710 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9712         [BZ #18743]
9713         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9714         code to...
9715         (ELIDE_LOCK): ...here.
9716         (__get_new_count): New function with part of the code from
9717         __elide_lock that updates the value of adapt_count after a
9718         transaction abort.
9719         (__elided_trylock): Moved this code to...
9720         (ELIDE_TRYLOCK): ...here.
9722 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9724         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9725         * configure: Regenerate.
9726         * INSTALL: Regenerate.
9727         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9728         and tweak grammar.
9730 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9732         * login/programs/pt_chown.c: Include signal.h
9733         (main): Clear any signal mask from the parent process.
9735 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9737         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9738         * configure: Regenerated.
9739         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9740         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9741         $(gnu89-inline-CFLAGS).
9743         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9744         test.
9745         (libc_cv_asm_weakext_directive): Likewise.
9746         * configure: Regenerated.
9747         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9748         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9749         * include/libc-symbols.h
9750         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9751         #error.
9752         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9753         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9755         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9756         prototype-style function definition.
9757         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9758         * sysdeps/i386/ffs.c (__ffs): Likewise.
9759         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9760         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9761         Likewise.
9762         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9763         Likewise.
9764         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9765         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9766         Likewise.
9767         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9768         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9769         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9770         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9771         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9772         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9773         * sysdeps/mach/hurd/access.c (__access): Likewise.
9774         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9775         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9776         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9777         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9778         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9779         (cthread_getspecific): Likewise.
9780         (cthread_setspecific): Likewise.
9781         (__libc_getspecific): Likewise.
9782         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9783         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9784         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9785         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9786         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9787         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9788         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9789         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9790         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9791         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9792         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9793         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9794         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9795         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9796         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9797         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9798         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9799         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9800         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9801         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9802         * sysdeps/mach/hurd/link.c (__link): Likewise.
9803         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9804         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9805         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9806         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9807         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9808         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9809         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9810         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9811         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9812         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9813         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9814         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9815         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9816         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9817         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9818         * sysdeps/mach/hurd/send.c (__send): Likewise.
9819         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9820         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9821         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9822         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9823         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9824         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9825         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9826         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9827         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9828         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9829         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9830         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9831         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9832         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9833         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9834         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9835         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9836         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9837         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9838         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9839         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9840         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9841         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9842         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9843         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9844         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9845         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9846         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9847         * sysdeps/posix/alarm.c (alarm): Likewise.
9848         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9849         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9850         * sysdeps/posix/dup.c (__dup): Likewise.
9851         * sysdeps/posix/dup2.c (__dup2): Likewise.
9852         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9853         (main): Likewise.
9854         * sysdeps/posix/flock.c (__flock): Likewise.
9855         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9856         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9857         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9858         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9859         * sysdeps/posix/isatty.c (__isatty): Likewise.
9860         * sysdeps/posix/killpg.c (killpg): Likewise.
9861         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9862         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9863         * sysdeps/posix/raise.c (raise): Likewise.
9864         * sysdeps/posix/remove.c (remove): Likewise.
9865         * sysdeps/posix/rename.c (rename): Likewise.
9866         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9867         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9868         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9869         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9870         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9871         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9872         * sysdeps/posix/sigset.c (sigset): Likewise.
9873         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9874         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9875         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9876         * sysdeps/posix/time.c (time): Likewise.
9877         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9878         (ttyname): Likewise.
9879         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9880         * sysdeps/posix/utime.c (utime): Likewise.
9881         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9882         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9883         Likewise.
9884         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9885         (pthread_spin_trylock): Likewise.
9886         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9887         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9888         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9889         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9890         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9891         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9892         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9893         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9894         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9895         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9896         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9897         * sysdeps/s390/ffs.c (__ffs): Likewise.
9898         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9899         Likewise.
9900         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9901         Likewise.
9902         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9903         Likewise.
9904         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9905         (pthread_barrier_destroy): Likewise.
9906         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9907         (__pthread_barrier_wait): Likewise.
9908         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9909         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9910         (__pthread_barrier_wait): Likewise.
9911         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9912         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9913         (memcmp_not_common_alignment): Likewise.
9914         (MEMCMP): Likewise.
9915         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9916         (_wordcopy_fwd_dest_aligned): Likewise.
9917         (_wordcopy_bwd_aligned): Likewise.
9918         (_wordcopy_bwd_dest_aligned): Likewise.
9919         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9920         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9921         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9922         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9923         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9924         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9925         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9926         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9927         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9928         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9929         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9930         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9931         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9932         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9933         * sysdeps/unix/stime.c (stime): Likewise.
9934         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9935         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9936         Likewise.  Use internal_function.
9937         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9938         Convert to prototype-style function definition.
9939         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9940         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9941         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9942         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9943         Likewise.  Use internal_function.
9944         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9945         prototype-style function definition
9946         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9947         Likewise.
9948         (__getlogin_r): Likewise.
9949         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9950         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9951         (__pthread_cond_broadcast): Likewise.
9952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9953         (__pthread_cond_destroy): Likewise.
9954         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9955         (__pthread_cond_init): Likewise.
9956         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9957         (__pthread_cond_signal): Likewise.
9958         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9959         (__pthread_cond_wait): Likewise.
9960         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9961         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9962         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9963         Likewise.
9964         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9965         Likewise.
9966         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9967         Likewise.
9968         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9969         Likewise.
9970         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9972         (__ftruncate64): Likewise.
9973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9974         (truncate64): Likewise.
9975         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9976         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9977         (pthread_getcpuclockid): Likewise.
9978         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9979         Likewise.
9980         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9981         Likewise.
9982         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9983         Likewise.
9984         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9985         Likewise.
9986         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9987         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9988         (__libc_sigaction): Likewise.
9989         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9990         Likewise.
9991         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9992         (__sigprocmask): Likewise.
9993         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9994         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9995         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9996         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9997         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9998         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9999         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10000         Likewise.
10001         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10002         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10003         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10004         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10005         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10006         Likewise.
10007         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10008         (__sigprocmask): Likewise.
10009         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10010         (cfgetispeed): Likewise.
10011         (cfsetospeed): Likewise.
10012         (cfsetispeed): Likewise.
10013         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10014         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10015         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10016         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10017         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10018         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10019         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10020         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10021         Likewise.
10022         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10023         Likewise.
10024         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10025         Likewise.
10026         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10027         Likewise.
10028         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10030 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10032         sunrpc: Rewrite with explicit TLS access using __thread.
10033         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10034         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10035         directly.
10036         (__rpc_thread_variables): Access thread_rpc_vars directly.
10037         Eliminate redundant assignment of the tvp variable.
10039 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10041         malloc: Rewrite with explicit TLS access using __thread.
10042         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10043         (tsd_setspecific, tsd_getspecific): Remove.
10044         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10045         (tsd_setspecific, tsd_getspecific): Likewise.
10046         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10047         (tsd_setspecific, tsd_getspecific): Likewise.
10048         * malloc/arena.c (thread_arena): New TLS variable.
10049         (arena_key): Remove variable.
10050         (arena_get): Use thread_arena.
10051         (arena_lookup): Remove macro.
10052         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10053         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10054         (_int_new_arena, get_free_list, reused_arena)
10055         (arena_thread_freeres): Use thread_arena.
10056         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10057         tsd_getspecific, tsd_setspecific from safety annotations.
10058         (Allocating Cleared Space): Remove arena_lookup from safety
10059         annotations.
10061 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10063         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10064         struct scratch_buffer instead of extend_alloca.
10066 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10068         * sysdeps/unix/sysv/linux/kernel-features.h
10069         (__ASSUME_SOCK_CLOEXEC): Remove.
10070         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10071         (__have_paccept): Remove unused macro.
10072         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10073         * misc/syslog.c (openlog_internal): Remove fallback code for
10074         !__ASSUME_SOCK_CLOEXEC.
10075         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10076         missing SOCK_CLOEXEC.
10077         * nscd/connections.c (have_sock_cloexec): Remove definition.
10078         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10079         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10080         !__ASSUME_SOCK_CLOEXEC.
10081         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10082         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10083         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10084         definition.
10085         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10086         code for !__ASSUME_SOCK_CLOEXEC.
10088 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10090         [BZ #18982]
10091         * manual/stdio.texi (Variable Arguments Output): Add portability
10092         note, explaining that vfprintf clobbers the va_list pointer.
10094 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10096         * math/libm-test.inc (fabs_test_data): Add more tests.
10097         (fdim_test_data): Likewise.
10098         (fma_test_data): Likewise.
10099         (fmax_test_data): Likewise.
10100         (fmin_test_data): Likewise.
10101         (fmod_test_data): Likewise.
10103 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10105         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10106         data.
10108 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10110         * math/libm-test.inc (ceil_test_data): Add more tests and more
10111         expectations for "inexact".
10112         (floor_test_data): Add more tests.
10113         (round_test_data): Likewise.
10114         (trunc_test_data): Likewise.
10116         * crypt/cert.c (good_bye): Convert to prototype-style function
10117         definition.
10118         (get8): Likewise.
10119         (put8): Likewise.
10120         * crypt/crypt-entry.c (crypt): Likewise.
10121         (__fcrypt): Likewise.
10122         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10123         (_ufc_set_bits): Likewise.
10124         (_ufc_clearmem): Likewise.
10125         (__init_des_r): Likewise.
10126         (shuffle_sb): Likewise.
10127         (shuffle_sb): Likewise.
10128         (_ufc_setup_salt_r): Likewise.
10129         (_ufc_mk_keytab_r): Likewise.
10130         (_ufc_dofinalperm_r): Likewise.
10131         (encrypt): Likewise.
10132         (__setkey_r): Likewise.
10133         (setkey): Likewise.
10134         * crypt/md5.c (md5_init_ctx): Likewise.
10135         (md5_read_ctx): Likewise.
10136         (md5_finish_ctx): Likewise.
10137         (md5_stream): Likewise.
10138         (md5_buffer): Likewise.
10139         (md5_process_bytes): Likewise.
10140         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10141         (__sha256_finish_ctx): Likewise.
10142         (__sha256_process_bytes): Likewise.
10143         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10144         (__sha512_finish_ctx): Likewise.
10145         (__sha512_process_bytes): Likewise.
10146         * ctype/isctype.c (__isctype): Likewise.
10147         * debug/backtrace.c (__backtrace): Likewise.
10148         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10149         * debug/fgets_chk.c (__fgets_chk): Likewise.
10150         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10151         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10152         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10153         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10154         * debug/memset_chk.c (__memset_chk): Likewise.
10155         * debug/strcat_chk.c (__strcat_chk): Likewise.
10156         * debug/strncat_chk.c (__strncat_chk): Likewise.
10157         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10158         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10159         * dirent/dirfd.c (dirfd): Likewise.
10160         * dirent/getdents.c (__getdirentries): Likewise.
10161         * dirent/getdents64.c (getdirentries64): Likewise.
10162         * dirent/rewinddir.c (__rewinddir): Likewise.
10163         * dirent/seekdir.c (seekdir): Likewise.
10164         * dirent/telldir.c (telldir): Likewise.
10165         * elf/sln.c (makesymlinks): Likewise.
10166         (makesymlink): Likewise.
10167         * gmon/gmon.c (__moncontrol): Likewise.
10168         (__monstartup): Likewise.
10169         (write_hist): Likewise.
10170         (write_call_graph): Likewise.
10171         (write_bb_counts): Likewise.
10172         * grp/setgroups.c (setgroups): Likewise.
10173         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10174         * inet/inet_net.c (inet_network): Likewise.
10175         * inet/inet_netof.c (inet_netof): Likewise.
10176         * inet/rcmd.c (rresvport_af): Likewise.
10177         (rresvport): Likewise.
10178         * io/access.c (__access): Likewise.
10179         * io/chdir.c (__chdir): Likewise.
10180         * io/chmod.c (__chmod): Likewise.
10181         * io/chown.c (__chown): Likewise.
10182         * io/close.c (__close): Likewise.
10183         * io/creat.c (creat): Likewise.
10184         * io/creat64.c (creat64): Likewise.
10185         * io/dup.c (__dup): Likewise.
10186         * io/dup2.c (__dup2): Likewise.
10187         * io/dup3.c (__dup3): Likewise.
10188         * io/euidaccess.c (__euidaccess): Likewise.
10189         * io/faccessat.c (faccessat): Likewise.
10190         * io/fchmod.c (__fchmod): Likewise.
10191         * io/fchmodat.c (fchmodat): Likewise.
10192         * io/fchown.c (__fchown): Likewise.
10193         * io/fchownat.c (fchownat): Likewise.
10194         * io/fcntl.c (__fcntl): Likewise.
10195         * io/flock.c (__flock): Likewise.
10196         * io/fts.c (fts_load): Likewise.
10197         (fts_close): Likewise.
10198         (fts_read): Likewise.
10199         (fts_set): Likewise.
10200         (fts_children): Likewise.
10201         (fts_build): Likewise.
10202         (fts_stat): Likewise.
10203         (fts_sort): Likewise.
10204         (fts_alloc): Likewise.
10205         (fts_lfree): Likewise.
10206         (fts_palloc): Likewise.
10207         (fts_padjust): Likewise.
10208         (fts_maxarglen): Likewise.
10209         (fts_safe_changedir): Likewise.
10210         * io/getwd.c (getwd): Likewise.
10211         * io/isatty.c (__isatty): Likewise.
10212         * io/lchown.c (__lchown): Likewise.
10213         * io/link.c (__link): Likewise.
10214         * io/linkat.c (linkat): Likewise.
10215         * io/lseek.c (__libc_lseek): Likewise.
10216         * io/mkdir.c (__mkdir): Likewise.
10217         * io/mkdirat.c (mkdirat): Likewise.
10218         * io/mkfifo.c (mkfifo): Likewise.
10219         * io/mkfifoat.c (mkfifoat): Likewise.
10220         * io/open.c (__libc_open): Likewise.
10221         * io/open64.c (__libc_open64): Likewise.
10222         * io/readlink.c (__readlink): Likewise.
10223         * io/readlinkat.c (readlinkat): Likewise.
10224         * io/rmdir.c (__rmdir): Likewise.
10225         * io/symlink.c (__symlink): Likewise.
10226         * io/symlinkat.c (symlinkat): Likewise.
10227         * io/ttyname.c (ttyname): Likewise.
10228         * io/ttyname_r.c (__ttyname_r): Likewise.
10229         * io/umask.c (__umask): Likewise.
10230         * io/unlink.c (__unlink): Likewise.
10231         * io/unlinkat.c (unlinkat): Likewise.
10232         * io/utime.c (utime): Likewise.
10233         * libio/clearerr.c (clearerr): Likewise.
10234         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10235         * libio/feof.c (_IO_feof): Likewise.
10236         * libio/feof_u.c (feof_unlocked): Likewise.
10237         * libio/ferror.c (_IO_ferror): Likewise.
10238         * libio/ferror_u.c (ferror_unlocked): Likewise.
10239         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10240         * libio/fileno.c (__fileno): Likewise.
10241         * libio/fputc.c (fputc): Likewise.
10242         * libio/fputc_u.c (fputc_unlocked): Likewise.
10243         * libio/fputwc.c (fputwc): Likewise.
10244         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10245         * libio/freopen.c (freopen): Likewise.
10246         * libio/freopen64.c (freopen64): Likewise.
10247         * libio/fseek.c (fseek): Likewise.
10248         * libio/fseeko.c (fseeko): Likewise.
10249         * libio/fseeko64.c (fseeko64): Likewise.
10250         * libio/ftello.c (__ftello): Likewise.
10251         * libio/ftello64.c (ftello64): Likewise.
10252         * libio/fwide.c (fwide): Likewise.
10253         * libio/genops.c (_IO_un_link): Likewise.
10254         (_IO_link_in): Likewise.
10255         (_IO_least_marker): Likewise.
10256         (_IO_switch_to_main_get_area): Likewise.
10257         (_IO_switch_to_backup_area): Likewise.
10258         (_IO_switch_to_get_mode): Likewise.
10259         (_IO_free_backup_area): Likewise.
10260         (_IO_switch_to_put_mode): Likewise.
10261         (__overflow): Likewise.
10262         (__underflow): Likewise.
10263         (__uflow): Likewise.
10264         (_IO_setb): Likewise.
10265         (_IO_doallocbuf): Likewise.
10266         (_IO_default_underflow): Likewise.
10267         (_IO_default_uflow): Likewise.
10268         (_IO_default_xsputn): Likewise.
10269         (_IO_sgetn): Likewise.
10270         (_IO_default_xsgetn): Likewise.
10271         (_IO_sync): Likewise.
10272         (_IO_default_setbuf): Likewise.
10273         (_IO_default_seekpos): Likewise.
10274         (_IO_default_doallocate): Likewise.
10275         (_IO_init): Likewise.
10276         (_IO_old_init): Likewise.
10277         (_IO_default_sync): Likewise.
10278         (_IO_default_finish): Likewise.
10279         (_IO_default_seekoff): Likewise.
10280         (_IO_sputbackc): Likewise.
10281         (_IO_sungetc): Likewise.
10282         (_IO_set_column): Likewise.
10283         (_IO_set_column): Likewise.
10284         (_IO_adjust_column): Likewise.
10285         (_IO_get_column): Likewise.
10286         (_IO_init_marker): Likewise.
10287         (_IO_remove_marker): Likewise.
10288         (_IO_marker_difference): Likewise.
10289         (_IO_marker_delta): Likewise.
10290         (_IO_seekmark): Likewise.
10291         (_IO_unsave_markers): Likewise.
10292         (_IO_nobackup_pbackfail): Likewise.
10293         (_IO_default_pbackfail): Likewise.
10294         (_IO_default_seek): Likewise.
10295         (_IO_default_stat): Likewise.
10296         (_IO_default_read): Likewise.
10297         (_IO_default_write): Likewise.
10298         (_IO_default_showmanyc): Likewise.
10299         (_IO_default_imbue): Likewise.
10300         (_IO_iter_next): Likewise.
10301         (_IO_iter_file): Likewise.
10302         * libio/getc.c (_IO_getc): Likewise.
10303         * libio/getwc.c (_IO_getwc): Likewise.
10304         * libio/iofclose.c (_IO_new_fclose): Likewise.
10305         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10306         * libio/iofflush.c (_IO_fflush): Likewise.
10307         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10308         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10309         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10310         * libio/iofgets.c (_IO_fgets): Likewise.
10311         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10312         * libio/iofgetws.c (fgetws): Likewise.
10313         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10314         * libio/iofopen64.c (_IO_fopen64): Likewise.
10315         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10316         (_IO_cookie_write): Likewise.
10317         (_IO_cookie_seek): Likewise.
10318         (_IO_cookie_close): Likewise.
10319         (_IO_cookie_seekoff): Likewise.
10320         (_IO_old_cookie_seek): Likewise.
10321         * libio/iofputs.c (_IO_fputs): Likewise.
10322         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10323         * libio/iofputws.c (fputws): Likewise.
10324         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10325         * libio/iofread.c (_IO_fread): Likewise.
10326         * libio/iofread_u.c (__fread_unlocked): Likewise.
10327         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10328         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10329         * libio/ioftell.c (_IO_ftell): Likewise.
10330         * libio/iofwrite.c (_IO_fwrite): Likewise.
10331         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10332         * libio/iogets.c (_IO_gets): Likewise.
10333         * libio/iopadn.c (_IO_padn): Likewise.
10334         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10335         (_IO_new_popen): Likewise.
10336         (_IO_new_proc_close): Likewise.
10337         * libio/ioputs.c (_IO_puts): Likewise.
10338         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10339         (_IO_seekoff): Likewise.
10340         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10341         (_IO_seekpos): Likewise.
10342         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10343         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10344         * libio/ioungetc.c (_IO_ungetc): Likewise.
10345         * libio/ioungetwc.c (ungetwc): Likewise.
10346         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10347         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10348         * libio/iowpadn.c (_IO_wpadn): Likewise.
10349         * libio/libc_fatal.c (__libc_fatal): Likewise.
10350         * libio/memstream.c (__open_memstream): Likewise.
10351         (_IO_mem_sync): Likewise.
10352         (_IO_mem_finish): Likewise.
10353         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10354         (_IO_old_file_close_it): Likewise.
10355         (_IO_old_file_finish): Likewise.
10356         (_IO_old_file_fopen): Likewise.
10357         (_IO_old_file_attach): Likewise.
10358         (_IO_old_file_setbuf): Likewise.
10359         (_IO_old_do_write): Likewise.
10360         (old_do_write): Likewise.
10361         (_IO_old_file_underflow): Likewise.
10362         (_IO_old_file_overflow): Likewise.
10363         (_IO_old_file_sync): Likewise.
10364         (_IO_old_file_seekoff): Likewise.
10365         (_IO_old_file_write): Likewise.
10366         (_IO_old_file_xsputn): Likewise.
10367         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10368         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10369         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10370         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10371         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10372         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10373         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10374         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10375         (_IO_old_popen): Likewise.
10376         (_IO_old_proc_close): Likewise.
10377         * libio/oldpclose.c (__old_pclose): Likewise.
10378         * libio/pclose.c (__new_pclose): Likewise.
10379         * libio/peekc.c (_IO_peekc_locked): Likewise.
10380         * libio/putc.c (_IO_putc): Likewise.
10381         * libio/putc_u.c (putc_unlocked): Likewise.
10382         * libio/putchar.c (putchar): Likewise.
10383         * libio/putchar_u.c (putchar_unlocked): Likewise.
10384         * libio/putwc.c (putwc): Likewise.
10385         * libio/putwc_u.c (putwc_unlocked): Likewise.
10386         * libio/putwchar.c (putwchar): Likewise.
10387         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10388         * libio/rewind.c (rewind): Likewise.
10389         * libio/setbuf.c (setbuf): Likewise.
10390         * libio/setlinebuf.c (setlinebuf): Likewise.
10391         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10392         * libio/vscanf.c (_IO_vscanf): Likewise.
10393         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10394         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10395         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10396         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10397         (_IO_switch_to_main_wget_area): Likewise.
10398         (_IO_switch_to_wbackup_area): Likewise.
10399         (_IO_wsetb): Likewise.
10400         (_IO_wdefault_pbackfail): Likewise.
10401         (_IO_wdefault_finish): Likewise.
10402         (_IO_wdefault_uflow): Likewise.
10403         (__woverflow): Likewise.
10404         (__wuflow): Likewise.
10405         (__wunderflow): Likewise.
10406         (_IO_wdefault_xsputn): Likewise.
10407         (_IO_wdefault_xsgetn): Likewise.
10408         (_IO_wdoallocbuf): Likewise.
10409         (_IO_wdefault_doallocate): Likewise.
10410         (_IO_switch_to_wget_mode): Likewise.
10411         (_IO_free_wbackup_area): Likewise.
10412         (_IO_switch_to_wput_mode): Likewise.
10413         (_IO_sputbackwc): Likewise.
10414         (_IO_sungetwc): Likewise.
10415         (_IO_adjust_wcolumn): Likewise.
10416         (_IO_init_wmarker): Likewise.
10417         (_IO_wmarker_delta): Likewise.
10418         (_IO_seekwmark): Likewise.
10419         (_IO_unsave_wmarkers): Likewise.
10420         * libio/wmemstream.c (open_wmemstream): Likewise.
10421         (_IO_wmem_sync): Likewise.
10422         (_IO_wmem_finish): Likewise.
10423         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10424         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10425         * locale/programs/simple-hash.c (init_hash): Likewise.
10426         (delete_hash): Likewise.
10427         (insert_entry): Likewise.
10428         (set_entry): Likewise.
10429         (next_prime): Likewise.
10430         (is_prime): Likewise.
10431         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10432         (xmalloc): Likewise.
10433         (xrealloc): Likewise.
10434         * locale/programs/xstrdup.c (xstrdup): Likewise.
10435         * localedata/collate-test.c (xstrcoll): Likewise.
10436         * localedata/xfrm-test.c (xstrcmp): Likewise.
10437         * login/getlogin_r.c (__getlogin_r): Likewise.
10438         * login/getpt.c (__posix_openpt): Likewise.
10439         * login/login_tty.c (login_tty): Likewise.
10440         * login/setlogin.c (setlogin): Likewise.
10441         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10442         (mach_msg_destroy_port): Likewise.
10443         (mach_msg_destroy_memory): Likewise.
10444         * malloc/mcheck.c (flood): Likewise.
10445         * misc/acct.c (acct): Likewise.
10446         * misc/brk.c (__brk): Likewise.
10447         * misc/chflags.c (chflags): Likewise.
10448         * misc/chroot.c (chroot): Likewise.
10449         * misc/fchflags.c (fchflags): Likewise.
10450         * misc/fstab.c (getfsspec): Likewise.
10451         (getfsfile): Likewise.
10452         * misc/fsync.c (fsync): Likewise.
10453         * misc/ftruncate.c (__ftruncate): Likewise.
10454         * misc/ftruncate64.c (__ftruncate64): Likewise.
10455         * misc/getdomain.c (getdomainname): Likewise.
10456         (getdomainname): Likewise.
10457         * misc/gethostname.c (__gethostname): Likewise.
10458         * misc/getpass.c (getpass): Likewise.
10459         * misc/getttyent.c (skip): Likewise.
10460         (value): Likewise.
10461         * misc/gtty.c (gtty): Likewise.
10462         * misc/hsearch.c (hsearch): Likewise.
10463         (hcreate): Likewise.
10464         * misc/hsearch_r.c (__hcreate_r): Likewise.
10465         (__hdestroy_r): Likewise.
10466         * misc/ioctl.c (__ioctl): Likewise.
10467         * misc/mkdtemp.c (mkdtemp): Likewise.
10468         * misc/mkostemp.c (mkostemp): Likewise.
10469         * misc/mkostemp64.c (mkostemp64): Likewise.
10470         * misc/mkostemps.c (mkostemps): Likewise.
10471         * misc/mkostemps64.c (mkostemps64): Likewise.
10472         * misc/mkstemp.c (mkstemp): Likewise.
10473         * misc/mkstemp64.c (mkstemp64): Likewise.
10474         * misc/mkstemps.c (mkstemps): Likewise.
10475         * misc/mkstemps64.c (mkstemps64): Likewise.
10476         * misc/mktemp.c (__mktemp): Likewise.
10477         * misc/preadv.c (preadv): Likewise.
10478         * misc/preadv64.c (preadv64): Likewise.
10479         * misc/pwritev.c (pwritev): Likewise.
10480         * misc/pwritev64.c (pwritev64): Likewise.
10481         * misc/readv.c (__readv): Likewise.
10482         * misc/revoke.c (revoke): Likewise.
10483         * misc/setdomain.c (setdomainname): Likewise.
10484         * misc/setegid.c (setegid): Likewise.
10485         * misc/seteuid.c (seteuid): Likewise.
10486         * misc/sethostid.c (sethostid): Likewise.
10487         * misc/sethostname.c (sethostname): Likewise.
10488         * misc/setregid.c (__setregid): Likewise.
10489         * misc/setreuid.c (__setreuid): Likewise.
10490         * misc/sstk.c (sstk): Likewise.
10491         * misc/stty.c (stty): Likewise.
10492         * misc/syscall.c (syscall): Likewise.
10493         * misc/syslog.c (setlogmask): Likewise.
10494         * misc/truncate.c (__truncate): Likewise.
10495         * misc/truncate64.c (truncate64): Likewise.
10496         * misc/ualarm.c (ualarm): Likewise.
10497         * misc/usleep.c (usleep): Likewise.
10498         * misc/ustat.c (ustat): Likewise.
10499         * misc/writev.c (__writev): Likewise.
10500         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10501         * nptl/old_pthread_cond_broadcast.c
10502         (__pthread_cond_broadcast_2_0): Likewise.
10503         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10504         Likewise.
10505         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10506         Likewise.
10507         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10508         Likewise.
10509         * nptl/pt-raise.c (raise): Likewise.
10510         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10511         Likewise.
10512         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10513         * nptl/pthread_barrierattr_destroy.c
10514         (pthread_barrierattr_destroy): Likewise.
10515         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10516         Likewise.
10517         * nptl/pthread_barrierattr_setpshared.c
10518         (pthread_barrierattr_setpshared): Likewise.
10519         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10520         Likewise.
10521         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10522         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10523         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10524         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10525         Likewise.
10526         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10527         Likewise.
10528         * nptl/pthread_condattr_getpshared.c
10529         (pthread_condattr_getpshared): Likewise.
10530         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10531         Likewise.
10532         * nptl/pthread_condattr_setpshared.c
10533         (pthread_condattr_setpshared): Likewise.
10534         * nptl/pthread_detach.c (pthread_detach): Likewise.
10535         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10536         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10537         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10538         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10539         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10540         Likewise.
10541         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10542         Likewise.
10543         * nptl/pthread_mutex_getprioceiling.c
10544         (pthread_mutex_getprioceiling): Likewise.
10545         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10546         Likewise.
10547         * nptl/pthread_mutexattr_getprotocol.c
10548         (pthread_mutexattr_getprotocol): Likewise.
10549         * nptl/pthread_mutexattr_getpshared.c
10550         (pthread_mutexattr_getpshared): Likewise.
10551         * nptl/pthread_mutexattr_getrobust.c
10552         (pthread_mutexattr_getrobust): Likewise.
10553         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10554         Likewise.
10555         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10556         Likewise.
10557         * nptl/pthread_mutexattr_setprioceiling.c
10558         (pthread_mutexattr_setprioceiling): Likewise.
10559         * nptl/pthread_mutexattr_setprotocol.c
10560         (pthread_mutexattr_setprotocol): Likewise.
10561         * nptl/pthread_mutexattr_setpshared.c
10562         (pthread_mutexattr_setpshared): Likewise.
10563         * nptl/pthread_mutexattr_setrobust.c
10564         (pthread_mutexattr_setrobust): Likewise.
10565         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10566         Likewise.
10567         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10568         Likewise.
10569         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10570         Likewise.
10571         * nptl/pthread_rwlockattr_getkind_np.c
10572         (pthread_rwlockattr_getkind_np): Likewise.
10573         * nptl/pthread_rwlockattr_getpshared.c
10574         (pthread_rwlockattr_getpshared): Likewise.
10575         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10576         Likewise.
10577         * nptl/pthread_rwlockattr_setkind_np.c
10578         (pthread_rwlockattr_setkind_np): Likewise.
10579         * nptl/pthread_rwlockattr_setpshared.c
10580         (pthread_rwlockattr_setpshared): Likewise.
10581         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10582         Likewise.
10583         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10584         Likewise.
10585         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10586         Likewise.
10587         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10588         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10589         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10590         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10591         * nptl/sem_close.c (sem_close): Likewise.
10592         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10593         * nptl/sem_init.c (__old_sem_init): Likewise.
10594         * nptl/sigaction.c (__sigaction): Likewise.
10595         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10596         * posix/_exit.c (_exit): Likewise.
10597         * posix/alarm.c (alarm): Likewise.
10598         * posix/confstr.c (confstr): Likewise.
10599         * posix/fpathconf.c (__fpathconf): Likewise.
10600         * posix/getgroups.c (__getgroups): Likewise.
10601         * posix/getpgid.c (__getpgid): Likewise.
10602         * posix/group_member.c (__group_member): Likewise.
10603         * posix/pathconf.c (__pathconf): Likewise.
10604         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10605         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10606         * posix/setgid.c (__setgid): Likewise.
10607         * posix/setpgid.c (__setpgid): Likewise.
10608         * posix/setuid.c (__setuid): Likewise.
10609         * posix/sleep.c (__sleep): Likewise.
10610         * posix/sysconf.c (__sysconf): Likewise.
10611         * posix/times.c (__times): Likewise.
10612         * posix/uname.c (__uname): Likewise.
10613         * posix/waitid.c (__waitid): Likewise.
10614         * pwd/getpw.c (__getpw): Likewise.
10615         * resolv/base64.c (b64_pton): Likewise.
10616         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10617         * resolv/gethnamaddr.c (Dprintf): Likewise.
10618         (gethostbyname): Likewise.
10619         (gethostbyname2): Likewise.
10620         (gethostbyaddr): Likewise.
10621         (_sethtent): Likewise.
10622         (_gethtbyname): Likewise.
10623         (_gethtbyname2): Likewise.
10624         (_gethtbyaddr): Likewise.
10625         (map_v4v6_address): Likewise.
10626         (map_v4v6_hostent): Likewise.
10627         (addrsort): Likewise.
10628         (ht_sethostent): Likewise.
10629         (ht_gethostbyname): Likewise.
10630         (ht_gethostbyaddr): Likewise.
10631         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10632         (inet_net_ntop_ipv4): Likewise.
10633         * resolv/inet_neta.c (inet_neta): Likewise.
10634         * resolv/inet_ntop.c (inet_ntop): Likewise.
10635         (inet_ntop4): Likewise.
10636         (inet_ntop6): Likewise.
10637         * resolv/inet_pton.c (__inet_pton): Likewise.
10638         (inet_pton4): Likewise.
10639         (inet_pton6): Likewise.
10640         * resolv/res_debug.c (loc_aton): Likewise.
10641         (loc_ntoa): Likewise.
10642         * resource/getpriority.c (__getpriority): Likewise.
10643         * resource/getrusage.c (__getrusage): Likewise.
10644         * resource/nice.c (nice): Likewise.
10645         * resource/setpriority.c (__setpriority): Likewise.
10646         * resource/setrlimit64.c (setrlimit64): Likewise.
10647         * resource/vlimit.c (vlimit): Likewise.
10648         * resource/vtimes.c (vtimes): Likewise.
10649         * rt/aio_error.c (aio_error): Likewise.
10650         * rt/aio_return.c (aio_return): Likewise.
10651         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10652         * signal/kill.c (__kill): Likewise.
10653         * signal/killpg.c (killpg): Likewise.
10654         * signal/raise.c (raise): Likewise.
10655         * signal/sigaction.c (__sigaction): Likewise.
10656         * signal/sigaddset.c (sigaddset): Likewise.
10657         * signal/sigaltstack.c (sigaltstack): Likewise.
10658         * signal/sigandset.c (sigandset): Likewise.
10659         * signal/sigblock.c (__sigblock): Likewise.
10660         * signal/sigdelset.c (sigdelset): Likewise.
10661         * signal/sigempty.c (sigemptyset): Likewise.
10662         * signal/sigfillset.c (sigfillset): Likewise.
10663         * signal/sighold.c (sighold): Likewise.
10664         * signal/sigignore.c (sigignore): Likewise.
10665         * signal/sigintr.c (siginterrupt): Likewise.
10666         * signal/sigisempty.c (sigisemptyset): Likewise.
10667         * signal/sigismem.c (sigismember): Likewise.
10668         * signal/signal.c (signal): Likewise.
10669         * signal/sigorset.c (sigorset): Likewise.
10670         * signal/sigpause.c (__sigpause): Likewise.
10671         * signal/sigpending.c (sigpending): Likewise.
10672         * signal/sigprocmask.c (__sigprocmask): Likewise.
10673         * signal/sigrelse.c (sigrelse): Likewise.
10674         * signal/sigreturn.c (__sigreturn): Likewise.
10675         * signal/sigset.c (sigset): Likewise.
10676         * signal/sigsetmask.c (__sigsetmask): Likewise.
10677         * signal/sigstack.c (sigstack): Likewise.
10678         * signal/sigsuspend.c (__sigsuspend): Likewise.
10679         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10680         * signal/sysv_signal.c (__sysv_signal): Likewise.
10681         * socket/accept.c (accept): Likewise.
10682         * socket/accept4.c (__libc_accept4): Likewise.
10683         * socket/bind.c (__bind): Likewise.
10684         * socket/connect.c (__connect): Likewise.
10685         * socket/getpeername.c (getpeername): Likewise.
10686         * socket/getsockname.c (__getsockname): Likewise.
10687         * socket/getsockopt.c (getsockopt): Likewise.
10688         * socket/listen.c (__listen): Likewise.
10689         * socket/recv.c (__recv): Likewise.
10690         * socket/recvmsg.c (__recvmsg): Likewise.
10691         * socket/send.c (__send): Likewise.
10692         * socket/sendmsg.c (__sendmsg): Likewise.
10693         * socket/shutdown.c (shutdown): Likewise.
10694         * socket/sockatmark.c (sockatmark): Likewise.
10695         * socket/socket.c (__socket): Likewise.
10696         * stdio-common/ctermid.c (ctermid): Likewise.
10697         * stdio-common/cuserid.c (cuserid): Likewise.
10698         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10699         * stdio-common/remove.c (remove): Likewise.
10700         * stdio-common/rename.c (rename): Likewise.
10701         * stdio-common/renameat.c (renameat): Likewise.
10702         * stdio-common/tempname.c (__gen_tempname): Likewise.
10703         * stdio-common/xbug.c (InitBuffer): Likewise.
10704         (AppendToBuffer): Likewise.
10705         (ReadFile): Likewise.
10706         * stdlib/a64l.c (a64l): Likewise.
10707         * stdlib/drand48_r.c (drand48_r): Likewise.
10708         * stdlib/getcontext.c (getcontext): Likewise.
10709         * stdlib/getenv.c (getenv): Likewise.
10710         * stdlib/l64a.c (l64a): Likewise.
10711         * stdlib/llabs.c (llabs): Likewise.
10712         * stdlib/lldiv.c (lldiv): Likewise.
10713         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10714         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10715         * stdlib/putenv.c (putenv): Likewise.
10716         * stdlib/random.c (__srandom): Likewise.
10717         (__initstate): Likewise.
10718         (__setstate): Likewise.
10719         * stdlib/random_r.c (__srandom_r): Likewise.
10720         (__setstate_r): Likewise.
10721         (__random_r): Likewise.
10722         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10723         * stdlib/setcontext.c (setcontext): Likewise.
10724         * stdlib/setenv.c (setenv): Likewise.
10725         (unsetenv): Likewise.
10726         * stdlib/srand48.c (srand48): Likewise.
10727         * stdlib/srand48_r.c (__srand48_r): Likewise.
10728         * stdlib/swapcontext.c (swapcontext): Likewise.
10729         * stdlib/system.c (__libc_system): Likewise.
10730         * stdlib/tst-strtod.c (expand): Likewise.
10731         * stdlib/tst-strtol.c (expand): Likewise.
10732         * stdlib/tst-strtoll.c (expand): Likewise.
10733         * streams/fattach.c (fattach): Likewise.
10734         * streams/fdetach.c (fdetach): Likewise.
10735         * streams/getmsg.c (getmsg): Likewise.
10736         * streams/isastream.c (isastream): Likewise.
10737         * string/ffs.c (__ffs): Likewise.
10738         * string/ffsll.c (ffsll): Likewise.
10739         * string/memcmp.c (memcmp_common_alignment): Likewise.
10740         (memcmp_not_common_alignment): Likewise.
10741         (MEMCMP): Likewise.
10742         * string/memcpy.c (memcpy): Likewise.
10743         * string/memmove.c (MEMMOVE): Likewise.
10744         * string/memset.c (memset): Likewise.
10745         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10746         * string/strchrnul.c (STRCHRNUL): Likewise.
10747         * string/strerror.c (strerror): Likewise.
10748         * string/strndup.c (__strndup): Likewise.
10749         * string/strverscmp.c (__strverscmp): Likewise.
10750         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10751         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10752         (clnttcp_freeres): Likewise.
10753         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10754         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10755         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10756         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10757         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10758         (xdr_callhdr): Likewise.
10759         * sunrpc/rpcinfo.c (udpping): Likewise.
10760         (tcpping): Likewise.
10761         (pstatus): Likewise.
10762         (pmapdump): Likewise.
10763         (brdcst): Likewise.
10764         (deletereg): Likewise.
10765         (getprognum): Likewise.
10766         (getvers): Likewise.
10767         (get_inet_address): Likewise.
10768         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10769         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10770         (svcudp_stat): Likewise.
10771         (svcudp_recv): Likewise.
10772         (svcudp_reply): Likewise.
10773         (svcudp_getargs): Likewise.
10774         (svcudp_freeargs): Likewise.
10775         (svcudp_destroy): Likewise.
10776         * sunrpc/xdr.c (xdr_bytes): Likewise.
10777         (xdr_netobj): Likewise.
10778         (xdr_string): Likewise.
10779         (xdr_wrapstring): Likewise.
10780         * sunrpc/xdr_float.c (xdr_float): Likewise.
10781         (xdr_double): Likewise.
10782         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10783         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10784         * sysvipc/ftok.c (ftok): Likewise.
10785         * sysvipc/msgctl.c (msgctl): Likewise.
10786         * sysvipc/msgget.c (msgget): Likewise.
10787         * sysvipc/msgrcv.c (msgrcv): Likewise.
10788         * sysvipc/msgsnd.c (msgsnd): Likewise.
10789         * sysvipc/semget.c (semget): Likewise.
10790         * sysvipc/semop.c (semop): Likewise.
10791         * sysvipc/shmat.c (shmat): Likewise.
10792         * sysvipc/shmctl.c (shmctl): Likewise.
10793         * sysvipc/shmdt.c (shmdt): Likewise.
10794         * sysvipc/shmget.c (shmget): Likewise.
10795         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10796         * termios/speed.c (cfgetospeed): Likewise.
10797         (cfgetispeed): Likewise.
10798         (cfsetospeed): Likewise.
10799         (cfsetispeed): Likewise.
10800         * termios/tcflow.c (tcflow): Likewise.
10801         * termios/tcflush.c (tcflush): Likewise.
10802         * termios/tcgetattr.c (__tcgetattr): Likewise.
10803         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10804         * termios/tcgetsid.c (tcgetsid): Likewise.
10805         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10806         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10807         * time/adjtime.c (__adjtime): Likewise.
10808         * time/dysize.c (dysize): Likewise.
10809         * time/ftime.c (ftime): Likewise.
10810         * time/getitimer.c (__getitimer): Likewise.
10811         * time/gettimeofday.c (__gettimeofday): Likewise.
10812         * time/gmtime.c (__gmtime_r): Likewise.
10813         (gmtime): Likewise.
10814         * time/localtime.c (__localtime_r): Likewise.
10815         (localtime): Likewise.
10816         * time/offtime.c (__offtime): Likewise.
10817         * time/settimeofday.c (__settimeofday): Likewise.
10818         * time/stime.c (stime): Likewise.
10819         * time/strftime_l.c (tm_diff): Likewise.
10820         (iso_week_days): Likewise.
10821         * time/strptime.c (strptime): Likewise.
10822         * time/time.c (time): Likewise.
10823         * time/timespec_get.c (timespec_get): Likewise.
10824         * time/tzset.c (tzset_internal): Likewise.
10825         (compute_change): Likewise.
10826         (__tz_compute): Likewise.
10827         * wcsmbs/btowc.c (__btowc): Likewise.
10828         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10829         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10830         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10831         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10832         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10833         * wcsmbs/wcscat.c (__wcscat): Likewise.
10834         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10835         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10836         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10837         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10838         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10839         * wcsmbs/wcslen.c (__wcslen): Likewise.
10840         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10841         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10842         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10843         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10844         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10845         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10846         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10847         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10848         * wcsmbs/wcstok.c (wcstok): Likewise.
10849         * wcsmbs/wctob.c (wctob): Likewise.
10850         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10851         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10852         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10853         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10854         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10855         * wcsmbs/wmemset.c (__wmemset): Likewise.
10856         * wctype/wcfuncs.c (__towlower): Likewise.
10857         (__towupper): Likewise.
10859         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10860         (lll_unlock_elision): Add adapt_count parameter.
10862 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10864         * sysdeps/nptl/configure.ac: Do not give errors based on the
10865         results of top-level configure tests.
10866         * sysdeps/nptl/configure: Regenerated.
10868         * configure.ac (libc_cv_Bgroup): Remove configure test.
10869         * configure: Regenerated.
10870         * config.make.in (have-Bgroup): Remove variable.
10872         * configure.ac (sizeof_long_double): Remove configure test.
10873         * configure: Regenerated.
10874         * config.make.in (sizeof-long-double): Remove variable.
10876         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10877         * configure: Regenerated.
10878         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10879         variable.
10880         (exceptions): Likewise.
10881         * sysdeps/arm/configure: Regenerated.
10882         * config.make.in (exceptions): Remove variable.
10883         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10884         $(exceptions).
10885         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10886         (CFLAGS-vdprintf_chk.c): Likewise.
10887         (CFLAGS-printf_chk.c): Likewise.
10888         (CFLAGS-fprintf_chk.c): Likewise.
10889         (CFLAGS-vprintf_chk.c): Likewise.
10890         (CFLAGS-vfprintf_chk.c): Likewise.
10891         (CFLAGS-gets_chk.c): Likewise.
10892         (CFLAGS-fgets_chk.c): Likewise.
10893         (CFLAGS-fgets_u_chk.c): Likewise.
10894         (CFLAGS-fread_chk.c): Likewise.
10895         (CFLAGS-fread_u_chk.c): Likewise.
10896         (CFLAGS-wprintf_chk.c): Likewise.
10897         (CFLAGS-fwprintf_chk.c): Likewise.
10898         (CFLAGS-vwprintf_chk.c): Likewise.
10899         (CFLAGS-vfwprintf_chk.c): Likewise.
10900         (CFLAGS-fgetws_chk.c): Likewise.
10901         (CFLAGS-fgetws_u_chk.c): Likewise.
10902         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10903         (CFLAGS-fputc.c): Likewise.
10904         (CFLAGS-fputwc.c): Likewise.
10905         (CFLAGS-freopen64.c): Likewise.
10906         (CFLAGS-freopen.c): Likewise.
10907         (CFLAGS-fseek.c): Likewise.
10908         (CFLAGS-fseeko64.c): Likewise.
10909         (CFLAGS-fseeko.c): Likewise.
10910         (CFLAGS-ftello64.c): Likewise.
10911         (CFLAGS-ftello.c): Likewise.
10912         (CFLAGS-fwide.c): Likewise.
10913         (CFLAGS-genops.c): Likewise.
10914         (CFLAGS-getc.c): Likewise.
10915         (CFLAGS-getchar.c): Likewise.
10916         (CFLAGS-getwc.c): Likewise.
10917         (CFLAGS-getwchar.c): Likewise.
10918         (CFLAGS-iofclose.c): Likewise.
10919         (CFLAGS-iofflush.c): Likewise.
10920         (CFLAGS-iofgetpos64.c): Likewise.
10921         (CFLAGS-iofgetpos.c): Likewise.
10922         (CFLAGS-iofgets.c): Likewise.
10923         (CFLAGS-iofgetws.c): Likewise.
10924         (CFLAGS-iofputs.c): Likewise.
10925         (CFLAGS-iofputws.c): Likewise.
10926         (CFLAGS-iofread.c): Likewise.
10927         (CFLAGS-iofsetpos64.c): Likewise.
10928         (CFLAGS-iofsetpos.c): Likewise.
10929         (CFLAGS-ioftell.c): Likewise.
10930         (CFLAGS-iofwrite.c): Likewise.
10931         (CFLAGS-iogetdelim.c): Likewise.
10932         (CFLAGS-iogetline.c): Likewise.
10933         (CFLAGS-iogets.c): Likewise.
10934         (CFLAGS-iogetwline.c): Likewise.
10935         (CFLAGS-ioputs.c): Likewise.
10936         (CFLAGS-ioseekoff.c): Likewise.
10937         (CFLAGS-ioseekpos.c): Likewise.
10938         (CFLAGS-iosetbuffer.c): Likewise.
10939         (CFLAGS-iosetvbuf.c): Likewise.
10940         (CFLAGS-ioungetc.c): Likewise.
10941         (CFLAGS-ioungetwc.c): Likewise.
10942         (CFLAGS-oldfileops.c): Likewise.
10943         (CFLAGS-oldiofclose.c): Likewise.
10944         (CFLAGS-oldiofgetpos64.c): Likewise.
10945         (CFLAGS-oldiofgetpos.c): Likewise.
10946         (CFLAGS-oldiofsetpos64.c): Likewise.
10947         (CFLAGS-oldiofsetpos.c): Likewise.
10948         (CFLAGS-peekc.c): Likewise.
10949         (CFLAGS-putc.c): Likewise.
10950         (CFLAGS-putchar.c): Likewise.
10951         (CFLAGS-putwc.c): Likewise.
10952         (CFLAGS-putwchar.c): Likewise.
10953         (CFLAGS-rewind.c): Likewise.
10954         (CFLAGS-wfileops.c): Likewise.
10955         (CFLAGS-wgenops.c): Likewise.
10956         (CFLAGS-oldiofopen.c): Likewise.
10957         (CFLAGS-iofopen.c): Likewise.
10958         (CFLAGS-iofopen64.c): Likewise.
10959         (CFLAGS-oldtmpfile.c): Likewise.
10960         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10961         (CFLAGS-fprintf.c): Likewise.
10962         (CFLAGS-printf.c): Likewise.
10963         (CFLAGS-vfwprintf.c): Likewise.
10964         (CFLAGS-vfscanf.c): Likewise.
10965         (CFLAGS-vfwscanf.c): Likewise.
10966         (CFLAGS-fscanf.c): Likewise.
10967         (CFLAGS-scanf.c): Likewise.
10968         (CFLAGS-isoc99_vfscanf.c): Likewise.
10969         (CFLAGS-isoc99_vscanf.c): Likewise.
10970         (CFLAGS-isoc99_fscanf.c): Likewise.
10971         (CFLAGS-isoc99_scanf.c): Likewise.
10972         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10973         (CFLAGS-isoc99_fwscanf.c): Likewise.
10974         (CFLAGS-isoc99_vwscanf.c): Likewise.
10975         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10977         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10978         after mkstemp64.
10979         * login/tst-utmp.c (do_prepare): Likewise.
10980         * rt/tst-aio.c (do_prepare): Likewise.
10981         * rt/tst-aio64.c (do_prepare): Likewise.
10983 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10985         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10986         (__lll_lock_elision): Remove adapt_count decrement...
10987         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10988         (__lll_trylock_elision): Likewise.
10989         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10990         (__lll_unlock_elision): ... to here. And utilize
10991         new adapt_count parameter.
10992         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10993         (__lll_unlock_elision): Update to include adapt_count
10994         parameter.
10995         (lll_unlock_elision): Pass pointer to adapt_count
10996         variable.
10998 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11000         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11001         Add elision adapt_count parameter to list of arguments.
11002         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11003         (lll_unlock_elision): Update with new parameter list
11004         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11005         (lll_unlock_elision): Likewise.
11006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11007         (lll_unlock_elision): Likewise.
11009 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11011         [BZ #19122]
11012         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11013         attribute_hidden.
11015         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11016         attribute_hidden.
11017         [IS_IN (rtld)] (__strdup): Likewise.
11018         [IS_IN (rtld)] (__strerror_r): Likewise.
11019         [IS_IN (rtld)] (__strsep_g): Likewise.
11020         [IS_IN (rtld)] (memchr): Likewise.
11021         [IS_IN (rtld)] (memcmp): Likewise.
11022         [IS_IN (rtld)] (memcpy): Likewise.
11023         [IS_IN (rtld)] (memmove): Likewise.
11024         [IS_IN (rtld)] (memset): Likewise.
11025         [IS_IN (rtld)] (rawmemchr): Likewise.
11026         [IS_IN (rtld)] (stpcpy): Likewise.
11027         [IS_IN (rtld)] (strchr): Likewise.
11028         [IS_IN (rtld)] (strcmp): Likewise.
11029         [IS_IN (rtld)] (strlen): Likewise.
11030         [IS_IN (rtld)] (strnlen): Likewise.
11031         [IS_IN (rtld)] (strsep): Likewise.
11033         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11034         attribute_hidden.
11035         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11037         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11038         attribute_hidden.
11039         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11041         * include/setjmp.h (__longjmp): Add attribute_hidden.
11042         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11044         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11045         Add attribute_hidden.
11047         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11048         [IS_IN (rtld)] (__open): Likewise.
11049         [IS_IN (rtld)] (__fcntl): Likewise.
11051         * include/dirent.h (__opendirat): Add attribute_hidden.
11052         (__getdents): Likewise.
11053         (__getdents64): Likewise.
11054         (__alloc_dir): Likewise.
11055         [IS_IN (rtld)] (__closedir): Likewise.
11056         [IS_IN (rtld)] (__fdopendir): Likewise.
11057         [IS_IN (rtld)] (__readdir): Likewise.
11058         [IS_IN (rtld)] (__readdir64): Likewise.
11059         [IS_IN (rtld)] (__rewinddir): Likewise.
11061         * include/dlfcn.h (_dl_catch_error): Moved to ...
11062         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11063         attribute_hidden.
11065         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11066         (_itoa_word): Likewise.
11068         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11069         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11070         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11071         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11072         (_dl_higher_prime_number): Likewise.
11073         (_dl_debug_printf_c): Likewise.
11074         (_dl_signal_cerror): Likewise.
11075         (_dl_receive_error): Likewise.
11076         (_dl_reloc_bad_type): Likewise.
11077         (_dl_resolve_conflicts): Likewise.
11078         (_dl_check_all_versions): Likewise.
11079         (_dl_check_map_versions): Likewise.
11080         (_dl_sort_fini): Likewise.
11081         (_dl_debug_initialize): Likewise.
11082         (_dl_init_paths): Likewise.
11083         (_dl_show_auxv): Likewise.
11084         (_dl_next_ld_env_entry): Likewise.
11085         (_dl_important_hwcaps): Likewise.
11086         (_dl_load_cache_lookup): Likewise.
11087         (_dl_update_slotinfo): Likewise.
11088         (_dl_show_scope): Likewise.
11090         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11091         attribute_hidden.
11092         (_wordcopy_fwd_dest_aligned): Likewise.
11093         (_wordcopy_bwd_aligned): Likewise.
11094         (_wordcopy_bwd_dest_aligned): Likewise.
11096         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11097         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11098         Likewise.
11099         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11100         Likewise.
11101         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11103 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11105         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11106         GCC 5 requirement.
11108 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11110         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11111         test.
11112         * sysdeps/i386/configure: Regenerated.
11113         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11114         code unconditional.
11116         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11117         test.
11118         (libc_cv_asm_popsection_directive): Likewise.
11119         * configure: Regenerated.
11120         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11121         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11122         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11123         (__make_section_unallocated): Make definition unconditional.
11124         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11125         Remove conditional definition.
11126         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11127         (__make_section_unallocated): Likewise.
11129         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11130         * configure: Regenerated.
11131         * config.make.in (static-libgcc): Remove variable.
11132         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11133         $(static-libgcc).
11134         (build-module-helper): Likewise.
11136         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11137         * configure: Regenerated.
11139 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11141         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11142         (struct char_buffer): New type.
11143         (char_buffer_start, char_buffer_size, char_buffer_error)
11144         (char_buffer_rewind, char_buffer_add): New functions.
11145         (ADDW): Remove macro, replaced by the char_buffer_add function.
11146         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11147         of extend_alloca.  Make control flow more explicit.
11149 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11151         [BZ #19137]
11152         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11153         Add -fomit-frame-pointer.
11154         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11156 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11158         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11159         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11160         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11161         only if !__GNUC_PREREQ (5,0).
11162         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11163         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11164         (INTERNAL_SYSCALL_NCS): Likewise.
11165         (LOADREGS_0): New macro for GCC 5.
11166         (ASMARGS_0): Likewise.
11167         (LOADREGS_1): Likewise.
11168         (ASMARGS_1): Likewise.
11169         (LOADREGS_2): Likewise.
11170         (ASMARGS_2): Likewise.
11171         (LOADREGS_3): Likewise.
11172         (ASMARGS_3): Likewise.
11173         (LOADREGS_4): Likewise.
11174         (ASMARGS_4): Likewise.
11175         (LOADREGS_5): Likewise.
11176         (ASMARGS_5): Likewise.
11177         (LOADREGS_6): Likewise.
11178         (ASMARGS_6): Likewise.
11180 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11182         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11183         -fomit-frame-pointer.
11184         (CFLAGS-mmap64.c): Likewise.
11185         (CFLAGS-semtimedop.c): Likewise.
11186         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11187         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11188         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11189         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11191 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11193         [BZ #18928]
11194         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11195         _dl_pointer_guard member.
11196         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11197         initializer.
11198         (security_init): Always set up pointer guard.
11199         (process_envvars): Do not process LD_POINTER_GUARD.
11201 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11203         [BZ #19134]
11204         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11205         (.LC2): Likewise.
11206         (.LC3): Likewise.
11207         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11209 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11211         [BZ #19129]
11212         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11213         r0 and r1.
11215 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11217         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11219 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11221         * include/stap-probe.h: Fix macro definition formatting.
11223 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11225         [BZ #19074]
11226         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11227         load and store num_ifs.
11229 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11231         [BZ #18822]
11232         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11233         (__sched_getaffinity_new): Add libc_hidden_proto and
11234         libc_hidden_def.
11236 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11238         [BZ #19007]
11239         * scripts/localplt.awk: Also allow GOT references.
11240         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11241         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11242         with "+ REL R_386_GLOB_DAT".
11243         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11244         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11246 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11248         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11249         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11250         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11251         Likewise.
11252         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11253         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11254         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11255         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11256         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11257         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11258         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11259         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11260         Likewise.
11261         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11263 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11265         [BZ #19125]
11266         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11267         <math_private.h> and <stdint.h>.
11268         (__llround): Avoid conversions to and from long long int, and
11269         subtractions, where those might raise spurious exceptions.
11270         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11271         <math_private.h> and <stdint.h>.
11272         (__llroundf): Avoid conversions to and from long long int, and
11273         subtractions, where those might raise spurious exceptions.
11275 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11277         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11278         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11279         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11280         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11281         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11282         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11283         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11284         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11285         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11286         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11287         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11288         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11289         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11290         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11291         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11292         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11293         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11294         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11295         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11296         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11297         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11298         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11299         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11300         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11301         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11302         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11303         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11304         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11305         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11306         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11307         (__xstat64_conv): Likewise.
11308         (__xstat32_conv): Likewise.
11310 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11312         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11313         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11314         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11315         <sysdeps/unix/sysv/linux/sysdep.h>.
11316         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11317         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11318         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11319         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11320         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11321         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11322         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11323         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11324         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11329         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11330         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11332         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11333         (sysdep-dl-routines): Add sysdep.
11334         [$(subdir) == nptl] (libpthread-routines): Likewise.
11335         [$(subdir) == rt] (librt-routines): Likewise.
11336         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11337         PIC when branching to SYSCALL_ERROR_LABEL.
11338         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11340         <sysdeps/unix/sysv/linux/sysdep.h>.
11341         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11342         (SYSCALL_ERROR_ERRNO): Removed.
11343         (SYSCALL_ERROR_HANDLER): Changed to empty.
11344         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11345         (__syscall_error): New prototype.
11346         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11347         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11349 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11351         [BZ #19124]
11352         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11353         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11354         _dl_runtime_resolve_avx.
11355         (_dl_runtime_profile_avx512): Make it a hidden alias of
11356         _dl_runtime_profile_avx.
11358 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11360         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11361         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11362         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11363         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11365         [BZ #16422]
11366         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11367         New configure test.
11368         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11369         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11370         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11371         <math_private.h> and <stdint.h>.
11372         (__llrint): Avoid conversions to long long int where those might
11373         raise spurious exceptions.
11374         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11375         <math_private.h> and <stdint.h>.
11376         (__llrintf): Avoid conversions to long long int where those might
11377         raise spurious exceptions.
11379 2015-10-12  Andreas Schwab  <schwab@suse.de>
11381         [BZ #18969]
11382         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11383         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11384         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11385         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11386         $(gen-locales).
11387         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11388         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11389         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11390         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11391         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11392         $(gen-locales).
11393         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11394         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11395         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11396         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11397         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11398         ($(objpfx)tst-ftell-active-handler.out)
11399         ($(objpfx)tst-ftell-append.out)
11400         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11401         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11402         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11403         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11404         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11405         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11406         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11407         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11408         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11409         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11410         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11411         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11412         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11413         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11414         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11415         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11416         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11417         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11418         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11419         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11420         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11421         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11422         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11423         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11424         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11425         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11426         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11427         $(gen-locales).
11428         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11429         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11430         $(gen-locales).
11431         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11432         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11433         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11434         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11435         $(gen-locales).
11436         * libio/tst_wprintf2.c (main): Use explicit locale.
11437         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11439 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11441         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11442         __msg_sig_post.
11443         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11445 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11447         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11448         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11450         * sysdeps/arm/libm-test-ulps: Regenerated.
11452         [BZ #15470]
11453         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11455         [BZ #16399]
11456         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11457         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11458         and <fix-fp-int-convert-overflow.h>.
11459         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11460         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11461         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11462         and <fix-fp-int-convert-overflow.h>.
11463         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11464         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11465         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11466         <fix-fp-int-convert-overflow.h>.
11467         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11468         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11469         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11470         <fix-fp-int-convert-overflow.h>.
11471         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11472         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11473         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11474         and <fix-fp-int-convert-overflow.h>.
11475         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11476         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11477         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11478         <limits.h> and <fix-fp-int-convert-overflow.h>.
11479         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11480         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11481         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11482         and <fix-fp-int-convert-overflow.h>.
11483         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11484         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11485         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11486         and <fix-fp-int-convert-overflow.h>.
11487         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11488         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11489         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11491 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11493         [BZ #18589]
11494         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11495         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11496         $(gen-locales).
11498 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11499             Phil Blundell <pb@pbcl.net>
11501         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11502         * nptl/tst-cancel26.c: New file.
11503         * nptl/tst-cancel27.c: Likewise.
11505 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11507         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11508         __ILP32__ isn't defined.
11509         (lrint): Likewise.
11510         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11511         (lrintf): Likewise.
11512         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11513         (lrintl): Likewise.
11514         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11515         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11516         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11518 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11520         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11521         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11523         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11524         file.
11525         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11526         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11528 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11530         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11531         configure test.
11532         * sysdeps/i386/configure: Regenerated.
11533         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11534         configure test.
11535         * sysdeps/x86_64/configure: Regenerated.
11536         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11537         Make code unconditional.
11539         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11540         test.
11541         * sysdeps/i386/configure: Regenerated.
11542         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11543         test.
11544         * sysdeps/x86_64/configure: Regenerated.
11545         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11546         Make code unconditional.
11547         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11548         Likewise.
11549         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11550         Likewise.
11551         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11552         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11553         code unconditional.
11554         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11555         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11556         code unconditional.
11557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11558         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11559         code unconditional.
11560         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11561         code unconditional.
11562         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11563         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11564         code unconditional.
11565         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11566         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11567         code unconditional.
11568         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11569         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11570         code unconditional.
11571         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11572         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11573         code unconditional.
11574         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11575         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11577         [BZ #19095]
11578         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11579         mantissa to long int before shifting left.
11581 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11583         [BZ #19094]
11584         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11585         <limits.h>.
11586         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11587         when result overflows but exception would not result from cast.
11588         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11589         <limits.h>.
11590         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11591         when result overflows but exception would not result from cast.
11592         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11593         <limits.h>.
11594         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11595         when result overflows but exception would not result from cast.
11596         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11597         <limits.h>.
11598         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11599         when result overflows but exception would not result from cast.
11600         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11601         <limits.h>.
11602         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11603         when result overflows but exception would not result from cast.
11604         * math/libm-test.inc (lrint_test_data): Add more tests.
11605         (llrint_test_data): Likewise.
11607 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11609         [BZ #18872]
11610         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11611         Move out from under [$(run-built-tests) = yes] conditional.
11612         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11613         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11615 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11617         [BZ #18589]
11618         * string/Makefile (tests): Add bug-strcoll2.
11619         (LOCALES): Add cs_CZ.UTF-8.
11620         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11622         [BZ #18589]
11623         * string/bug-strcoll2.c: New file.
11624         * locale/categories.def: Revert commit
11625         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11626         * locale/langinfo.h: Likewise.
11627         * locale/localeinfo.h: Likewise.
11628         * locale/C-collate.c: Likewise.
11629         * locale/programs/ld-collate.c (collate_output): Likewise.
11630         * string/strcoll_l.c (STRDIFF): Likewise.
11631         (STRCOLL): Likewise.
11632         * wcsmbs/wcscoll_l.c: Likewise.
11634 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11636         * math/libm-test.inc (lround_test_data): Do not expect the absence
11637         of "inexact" for some tests with non-integer arguments.
11638         (llround_test_data): Likewise.
11640         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11641         test.
11642         (libc_cv_cc_sse2avx): Likewise.
11643         * sysdeps/i386/configure: Regenerated.
11644         * sysdeps/i386/i686/multiarch/Makefile
11645         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11646         [$(subdir) = math].
11647         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11648         code unconditional.
11649         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11650         Likewise.
11651         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11652         Likewise.
11653         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11654         Likewise.
11655         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11656         test.
11657         (libc_cv_cc_sse2avx): Likewise.
11658         * sysdeps/x86_64/configure: Regenerated.
11659         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11660         unconditional.
11661         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11662         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11663         unconditional.
11664         (_dl_runtime_profile)
11665         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11666         conditional code.
11667         * sysdeps/x86_64/fpu/multiarch/Makefile
11668         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11669         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11671         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11672         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11673         * sysdeps/x86_64/fpu/multiarch/e_log.c
11674         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11675         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11676         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11677         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11678         Likewise.
11679         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11680         Likewise.
11681         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11682         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11683         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11684         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11685         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11686         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11687         (HAVE_SSE2AVX_SUPPORT): Likewise.
11689 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11691         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11692         instead of #pragma optimize.
11694 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11696         [BZ #17195]
11697         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11698         as is similarly done in systrim and _int_free already.
11700 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11702         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11704 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11706         [BZ #19088]
11707         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11708         <limits.h>.
11709         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11710         overflows but exception would not result from cast.
11711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11712         and <limits.h>.
11713         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11714         overflows but exception would not result from cast.
11715         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11716         <limits.h>.
11717         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11718         overflows but exception would not result from cast.
11719         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11720         <limits.h>.
11721         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11722         overflows but exception would not result from cast.
11723         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11724         <limits.h>.
11725         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11726         overflows but exception would not result from cast.
11727         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11728         <limits.h>.
11729         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11730         overflows but exception would not result from cast.
11731         * math/libm-test.inc (lround_test_data): Add more tests.
11732         (llround_test_data): Likewise.
11734 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11736         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11737         (CFLAGS-ialloc.c): Ditto.
11738         (CFLAGS-scheck.c): Ditto.
11740 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11742         [BZ #19086]
11743         * manual/filesys.texi (Storage Allocation): Fix argument order for
11744         posix_fallocate64.
11746 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11748         [BZ #19085]
11749         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11750         exponent below 48 inside case for non-overflowing exponent.
11751         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11753 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11755         * iconvdata/cp737.h (from_idx): Add const.
11756         * iconvdata/cp775.h (from_idx): Likewise.
11758 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11760         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11761         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11762         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11764         [BZ #19079]
11765         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11766         file, conditioned on [!_LP64].
11767         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11768         [!_LP64] (__lround): Do not define as function or alias.
11769         [!_LP64] (lround): Likewise.
11770         [!_LP64] (__lroundl): Likewise.
11771         [!_LP64] (lroundl): Likewise.
11772         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11773         macro.
11774         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11775         Likewise.
11777 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11779         * math/libm-test.inc (lrint_test_data): Add more tests.
11780         (llrint_test_data): Likewise.
11781         (lround_test_data): Likewise.
11782         (llround_test_data): Likewise.
11784         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11785         (llrint_test_data): Add tests used for lrint.
11787         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11788         test.
11789         * sysdeps/i386/configure: Regenerated.
11790         * sysdeps/i386/i686/multiarch/Makefile
11791         [$(config-cflags-sse4) = yes]: Make code unconditional.
11792         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11793         Likewise.
11794         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11795         Likewise.
11796         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11797         test.
11798         * sysdeps/x86_64/configure: Regenerated.
11799         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11800         Make code unconditional.
11801         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11802         Likewise.
11803         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11804         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11806         * scripts/rpm2dynsym.sh: Remove file.
11808 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11810         * configure.ac (libc_cv_cxx_thread_local): Define.
11811         * configure: Regenerate.
11812         * config.make.in (have-cxx-thread_local): Define.
11813         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11814         (LDLIBS-tst-thread_local1): Define.
11815         (tests): Add tst-thread_local1.
11816         [have-cxx-thread_local != yes] (tests-unsupported): Add
11817         tst-thread_local1.
11818         * nptl/tst-thread_local1.cc: New file.
11820 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11822         [BZ #19078]
11823         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11824         (u_thres): Likewise.
11825         (__expl): Determine whether to call __kernel_standard_l based on
11826         value of result, not argument.
11828         * math/libm-test.inc (scalb_test_data): Add more expectations for
11829         the "inexact" exception.
11831         [BZ #19077]
11832         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11833         0.0L for argument 1.0L.
11835         [BZ #19076]
11836         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11837         constant 0.0L when computing infinite result.
11839 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11841         [BZ #10432]
11842         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11843         malloc_usable_size.
11845 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11847         [BZ #19018]
11848         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11849         Mangle function pointer before storing it.
11850         (__call_tls_dtors): Demangle function pointer before calling it.
11852 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11854         [BZ #19012]
11855         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11856         Clean up on failure.
11858 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11860         [BZ #19071]
11861         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11862         long int variable to store possibly incremented high part of
11863         mantissa.
11864         * math/libm-test.inc (lround_test_data): Add tests used for
11865         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11866         for tests requiring 64-bit long.  Do not condition tests on
11867         [TEST_FLOAT] unnecessarily.
11868         (llround_test_data): Add tests used for lround.  Add another
11869         expectation for the "inexact" exception.  Do not condition tests
11870         on [TEST_FLOAT] unnecessarily.
11872         [BZ #887]
11873         [BZ #19049]
11874         [BZ #19050]
11875         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11876         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11877         <fix-int-fp-convert-zero.h>.
11878         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11879         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11880         <fix-int-fp-convert-zero.h>.
11881         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11882         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11883         <fix-int-fp-convert-zero.h>.
11884         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11885         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11886         <fix-int-fp-convert-zero.h>.
11887         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11888         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11889         <fix-int-fp-convert-zero.h>.
11890         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11891         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11892         <fix-int-fp-convert-zero.h>.
11893         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11894         * sysdeps/ieee754/flt-32/s_erff.c: Include
11895         <fix-int-fp-convert-zero.h>.
11896         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11897         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11898         <fix-int-fp-convert-zero.h>.
11899         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11900         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11901         <fix-int-fp-convert-zero.h>.
11902         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11904         <fix-int-fp-convert-zero.h>.
11905         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11906         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11907         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11908         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11909         file.
11910         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11912 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11914         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11916 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11918         [BZ #19059]
11919         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11920         overflowing computation.
11921         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11922         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11923         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11924         Likewise.
11925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11926         Likewise.
11927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11928         Likewise.
11929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11930         Likewise.
11931         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11932         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11933         Likewise.
11934         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11935         Likewise.
11936         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11938         * nss/rewrite_field.c (__nss_rewrite_field): Use
11939         internal_function.
11940         * nss/valid_field.c (__nss_valid_field): Likewise.
11941         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11943 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11945         [BZ #18724]
11946         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11947         (__nss_invalid_field_characters, __nss_valid_field)
11948         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11949         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11950         tst-field.c: New file.
11951         * nss/Makefile (routines): Add valid_field, rewrite_field.
11952         (tests-static): Define unconditionally.
11953         (tests): Include tests-static.
11954         [build-static-nss] (tests-static): Use append.
11955         [build-static-nss] (tests): Remove modification.
11956         * nss/getent.c (print_group): Call putgrent.  Report error.
11957         (print_gshadow): Call putsgent.  Report error.
11958         (print_passwd): Call putpwent.  Report error.
11959         (print_shadow): Call putspent.  Report error.
11960         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11961         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11962         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11963         name, password, directory, shell fields for valid syntax.  Rewrite
11964         GECOS field to match syntax.
11965         * pwd/Makefile (tests): Add tst-putpwent.
11966         * pwd/tst-putpwent.c: New file.
11967         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11968         Check grName, grpasswd, gr_mem fields for valid syntax.
11969         Change loop variable i to size_t.
11970         * grp/Makefile (tests): Add tst-putgrent.
11971         * grp/tst-putgrent.c: New file.
11972         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11973         valid syntax.
11974         * shadow/Makefile (tests): Add tst-putspent.
11975         * shadow/tst-putspent.c: New file.
11976         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11977         sg_mem fields for valid syntax.
11978         * gshadow/Makefile (tests): Add tst-putsgent.
11979         * gshadow/tst-putsgent.c: New file.
11981 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11983         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11984         assembly instructions.
11986 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11988         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11989         prefix from operands.
11991 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11993         [BZ #16347]
11994         [BZ #19046]
11995         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11996         <libc-internal.h>.
11997         (MAXLGM): Do not use diagnostic control macros.
11998         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11999         threshold for ldbl-128ibm.
12000         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12001         instead of multiplying by log then subtracting.
12002         * math/auto-libm-test-in: Add more tests of lgamma.
12003         * math/auto-libm-test-out: Regenerated.
12005         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12006         (TYPE_HEX_DIG): Likewise.
12007         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12008         precisions when printing floating-point numbers.
12009         (check_float_internal): Likewise.
12011 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12013         [BZ #16620]
12014         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12015         of log (10) rounded downward to 48 bits.
12016         (log10_low): Use corresponding low part of log (10).
12018         [BZ #19032]
12019         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12020         compute result as (x - x) / (x - x) not as 0 / 0.
12021         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12022         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12024         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12025         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12026         and expm1.
12027         * math/auto-libm-test-out: Regenerated.
12028         * math/libm-test.inc (acos_test_data): Add more tests.
12029         (asin_test_data): Likewise.
12030         (asinh_test_data): Likewise.
12031         (atan_test_data): Likewise.
12032         (atanh_test_data): Likewise.
12033         (atan2_test_data): Likewise.
12034         (cbrt_test_data): Likewise.
12035         (ceil_test_data): Likewise.
12036         (copysign_test_data): Likewise.
12037         (cos_test_data): Likewise.
12038         (cosh_test_data): Likewise.
12039         (erf_test_data): Likewise.
12040         (erfc_test_data): Likewise.
12041         (exp_test_data): Likewise.
12042         (exp10_test_data): Likewise.
12043         (exp2_test_data): Likewise.
12044         (expm1_test_data): Likewise.
12045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12047 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12049         [BZ #19006]
12050         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12051         to ...
12052         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12053         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12054         to ...
12055         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12056         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12057         to ...
12058         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12059         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12060         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12061         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12062         to ...
12063         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12064         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12065         Moved to ...
12066         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12067         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12068         Moved to ...
12069         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12071         to ...
12072         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12073         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12074         Moved to ...
12075         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12076         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12077         to ...
12078         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12079         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12080         Removed.
12081         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12082         Likewise.
12083         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12084         Likewise.
12085         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12086         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12087         Likewise.
12088         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12089         Likewise.
12090         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12091         Likewise.
12092         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12093         Likewise.
12094         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12095         Likewise.
12096         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12097         Likewise.
12098         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12099         Likewise.
12100         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12101         Likewise.
12102         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12103         Likewise.
12104         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12105         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12108         Likewise.
12109         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12110         Likewise.
12111         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12112         Likewise.
12113         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12114         Likewise.
12115         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12116         Replace ../i486/pthread_cond_timedwait.S with
12117         ../pthread_cond_timedwait.S.
12119 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12121         * math/libm-test.inc (acos_test_data): Refine expectations for
12122         errno and "inexact" exceptions.
12123         (acosh_test_data): Likewise.
12124         (asin_test_data): Likewise.
12125         (asinh_test_data): Likewise.
12126         (atan_test_data): Likewise.
12127         (atanh_test_data): Likewise.
12128         (atan2_test_data): Likewise.
12129         (cbrt_test_data): Likewise.
12130         (ceil_test_data): Likewise.
12131         (copysign_test_data): Likewise.
12132         (cosh_test_data): Likewise.
12133         (erf_test_data): Likewise.
12134         (erfc_test_data): Likewise.
12135         (exp_test_data): Likewise.
12136         (exp10_test_data): Likewise.
12137         (exp2_test_data): Likewise.
12138         (expm1_test_data): Likewise.
12139         (fabs_test_data): Likewise.
12140         (floor_test_data): Likewise.
12141         (fma_test_data): Likewise.
12142         (fmax_test_data): Likewise.
12143         (fmin_test_data): Likewise.
12144         (fmod_test_data): Likewise.
12145         (fpclassify_test_data): Likewise.
12146         (frexp_test_data): Likewise.
12147         (hypot_test_data): Likewise.
12148         (ilogb_test_data): Likewise.
12149         (isgreater_test_data): Likewise.
12150         (isgreaterequal_test_data): Likewise.
12151         (isinf_test_data): Likewise.
12152         (isless_test_data): Likewise.
12153         (islessequal_test_data): Likewise.
12154         (islessgreater_test_data): Likewise.
12155         (isnan_test_data): Likewise.
12156         (isnormal_test_data): Likewise.
12157         (issignaling_test_data): Likewise.
12158         (isunordered_test_data): Likewise.
12159         (j0_test_data): Likewise.
12160         (j1_test_data): Likewise.
12161         (jn_test_data): Likewise.
12162         (lgamma_test_data): Likewise.
12163         (lrint_test_data): Likewise.
12164         (llrint_test_data): Likewise.
12165         (log_test_data): Likewise.
12166         (log10_test_data): Likewise.
12167         (log1p_test_data): Likewise.
12168         (log2_test_data): Likewise.
12169         (logb_test_data): Likewise.
12170         (lround_test_data): Likewise.
12171         (llround_test_data): Likewise.
12172         (modf_test_data): Likewise.
12173         (nearbyint_test_data): Likewise.
12174         (nextafter_test_data): Likewise.
12175         (nexttoward_test_data): Likewise.
12176         (pow_test_data): Likewise.
12177         (remainder_test_data): Likewise.
12178         (remquo_test_data): Likewise.
12179         (rint_test_data): Likewise.
12180         (round_test_data): Likewise.
12181         (signbit_test_data): Likewise.
12182         (sinh_test_data): Likewise.
12183         (sqrt_test_data): Likewise.
12184         (tanh_test_data): Likewise.
12185         (tgamma_test_data): Likewise.
12186         (trunc_test_data): Likewise.
12187         (y0_test_data): Likewise.
12188         (y1_test_data): Likewise.
12189         (yn_test_data): Likewise.
12190         (significand_test_data): Likewise.
12192 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12194         * manual/filesys.texi (Storage Allocation): Document that
12195         posix_fallocate emulation fails when fd is open with O_WRONLY.
12197 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12199         [BZ #19016]
12200         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12201         allow more cases with X^2 + Y^2 >= 0.5.
12202         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12203         normal element in sum instead of special-casing based on values of
12204         arguments.
12205         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12206         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12207         -1 as normal element in sum instead of special-casing based on
12208         values of arguments.
12209         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12210         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12211         (__x2y2m1): Update comment.
12212         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12213         as normal element in sum instead of special-casing based on values
12214         of arguments.
12215         * math/s_clog.c (__clog): Handle more cases using log1p without
12216         hypot.
12217         * math/s_clog10.c (__clog10): Likewise.
12218         * math/s_clog10f.c (__clog10f): Likewise.
12219         * math/s_clog10l.c (__clog10l): Likewise.
12220         * math/s_clogf.c (__clogf): Likewise.
12221         * math/s_clogl.c (__clogl): Likewise.
12222         * math/auto-libm-test-in: Add more tests of clog and clog10.
12223         * math/auto-libm-test-out: Regenerated.
12224         * sysdeps/i386/fpu/libm-test-ulps: Update.
12225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12227 2015-09-28  Martin Sebor  <msebor@redhat.com>
12229         [BZ #18969]
12230         * string/Makefile (LOCALES): Define.
12231         (gen-locales.mk): Include.
12232         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12233         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12234         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12235         on setlocale failure.
12237 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12239         [BZ #18985]
12240         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12241         (__strftime_internal): Likewise.
12242         * time/tst-strftime.c (do_bz18985): New test.
12243         (do_test): Call it.
12245 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12247         [BZ #18956]
12248         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12249         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12250         extracting high part.
12251         * math/auto-libm-test-in: Add another test of pow.
12252         * math/auto-libm-test-out: Regenerated.
12253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12255 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12257         [BZ #18825]
12258         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12259         New macro.
12260         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12261         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12262         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12263         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12264         DBL_NARROW_EVAL, reloading the PIC register as needed.
12265         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12266         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12267         FLT_NARROW_EVAL.  Use separate return path for case when first
12268         argument is NaN.
12269         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12270         DEFINE_LDBL_MIN.
12271         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12272         PIC register.
12273         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12274         math_check_force_underflow_nonneg.
12275         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12276         underflow for subnormal result.
12277         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12278         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12279         math_check_force_underflow_nonneg.
12280         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12281         math_check_force_underflow.
12282         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12283         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12284         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12285         DEFINE_LDBL_MIN.
12286         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12287         * math/auto-libm-test-in: Add more tests of pow.
12288         * math/auto-libm-test-out: Regenerated.
12290 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12292         * nss/bug17079.c (init_test_items): Add diagnostic for
12293         inconsistent entries.
12294         (test_buffer_size): Skip inconsistent entries.
12296 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12298         [BZ #13304]
12299         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12300         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12301         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12303         [BZ #13304]
12304         * sysdeps/microblaze/s_fma.c: New file.
12305         * sysdeps/microblaze/s_fmaf.c: Likewise.
12306         * sysdeps/microblaze/sfp-machine.h: Likewise.
12308 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12310         [BZ #17250]
12311         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12312         member.
12314 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12316         [BZ #18803]
12317         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12318         (MO): New macro.
12319         (__ieee754_hypot) [PIC]: Load PIC register.
12320         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12321         DBL_NARROW_EVAL.
12322         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12323         math_check_force_underflow_nonneg in case where result might be
12324         tiny.
12325         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12326         Likewise.
12327         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12328         Likewise.
12329         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12330         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12331         * math/auto-libm-test-in: Add more tests of hypot.
12332         * math/auto-libm-test-out: Regenerated.
12334 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12336         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12338 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12340         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12341         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12342         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12343         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12344         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12345         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12346         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12348         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12349         LOAD_PIC_REG.
12351         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12352         (FLT_CHECK_FORCE_UFLOW): Likewise.
12353         (DBL_CHECK_FORCE_UFLOW): Likewise.
12354         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12355         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12356         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12357         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12358         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12359         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12360         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12361         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12362         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12363         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12364         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12365         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12366         (flt_min): Replace with use of DEFINE_FLT_MIN.
12367         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12368         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12369         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12370         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12371         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12372         (flt_min): Replace with use of DEFINE_FLT_MIN.
12373         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12374         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12375         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12376         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12377         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12378         (flt_min): Replace with use of DEFINE_FLT_MIN.
12379         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12380         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12381         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12382         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12383         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12384         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12385         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12386         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12388         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12389         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12390         (flt_min): Replace with use of DEFINE_FLT_MIN.
12391         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12392         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12393         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12394         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12395         main computation.
12396         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12397         (flt_min): Replace with use of DEFINE_FLT_MIN.
12398         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12399         main computation.
12400         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12401         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12402         (MO): New macro.
12403         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12404         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12405         (flt_min): Replace with use of DEFINE_FLT_MIN.
12406         (MO): New macro.
12407         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12408         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12409         (__log1pl): Use MO.
12411         [BZ #19003]
12412         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12413         $(config-cflags-nofma).
12415 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12417         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12419 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12421         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12422         (TWO127): Likewise.
12424         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12425         (min_of_type): Likewise.
12426         (math_check_force_underflow): Likewise.
12427         (math_check_force_underflow_nonneg): Likewise.
12428         (math_check_force_underflow_complex): Likewise.
12429         * math/e_exp2l.c (__ieee754_exp2l): Use
12430         math_check_force_underflow_nonneg.
12431         * math/k_casinh.c (__kernel_casinh): Likewise.
12432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12434         * math/s_catan.c (__catan): Use
12435         math_check_force_underflow_complex.
12436         * math/s_catanf.c (__catanf): Likewise.
12437         * math/s_catanh.c (__catanh): Likewise.
12438         * math/s_catanhf.c (__catanhf): Likewise.
12439         * math/s_catanhl.c (__catanhl): Likewise.
12440         * math/s_catanl.c (__catanl): Likewise.
12441         * math/s_ccosh.c (__ccosh): Likewise.
12442         * math/s_ccoshf.c (__ccoshf): Likewise.
12443         * math/s_ccoshl.c (__ccoshl): Likewise.
12444         * math/s_cexp.c (__cexp): Likewise.
12445         * math/s_cexpf.c (__cexpf): Likewise.
12446         * math/s_cexpl.c (__cexpl): Likewise.
12447         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12448         * math/s_clog10.c (__clog10): Likewise.
12449         * math/s_clog10f.c (__clog10f): Likewise.
12450         * math/s_clog10l.c (__clog10l): Likewise.
12451         * math/s_clogf.c (__clogf): Likewise.
12452         * math/s_clogl.c (__clogl): Likewise.
12453         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12454         * math/s_csinf.c (__csinf): Likewise.
12455         * math/s_csinh.c (__csinh): Likewise.
12456         * math/s_csinhf.c (__csinhf): Likewise.
12457         * math/s_csinhl.c (__csinhl): Likewise.
12458         * math/s_csinl.c (__csinl): Likewise.
12459         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12460         * math/s_csqrtf.c (__csqrtf): Likewise.
12461         * math/s_csqrtl.c (__csqrtl): Likewise.
12462         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12463         * math/s_ctanf.c (__ctanf): Likewise.
12464         * math/s_ctanh.c (__ctanh): Likewise.
12465         * math/s_ctanhf.c (__ctanhf): Likewise.
12466         * math/s_ctanhl.c (__ctanhl): Likewise.
12467         * math/s_ctanl.c (__ctanl): Likewise.
12468         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12469         instead of volatile.
12470         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12471         math_check_force_underflow.
12472         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12473         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12474         volatile when forcing underflow.
12475         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12476         math_check_force_underflow_nonneg.
12477         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12478         Likewise.
12479         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12480         math_check_force_underflow.
12481         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12482         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12483         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12484         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12485         math_check_force_underflow_nonneg.
12486         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12487         math_check_force_underflow.
12488         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12490         instead of volatile.
12491         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12492         math_check_force_underflow.
12493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12495         math_check_force_underflow_nonneg.
12496         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12497         math_check_force_underflow.
12498         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12499         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12500         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12501         math_check_force_underflow_nonneg.
12502         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12503         Likewise.
12504         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12505         math_check_force_underflow.
12506         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12507         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12508         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12509         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12510         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12511         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12512         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12513         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12514         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12515         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12516         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12517         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12518         Likewise.
12519         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12520         math_check_force_underflow_nonneg.
12521         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12522         Likewise.
12523         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12524         math_check_force_underflow.
12525         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12526         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12527         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12528         Likewise.
12529         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12530         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12531         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12532         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12533         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12534         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12536         instead of volatile.
12537         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12538         math_check_force_underflow.
12539         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12540         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12541         math_check_force_underflow.
12542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12543         Likewise.
12544         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12545         Use math_check_force_underflow_nonneg.
12546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12547         math_check_force_underflow.
12548         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12549         Likewise.
12550         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12551         Likewise.
12552         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12553         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12554         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12555         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12558         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12559         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12561         math_check_force_underflow_nonneg.
12562         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12563         math_check_force_underflow.
12564         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12565         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12566         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12567         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12568         math_check_force_underflow_nonneg.
12569         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12570         math_check_force_underflow.
12571         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12573         instead of volatile.
12574         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12575         math_check_force_underflow.
12577         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12578         * stdlib/strtod_l.c: Include <math_private.h>.
12579         (overflow_value): Use math_narrow_eval.
12580         (underflow_value): Likewise.
12581         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12582         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12583         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12584         (__ieee754_gamma_r): Likewise.
12585         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12586         Likewise.
12587         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12588         Likewise.
12589         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12590         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12591         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12592         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12593         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12594         (__ieee754_gammaf_r): Likewise.
12595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12596         Likewise.
12597         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12598         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12599         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12600         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12601         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12602         volatile.
12603         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12604         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12605         math_narrow_eval.
12606         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12607         Likewise.
12608         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12609         Likewise.
12610         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12611         Likewise.
12612         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12613         volatile.
12614         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12615         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12616         math_narrow_eval.
12617         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12618         Likewise.
12619         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12620         Likewise.
12622 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12624         * nptl/Versions: Remove ignored symbols.
12626 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12628         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12629         * nss/Makefile (tests): Update.
12631 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12633         * nss/bug18287.c: New file.
12634         * nss/Makefile (tests): Add bug18287.
12636 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12638         * mach/Versions (__mach_host_self_): Add symbol.
12640 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12642         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12643         vm_page_size.
12645 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12647         Really fix sysdeps/i386/fpu/s_scalbn.S build
12649         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12650         (libc: GLIBC_2_22): Remove unused version set.
12652 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12654         * config.make.in (enable-timezone-tools): New variable.
12655         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12656         (enable_timezone_tools): Export to generated files.
12657         * configure: Regenerate.
12658         * INSTALL: Regenerate.
12659         * manual/install.texi (--disable-timezone-tools): Document new flag.
12660         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12661         ifeq ($(enable-timezone-tools),yes) check.
12663 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12665         * timezone/Makefile: Revert previous change.
12667         [BZ #18980]
12668         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12669         (DEFINE_DBL_MIN): Likewise.
12670         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12671         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12672         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12673         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12674         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12675         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12676         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12677         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12678         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12679         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12680         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12681         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12682         (flt_min): Replace with use of DEFINE_FLT_MIN.
12683         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12684         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12685         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12686         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12687         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12688         (flt_min): Replace with use of DEFINE_FLT_MIN.
12689         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12690         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12691         (flt_min): Replace with use of DEFINE_FLT_MIN.
12692         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12693         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12694         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12695         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12696         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12697         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12698         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12699         (__ieee754_pow): Use DBL_NARROW_EVAL.
12700         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12701         (__ieee754_powf): Use FLT_NARROW_EVAL.
12702         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12703         (__ieee754_expf_sse2): Convert double-precision result to single
12704         precision.
12705         * sysdeps/i386/fpu/libm-test-ulps: Update.
12707 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12709         * timezone/Makefile: Ignore unused variable errors due to private.h
12710         (time_t_min) and (time_t_max).
12711         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12712         Likewise.
12714 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12716         [BZ #18981]
12717         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12718         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12719         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12720         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12721         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12722         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12723         (__scalbn): Use DBL_NARROW_EVAL.
12724         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12725         (__scalbnf): Use FLT_NARROW_EVAL.
12727 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12729         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12730         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12731         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12732         * stdio-common/printf_fp.c (___printf_fp):
12733         Use signbit to get the sign. Use isinf macro to allow inlining.
12734         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12735         * stdio-common/printf_size.c (__printf_size): Likewise.
12737 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12739         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12741 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12743         [BZ #18980]
12744         * sysdeps/generic/math_private.h: Include <float.h>.
12745         (math_narrow_eval): New macro.
12746         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12747         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12748         math_narrow_eval on overflowing return value.
12749         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12750         Likewise.
12751         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12752         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12753         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12754         Likewise.
12755         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12757 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12759         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12760         * math/Makefile: Remove isinf_ns.c.
12761         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12762         * math/multc3.c (__multc3): Likewise.
12763         * math/s_casin.c (__casin): Likewise.
12764         * math/s_casinf.c (__casinf): Likewise.
12765         * math/s_casinl.c (__casinl): Likewise.
12766         * math/s_cproj.c (__cproj): Likewise.
12767         * math/s_cprojf.c (__cprojf): Likewise.
12768         * math/s_cprojl.c (__cprofl): Likewise.
12769         * math/s_ctan.c (__ctan): Likewise.
12770         * math/s_ctanf.c (__ctanf): Likewise.
12771         * math/s_ctanh.c (__ctanh): Likewise.
12772         * math/s_ctanhf.c (__ctanhf): Likewise.
12773         * math/s_ctanhl.c (__ctanhl): Likewise.
12774         * math/s_ctanl.c (__ctanl): Likewise.
12775         * math/w_fmod.c (__fmod): Likewise.
12776         * math/w_fmodf.c (__fmodf): Likewise.
12777         * math/w_fmodl.c (_fmodl): Likewise.
12778         * math/w_remainder.c (__remainder): Likewise.
12779         * math/w_remainderf.c (__remainderf): Likewise.
12780         * math/w_remainderl.c (__remainderl): Likewise.
12781         * math/w_scalb.c (__scalb): Likewise.
12782         * math/w_scalbf.c (__scalbf): Likewise.
12783         * math/w_scalbl.c (__scalbl): Likewise.
12784         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12785         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12786         with isinf.
12787         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12789         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12790         __isinf_nsf with isinf.
12791         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12792         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12793         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12794         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12795         with isinf.
12796         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12797         __isinf_nsl with isinf.
12798         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12799         with isinf.
12800         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12801         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12802         __isinf_nsl with isinf.
12803         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12804         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12805         with isinf.
12807 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12809         * resolv/base64.c (rcsid): Remove unused static.
12810         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12811         static.  (tqpi1): Likewise.
12812         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12813         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12814         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12815         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12816         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12817         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12818         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12819         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12820         Likewise.
12822 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12824         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12825         <nptl/pthreadP.h>.
12826         (_longjmp_unwind): Use __libc_ptf_call.
12827         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12829 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12831         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12832         * sysdeps/arm/__longjmp.S: Likewise.
12834 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12836         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12837         Use __builtin_signbit.
12838         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12839         Use __builtin_signbitf.
12840         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12841         Use __builtin_signbitl.
12842         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12843         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12845 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12847         [BZ #15367]
12848         [BZ #17441]
12850         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12851         * math/math.h (fpclassify): Use __builtin_fpclassify when
12852         available.  (signbit): Use __builtin_signbit(f/l).
12853         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12854         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12855         (isinf): Use __builtin_isinf_sign.
12857 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12859         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12860         * benchtests/bench-math-inlines.c: New benchmark.
12861         * benchtests/bench-util.h: New file.
12862         * benchtests/bench-util.c: New file.
12863         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12865 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12867         * elf/tst-dlmopen1.c: Define TEST_SO.
12868         (do_test): Use TEST_SO.
12870         * elf/dl-load.c: Include libc-internal.h.
12871         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12873 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12875         [BZ #17887]
12876         * time/strptime_l.c (__strptime_internal): Make %z accept
12877         [+-]HH:MM time zones.
12879 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12881         [BZ #17886]
12882         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12883         valid time zone.
12885 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12887         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12888         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12889         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12890         (__ASSUME_FDATASYNC): Delete.
12892 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12894         * conform/linknamespace.pl: Require weak undefined symbols to be
12895         in the standard namespace.
12896         (%strong_syms): Rename to %seen_syms.
12897         (%strong_seen): Rename to %seen_where.
12899 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12901         [BZ #18970]
12902         * misc/error.c (error): Replace pthread_setcancelstate with
12903         __pthread_setcancelstate.
12904         (error_at_line): Likewise.
12905         * posix/wordexp.c (parse_comm): Likewise.
12906         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12907         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12908         (__pthread_setcancelstate): This.
12909         (pthread_setcancelstate): Add an alias.
12910         * nptl/nptl-init.c (pthread_functions): Replace
12911         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12912         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12913         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12914         hidden_proto.
12915         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12916         it with hidden_def.
12917         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12918         (pthread_setcancelstate): Renamed to ...
12919         (__pthread_setcancelstate): This.
12920         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12921         __libc_ptf_call with __pthread_setcancelstate.
12923 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12924             Andreas Schwab  <schwab@suse.de>
12926         [BZ #17118]
12927         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12928         result when imaginary part of argument is infinite using sine and
12929         cosine.
12930         * math/s_ctanf.c (__ctanf): Likewise.
12931         * math/s_ctanl.c (__ctanl): Likewise.
12932         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12933         of result when real part of argument is infinite using sine and
12934         cosine.
12935         * math/s_ctanhf.c (__ctanhf): Likewise.
12936         * math/s_ctanhl.c (__ctanhl): Likewise.
12937         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12938         (ctanh_test_data): Add more tests of ctanh.
12940 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12942         [BZ #15384]
12943         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12944         bit-mask as in subtraction.
12945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12946         Likewise.
12947         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12948         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12949         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12951         [BZ #18951]
12952         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12953         underflow exception for small results.
12954         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12955         Likewise.
12956         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12957         Likewise.
12958         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12959         Likewise.
12960         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12961         Likewise.
12962         * math/auto-libm-test-in: Add more tests of tgamma.
12963         * math/auto-libm-test-out: Regenerated.
12965 2015-09-17  Andreas Schwab  <schwab@suse.de>
12967         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12969 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12971         [BZ #18977]
12972         * math/bits/mathcalls.h
12973         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12974         not declare.
12975         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12976         Likewise.
12977         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12978         Likewise.
12979         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12980         Likewise.
12981         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12982         Likewise.
12983         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12984         Likewise.
12985         * conform/data/math.h-data
12986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12987         function.
12988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12990         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12991         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12992         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12993         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12994         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12995         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12996         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12997         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12998         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13000         [BZ #6803]
13001         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13002         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13003         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13004         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13005         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13006         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13007         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13008         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13009         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13011         Likewise.
13012         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13013         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13014         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13015         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13016         long_double_symbol calls.
13017         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13018         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13019         strong alias of __ldexpl.
13020         (scalbnl): Define using long_double_symbol.
13021         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13022         Remove alias.
13023         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13024         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13025         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13026         (scalbln_test_data): Add more errno expectations.
13028 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13030         Cache the host port like we cache the task port.  This way we do not
13031         need to call the kernel just to get the port.  Furthermore, we no
13032         longer increase the reference count on every invocation of
13033         `mach_host_self'.
13035         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13036         Protect declarations against the macro expansion.
13037         * mach/mach_init.c (__mach_host_self_): New variable.
13038         (mach_init): Initialize `__mach_host_self_'.
13039         * mach/mach_init.h (__mach_host_self_): New declaration.
13040         (__mach_host_self, mach_host_self): New macros.
13041         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13042         Release reference.
13044 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #4404]
13047         * po/de.po: Update from Translation Project.
13049         [BZ #16415]
13050         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13051         (__expm1l): Remove code to handle positive infinity and overflow.
13052         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13053         variable.
13054         (__expm1l): Remove code to handle positive infinity and overflow.
13056 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13057             Paul Pluzhnikov  <ppluzhnikov@google.com>
13059         [BZ #18872]
13060         * stdio-common/Makefile (tst-printf-bz18872): New test.
13061         (tst-printf-bz18872-mem.out): Likewise.
13062         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13063         * stdio-common/vfprintf.c: Fix memory leaks.
13065 2015-09-16  Andreas Schwab  <schwab@suse.de>
13067         [BZ #17244]
13068         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13069         Remove extra va_start/va_end calls.
13071         [BZ #17243]
13072         * posix/execl.c (execl): Add missing va_end.
13073         * posix/execle.c (execle): Likewise.
13074         * posix/execlp.c (execlp): Likewise.
13076 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13078         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13079         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13081 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13083         [BZ #18967]
13084         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13085         undefine around includes of <bits/mathcalls.h>.
13086         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13087         not declare function.
13088         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13089         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13090         (scalb): Likewise.
13091         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13092         not define macro.
13093         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13094         variable.
13095         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13096         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13097         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13099         [BZ #18857]
13100         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13101         return non-finite argument without doing ordered comparisons on
13102         it.
13104         [BZ #16296]
13105         * math/fenv.h (fegetround): Use __attribute_pure__.
13106         * include/fenv.h (__fegetround): Likewise.
13108         [BZ #18595]
13109         * math/s_ctan.c (__ctan): Force underflow exception for results
13110         whose real or imaginary part has small absolute value.
13111         * math/s_ctanf.c (__ctanf): Likewise.
13112         * math/s_ctanh.c (__ctanh): Likewise.
13113         * math/s_ctanhf.c (__ctanhf): Likewise.
13114         * math/s_ctanhl.c (__ctanhl): Likewise.
13115         * math/s_ctanl.c (__ctanl): Likewise.
13116         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13117         and ctanh.  Add more tests of ctan and ctanh.
13119         [BZ #15918]
13120         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13121         handling of cases where one argument is an infinity.
13123         [BZ #18875]
13124         [BZ #18966]
13125         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13126         (MO): New macro.
13127         (__ieee754_exp10): For small results, force underflow exception
13128         and remove excess range and precision from return value.
13129         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13130         (MO): New macro.
13131         (__ieee754_exp10f): For small results, force underflow exception
13132         and remove excess range and precision from return value.
13133         * math/auto-libm-test-in: Add more tests of exp10.
13134         * math/auto-libm-test-out: Regenerated.
13136 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13138         [BZ #18875]
13139         [BZ #18961]
13140         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13141         (MO): New macro.
13142         (__ieee754_exp): For small results, force underflow exception and
13143         remove excess range and precision from return value.
13144         (__exp_finite): Likewise.
13145         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13146         (MO): New macro.
13147         (__ieee754_expf): For small results, force underflow exception and
13148         remove excess range and precision from return value.
13149         (__expf_finite): Likewise.
13150         * math/auto-libm-test-in: Add more tests of exp.
13151         * math/auto-libm-test-out: Regenerated.
13153         [BZ #16521]
13154         [BZ #18875]
13155         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13156         small results.
13157         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13158         (MO): New macro.
13159         (__ieee754_exp2): For small results, force underflow exception and
13160         remove excess range and precision from return value.
13161         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13162         (MO): New macro.
13163         (__ieee754_exp2f): For small results, force underflow exception
13164         and remove excess range and precision from return value.
13165         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13166         (MO): New macro.
13167         (__ieee754_exp2l): Force underflow exception for small results.
13168         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13169         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13170         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13171         (MO): New macro.
13172         (__ieee754_exp2l): Force underflow exception for small results.
13173         * math/auto-libm-test-in: Add more tests or exp2.
13174         * math/auto-libm-test-out: Regenerated.
13176 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13178         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13180         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13181         /dev/null.
13183 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13185         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13186         io fs process)): Drop spurious backslash.
13188 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13191         Use sysinfo system call instead of parsing /proc/meminfo.
13192         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13193         Likewise.
13195 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13197         [BZ #16985]
13198         * programs/localedef.c (main): Display argv[remaining] when
13199         output_path is NULL.
13201 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13203         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13204         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13205         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13206         tanh.
13207         * math/auto-libm-test-out: Regenerated.
13208         * sysdeps/i386/fpu/libm-test-ulps: Update.
13209         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13210         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13213 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13215         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13216         Use 'override' keyword to freeze the value here, preventing
13217         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13219 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13221         [BZ #14912]
13222         * sysdeps/aarch64/bits/atomic.h: Move to ...
13223         * sysdeps/aarch64/atomic-machine.h: ...here.
13224         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13225         _AARCH64_ATOMIC_MACHINE_H.
13226         * sysdeps/alpha/bits/atomic.h: Move to ...
13227         * sysdeps/alpha/atomic-machine.h: ...here.
13228         * sysdeps/arm/bits/atomic.h: Move to ...
13229         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13230         * bits/atomic.h: Move to ...
13231         * sysdeps/generic/atomic-machine.h: ...here.
13232         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13233         * sysdeps/i386/bits/atomic.h: Move to ...
13234         * sysdeps/i386/atomic-machine.h: ...here.
13235         * sysdeps/ia64/bits/atomic.h: Move to ...
13236         * sysdeps/ia64/atomic-machine.h: ...here.
13237         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13238         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13239         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13240         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13241         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13242         * sysdeps/microblaze/bits/atomic.h: Move to ...
13243         * sysdeps/microblaze/atomic-machine.h: ...here.
13244         * sysdeps/mips/bits/atomic.h: Move to ...
13245         * sysdeps/mips/atomic-machine.h: ...here.
13246         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13247         * sysdeps/powerpc/bits/atomic.h: Move to ...
13248         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13249         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13250         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13251         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13252         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13253         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13254         <atomic-machine.h> instead of <bits/atomic.h>.
13255         * sysdeps/s390/bits/atomic.h: Move to ...
13256         * sysdeps/s390/atomic-machine.h: ...here.
13257         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13258         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13259         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13260         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13261         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13262         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13263         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13264         * sysdeps/tile/bits/atomic.h: Move to ...
13265         * sysdeps/tile/atomic-machine.h: ...here.
13266         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13267         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13268         <sysdeps/tile/atomic-machine.h> instead of
13269         <sysdeps/tile/bits/atomic.h>.
13270         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13271         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13272         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13273         <sysdeps/tile/atomic-machine.h> instead of
13274         <sysdeps/tile/bits/atomic.h>.
13275         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13276         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13277         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13278         <sysdeps/arm/atomic-machine.h> instead of
13279         <sysdeps/arm/bits/atomic.h>.
13280         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13281         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13282         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13283         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13284         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13285         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13286         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13287         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13288         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13289         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13290         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13291         * sysdeps/x86_64/bits/atomic.h: Move to ...
13292         * sysdeps/x86_64/atomic-machine.h: ...here.
13293         * include/atomic.h: Include <atomic-machine.h> instead of
13294         <bits/atomic.h>.
13296         * sysdeps/mips/mips32/libm-test-ulps: Update.
13297         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13299         [BZ #18952]
13300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13301         not convert non-integer negative arguments to int to determine the
13302         value of signgam.
13303         * math/auto-libm-test-in: Add more tests of lgamma.
13304         * math/auto-libm-test-out: Regenerated.
13306         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13307         cosh, csqrt, erfc, expm1 and lgamma.
13308         * math/auto-libm-test-out: Regenerated.
13309         * sysdeps/i386/fpu/libm-test-ulps: Update.
13310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13312 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13314         [BZ #2542]
13315         [BZ #2543]
13316         [BZ #2558]
13317         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13318         __lgamma_neg for arguments from -28.0 to -2.0.
13319         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13320         __lgamma_negf for arguments from -15.0 to -2.0.
13321         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13322         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13323         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13324         Call __lgamma_negl for arguments from -33.0 to -2.0.
13325         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13326         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13327         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13328         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13329         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13330         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13331         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13332         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13333         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13334         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13335         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13336         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13337         (__lgamma_neg): Likewise.
13338         (__lgamma_negl): Likewise.
13339         (__lgamma_product): Likewise.
13340         (__lgamma_productl): Likewise.
13341         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13342         * math/auto-libm-test-in: Add more tests of lgamma.
13343         * math/auto-libm-test-out: Regenerated.
13344         * sysdeps/i386/fpu/libm-test-ulps: Update.
13345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13347 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13349         [BZ #18675]
13350         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13352 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13354         [BZ #14912]
13355         * bits/libc-lock.h: Move to ...
13356         * sysdeps/generic/libc-lock.h: ...here.
13357         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13358         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13359         * sysdeps/mach/hurd/libc-lock.h: ...here.
13360         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13361         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13362         * sysdeps/mach/bits/libc-lock.h: Move to ...
13363         * sysdeps/mach/libc-lock.h: ...here.
13364         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13365         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13366         * sysdeps/nptl/libc-lock.h: ...here.
13367         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13368         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13369         * sysdeps/nptl/libc-lockP.h: ...here.
13370         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13371         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13372         <bits/libc-lock.h>.
13373         * dirent/scandir-tail.c: Likewise.
13374         * dlfcn/dlerror.c: Likewise.
13375         * elf/dl-close.c: Likewise.
13376         * elf/dl-iteratephdr.c: Likewise.
13377         * elf/dl-lookup.c: Likewise.
13378         * elf/dl-open.c: Likewise.
13379         * elf/dl-support.c: Likewise.
13380         * elf/dl-writev.h: Likewise.
13381         * elf/rtld.c: Likewise.
13382         * grp/fgetgrent.c: Likewise.
13383         * gshadow/fgetsgent.c: Likewise.
13384         * gshadow/sgetsgent.c: Likewise.
13385         * iconv/gconv_conf.c: Likewise.
13386         * iconv/gconv_db.c: Likewise.
13387         * iconv/gconv_dl.c: Likewise.
13388         * iconv/gconv_int.h: Likewise.
13389         * iconv/gconv_trans.c: Likewise.
13390         * include/link.h: Likewise.
13391         * inet/getnameinfo.c: Likewise.
13392         * inet/getnetgrent.c: Likewise.
13393         * inet/getnetgrent_r.c: Likewise.
13394         * intl/bindtextdom.c: Likewise.
13395         * intl/dcigettext.c: Likewise.
13396         * intl/finddomain.c: Likewise.
13397         * intl/gettextP.h: Likewise.
13398         * intl/loadmsgcat.c: Likewise.
13399         * intl/localealias.c: Likewise.
13400         * intl/textdomain.c: Likewise.
13401         * libidn/idn-stub.c: Likewise.
13402         * libio/libioP.h: Likewise.
13403         * locale/duplocale.c: Likewise.
13404         * locale/freelocale.c: Likewise.
13405         * locale/newlocale.c: Likewise.
13406         * locale/setlocale.c: Likewise.
13407         * login/getutent_r.c: Likewise.
13408         * login/getutid_r.c: Likewise.
13409         * login/getutline_r.c: Likewise.
13410         * login/utmp-private.h: Likewise.
13411         * login/utmpname.c: Likewise.
13412         * malloc/mtrace.c: Likewise.
13413         * misc/efgcvt.c: Likewise.
13414         * misc/error.c: Likewise.
13415         * misc/fstab.c: Likewise.
13416         * misc/getpass.c: Likewise.
13417         * misc/mntent.c: Likewise.
13418         * misc/syslog.c: Likewise.
13419         * nis/nis_call.c: Likewise.
13420         * nis/nis_callback.c: Likewise.
13421         * nis/nss-default.c: Likewise.
13422         * nis/nss_compat/compat-grp.c: Likewise.
13423         * nis/nss_compat/compat-initgroups.c: Likewise.
13424         * nis/nss_compat/compat-pwd.c: Likewise.
13425         * nis/nss_compat/compat-spwd.c: Likewise.
13426         * nis/nss_nis/nis-alias.c: Likewise.
13427         * nis/nss_nis/nis-ethers.c: Likewise.
13428         * nis/nss_nis/nis-grp.c: Likewise.
13429         * nis/nss_nis/nis-hosts.c: Likewise.
13430         * nis/nss_nis/nis-network.c: Likewise.
13431         * nis/nss_nis/nis-proto.c: Likewise.
13432         * nis/nss_nis/nis-pwd.c: Likewise.
13433         * nis/nss_nis/nis-rpc.c: Likewise.
13434         * nis/nss_nis/nis-service.c: Likewise.
13435         * nis/nss_nis/nis-spwd.c: Likewise.
13436         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13437         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13438         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13439         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13440         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13441         * nis/nss_nisplus/nisplus-network.c: Likewise.
13442         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13443         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13444         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13445         * nis/nss_nisplus/nisplus-service.c: Likewise.
13446         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13447         * nis/ypclnt.c: Likewise.
13448         * nptl/libc_pthread_init.c: Likewise.
13449         * nss/getXXbyYY.c: Likewise.
13450         * nss/getXXent.c: Likewise.
13451         * nss/getXXent_r.c: Likewise.
13452         * nss/nss_db/db-XXX.c: Likewise.
13453         * nss/nss_db/db-netgrp.c: Likewise.
13454         * nss/nss_db/nss_db.h: Likewise.
13455         * nss/nss_files/files-XXX.c: Likewise.
13456         * nss/nss_files/files-alias.c: Likewise.
13457         * nss/nsswitch.c: Likewise.
13458         * posix/regex_internal.h: Likewise.
13459         * posix/wordexp.c: Likewise.
13460         * pwd/fgetpwent.c: Likewise.
13461         * resolv/res_hconf.c: Likewise.
13462         * resolv/res_libc.c: Likewise.
13463         * shadow/fgetspent.c: Likewise.
13464         * shadow/lckpwdf.c: Likewise.
13465         * shadow/sgetspent.c: Likewise.
13466         * socket/opensock.c: Likewise.
13467         * stdio-common/reg-modifier.c: Likewise.
13468         * stdio-common/reg-printf.c: Likewise.
13469         * stdio-common/reg-type.c: Likewise.
13470         * stdio-common/vfprintf.c: Likewise.
13471         * stdio-common/vfscanf.c: Likewise.
13472         * stdlib/abort.c: Likewise.
13473         * stdlib/cxa_atexit.c: Likewise.
13474         * stdlib/fmtmsg.c: Likewise.
13475         * stdlib/random.c: Likewise.
13476         * stdlib/setenv.c: Likewise.
13477         * string/strsignal.c: Likewise.
13478         * sunrpc/auth_none.c: Likewise.
13479         * sunrpc/bindrsvprt.c: Likewise.
13480         * sunrpc/create_xid.c: Likewise.
13481         * sunrpc/key_call.c: Likewise.
13482         * sunrpc/rpc_thread.c: Likewise.
13483         * sysdeps/arm/backtrace.c: Likewise.
13484         * sysdeps/generic/ldsodefs.h: Likewise.
13485         * sysdeps/generic/stdio-lock.h: Likewise.
13486         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13487         * sysdeps/i386/backtrace.c: Likewise.
13488         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13489         * sysdeps/m68k/backtrace.c: Likewise.
13490         * sysdeps/mach/hurd/cthreads.c: Likewise.
13491         * sysdeps/mach/hurd/dirstream.h: Likewise.
13492         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13493         * sysdeps/nptl/malloc-machine.h: Likewise.
13494         * sysdeps/nptl/stdio-lock.h: Likewise.
13495         * sysdeps/posix/dirstream.h: Likewise.
13496         * sysdeps/posix/getaddrinfo.c: Likewise.
13497         * sysdeps/posix/system.c: Likewise.
13498         * sysdeps/pthread/aio_suspend.c: Likewise.
13499         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13500         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13501         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13502         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13503         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13504         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13505         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13506         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13507         * sysdeps/unix/sysv/linux/system.c: Likewise.
13508         * sysdeps/x86_64/backtrace.c: Likewise.
13509         * time/alt_digit.c: Likewise.
13510         * time/era.c: Likewise.
13511         * time/tzset.c: Likewise.
13512         * wcsmbs/wcsmbsload.c: Likewise.
13513         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13514         instead of <bits/libc-lock.h> in comment.
13516 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13518         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13519         Only use .set mips2 if the current ISA is below mips2.
13520         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13521         Likewise.
13522         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13523         mips32r2 if the current ISA is below mips32r2.
13524         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13525         (TLS_IE): Updated to use the TLD_RDHWR macro.
13526         (TLS_LE): Likewise.
13527         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13528         __ASSEMBLER__ condition.
13530 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13532         Fix parallel build of before-compile targets.
13534         * sysdeps/mach/Makefile ($(patsubst
13535         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13536         mach-before-compile target.
13537         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13538         io fs process)): Move rule to dedicated hurd-before-compile target.
13540 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13542         Fix rules generating headers in hurd/ and mach/ when initial make call
13543         has subdir= explicitly set.
13545         * sysdeps/mach/Makefile ($(patsubst
13546         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13547         calling $(MAKE).
13548         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13549         io fs process)): Force subdir to hurd when calling $(MAKE).
13550         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13551         subdir to mach when calling $(MAKE).
13553 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13555         Check sysheaders when looking for Mach and Hurd headers
13557         * sysdeps/mach/configure.ac: Add sysheaders check.
13558         * sysdeps/mach/configure: Regenerate.
13559         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13560         * sysdeps/mach/hurd/configure: Regenerate.
13562 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13564         [BZ #18921]
13565         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13566         Fix inverted sense of test of 'o_directory_works' value.
13567         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13568         Bernhard Voelker <mail@bernhard-voelker.de>.
13570 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13572         [BZ #14912]
13573         * bits/linkmap.h: Move to ...
13574         * sysdeps/generic/linkmap.h: ...here.
13575         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13576         * sysdeps/aarch64/linkmap.h: ...here.
13577         * sysdeps/arm/bits/linkmap.h: Move to ...
13578         * sysdeps/arm/linkmap.h: ...here.
13579         * sysdeps/hppa/bits/linkmap.h: Move to ...
13580         * sysdeps/hppa/linkmap.h: ...here.
13581         * sysdeps/ia64/bits/linkmap.h: Move to ...
13582         * sysdeps/ia64/linkmap.h: ...here.
13583         * sysdeps/mips/bits/linkmap.h: Move to ...
13584         * sysdeps/mips/linkmap.h: ...here.
13585         * sysdeps/s390/bits/linkmap.h: Move to ...
13586         * sysdeps/s390/linkmap.h: ...here.
13587         * sysdeps/sh/bits/linkmap.h: Move to ...
13588         * sysdeps/sh/linkmap.h: ...here.
13589         * sysdeps/x86/bits/linkmap.h: Move to ...
13590         * sysdeps/x86/linkmap.h: ...here.
13591         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13593 2015-09-04  Andreas Schwab  <schwab@suse.de>
13595         [BZ #18635]
13596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13597         (__makecontext): Terminate FDE before return label.
13598         (__novec_makecontext): Likewise.
13600 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13602         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13603         first member of struct sv in syscall macro.
13605 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13607         [BZ #14912]
13608         * bits/stdio-lock.h: Move to ...
13609         * sysdeps/generic/stdio-lock.h: ...here.
13610         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13611         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13612         * sysdeps/nptl/stdio-lock.h: ...here.
13613         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13614         * include/libio.h: Include <stdio-lock.h> instead of
13615         <bits/stdio-lock.h>.
13616         * sysdeps/nptl/fork.c: Likewise.
13617         * sysdeps/pthread/flockfile.c: Likewise.
13618         * sysdeps/pthread/ftrylockfile.c: Likewise.
13619         * sysdeps/pthread/funlockfile.c: Likewise.
13621         [BZ #14912]
13622         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13623         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13624         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13625         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13626         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13627         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13628         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13630 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13632         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13633         (test-xfail-tst-protected1b): New variable.
13635 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13637         [BZ #14912]
13638         * bits/libc-tsd.h: Move to ...
13639         * sysdeps/generic/libc-tsd.h: ...here.
13640         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13641         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13642         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13643         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13644         * include/ctype.h: Include <libc-tsd.h> instead of
13645         <bits/libc-tsd.h>.
13646         * include/rpc/rpc.h: Likewise.
13647         * locale/localeinfo.h: Likewise.
13648         * sunrpc/rpc_thread.c: Likewise.
13649         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13650         * sysdeps/nptl/malloc-machine.h: Likewise.
13652         * Makefile (headers): Remove bits/libc-lock.h.
13653         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13655         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13656         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13657         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13658         <bits/stdio-lock.h>.
13659         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13660         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13662 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13664         [BZ #18757]
13665         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13666         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13667         BZ #18757.
13669 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13671         * malloc/mtrace.pl: Filter out NULL entries.
13673 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13675         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13676         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13677         macro.
13679         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13680         (TCP_CC_INFO): Likewise.
13681         (TCP_SAVE_SYN): Likewise.
13682         (TCP_SAVED_SYN): Likewise.
13684 2015-08-31  Brett Neumeier <brett@neumeier.us>
13686         [BZ #18870]
13687         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13689 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13691         [BZ #18873]
13692         Fix broken overflow check in posix_fallocate
13693         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13694         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13695         Fix parenthesization typo.
13697 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13699         [BZ #18887]
13700         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13701         tst-mntent-blank-passno.
13702         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13703         * misc/tst-mntent-blank-corrupt.c: New test.
13704         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13705         * misc/tst-mntent.c (do_test): ... here.
13707 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13709         [BZ #4404]
13710         * po/de.po: Fix SIGALRM typo.
13712 2015-08-28  James Perkins  <james@loowit.net>
13714         * time/tst-strptime2.c (tests): Replace short list of test
13715         strings for strptime %z specifier with code which exhaustively
13716         tests every combination of sign and 0 to 5 digits. Tests for
13717         rejection of invalid strings.
13719 2015-08-28  James Perkins  <james@loowit.net>
13721         [BZ #16141]
13722         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13723         calculation, removing incorrect decimal time rounding, so that
13724         all minute values result in a valid seconds value.
13725         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13726         offset range limits to UTC-99:59 through UTC+99:59 to parse
13727         current and historical use cases.
13728         * time/tst-strptime2.c (tests): Modify and add tests for the
13729         strptime %z input field descriptor, specifically conversion of
13730         minutes to seconds and validating an offset range of -9959 to
13731         +9959.
13733 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13734             Dmitry V. Levin  <ldv@altlinux.org>
13736         [BZ #18877]
13737         * posix/Makefile (tests): Add tst-mmap-offset.
13738         * posix/tst-mmap.c: New file.
13739         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13740         offset calculation for negative values.
13742 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13744         * sysdeps/i386/init-arch.h: New file.
13745         * sysdeps/i386/i586/init-arch.h: Likewise.
13746         * sysdeps/i386/i686/init-arch.h: Likewise.
13747         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13748         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13749         * sysdeps/x86/cpu-features.h (bit_I586): New.
13750         (bit_I686): Likewise.
13751         (bit_CX8): Likewise.
13752         (bit_CMOV): Likewise.
13753         (index_CX8): Likewise.
13754         (index_CMOV): Likewise.
13755         (index_I586): Likewise.
13756         (index_I686): Likewise.
13757         (reg_CX8): Likewise.
13758         (reg_CMOV): Likewise.
13759         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13760         available at compile-time.
13761         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13762         available at compile-time.
13763         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13764         (USE_I686): Likewise.
13766 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13768         * sysdeps/i386/bcopy.S: New file.
13769         * sysdeps/i386/bzero.S: Likewise.
13770         * sysdeps/i386/memcpy.S: Likewise.
13771         * sysdeps/i386/memmove.S: Likewise.
13772         * sysdeps/i386/mempcpy.S: Likewise.
13773         * sysdeps/i386/memset.S: Likewise.
13774         * sysdeps/i386/bzero.c: Removed.
13775         * sysdeps/i386/memset.c: Likewise.
13776         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13777         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13778         * sysdeps/i386/i586/memset_chk.S: Likewise.
13779         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13780         * sysdeps/i386/memcpy_chk.S: Here.
13781         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13782         * sysdeps/i386/memmove_chk.S: Here.
13783         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13784         * sysdeps/i386/mempcpy_chk.S: Likewise.
13785         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13786         * sysdeps/i386/memset_chk.S: Likewise.
13788 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13790         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13791         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13792         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13793         * soft-fp/fmadf4.c: Ditto.
13794         * soft-fp/fmatf4.c: Ditto.
13796 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13798         * sysdeps/i386/i586/Implies: Removed.
13799         * sysdeps/i386/i686/Implies: Likewise.
13801 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13803         * sysdeps/i386/i486/strlen.S: Moved to ...
13804         * sysdeps/i386/strlen.S: Here.
13806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13808         * sysdeps/i386/i486/strcat.S: Moved to ...
13809         * sysdeps/i386/strcat.S: Here.
13811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13813         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13814         * sysdeps/i386/pthread_spin_trylock.S: Here.
13815         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13816         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13820         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13821         * sysdeps/i386/string-inlines.c: Here.
13823 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13825         * sysdeps/i386/i486/htonl.S: Moved ...
13826         * sysdeps/i386/htonl.S: here.
13828 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13830         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13831         * sysdeps/i386/bits/atomic.h: Here.
13833 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13835         * sysdeps/i386/i486/Versions: Removed.
13837 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13839         [BZ #2898]
13840         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13841         Based on patch by Aurelien Jarno.
13843 2015-08-26  Stan Shebs  <stanshebs@google.com>
13845         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13846         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13848 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13850         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13851         * sysdeps/powerpc/dl-procinfo.c:
13852         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13853         feature so it shows when LD_SHOW_AUXV=1.
13855 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13857         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13858         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13859         definition.  ISA 2.07B no longer requires full sync.
13861 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13863         [BZ #18863]
13864         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13865         (si_call_addr): Define.
13866         (si_syscall): Define.
13867         (si_arch): Define.
13869 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13871         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13872         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13873         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13874         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13875         (__memset_zero_constant_len_parameter): New.
13876         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13877         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13878         (__memset_zero_constant_len_parameter): Don't define if
13879         __memset_chk or USE_AS_BZERO are defined.
13881         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13882         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13883         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13885         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13886         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13887         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13888         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13889         comments.
13890         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13891         -mno-mmx for $(all-rtld-routines).
13892         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13893         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13894         i386.
13896 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13898         * sysdeps/generic/unwind.h
13899         (_Unwind_Word): Use __mode__(__unwind_word__)
13900         instead of __mode__(__word__).
13901         (_Unwind_Sword): Likewise.
13903         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13904         (MAX_NEEDED_INPUT): New define.
13905         (MAX_NEEDED_OUTPUT): New define.
13907         * NEWS: New item for IBM z13 string optimizations.
13909         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13910         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13911         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13912         * sysdeps/s390/multiarch/Makefile
13913         (sysdep_routines): Add memrchr functions.
13914         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13915         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13917         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13918         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13919         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13920         * sysdeps/s390/multiarch/Makefile
13921         (sysdep_routines): Add wmemcmp functions.
13922         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13923         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13924         * benchtests/bench-wmemcmp.c: New File.
13925         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13927         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13928         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13929         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13930         * sysdeps/s390/multiarch/Makefile
13931         (sysdep_routines): Add wmemset functions.
13932         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13933         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13934         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13935         * string/test-memset.c: Add wmemset support.
13936         * wcsmbs/test-wmemset.c: New File.
13937         * wcsmbs/Makefile (strop-tests): Add wmemset.
13938         * benchtests/bench-memset.c: Add wmemset support.
13939         * benchtests/bench-wmemset.c: New File.
13940         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13942         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13943         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13944         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13945         * sysdeps/s390/multiarch/Makefile
13946         (sysdep_routines): Add memccpy functions.
13947         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13948         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13949         * string/memccpy.c: Use MEMCCPY if defined.
13951         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13952         * sysdeps/s390/multiarch/memchr.c: Likewise.
13953         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13954         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13955         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13956         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13957         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13958         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13959         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13960         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13961         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13962         and rawmemchr functions.
13963         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13964         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13965         and wmemchr.
13966         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13967         * string/test-memchr.c: Add wmemchr support.
13968         * wcsmbs/test-wmemchr.c: New File.
13969         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13970         * benchtests/bench-memchr.c: Add wmemchr support.
13971         * benchtests/bench-wmemchr.c: New File.
13972         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13974         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13975         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13976         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13977         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13978         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13979         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13981         wcscspn functions.
13982         * sysdeps/s390/multiarch/ifunc-impl-list.c
13983         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13984         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13985         * string/test-strcspn.c: Add wcscspn support.
13986         * wcsmbs/test-wcscspn.c: New File.
13987         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13988         * benchtests/bench-strcspn.c: Add wcscspn support.
13989         * benchtests/bench-wcscspn.c: New File.
13990         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13992         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13993         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13994         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13995         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13996         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13997         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13999         wcspbrk functions.
14000         * sysdeps/s390/multiarch/ifunc-impl-list.c
14001         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14002         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14003         * string/test-strpbrk.c: Add wcspbrk support.
14004         * wcsmbs/test-wcspbrk.c: New File.
14005         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14006         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14007         * benchtests/bench-wcspbrk.c: New File.
14008         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14010         * sysdeps/s390/multiarch/strspn-c.c: New File.
14011         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14012         * sysdeps/s390/multiarch/strspn.c: Likewise.
14013         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14014         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14015         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14016         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14018         wcsspn functions.
14019         * sysdeps/s390/multiarch/ifunc-impl-list.c
14020         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14021         * string/test-strspn.c: Add wcsspn support.
14022         * wcsmbs/test-wcsspn.c: New File.
14023         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14024         * benchtests/bench-strspn.c: Add wcsspn support.
14025         * benchtests/bench-wcsspn.c: New File.
14026         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14028         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14029         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14030         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14031         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14032         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14033         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14035         wcsrchr functions.
14036         * sysdeps/s390/multiarch/ifunc-impl-list.c
14037         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14038         * benchtests/bench-wcsrchr.c: New File.
14039         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14041         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14042         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14043         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14044         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14045         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14046         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14048         wcschrnul functions.
14049         * sysdeps/s390/multiarch/ifunc-impl-list.c
14050         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14051         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14052         * string/test-strchr.c: Add wcschrnul support.
14053         * wcsmbs/test-wcschrnul.c: New File.
14054         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14055         * benchtests/bench-strchr.c: Add wcschrnul support.
14056         * benchtests/bench-wcschrnul.c: New File.
14057         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14059         * sysdeps/s390/multiarch/strchr-c.c: New File.
14060         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14061         * sysdeps/s390/multiarch/strchr.c: Likewise.
14062         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14063         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14064         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14066         wcschr functions.
14067         * sysdeps/s390/multiarch/ifunc-impl-list.c
14068         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14069         * string/strchr.c (STRCHR): Define and use macro.
14070         * benchtests/bench-wcschr.c: New File.
14071         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14073         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14074         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14075         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14076         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14077         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14078         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14079         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14080         wcsncmp functions.
14081         * sysdeps/s390/multiarch/ifunc-impl-list.c
14082         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14083         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14084         * benchtests/bench-strncmp.c: Add wcsncmp support.
14085         * benchtests/bench-wcsncmp.c: New File.
14086         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14088         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14089         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14090         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14091         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14092         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14093         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14094         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14095         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14096         wcscmp functions.
14097         * sysdeps/s390/multiarch/ifunc-impl-list.c
14098         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14099         * string/strcmp.c (STRCMP): Define and use macro.
14100         * benchtests/bench-wcscmp.c: New File.
14101         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14102         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14103         instead of _HAVE_STRING_ARCH_memchr.
14105         * sysdeps/s390/multiarch/strncat-c.c: New File.
14106         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14107         * sysdeps/s390/multiarch/strncat.c: Likewise.
14108         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14109         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14110         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14112         wcsncat functions.
14113         * sysdeps/s390/multiarch/ifunc-impl-list.c
14114         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14115         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14116         * string/test-strncat.c: Add wcsncat support.
14117         * wcsmbs/test-wcsncat.c: New File.
14118         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14119         * benchtests/bench-strncat.c: Add wcsncat support.
14120         * benchtests/bench-wcsncat.c: New File.
14121         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14123         * sysdeps/s390/multiarch/strcat-c.c: New File.
14124         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14125         * sysdeps/s390/multiarch/strcat.c: Likewise.
14126         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14127         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14128         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14130         wcscat functions.
14131         * sysdeps/s390/multiarch/ifunc-impl-list.c
14132         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14133         * string/strcat.c (STRCAT): Define and use macro.
14134         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14135         * string/test-strcat.c: Add wcscat support.
14136         * wcsmbs/test-wcscat.c: New File.
14137         * wcsmbs/Makefile (strop-tests): Add wcscat.
14138         * benchtests/bench-strcat.c: Add wcscat support.
14139         * benchtests/bench-wcscat.c: New File.
14140         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14142         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14143         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14144         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14145         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14146         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14147         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14148         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14149         wcpncpy functions.
14150         * sysdeps/s390/multiarch/ifunc-impl-list.c
14151         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14152         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14153         * string/test-stpncpy.c: Add wcpncpy support.
14154         * wcsmbs/test-wcpncpy.c: New File.
14155         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14156         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14157         * benchtests/bench-wcpncpy.c: New File.
14158         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14160         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14161         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14162         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14163         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14164         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14165         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14166         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14167         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14168         wcsncpy functions.
14169         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14170         * sysdeps/s390/multiarch/ifunc-impl-list.c
14171         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14172         * string/test-strncpy.c: Add wcsncpy support.
14173         * wcsmbs/test-wcsncpy.c: New File.
14174         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14175         * benchtests/bench-strncpy.c: Add wcsncpy support.
14176         * benchtests/bench-wcsncpy.c: New File.
14177         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14179         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14180         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14181         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14182         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14183         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14184         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14185         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14186         wcpcpy functions.
14187         * string/stpcpy.c: Use STPCPY if defined.
14188         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14189         * sysdeps/s390/multiarch/ifunc-impl-list.c
14190         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14191         * string/test-stpcpy.c: Add wcpcpy support.
14192         * wcsmbs/test-wcpcpy.c: New File.
14193         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14194         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14195         * benchtests/bench-wcpcpy.c: New File.
14196         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14198         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14199         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14200         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14201         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14202         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14203         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14204         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14206         wcscpy functions.
14207         * sysdeps/s390/multiarch/ifunc-impl-list.c
14208         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14209         * benchtests/bench-wcscpy.c: New File.
14210         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14212         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14213         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14214         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14215         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14216         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14217         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14218         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14219         wcsnlen functions.
14220         * sysdeps/s390/multiarch/ifunc-impl-list.c
14221         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14222         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14223         * string/test-strnlen.c: Add wcsnlen support.
14224         * wcsmbs/test-wcsnlen.c: New File.
14225         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14226         * benchtests/bench-strnlen.c: Add wcsnlen support.
14227         * benchtests/bench-wcsnlen.c: New File.
14228         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14230         * sysdeps/s390/multiarch/Makefile: New File.
14231         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14232         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14233         * sysdeps/s390/multiarch/strlen.c: Likewise.
14234         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14235         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14236         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14237         * string/strlen.c (STRLEN): Define and use macro.
14238         * sysdeps/s390/multiarch/ifunc-impl-list.c
14239         (IFUNC_VX_IMPL): New macro function.
14240         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14241         * benchtests/Makefile (wcsmbs-bench): New variable.
14242         (string-bench-all): Added wcsmbs-bench.
14243         * benchtests/bench-wcslen.c: New File.
14245         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14246         s390_vx_libc_ifunc2): New macro function.
14248         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14249         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14250         assembler support.
14251         * sysdeps/s390/configure: Regenerated.
14253         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14254         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14256         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14257         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14258         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14260         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14261         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14262         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14263         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14264         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14265         (memcmp, bcmp): Use __memcmp_default as alias source.
14266         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14267         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14268         Rename to __memcmp_default.
14269         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14270         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14271         (memcpy): Use __memcpy_default as alias source.
14272         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14273         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14274         Rename to __memcpy_default.
14275         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14276         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14277         (memset): Use __memset_default as alias source.
14278         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14279         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14280         Rename to __memset_default.
14281         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14282         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14284         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14285         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14286         (memcmp, bcmp): Use __memcmp_default as alias source.
14287         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14288         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14289         Rename to __memcmp_default.
14290         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14291         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14292         (memcpy): Use __memcpy_default as alias source.
14293         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14294         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14295         Rename to __memcpy_default.
14296         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14297         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14298         (memset): Use __memset_default as alias source.
14299         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14300         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14301         Rename to __memset_default.
14302         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14303         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14305         [BZ #18610]
14306         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14307         __ieee_instruction_pointer to __unused.
14308         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14309         __ieee_instruction_pointer.
14310         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14311         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14312         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14313         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14314         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14315         Mark dxc-field as reserved.
14317 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14319         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14320         if the weak reference is not null.
14322 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14324         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14326         [BZ #11214]
14327         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14329 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14331         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14332         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14333         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14334         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14335         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14336         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14337         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14338         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14339         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14340         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14341         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14342         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14343         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14344         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14345         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14346         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14347         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14348         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14350 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14352         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14353         register other than r0 for tabort, it has special meaning.
14354         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14355         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14356         transaction before starting syscall.
14358 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14360         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14362 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14364         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14366         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14367         * sysdeps/x86_64/rtld-memset.S: Likewise.
14368         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14369         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14370         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14371         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14373         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14375 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14377         * debug/strcpy_chk.c: Improve performance.
14378         * debug/stpcpy_chk.c: Likewise.
14379         * sysdeps/x86_64/strcpy_chk.S: Remove.
14380         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14382         [BZ #18240]
14383         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14385 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14387         [BZ #15128]
14388         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14389         ifuncmain8.
14390         (modules-names): Add ifuncmod8.
14391         ($(objpfx)ifuncmain8): New rule.
14392         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14393         <cpuid.h>.
14394         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14395         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14396         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14397         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14398         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14399         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14400         * sysdeps/x86_64/ifuncmain8.c: New file.
14401         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14402         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14403         Removed.
14404         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14405         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14406         Change rtld_savespace_sse to __glibc_unused2.
14407         (RTLD_CHECK_FOREIGN_CALL): Removed.
14408         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14409         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14410         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14412 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14414         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14416 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14418         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14419         Unconditionally set __fpcr to avoid uninialized warning.
14420         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14422 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14424         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14425         is corrupt.
14427         * malloc/arena.c (arena_get2): Drop unused argument.
14428         (arena_lock): Adjust.
14429         (arena_get_retry): Likewise.
14431 2015-08-24  Andreas Schwab  <schwab@suse.de>
14433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14434         Don't define.
14435         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14436         (__ASSUME_IPC64): Don't undef.
14437         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14438         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14439         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14440         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14441         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14442         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14443         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14444         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14445         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14446         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14447         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14448         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14449         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14450         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14451         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14452         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14453         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14454         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14455         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14456         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14457         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14459 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14461         * manual/Makefile (install): Only build manual when perl is available.
14463 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14466         '#undef memcpy' by '#undef memchr'.
14468 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14470         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14471         memchr not point to the internal __GI_memchr implementation.
14473 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14475         * timezone/Makefile (CFLAGS-zdump.c): Remove
14476         -Wno-strict-prototypes.
14477         (CFLAGS-zic.c): Likewise.
14478         (CFLAGS-ialloc.c): Likewise.
14479         (CFLAGS-scheck.c): Likewise.
14481         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14482         -Wno-error=undef.
14484 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14486         * i386/i686/multiarch/strcasestr-c.c: Removed.
14487         * x86_64/multiarch/strcasestr.c: Likewise.
14488         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14489         Remove strcasestr.
14491 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14493         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14495         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14496         variables for high and low parts before possibly modifying them.
14498 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14500         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14501         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14502         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14503         of "multiarch/init-arch.h".
14504         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14505         * sysdeps/x86/init-arch.h: This.
14507 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14509         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14510         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14512 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14514         [BZ #17787]
14515         * manual/macros.texi: Add twoexp macro.
14516         * manual/filesys.texi: Fix exponents.
14517         * manual/llio.texi: Likewise.
14518         * manual/stdio.texi: Likewise.
14520 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14522         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14523         incorrect use.
14525 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14527         [BZ #18370]
14528         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14529         whose real or imaginary part has small absolute value.
14530         * math/s_csqrtf.c (__csqrtf): Likewise.
14531         * math/s_csqrtl.c (__csqrtl): Likewise.
14532         * math/auto-libm-test-in: Add more tests of csqrt.
14533         * math/auto-libm-test-out: Regenerated.
14534         * sysdeps/i386/fpu/libm-test-ulps: Update.
14536 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14538         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14539         __ppc_set_ppr_very_low): New functions.
14540         * manual/platform.texi: Add documentation about
14541         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14543 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14545         * string/stpncpy.c (stpncpy): Improve performance using
14546         __strnlen/memcpy/memset.
14548 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14550         [BZ #18796]
14551         * scripts/test-installation.pl: Don't add -lmvec to build options if
14552         libmvec wasn't built.
14554 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14556         [BZ #14341]
14557         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14558         case when there is a gap between DT_REL and DT_JMPREL sections.
14559         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14560         (LDFLAGS-tst-split-dynreloc): New.
14561         (tst-split-dynreloc-ENV): Likewise.
14562         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14563         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14565 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14567         [BZ #18822]
14568         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14569         attribute_hidden.
14570         (__xstat64_conv): Likewise.
14571         (__xstat32_conv): Likewise.
14573 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14575         [BZ #18822]
14576         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14577         Don't load %ebx when calling __setcontext.  Call __setcontext
14578         with HIDDEN_JUMPTARGET.
14579         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14580         libc_hidden_def.
14582 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14584         * sysdeps/i386/i686/Makefile
14585         [$(subdir) == string] (sysdep_routines): Moved to ...
14586         * sysdeps/i386/Makefile: Here.
14587         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14588         * sysdeps/i386/cacheinfo.c: Here.
14589         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14590         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14591         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14592         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14594 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14596         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14597         __i586__ is defined.
14598         (HAS_I686): Defined to 1 if __i686__ is defined.
14600 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14602         * elf/Makefile [$(have-z-execstack) = yes]
14603         (CPPFLAGS-tst-execstack.c): New variable.
14605         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14606         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14607         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14608         UTMPX || _HAVE_UT_TV].
14609         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14610         UTMPX || _HAVE_UT_TV - 0].
14612 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14614         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14615         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14616         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14618 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14620         * sysdeps/powerpc/dl-procinfo.c:
14621         (_dl_powerpc_cap_flags): Added missing strings for some
14622         hwcap features.
14623         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14625 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14627         Port the 0x7efe...feff pattern to GCC 6.
14628         See Steve Ellcey's bug report in:
14629         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14630         * string/memrchr.c (MEMRCHR):
14631         * string/rawmemchr.c (RAWMEMCHR):
14632         * string/strchr.c (strchr):
14633         * string/strchrnul.c (STRCHRNUL):
14634         Rewrite code to avoid issues with signed shift overflow.
14636 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14638         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14639         whether cpuid is available only if HAS_CPUID is 0.
14640         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14641         (HAS_I586): Likewise.
14642         (HAS_I686): Likewise.
14644 2015-08-18  Zack Weinberg  <zackw@panix.com>
14646         * misc/Versions (libc): Add GLIBC_2.23.
14648 2015-08-18  Alan Modra  <amodra@gmail.com>
14650         [BZ #18421]
14651         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14652         .Lp__global.
14653         (_start): Load %dp via .Lp__global.
14654         [!SHARED]: Use .section .rodata.
14656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14658         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14659         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14661 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14663         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14664         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14666 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14668         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14669         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14673         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14674         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14678         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14679         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14683         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14684         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14686 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14688         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14690 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14692         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14693         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14694         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14695         (__ASSUME_LWS_CAS): Delete.
14697 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14699         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14700         * sysdeps/hppa/configure: Regenerated.
14701         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14702         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14703         * sysdeps/hppa/nptl/tls.h: Likewise.
14705 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14707         [BZ #18823]
14708         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14709         for scaling up small arguments.
14710         * math/s_csqrtf.c (__csqrtf): Likewise.
14711         * math/s_csqrtl.c (__csqrtl): Likewise.
14712         * math/auto-libm-test-in: Add more tests of csqrt.
14713         * math/auto-libm-test-out: Regenerated.
14715 2015-08-17  Andreas Schwab  <schwab@suse.de>
14717         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14718         version set GLIBC_2.19.
14720 2015-08-16  Zack Weinberg  <zackw@panix.com>
14722         [BZ #18681]
14723         * misc/regexp.h: This interface is no longer supported.
14724         Remove all contents, leaving only an #error directive.
14725         * misc/regexp.c (loc1, loc2, locs, step, advance):
14726         Demote to compatibility symbols.
14728 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14730         [BZ #18084]
14731         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14732         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14733         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14734         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14735         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14736         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14737         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14738         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14739         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14741 2015-08-15  Zack Weinberg  <zackw@panix.com>
14743         [BZ #18795]
14744         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14745         buffer length is known to be too large, not if it's known to be
14746         small enough.
14747         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14748         overflow at runtime, involving a length parameter, twice: once
14749         with a compile-time constant length parameter, once without.
14751 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14753         [BZ #18824]
14754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14755         scaling x * y up instead of down.
14756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14757         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14758         * math/auto-libm-test-in: Add more tests of fma.
14759         * math/auto-libm-test-out: Regenerated.
14761 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14765 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14767         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14768         unnecessary movq.
14769         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14770         Likewise.
14772 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14774         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14775         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14776         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14777         and tgamma.
14778         * math/auto-libm-test-out: Regenerated.
14779         * sysdeps/i386/fpu/libm-test-ulps: Update.
14780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14782         [BZ #16520]
14783         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14784         (__tanh): Force underflow exception for arguments with small
14785         absolute value.
14786         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14787         (__tanhf): Force underflow exception for arguments with small
14788         absolute value.
14789         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14790         (__tanhl): Force underflow exception for arguments with small
14791         absolute value.
14792         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14793         (__tanhl): Force underflow exception for arguments with small
14794         absolute value.
14795         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14796         (__tanhl): Force underflow exception for arguments with small
14797         absolute value.
14798         * math/auto-libm-test-in: Add more tests of tanh.
14799         * math/auto-libm-test-out: Regenerated.
14800         * sysdeps/i386/fpu/libm-test-ulps: Update.
14802 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14804         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14805         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14807 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14809         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14810         <cpuid.h>.
14812 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14814         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14815         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14817 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14819         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14820         Remove $(objpfx)init-arch.o.
14821         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14822         init-arch.
14823         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14824         (INIT_ARCH_EXT): Defined as empty.
14825         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14827         __init_cpu_features call.  Replace HAS_XXX with
14828         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14831         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14834         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14835         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14836         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14838         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14840         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14841         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14842         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14843         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14846         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14847         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14848         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14849         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14850         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14852         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14853         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14854         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14855         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14856         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14857         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14858         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14859         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14861         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14863         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14865 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14867         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14868         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14869         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14870         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14871         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14872         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14873         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14874         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14875         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14876         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14877         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14878         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14879         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14880         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14881         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14882         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14889         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14890         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14891         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14892         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14893         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14894         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14895         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14896         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14897         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14898         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14899         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14900         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14901         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14902         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14903         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14904         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14905         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14906         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14907         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14908         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14909         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14911 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14913         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14914         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14915         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14916         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14917         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14918         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14919         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14920         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14921         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14922         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14923         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14924         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14925         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14926         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14927         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14928         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14929         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14930         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14931         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14932         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14934         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14935         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14936         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14937         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14938         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14939         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14940         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14941         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14942         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14943         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14944         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14945         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14946         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14947         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14948         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14949         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14950         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14951         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14952         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14953         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14954         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14955         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14957 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14959         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14960         (dl_platform_init): Call init_cpu_features.
14961         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14962         * sysdeps/i386/i686/cacheinfo.c
14963         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14964         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14965         * sysdeps/i386/i686/multiarch/Versions: Removed.
14966         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14967         Removed.
14968         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14969         * sysdeps/unix/sysv/linux/x86/Makefile
14970         (libpthread-sysdep_routines): Remove init-arch.
14971         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14972         <sysdeps/x86_64/dl-procinfo.c> instead of
14973         sysdeps/generic/dl-procinfo.c>.
14974         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14975         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14976         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14977         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14978         [$(subdir) == elf] (tests-static): Add
14979         tst-get-cpu-features-static.
14980         * sysdeps/x86/Versions: New file.
14981         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14982         * sysdeps/x86/cpu-features.c: Likewise.
14983         * sysdeps/x86/cpu-features.h: Likewise.
14984         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14985         * sysdeps/x86/libc-start.c: Likewise.
14986         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14987         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14988         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14989         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14990         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14991         Assume USE_MULTIARCH is defined and don't check it.
14992         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14993         (is_amd): Likewise.
14994         (max_cpuid): Likewise.
14995         (intel_check_word): Likewise.
14996         (__cache_sysconf): Don't call __init_cpu_features.
14997         (__x86_preferred_memory_instruction): Removed.
14998         (init_cacheinfo): Don't call __init_cpu_features. Replace
14999         __cpu_features with GLRO(dl_x86_cpu_features).
15000         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15001         (dl_platform_init): Call init_cpu_features.
15002         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15003         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15004         * sysdeps/x86_64/multiarch/Versions: Removed.
15005         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15006         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15007         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15008         Removed.
15009         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15011 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15013         [BZ #18820]
15014         * libio/Makefile (test-fmemopen-mem): New test.
15015         * libio/test-fmemopen.c (do_bz18820): New test.
15016         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15017         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15019 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15021         [BZ #16734]
15022         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15023         (FREE_BUF): Delete.
15024         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15025         * libio/genops.c (_IO_setb): Use malloc and free directly.
15026         (_IO_default_doallocate, _IO_default_finish): Likewise.
15027         ( _IO_unbuffer_all): Likewise.
15028         ( libc_freeres_fn): Likewise.
15029         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15030         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15031         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15032         (_IO_wdefault_doallocate): Likewise.
15034 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15036         [BZ #18086]
15037         * sysdeps/posix/nice.c (nice): Restore old errno.
15038         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15040 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15042         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15044 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15046         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15047         __bcopy and add a weak_alias to bcopy.
15048         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15049         for static build.
15051         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15052         cleanup macro usage.
15053         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15056         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15057         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15058         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15059         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15060         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15061         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15062         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15064         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15066         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15069         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15071         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15073         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15074         libc_hidden_def.
15075         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15077         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15078         (sysdep_routines): Add strstr-ppc64.
15079         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15081 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15083         [BZ #18778]
15084         * elf/Makefile (tests): Add Add tst-nodelete2.
15085         (modules-names): Add tst-nodelete2mod.
15086         (tst-nodelete2mod.so-no-z-defs): New.
15087         ($(objpfx)tst-nodelete2): Likewise.
15088         ($(objpfx)tst-nodelete2.out): Likewise.
15089         (LDFLAGS-tst-nodelete2): Likewise.
15090         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15091         out of loop through all loaded libraries.
15092         * elf/tst-nodelete2.c: New file.
15093         * elf/tst-nodelete2mod.c: Likewise.
15094         * elf/tst-znodelete-zlib.cc: Delete.
15096 2015-08-11  Andreas Schwab  <schwab@suse.de>
15098         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15099         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15100         (__openat64_nocancel): Likewise.
15102 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15104         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15105         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15106         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15107         * math/auto-libm-test-out: Regenerated.
15108         * sysdeps/i386/fpu/libm-test-ulps: Update.
15109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15111 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15113         [BZ #18790]
15114         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15115         threshold for returning +/- 1.
15116         * math/auto-libm-test-in: Add more tests of tanh.
15117         * math/auto-libm-test-out: Regenerated.
15118         * sysdeps/i386/fpu/libm-test-ulps: Update.
15120 2015-08-10  Andreas Schwab  <schwab@suse.de>
15122         [BZ #18781]
15123         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15124         MORE_OFLAGS to oflag.
15125         * io/test-lfs.c (do_test): Test openat64.
15127 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15129         [BZ #18789]
15130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15131         smaller threshold for returning the argument.
15132         * math/auto-libm-test-in: Add more tests of sinh.
15133         * math/auto-libm-test-out: Regenerated.
15134         * sysdeps/i386/fpu/libm-test-ulps: Update.
15136 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15138         [BZ #18674]
15139         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15140         break.
15142 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15144         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15145         (generated): Don't add $(addprefix z.,$(tzfiles)).
15147 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15149         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15150         * scripts/sysd-rules.awk: Likewise.
15152 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15154         * iconvdata/tst-tables.sh: Change echo -n to printf.
15155         * nss/db-Makefile: Likewise.
15156         * posix/tst-getconf.sh: Likewise.
15157         * stdio-common/tst-unbputc.sh: Likewise.
15159 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15161         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15162         MADV_*_PAGES defines behind this feature check.
15164 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15166         [BZ #18480]
15167         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15168         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15169         Define.
15170         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15171         LOAD_REGS_5, LOAD_REGS_6): Update.
15172         (INTERNAL_SYSCALL): Update using new LOAD defines.
15173         (INTERNAL_SYSCALL_NCS): Likewise.
15174         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15176 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15178         [BZ #16734]
15179         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15181 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15183         [BZ #17905]
15184         * catgets/Makefile (tst-catgets-mem): New test.
15185         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15186         * catgets/open_catalog.c (__open_catalog): Likewise.
15187         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15189 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15191         [BZ #18787]
15192         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15193         clobber registers.
15194         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15195         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15196         Cast return to __typeof (oldval).
15198 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15200         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15201         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15202         and delete sys/syscall.h include.
15204 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15206         [BZ #16517]
15207         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15208         (tan): Force underflow exception for arguments with small absolute
15209         value.
15210         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15211         (__kernel_tanf): Force underflow exception for arguments with
15212         small absolute value.
15213         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15214         (__kernel_tanl): Force underflow exception for arguments with
15215         small absolute value.
15216         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15217         (__kernel_tanl): Force underflow exception for arguments with
15218         small absolute value.
15219         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15220         (__kernel_tanl): Force underflow exception for arguments with
15221         small absolute value.
15222         * math/auto-libm-test-in: Add more tests of tan.
15223         * math/auto-libm-test-out: Regenerated.
15225 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15227         Fix sysdeps/i386/fpu/s_scalbn.S build
15229         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15231 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15233         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15235 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15237         Fix gcrt0.o compilation
15239         When static-start-installed-name is different from
15240         start-installed-name, we must not use the shared objects.
15242         * csu/Makefile
15243         (extra-objs): Add gmon-start.o when building shared library and
15244         $(static-start-installed-name) is different from
15245         $(start-installed-name).
15246         $(objpfx)g$(static-start-installed-name): When building shared
15247         library and $(static-start-installed-name) is different from
15248         $(static-start-installed-name), revert to non-shared rule,
15249         i.e. using $(objpfx)% and gmon-start.o.
15251 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15253         [BZ #16519]
15254         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15255         (__ieee754_sinh): Force underflow exception for arguments with
15256         small absolute value.
15257         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15258         (__ieee754_sinhf): Force underflow exception for arguments with
15259         small absolute value.
15260         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15261         (__ieee754_sinhl): Force underflow exception for arguments with
15262         small absolute value.
15263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15264         (__ieee754_sinhl): Force underflow exception for arguments with
15265         small absolute value.
15266         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15267         (__ieee754_sinhl): Force underflow exception for arguments with
15268         small absolute value.
15269         * math/auto-libm-test-in: Add more tests of sinh.
15270         * math/auto-libm-test-out: Regenerated.
15271         * sysdeps/i386/fpu/libm-test-ulps: Update.
15273 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15275         * libio/oldfileops.c: Include unistd.h.
15277 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15279         * stdlib/isomac.c: Include ctype.h.
15281 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15283         * dirent/tst-seekdir.c (main): Converted to ...
15284         (do_test): ... this.
15285         (TEST_FUNCTION): New macro.
15286         Include test-skeleton.c.
15287         * elf/tst-dlmodcount.c (main): Converted to ...
15288         (do_test): ... this.
15289         (TEST_FUNCTION): New macro.
15290         Include test-skeleton.c.
15291         * elf/tst-order-main.c (main): Converted to ...
15292         (do_test): ... this.
15293         (TEST_FUNCTION): New macro.
15294         Include test-skeleton.c.
15295         * elf/tst-pie2.c (main): Converted to ...
15296         (do_test): ... this.
15297         (TEST_FUNCTION): New macro.
15298         Include test-skeleton.c.
15299         * inet/tst-ether_aton.c (main): Converted to ...
15300         (do_test): ... this.
15301         (TEST_FUNCTION): New macro.
15302         Include test-skeleton.c.
15303         * misc/tst-mntent.c (main): Converted to ...
15304         (do_test): ... this.
15305         (TEST_FUNCTION): New macro.
15306         Include test-skeleton.c.
15307         * misc/tst-tsearch.c (main): Converted to ...
15308         (do_test): ... this.
15309         (TEST_FUNCTION): New macro.
15310         Include test-skeleton.c.
15311         * posix/tst-regexloc.c (main): Converted to ...
15312         (do_test): ... this.
15313         (TEST_FUNCTION): New macro.
15314         Include test-skeleton.c.
15315         * resolv/tst-aton.c (main): Converted to ...
15316         (do_test): ... this.
15317         (TEST_FUNCTION): New macro.
15318         Include test-skeleton.c.
15319         * stdio-common/test-fwrite.c (main): Converted to ...
15320         (do_test): ... this.
15321         (TEST_FUNCTION): New macro.
15322         Include test-skeleton.c.
15323         * stdio-common/tst-ferror.c (main): Converted to ...
15324         (do_test): ... this.
15325         (TEST_FUNCTION): New macro.
15326         Include test-skeleton.c.
15327         * stdio-common/tst-printf.c (main): Converted to ...
15328         (do_test): ... this.
15329         (TEST_FUNCTION): New macro.
15330         Include test-skeleton.c.
15331         * stdio-common/tst-printfsz.c (main): Converted to ...
15332         (do_test): ... this.
15333         (TEST_FUNCTION): New macro.
15334         Include test-skeleton.c.
15335         * stdlib/tst-strtod.c (main): Converted to ...
15336         (do_test): ... this.
15337         (TEST_FUNCTION): New macro.
15338         Include test-skeleton.c.
15339         * string/tst-strlen.c (main): Converted to ...
15340         (do_test): ... this.
15341         (TEST_FUNCTION): New macro.
15342         Include test-skeleton.c.
15343         * string/tst-svc.c (main): Converted to ...
15344         (do_test): ... this.
15345         (TEST_FUNCTION): New macro.
15346         Include test-skeleton.c.
15347         * time/tst-strptime.c (main): Converted to ...
15348         (do_test): ... this.
15349         (TEST_FUNCTION): New macro.
15350         Include test-skeleton.c.
15351         * timezone/tst-timezone.c (main): Converted to ...
15352         (do_test): ... this.
15353         (TEST_FUNCTION): New macro.
15354         Include test-skeleton.c.
15356 2015-08-05  Zack Weinberg  <zackw@panix.com>
15358         * misc/regexp.h: Update comments.
15360 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15362         [BZ #18635]
15363         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15364         before return label.
15366 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15368         [BZ #18661]
15369         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15370         when calling __errno_location.
15371         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15372         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15374 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15376         [BZ #18661]
15377         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15378         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15379         __gettimeofday.
15381 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15383         [BZ #18661]
15384         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15385         (__start_context): Don't use pop to restore %rdi so that stack
15386         is aligned to 16 bytes when calling __setcontext.
15388 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15391         only for libc.
15392         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15394 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15396         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15397         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15398         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15400 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15402         * string/memccpy.c (memccpy):
15403         Improve performance by using memchr/memcpy/__mempcpy.
15405 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15407         * string/strncpy.c (strncpy):
15408         Improve performance by using __strnlen/memcpy.
15410 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15412         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15413         Optimize to avoid an unnecessary FPCR read.
15415 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15417         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15418         Optimize to reduce FPCR/FPSR accesses.
15420 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15422         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15423         dead->data[category] != NULL.
15425 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15427         [BZ #18647]
15428         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15429         and |x| close to 1, use absolute value of x when computing log.
15430         * math/auto-libm-test-in: Add more tests of pow.
15431         * math/auto-libm-test-out: Regenerated.
15433 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15435         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15436         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15437         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15439 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15441         [BZ #18525]
15442         * locales/km_KH: Remove timezone definition.
15443         * locales/lo_LA: Likewise.
15444         * locales/my_MM: Likewise.
15445         * locales/nan_TW@latin: Likewise.
15446         * locales/th_TH: Likewise.
15447         * locales/uk_UA: Likewise.
15449 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15451         [BZ #18265]
15452         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15453         (wcsncat): Likewise.
15454         (wcscmp): Likewise.
15455         (wcsncmp): Likewise.
15457 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15459         * test-skeleton.c (usage): New function.
15460         (main): Call usage when opt is '?'.
15462 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15464         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15465         before first use.
15467 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15469         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15470         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15471         in there too.
15473 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15475         * version.h (RELEASE): Set to "development".
15476         (VERSION): Set to "2.22.90"
15478         * version.h (RELEASE): Set to "stable".
15479         (VERSION): Set to "2.22"
15480         * include/features.h (__GLIBC_MINOR__): Set to 22.
15482 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15484         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15485         Restructure macro to avoid "value computed is not used" warning.
15486         (atomic_compare_and_exchange_val_acq): Likewise.
15488 2015-08-04  Andreas Schwab  <schwab@suse.de>
15490         [BZ #18635]
15491         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15492         ret.
15493         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15495 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15497         * po/pl.po: Updated translation.
15498         * po/uk.po: Likewise.
15499         * po/fi.po: Likewise.
15500         * po/ko.po: Likewise.
15501         * po/ru.po: Likewise.
15502         * po/vi.po: Likewise.
15504 2015-07-31  Zack Weinberg  <zackw@panix.com>
15506         [BZ #18681]
15507         * regexp.h: Add unconditional #warning stating that this header
15508         will be removed soon.  Revise banner comment to match.
15509         (compile): Consistently use ERROR instead of RETURN to report
15510         errors (partial fix for bz#18681).
15511         * regexp.c: Don't include regexp.h. Remove some unnecessary
15512         declarations.
15514 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15516         * po/libc.pot: Regenerated.
15518 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15520         [BZ #18740]
15521         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15522         float-vlen4-arch-ext-cflags): Removed.
15523         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15524         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15526 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15528         [BZ #14113]
15529         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15530         aligned to __aligned__.
15531         (pthread_cond_t, pthread_rwlock_t): Likewise.
15533 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15535         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15537 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15539         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15540         (struct sigaction): Change sa_flags from a long to an int, and add
15541         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15543 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15545         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15546         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15547         sysdeps/generic/sysdep.h include.
15548         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15549         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15550         sysdeps/hppa/sysdep.h.
15551         (ENTRY, PSEUDO): Undefine before defining.
15553 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15555         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15556         from scratch to use INTERNAL_SYSCALL.
15558 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15560         [BZ #18078]
15561         * scripts/check-localplt.awk: Support alternate relocations.
15562         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15563         sections.
15564         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15565         malloc entries with + REL R_386_GLOB_DAT.
15566         * sysdeps/x86_64/localplt.data: New file.
15568 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15570         [BZ #18731]
15571         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15572         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15573         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15575 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15577         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15579 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15581         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15582         directly in terms of __sync_fetch_and_add and delete (int) cast.
15584 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15586         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15587         the -D_ASM_IA64_CURRENT_H flag.
15589 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15591         [BZ #18641]
15592         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15594 2015-07-27  Andreas Schwab  <schwab@suse.de>
15596         * conform/conformtest.pl (checknamespace): Filter out string
15597         literals while tokenizing.
15599 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15601         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15602         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15603         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15605 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15607         * nptl/tst-join7mod.c: Add #include <string.h>.
15609 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15611         * sysdeps/nios2/libm-test-ulps: Update.
15613 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15615         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15616         Fix order of arguments to the rt_sigprocmask syscall.
15617         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15618         Likewise.
15620 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15622         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15624 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15626         [BZ #18457]
15627         * nptl/Makefile (tests): New test case tst-join7.
15628         (modules-names): New test case module tst-join7mod.
15629         * nptl/tst-join7.c: New file.
15630         * nptl/tst-join7mod.c: New file.
15631         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15632         all translation units in libc.so, libpthread.so and rtld.
15634 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15638 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15640         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15641         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15642         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15643         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15644         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15648         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15652         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15653         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15655         implementation.
15657 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15659         [BZ #17711]
15660         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15661         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15662         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15663         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15664         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15665         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15667 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15669         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15670         instead of just saying load lock in the comments.
15672 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15674         * sysdeps/unix/Subdirs: Moved ...
15675         * sysdeps/posix/Subdirs: ... here.
15676         * login/pty.h (struct termios, struct winsize): Add forward decls.
15677         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15678         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15679         * sysdeps/arm/nacl/libc.abilist: Updated.
15680         * sysdeps/nacl/libutil.abilist: New file.
15682         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15683         (SIGWINCH): New macro.
15685         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15686         * sysdeps/arm/nacl/libc.abilist: Add it.
15688 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15690         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15692 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15694         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15695         Swap __glibc_reserved0 and sa_flags order.
15697 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15699         [BZ #18657]
15700         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15701         are pending TLS destructor calls.
15702         * include/link.h (struct link_map): Add concurrency note for
15703         L_TLS_DTOR_COUNT.
15704         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15705         Don't touch the link map flag.  Atomically increment
15706         l_tls_dtor_count.
15707         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15708         Avoid taking the load lock and don't touch the link map flag.
15709         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15710         * stdlib/Makefile (tests): Use it.
15711         * stdlib/tst-tls-atexit.c (do_test): dlopen
15712         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15713         to allow tst-tls-atexit-nodelete test case to use it.
15715 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15717         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15718         to bits/types.h.
15719         (msgqnum_t): New typedef.
15720         (msglen_t): Likewise.
15721         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15722         and msg_qbytes type to msglen_t.
15724 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15726         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15727         pad0 to __glibc_reserved0.
15728         (struct stat64): Likewise.
15730 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15732         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15733         Change sa_flags from a long to an int and add __glibc_reserved0 before
15734         it for padding.
15736 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15738         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15739         anonymous by deleting "siginfo" name.
15741 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15743         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15744         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15745         rather than __nacl_irt_filename.
15746         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15748         * NEWS: New item for arm-nacl port.
15749         * sysdeps/arm/nacl/libc.abilist: New file.
15750         * sysdeps/nacl/ld.abilist: New file.
15751         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15752         * sysdeps/nacl/libanl.abilist: New file.
15753         * sysdeps/nacl/libcrypt.abilist: New file.
15754         * sysdeps/nacl/libdl.abilist: New file.
15755         * sysdeps/nacl/libm.abilist: New file.
15756         * sysdeps/nacl/libpthread.abilist: New file.
15757         * sysdeps/nacl/libresolv.abilist: New file.
15758         * sysdeps/nacl/librt.abilist: New file.
15760 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15762         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15763         __startcontext to initialize the new context.
15764         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15765         up CFI directive to forbid further backtracing.
15767 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15769         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15770         reference.
15771         * charmaps/ANSI_X3.4-1968: Likewise.
15772         * charmaps/BS_4730: Likewise.
15773         * charmaps/BS_VIEWDATA: Likewise.
15774         * charmaps/CP1250: Likewise.
15775         * charmaps/CP1251: Likewise.
15776         * charmaps/CP1252: Likewise.
15777         * charmaps/CP1253: Likewise.
15778         * charmaps/CP1254: Likewise.
15779         * charmaps/CP1255: Likewise.
15780         * charmaps/CP1256: Likewise.
15781         * charmaps/CSN_369103: Likewise.
15782         * charmaps/EBCDIC-DK-NO: Likewise.
15783         * charmaps/GB_1988-80: Likewise.
15784         * charmaps/GREEK-CCITT: Likewise.
15785         * charmaps/GREEK7: Likewise.
15786         * charmaps/INIS-8: Likewise.
15787         * charmaps/ISIRI-3342: Likewise.
15788         * charmaps/ISO_2033-1983: Likewise.
15789         * charmaps/ISO_5427-EXT: Likewise.
15790         * locales/POSIX: Likewise.
15791         * locales/ar_SA: Likewise.
15792         * locales/be_BY: Likewise.
15793         * locales/be_BY@latin: Likewise.
15794         * locales/ca_ES: Likewise.
15795         * locales/cs_CZ: Likewise.
15796         * locales/da_DK: Likewise.
15797         * locales/de_BE: Likewise.
15798         * locales/de_CH: Likewise.
15799         * locales/de_LU: Likewise.
15800         * locales/en_AU: Likewise.
15801         * locales/en_BW: Likewise.
15802         * locales/en_CA: Likewise.
15803         * locales/en_DK: Likewise.
15804         * locales/en_GB: Likewise.
15805         * locales/en_IE: Likewise.
15806         * locales/en_NZ: Likewise.
15807         * locales/en_ZA: Likewise.
15808         * locales/en_ZW: Likewise.
15809         * locales/es_AR: Likewise.
15810         * locales/es_BO: Likewise.
15811         * locales/es_CL: Likewise.
15812         * locales/es_CO: Likewise.
15813         * locales/es_DO: Likewise.
15814         * locales/es_EC: Likewise.
15815         * locales/es_ES: Likewise.
15816         * locales/es_HN: Likewise.
15817         * locales/es_MX: Likewise.
15818         * locales/es_PA: Likewise.
15819         * locales/es_PE: Likewise.
15820         * locales/es_PY: Likewise.
15821         * locales/es_SV: Likewise.
15822         * locales/es_US: Likewise.
15823         * locales/es_UY: Likewise.
15824         * locales/es_VE: Likewise.
15825         * locales/et_EE: Likewise.
15826         * locales/fa_IR: Likewise.
15827         * locales/fo_FO: Likewise.
15828         * locales/fr_CA: Likewise.
15829         * locales/fr_CH: Likewise.
15830         * locales/gv_GB: Likewise.
15831         * locales/he_IL: Likewise.
15832         * locales/hr_HR: Likewise.
15833         * locales/id_ID: Likewise.
15834         * locales/is_IS: Likewise.
15835         * locales/it_CH: Likewise.
15836         * locales/iw_IL: Likewise.
15837         * locales/kl_GL: Likewise.
15838         * locales/ko_KR: Likewise.
15839         * locales/kw_GB: Likewise.
15840         * locales/lg_UG: Likewise.
15841         * locales/lt_LT: Likewise.
15842         * locales/lv_LV: Likewise.
15843         * locales/mi_NZ: Likewise.
15844         * locales/nhn_MX: Likewise.
15845         * locales/nl_BE: Likewise.
15846         * locales/pl_PL: Likewise.
15847         * locales/sk_SK: Likewise.
15848         * locales/sl_SI: Likewise.
15849         * locales/sv_FI: Likewise.
15850         * locales/tl_PH: Likewise.
15851         * locales/tr_TR: Likewise.
15852         * locales/vi_VN: Likewise.
15854 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15856         [BZ #17475]
15857         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15858         of tu_IN and bh_IN.
15860 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15862         [BZ #18694]
15863         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15864         bits/wordsize.h.
15865         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15867 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15869         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15870         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15871         (spawn_thread): New function.
15872         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15873         (do_test): ... here.  Use IS_LOADED to test for its
15874         availability.
15876 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15878         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15880 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15882         [BZ #18696]
15883         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15884         si_addr_bnd.
15885         (si_lower): New.
15886         (si_upper): Likewise.
15888 2015-07-16  David S. Miller  <davem@davemloft.net>
15890         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15892 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15894         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15895         buffer.
15896         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15897         fail output information.
15899 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15902         and strstr-ppc64..
15903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15904         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15905         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15906         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15907         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15909 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15911         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15912         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15913         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15914         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15916 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15918         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15919         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15920         rtld_hidden_proto.
15921         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15923 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15925         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15926         the test can fail.
15928         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15930         [BZ #18676]
15931         * elf/tst-nodelete-opened.c: New test case.
15932         * elf/tst-nodelete-opened-lib.c: New test case module.
15933         * elf/Makefile (tests, modules-names): Use them.
15934         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15935         early.
15937 2015-07-15  David S. Miller  <davem@davemloft.net>
15939         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15940         futex-intenal.h
15941         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15942         * sysdeps/sparc/sparc64/Makefile: Likewise.
15943         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15944         Remove space from macro define.
15945         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15947 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15949         [BZ #17475]
15950         * locale/iso-639.def: Update Bhili and Tulu language codes as
15951         per iso639-3.
15953 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15955         * elf/tst-leaks1.c (main): Converted to ...
15956         (do_test): ... this.
15957         (TEST_FUNCTION): New macro.
15958         Include test-skeleton.c.
15959         * localedata/tst-langinfo.c (main): Converted to ...
15960         (do_test): ... this.
15961         (TEST_FUNCTION): New macro.
15962         Include test-skeleton.c.
15963         * math/test-fpucw.c (main): Converted to ...
15964         (do_test): ... this.
15965         (TEST_FUNCTION): New macro.
15966         Include test-skeleton.c.
15967         * math/test-tgmath.c (main): Converted to ...
15968         (do_test): ... this.
15969         (TEST_FUNCTION): New macro.
15970         Include test-skeleton.c.
15971         * math/test-tgmath2.c (main): Converted to ...
15972         (do_test): ... this.
15973         (TEST_FUNCTION): New macro.
15974         Include test-skeleton.c.
15975         * setjmp/tst-setjmp.c (main): Converted to ...
15976         (do_test): ... this.
15977         (TEST_FUNCTION): New macro.
15978         Include test-skeleton.c.
15979         * stdio-common/tst-sscanf.c (main): Converted to ...
15980         (do_test): ... this.
15981         (TEST_FUNCTION): New macro.
15982         Include test-skeleton.c.
15983         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15984         (do_test): ... this.
15985         (TEST_FUNCTION): New macro.
15986         Include test-skeleton.c.
15988         * elf/tst-audit9.c (main): Converted to ...
15989         (do_test): ... this.
15990         (TEST_FUNCTION): New macro.
15991         Include test-skeleton.c.
15993 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15995         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15997 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15999         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16000         New variable.
16002 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16004         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16006 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16008         * sysdeps/generic/dl-fileid.h: New file.
16009         * sysdeps/posix/dl-fileid.h: New file.
16010         * sysdeps/nacl/dl-fileid.h: New file.
16011         * include/link.h: Include <dl-fileid.h>.
16012         (struct link_map): Replace l_dev and l_ino with l_file_id.
16013         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16014         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16015         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16017 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16019         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16021 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16023         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16024         Add iff $CXX is set.
16025         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16026         Likewise.
16027         (tst-nodelete-zmodiff): Likewise.
16028         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16030 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16032         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16034 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16036         * sysdeps/aarch64/fpu/math_private.h
16037         (define math_opt_barrier): Add AArch64 version.
16038         (math_force_eval): Likewise.
16040 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16042         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16044 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16046         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16047         %ld with %jd and cast to intmax_t.
16048         (do_test_length_zero): Likewise.
16050 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16052         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16054 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16056         * sysdeps/tile/libm-test-ulps: Regenerated.
16058         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16059         Comment out the whole function, not just its body.
16061 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16063         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16064         locks.
16066         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16068 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16070         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16071         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16073 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16075         * sysdeps/nptl/futex-internal.h: New file.
16076         * sysdeps/nacl/futex-internal.h: New file.
16077         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16078         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16079         error checking.
16080         (setxid_unmark_thread): Likewise.
16081         (__nptl_setxid): Likewise.
16082         (__wait_lookup_done): Likewise.
16083         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16084         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16085         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16086         * nptl/pthread_once.c (clear_once_control): Likewise.
16087         (__pthread_once_slow): Likewise.
16088         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16089         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16090         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16091         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16092         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16093         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16094         Likewise.
16095         (__pthread_rwlock_rdlock): Likewise.
16096         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16097         Likewise.
16098         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16099         Likewise.
16100         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16101         Likewise.
16102         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16103         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16104         Likewise.
16105         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16106         __ASSUME_PRIVATE_FUTEX check.
16107         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16108         Check that shared futexes are supported.
16109         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16110         wrappers with error checking.
16111         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16112         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16113         * nptl/pthread_barrierattr_setpshared.c
16114         (pthread_barrierattr_setpshared): Check that shared futexes are
16115         supported.
16116         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16117         Likewise.
16118         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16119         Likewise.
16120         * nptl/sem_init.c (futex_private_if_supported): Remove.
16121         (__new_sem_init): Adapt and check that shared futexes are supported.
16122         * nptl/sem_open.c (sem_open): Likewise.
16123         * nptl/sem_post.c (futex_wake): Remove.
16124         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16125         (do_futex_wait): Use futex wrappers with error checking.
16126         * nptl/sem_wait.c: Include lowlevellock.h.
16127         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16128         Use futex_supports_pshared.
16129         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16130         Use futex wrappers with error checking.
16131         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16132         Likewise.
16133         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16134         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16135         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16136         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16137         (futex_wake): Likewise.
16138         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16139         (do_futex_wait): Use futex wrappers with error checking.
16140         (__new_sem_wait_slow): Update EINTR handling.
16141         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16143 2015-07-09  Martin Sebor  <msebor@redhat.com>
16145         [BZ #18435]
16146         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16147         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16148         * nptl/Makefile (test-xfail-tst-once5): Define.
16150 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16152         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16153         * elf/dl-minimal.c: For readability, reorder some definitions and
16154         introduce more page breaks.  Include <stdio.h>.
16155         (__libc_fatal): New function.
16157         * include/unistd.h: Add rtld_hidden_proto for _exit.
16158         * posix/_exit.c: Add rtld_hidden_def.
16159         * sysdeps/mach/hurd/_exit.c: Likewise.
16160         * sysdeps/nacl/_exit.c: Likewise.
16161         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16162         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16164 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16166         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16167         bndmov encoding with zero displacement.
16169 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16170             H.J. Lu  <hongjiu.lu@intel.com>
16172         [BZ #18134]
16173         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16174         * sysdeps/i386/configure: Regenerated.
16175         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16176         (_dl_runtime_profile): Save and restore Intel MPX return bound
16177         registers when calling _dl_call_pltexit.  Add
16178         PRESERVE_BND_REGS_PREFIX before return.
16179         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16180         (LRV_BND1_OFFSET): Likewise.
16181         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16182         lrv_bnd1.
16183         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16184         typo in bndmov encoding.
16185         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16186         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16187         branch instructions to preserve bounds.
16189 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16192         [GLIBC_2.22]: Add fmemopen.
16194 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16196         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16197         returns an error, also try to use host port from __mach_host_self for
16198         the __vm_wire call.
16199         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16201 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16203         [BZ #18400]
16204         [BZ #18648]
16205         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16206         Fix pr_uid and pr_gid members.
16207         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16208         definition to elf_greg_t.
16210 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16212         [BZ #18383]
16213         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16214         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16215         * sysdeps/arm/configure: Regenerated.
16216         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16217         (test-xfail-tst-tlsalign-static): Variable removed.
16219         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16220         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16221         rather than explicit 'ln -s'.
16223         * resolv/rpc/netdb.h: New file.
16224         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16226 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16228         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16229         length buffers.
16230         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16231         test-skeleton.c.
16233         [BZ #6544]
16234         [BZ #11216]
16235         [BZ #12836]
16236         [BZ #13151]
16237         [BZ #13152]
16238         [BZ #14292]
16239         * include/stdio.h (fmemopen): Remove hidden prototype.
16240         (__fmemopen): Add new hidden prototype.
16241         * libio/Makefile: Add oldfmemopen object.
16242         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16243         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16244         compliance.
16245         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16246         symbol compatibility.
16247         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16248         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16249         fmemopen.
16250         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16251         on append and read mode.
16252         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16253         fmemopen.
16254         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16255         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16256         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16257         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16258         Likewise.
16259         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16260         [GLIBC_2.22]: Likewise.
16261         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16262         Likewise.
16263         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16264         Likewise.
16265         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16266         [GLIBC_2.22]: Likewise.
16267         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16268         [GLIBC_2.22]: Likewise.
16269         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16270         [GLIBC_2.22]: Likewise.
16271         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16272         [GLIBC_2.22]: Likewise.
16273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16274         [GLIBC_2.22]: Likewise.
16275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16276         [GLIBC_2.22]: Likewise.
16277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16278         [GLIBC_2.22]: Likewise.
16279         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16280         Likewise.
16281         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16282         Likewise.
16283         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16284         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16285         [GLIBC_2.22]: Likewise.
16286         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16287         [GLIBC_2.22]: Likewise.
16288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16289         [GLIBC_2.22]: Likewise.
16290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16291         [GLIBC_2.22]: Likewise.
16292         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16293         Likewise.
16294         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16295         Likewise.
16296         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16297         Likewise.
16298         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16299         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16301 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16303         [BZ #18643]
16304         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16305         IPV6_PATHMTU, and IPV6_DONTFRAG.
16307 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16309         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16310         and _IO_UNBUFFERED.
16311         * libio/oldfileops.c: Likewise.
16312         * libio/wfileops.c: Likewise.
16314 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16316         * nscd/selinux.c: Delete selinux/flask.h include.
16318 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16320         [BZ #18641]
16321         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16322         (putpwent): Likewise.
16323         (getpwnam): Likewise.
16324         (getpwent_r): Likewise.
16325         (getpwuid_r): Likewise.
16326         (getpwnam_r): Likewise.
16327         (fgetpwent_r): Likewise.
16329 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16331         [BZ #18557]
16332         * inet/rcmd.c (__validuser2_sa): Check user first to
16333         short-circuit host check.
16335 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16336             Mikhail Ilin  <m.ilin@samsung.com>
16338         [BZ #17833]
16339         * elf/Makefile (tests): Add tst-nodelete.
16340         (modules-names): Add tst-nodelete-uniquemod.
16341         (tst-nodelete-uniquemod.so-no-z-defs): New.
16342         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16343         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16344         ($(objpfx)tst-nodelete): Likewise.
16345         ($(objpfx)tst-nodelete.out): Likewise.
16346         (LDFLAGS-tst-nodelete): Likewise.
16347         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16348         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16349         implement forced object deletion.
16350         (_dl_close): Pass false to _dl_close_worker.
16351         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16352         * elf/tst-nodelete.cc: New file.
16353         * elf/tst-nodeletelib.cc: Likewise.
16354         * elf/tst-znodeletelib.cc: Likewise.
16355         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16357 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16359         [BZ #18508]
16360         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16361         Depend on $(libdl).
16362         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16363         is not called infinitely times.
16364         (backtrace_helper): New function.
16365         (trace_arg): New struct.
16366         (st1): Enlarge stack size.
16367         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16368         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16369         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16370         Likewise.
16372 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16374         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16376 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16378         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16379         Include sys/types.h instead of bits/types.h.
16380         Remove inclusion of bits/wordsize.h.
16382 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16384         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16385         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16386         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16387         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16388         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16389         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16391 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16393         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16394         link-defines.sym.
16395         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16396         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16397         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16398         and LR_SIZE.
16399         * sysdeps/i386/link-defines.sym: New file.
16401 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16403         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16404         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16405         ($(objpfx)tst-audit3): New rule.
16406         ($(objpfx)tst-audit3.out): Likewise.
16407         * sysdeps/i386/tst-audit3.c: New file.
16408         * sysdeps/i386/tst-audit3.h: Likewise.
16409         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16410         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16412 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16414         [BZ #18633]
16415         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16416         pointer in C code.
16417         (__strcat_c): Likewise.
16418         (__strcat_g): Likewise.
16420 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16422         [BZ #18592]
16423         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16425 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16427         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16428         New function.  (__ieee754_sqrtf): New function.
16429         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16430         New function.
16431         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16432         New function.
16434 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16436         * sysdeps/ieee754/support.c: Remove unused file.
16438 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16440         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16441         registers instead of d ones so the layout is kernel abi compatible.
16442         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16443         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16444         Likewise.
16446 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16448         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16450 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16452         [BZ #18619]
16453         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16454         and return argument in case of subnormal argument.
16456 2015-07-01  Martin Sebor  <msebor@redhat.com>
16458         [BZ #18435]
16459         * nptl/Makefile: Add tst-once5.cc.
16460         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16461         Remove macro redefinitions.
16462         * nptl/tst-once5.cc: New test.
16464 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16466         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16468         * sysdeps/arm/libm-test-ulps: Regenerated.
16470         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16471         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16473 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16475         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16476         lll_lock_wait_private and lll_futex_wake probes.
16478         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16479         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16480         Likewise.
16481         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16482         atomic_spin_nop.
16483         * sysdeps/x86_64/bits/atomic.h: Likewise.
16484         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16485         to atomic_spin_nop and move ...
16486         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16487         ... here and ...
16488         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16489         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16490         atomic_spin_nop instead of BUSY_WAIT_NOP.
16491         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16492         Likewise.
16493         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16494         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16495         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16496         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16497         instead of atomic_delay.
16499 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16501         [BZ #18613]
16502         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16503         X_ADJ not X when adjusting exponent.
16504         (__ieee754_gamma_r): Do intermediate computations in
16505         round-to-nearest then adjust overflowing and underflowing results
16506         as needed.
16507         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16508         of X_ADJ not X when adjusting exponent.
16509         (__ieee754_gammaf_r): Do intermediate computations in
16510         round-to-nearest then adjust overflowing and underflowing results
16511         as needed.
16512         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16513         log of X_ADJ not X when adjusting exponent.
16514         (__ieee754_gammal_r): Do intermediate computations in
16515         round-to-nearest then adjust overflowing and underflowing results
16516         as needed.  Use 1.0L not 1.0f as numerator of division.
16517         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16518         log of X_ADJ not X when adjusting exponent.
16519         (__ieee754_gammal_r): Do intermediate computations in
16520         round-to-nearest then adjust overflowing and underflowing results
16521         as needed.  Use 1.0L not 1.0f as numerator of division.
16522         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16523         of X_ADJ not X when adjusting exponent.
16524         (__ieee754_gammal_r): Do intermediate computations in
16525         round-to-nearest then adjust overflowing and underflowing results
16526         as needed.  Use 1.0L not 1.0f as numerator of division.
16527         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16528         to auto-libm-test-in.
16529         (tgamma_test): Use ALL_RM_TEST.
16530         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16531         tests of tgamma with spurious-overflow.
16532         * math/auto-libm-test-out: Regenerated.
16533         * math/gen-libm-have-vector-test.sh: Do not check for START.
16534         * sysdeps/i386/fpu/libm-test-ulps: Update.
16535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16537         [BZ #18612]
16538         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16539         arguments, just return 0.5 times the argument, with underflow
16540         forced as needed.
16541         * math/auto-libm-test-in: Add more tests of j1.
16542         * math/auto-libm-test-out: Regenerated.
16544         [BZ #16559]
16545         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16546         (__ieee754_j1): Force underflow exception for small results.
16547         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16548         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16549         (__ieee754_j1f): Force underflow exception for small results.
16550         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16551         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16552         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16553         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16554         (__ieee754_j1l): Force underflow exception for small results.
16555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16556         * math/auto-libm-test-in: Add more tests of j1 and jn.
16557         * math/auto-libm-test-out: Regenerated.
16559         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16560         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16561         (PF_MPLS): Likewise.
16562         (AF_IB): Likewise.
16563         (AF_MPLS): Likewise.
16564         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16565         value and macro.
16566         (MS_RMT_MASK): Include MS_LAZYTIME.
16568 2015-06-26  Mel Gorman  <mgorman@suse.de>
16570         [BZ #18502]
16571         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16572         already minimal.
16574 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16576         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16577         (DT_MIPS_NUM): Update.
16578         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16579         DT_MIPS_RLD_MAP_REL.
16581 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16583         [BZ #16559]
16584         [BZ #18602]
16585         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16586         round-to-nearest internally then recompute results that
16587         underflowed to zero in the original rounding mode.
16588         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16589         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16590         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16591         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16592         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16593         * sysdeps/i386/fpu/libm-test-ulps: Update.
16594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16596 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16598         * NEWS: Fixed description of link with vector math library.
16600 2015-06-25  Andreas Schwab  <schwab@suse.de>
16602         [BZ #18549]
16603         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16604         * libio/test-fmemopen.c (do_test): Add test for it.
16606 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16608         [BZ #17841]
16609         * Makeconfig (no-pie-ldflag): New.
16610         (+link): Set to $(+link-pie) if default to PIE.
16611         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16612         * config.make.in (build-pie-default): New.
16613         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16614         is default.  AC_SUBST.
16615         * configure: Regenerated.
16616         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16618 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16620         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16621         to 'unsigned int'.
16623         * resolv/gai_misc.h (struct waitlist): Change type of field
16624         counterp to 'volatile unsigned int *'.
16625         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16626         FUTEXADDR and OLDVAL.
16627         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16628         Give local variable TOTAL type 'volatile unsigned int'.
16629         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16630         * resolv/gai_suspend.c (gai_suspend):
16631         Give local variable CNTR type 'unsigned int'.
16633         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16634         counterp to 'volatile unsigned int *'.
16635         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16636         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16637         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16638         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16639         Give local variable TOTAL type 'volatile unsigned int'.
16640         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16642 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16644         [BZ #18383]
16645         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16646         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16647         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16648         comment for i386/x86-64.
16649         (test-xfail-tst-tlsalign-extern-static): Removed.
16651 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16653         * math/test-double.h: New file.
16654         * math/test-float.h: Likewise.
16655         * math/test-ldouble.h: Likewise.
16656         * math/test-math-inline.h: Likewise.
16657         * math/test-math-no-inline.h: Likewise.
16658         * math/test-math-scalar.h: Likewise.
16659         * math/test-math-vector.h: Likewise.
16660         * math/test-vec-loop.h: Remove file.  Contents moved into
16661         test-math-vector.h.
16662         * math/libm-test.inc (MATHCONST): Do not document macro.
16663         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16664         and test-math-scalar.h.
16665         (FUNC): Remove macro.
16666         (FUNC_TEST): Likewise.
16667         (FLOAT): Likewise.
16668         (MATHCONST): Likewise.
16669         (PRINTF_EXPR): Likewise.
16670         (PRINTF_XEXPR): Likewise.
16671         (PRINTF_NEXPR): Likewise.
16672         (TEST_DOUBLE): Likewise.
16673         (TEST_MATHVEC): Likewise.
16674         (__NO_MATH_INLINES): Likewise.
16675         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16676         and test-math-scalar.h.
16677         (FUNC): Remove macro.
16678         (FUNC_TEST): Likewise.
16679         (FLOAT): Likewise.
16680         (MATHCONST): Likewise.
16681         (PRINTF_EXPR): Likewise.
16682         (PRINTF_XEXPR): Likewise.
16683         (PRINTF_NEXPR): Likewise.
16684         (TEST_FLOAT): Likewise.
16685         (TEST_MATHVEC): Likewise.
16686         (__NO_MATH_INLINES): Likewise.
16687         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16688         and test-math-scalar.h.
16689         (FUNC): Remove macro.
16690         (FUNC_TEST): Likewise.
16691         (FLOAT): Likewise.
16692         (MATHCONST): Likewise.
16693         (PRINTF_EXPR): Likewise.
16694         (PRINTF_XEXPR): Likewise.
16695         (PRINTF_NEXPR): Likewise.
16696         (TEST_DOUBLE): Likewise.
16697         (TEST_MATHVEC): Likewise.
16698         (TEST_INLINE): Likewise.
16699         (__NO_MATH_INLINES): Likewise.
16700         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16701         test-math-scalar.h.
16702         (FUNC): Remove macro.
16703         (FUNC_TEST): Likewise.
16704         (FLOAT): Likewise.
16705         (MATHCONST): Likewise.
16706         (PRINTF_EXPR): Likewise.
16707         (PRINTF_XEXPR): Likewise.
16708         (PRINTF_NEXPR): Likewise.
16709         (TEST_FLOAT): Likewise.
16710         (TEST_MATHVEC): Likewise.
16711         (TEST_INLINE): Likewise.
16712         (__NO_MATH_INLINES): Likewise.
16713         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16714         and test-math-scalar.h.
16715         (FUNC): Remove macro.
16716         (FUNC_TEST): Likewise.
16717         (FLOAT): Likewise.
16718         (MATHCONST): Likewise.
16719         (PRINTF_EXPR): Likewise.
16720         (PRINTF_XEXPR): Likewise.
16721         (PRINTF_NEXPR): Likewise.
16722         (TEST_LDOUBLE): Likewise.
16723         (TEST_MATHVEC): Likewise.
16724         (TEST_INLINE): Likewise.
16725         (__NO_MATH_INLINES): Likewise.
16726         * math/test-ldouble.c: Include test-ldouble.h,
16727         test-math-no-inline.h and test-math-scalar.h.
16728         (FUNC): Remove macro.
16729         (FUNC_TEST): Likewise.
16730         (FLOAT): Likewise.
16731         (MATHCONST): Likewise.
16732         (PRINTF_EXPR): Likewise.
16733         (PRINTF_XEXPR): Likewise.
16734         (PRINTF_NEXPR): Likewise.
16735         (TEST_LDOUBLE): Likewise.
16736         (TEST_MATHVEC): Likewise.
16737         (__NO_MATH_INLINES): Likewise.
16738         * math/test-double-vlen2.h: Include test-double.h,
16739         test-math-no-inline.h and test-math-vector.h.
16740         (FLOAT): Remove macro.
16741         (FUNC): Likewise.
16742         (MATHCONST): Likewise.
16743         (PRINTF_EXPR): Likewise.
16744         (PRINTF_XEXPR): Likewise.
16745         (PRINTF_NEXPR): Likewise.
16746         (TEST_DOUBLE): Likewise.
16747         (TEST_MATHVEC): Likewise.
16748         (__NO_MATH_INLINES): Likewise.
16749         (CNCT): Likewise.
16750         (CONCAT): Likewise.
16751         (WRAPPER_NAME): Likewise.
16752         (WRAPPER_DECL): Likewise.
16753         (WRAPPER_DECL_ff): Likewise.
16754         (WRAPPER_DECL_fFF): Likewise.
16755         (VECTOR_WRAPPER): Likewise.
16756         (VECTOR_WRAPPER_ff): Likewise.
16757         (VECTOR_WRAPPER_fFF): Likewise.
16758         (VEC_LEN): New macro.
16759         * math/test-double-vlen4.h: Include test-double.h,
16760         test-math-no-inline.h and test-math-vector.h.
16761         (FLOAT): Remove macro.
16762         (FUNC): Likewise.
16763         (MATHCONST): Likewise.
16764         (PRINTF_EXPR): Likewise.
16765         (PRINTF_XEXPR): Likewise.
16766         (PRINTF_NEXPR): Likewise.
16767         (TEST_DOUBLE): Likewise.
16768         (TEST_MATHVEC): Likewise.
16769         (__NO_MATH_INLINES): Likewise.
16770         (CNCT): Likewise.
16771         (CONCAT): Likewise.
16772         (WRAPPER_NAME): Likewise.
16773         (WRAPPER_DECL): Likewise.
16774         (WRAPPER_DECL_ff): Likewise.
16775         (WRAPPER_DECL_fFF): Likewise.
16776         (VECTOR_WRAPPER): Likewise.
16777         (VECTOR_WRAPPER_ff): Likewise.
16778         (VECTOR_WRAPPER_fFF): Likewise.
16779         (VEC_LEN): New macro.
16780         * math/test-double-vlen8.h: Include test-double.h,
16781         test-math-no-inline.h and test-math-vector.h.
16782         (FLOAT): Remove macro.
16783         (FUNC): Likewise.
16784         (MATHCONST): Likewise.
16785         (PRINTF_EXPR): Likewise.
16786         (PRINTF_XEXPR): Likewise.
16787         (PRINTF_NEXPR): Likewise.
16788         (TEST_DOUBLE): Likewise.
16789         (TEST_MATHVEC): Likewise.
16790         (__NO_MATH_INLINES): Likewise.
16791         (CNCT): Likewise.
16792         (CONCAT): Likewise.
16793         (WRAPPER_NAME): Likewise.
16794         (WRAPPER_DECL): Likewise.
16795         (WRAPPER_DECL_ff): Likewise.
16796         (WRAPPER_DECL_fFF): Likewise.
16797         (VECTOR_WRAPPER): Likewise.
16798         (VECTOR_WRAPPER_ff): Likewise.
16799         (VECTOR_WRAPPER_fFF): Likewise.
16800         (VEC_LEN): New macro.
16801         * math/test-float-vlen4.h: Include test-float.h,
16802         test-math-no-inline.h and test-math-vector.h.
16803         (FLOAT): Remove macro.
16804         (FUNC): Likewise.
16805         (MATHCONST): Likewise.
16806         (PRINTF_EXPR): Likewise.
16807         (PRINTF_XEXPR): Likewise.
16808         (PRINTF_NEXPR): Likewise.
16809         (TEST_FLOAT): Likewise.
16810         (TEST_MATHVEC): Likewise.
16811         (__NO_MATH_INLINES): Likewise.
16812         (CNCT): Likewise.
16813         (CONCAT): Likewise.
16814         (WRAPPER_NAME): Likewise.
16815         (WRAPPER_DECL): Likewise.
16816         (WRAPPER_DECL_ff): Likewise.
16817         (WRAPPER_DECL_fFF): Likewise.
16818         (VECTOR_WRAPPER): Likewise.
16819         (VECTOR_WRAPPER_ff): Likewise.
16820         (VECTOR_WRAPPER_fFF): Likewise.
16821         (VEC_LEN): New macro.
16822         * math/test-float-vlen8.h: Include test-float.h,
16823         test-math-no-inline.h and test-math-vector.h.
16824         (FLOAT): Remove macro.
16825         (FUNC): Likewise.
16826         (MATHCONST): Likewise.
16827         (PRINTF_EXPR): Likewise.
16828         (PRINTF_XEXPR): Likewise.
16829         (PRINTF_NEXPR): Likewise.
16830         (TEST_FLOAT): Likewise.
16831         (TEST_MATHVEC): Likewise.
16832         (__NO_MATH_INLINES): Likewise.
16833         (CNCT): Likewise.
16834         (CONCAT): Likewise.
16835         (WRAPPER_NAME): Likewise.
16836         (WRAPPER_DECL): Likewise.
16837         (WRAPPER_DECL_ff): Likewise.
16838         (WRAPPER_DECL_fFF): Likewise.
16839         (VECTOR_WRAPPER): Likewise.
16840         (VECTOR_WRAPPER_ff): Likewise.
16841         (VECTOR_WRAPPER_fFF): Likewise.
16842         (VEC_LEN): New macro.
16843         * math/test-float-vlen16.h: Include test-float.h,
16844         test-math-no-inline.h and test-math-vector.h.
16845         (FLOAT): Remove macro.
16846         (FUNC): Likewise.
16847         (MATHCONST): Likewise.
16848         (PRINTF_EXPR): Likewise.
16849         (PRINTF_XEXPR): Likewise.
16850         (PRINTF_NEXPR): Likewise.
16851         (TEST_FLOAT): Likewise.
16852         (TEST_MATHVEC): Likewise.
16853         (__NO_MATH_INLINES): Likewise.
16854         (CNCT): Likewise.
16855         (CONCAT): Likewise.
16856         (WRAPPER_NAME): Likewise.
16857         (WRAPPER_DECL): Likewise.
16858         (WRAPPER_DECL_ff): Likewise.
16859         (WRAPPER_DECL_fFF): Likewise.
16860         (VECTOR_WRAPPER): Likewise.
16861         (VECTOR_WRAPPER_ff): Likewise.
16862         (VECTOR_WRAPPER_fFF): Likewise.
16863         (VEC_LEN): New macro.
16864         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16865         test-vec-loop.h.
16866         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16867         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16868         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16869         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16870         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16872         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16874 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16876         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16877         (__getlogin_r): ... this.
16879 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16881         [BZ #18594]
16882         * math/s_ccosh.c (__ccosh): Compare with least normal value
16883         instead of comparing class with FP_SUBNORMAL.
16884         * math/s_ccoshf.c (__ccoshf): Likewise.
16885         * math/s_ccoshl.c (__ccoshl): Likewise.
16886         * math/s_cexp.c (__cexp): Likewise.
16887         * math/s_cexpf.c (__cexpf): Likewise.
16888         * math/s_cexpl.c (__cexpl): Likewise.
16889         * math/s_csin.c (__csin): Likewise.
16890         * math/s_csinf.c (__csinf): Likewise.
16891         * math/s_csinh.c (__csinh): Likewise.
16892         * math/s_csinhf.c (__csinhf): Likewise.
16893         * math/s_csinhl.c (__csinhl): Likewise.
16894         * math/s_csinl.c (__csinl): Likewise.
16895         * math/s_ctan.c (__ctan): Likewise.
16896         * math/s_ctanf.c (__ctanf): Likewise.
16897         * math/s_ctanh.c (__ctanh): Likewise.
16898         * math/s_ctanhf.c (__ctanhf): Likewise.
16899         * math/s_ctanhl.c (__ctanhl): Likewise.
16900         * math/s_ctanl.c (__ctanl): Likewise.
16901         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16902         csin, csinh, ctan and ctanh.
16903         * math/auto-libm-test-out: Regenerated.
16904         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16905         * sysdeps/i386/fpu/libm-test-ulps: Update.
16906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16908 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16910         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16911         return value is wrong, print the expected value too.
16913 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16915         [BZ #18585]
16916         * elf/readlib.c (is_gdb_python_file): New.
16917         (process_file): Don't issue errors on filenames with -gdb.py
16918         suffix.
16920 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16922         * math/auto-libm-test-in: Add more tests of csin and csinh.
16923         * math/auto-libm-test-out: Regenerated.
16924         * math/libm-test.inc (csin_test_data): Remove tests moved to
16925         auto-libm-test-in.
16926         (csinh_test_data): Likewise.
16928         [BZ #18593]
16929         * math/s_csin.c (__csin): Negate before rather than after possibly
16930         overflowing multiplication.
16931         * math/s_csinf.c (__csinf): Likewise.
16932         * math/s_csinh.c (__csinh): Likewise.
16933         * math/s_csinhf.c (__csinhf): Likewise.
16934         * math/s_csinhl.c (__csinhl): Likewise.
16935         * math/s_csinl.c (__csinl): Likewise.
16936         * math/auto-libm-test-in: Add some tests of csin and csinh.
16937         * math/auto-libm-test-out: Regenerated.
16938         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16939         (csinh_test_data): Likewise.
16940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16942         [BZ #18586]
16943         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16944         underflow exception for small results.
16946 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16948         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16949         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16950         variable and included header.
16951         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16952         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16953         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16954         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16955         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16956         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16957         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16958         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16959         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16960         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16961         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16962         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16963         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16964         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16965         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16966         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16968 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16970         [BZ #16526]
16971         [BZ #16538]
16972         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16973         (__sin): Force underflow exception for arguments with small
16974         absolute value.
16975         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16976         (__kernel_sinf): Force underflow exception for arguments with
16977         small absolute value.
16978         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16979         (__kernel_sincosl): Force underflow exception for arguments with
16980         small absolute value.
16981         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16982         (__kernel_sinl): Force underflow exception for arguments with
16983         small absolute value.
16984         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16985         (__kernel_sincosl): Force underflow exception for arguments with
16986         small absolute value.
16987         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16988         (__kernel_sinl): Force underflow exception for arguments with
16989         small absolute value.
16990         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16991         (__kernel_sinl): Force underflow exception for arguments with
16992         small absolute value.
16993         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16994         (__kernel_sinf): Force underflow exception for arguments with
16995         small absolute value.
16996         * math/auto-libm-test-in: Add more tests of sin and sincos.
16997         * math/auto-libm-test-out: Regenerated.
16999         [BZ #18245]
17000         [BZ #18583]
17001         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17002         (__kernel_standard_l): Use feholdexcept and fesetenv around
17003         conversion to double instead of special-casing overflow and
17004         underflow.
17005         * math/libm-test.inc (fmod_test_data): Add more tests.
17006         (remainder_test_data): Likewise.
17007         (sqrt_test_data): Likewise.
17009 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17011         [BZ #17403]
17012         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17013         atomic_read_barrier, atomic_write_barrier): Define.
17014         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17015         atomic_read_barrier, atomic_write_barrier): Define.
17017 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17019         * math/Makefile [$(PERL) != no]
17020         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17021         dependency on libm-test.stmp below the inclusion of Rules.
17023 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17027         and included header.
17028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17030         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17031         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17032         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17033         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17034         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17035         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17036         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17037         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17038         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17039         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17040         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17041         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17042         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17043         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17044         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17045         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17046         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17048 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17050         [BZ #18371]
17051         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17052         intermediate but not final result might underflow.
17053         * math/s_csqrtf.c (__csqrtf): Likewise.
17054         * math/s_csqrtl.c (__csqrtl): Likewise.
17055         * math/auto-libm-test-in: Add more tests of csqrt.
17056         * math/auto-libm-test-out: Regenerated.
17057         * sysdeps/i386/fpu/libm-test-ulps: Update.
17059         [BZ #18219]
17060         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17061         threshold on absolute value of exponent for which scaling is used.
17062         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17063         * math/auto-libm-test-in: Add more tests of exp2.
17064         * math/auto-libm-test-out: Regenerated.
17066 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17068         [BZ #17977]
17069         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17070         when initializing interface list, based on the bug analysis
17071         and the patch proposed by Eric Newton.
17072         * resolv/tst-res_hconf_reorder.c: New test.
17073         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17074         tst-res_hconf_reorder.
17075         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17076         and $(shared-thread-library).
17077         (tst-res_hconf_reorder-ENV): New variable.
17079         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17080         in comment.
17082 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17084         [BZ #16353]
17085         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17086         (__expm1): Force underflow exception for arguments with small
17087         absolute value.
17088         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17089         (__expm1f): Force underflow exception for arguments with small
17090         absolute value.
17091         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17092         (__expm1): Force underflow exception for arguments with small
17093         absolute value.
17094         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17095         (__expm1f): Force underflow exception for arguments with small
17096         absolute value.
17097         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17098         Check for small arguments before calling __expm1.
17099         * math/auto-libm-test-in: Do not mark underflow exceptions as
17100         possibly missing for bug 16353.
17101         * math/auto-libm-test-out: Regenerated.
17103 2015-06-22  Andreas Schwab  <schwab@suse.de>
17105         [BZ #18513]
17106         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17107         PTR queries.
17109 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17111         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17113         * string/strcoll_l.c: Remove unused struct element idxnow.
17115 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17117         [BZ #18569]
17118         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17119         underflow and return argument in case of subnormal argument.
17120         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17121         Likewise.
17122         * math/auto-libm-test-in: Add more tests of expm1.
17123         * math/auto-libm-test-out: Regenerated.
17125         [BZ #16361]
17126         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17127         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17128         tiny results.
17129         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17130         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17131         tiny results.
17132         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17133         mark underflow exceptions as possibly missing for bug 16361.
17134         * math/auto-libm-test-out: Regenerated.
17136 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17138         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17139         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17140         Remove variable.
17141         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17142         (test-xfail-XOPEN2K8/utmpx.h/conform).
17144         * conform/conformtest.pl ($xerrors): New variable.
17145         (note_error): New function.
17146         (compiletest): New argument $xfail.  Use not_error.
17147         (runtest): Likewise.
17148         (top level): Handle xfail- lines.  Update calls to compiletest and
17149         runtest.  Handle xfail- and optional- in headers listed with
17150         allow-header.
17151         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17152         (O_EXEC): Likewise.
17153         (O_SEARCH): Likewise.
17154         * conform/data/stropts.h-data (ioctl): Likewise.
17155         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17156         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17157         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17158         (msghdr.msg_controllen): Likewise.
17159         (cmsghdr.cmsg_len): Likewise.
17160         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17161         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17162         variable.
17163         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17164         (test-xfail-XPG4/stropts.h/conform): Likewise.
17165         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17166         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17167         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17168         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17169         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17170         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17171         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17172         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17173         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17174         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17175         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17176         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17177         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17178         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17179         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17180         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17181         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17182         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17183         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17185 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17187         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17188         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17189         definitions for proper unfolding of __MATHDECL_VEC.
17191 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17193         * benchtests/bench-strcoll.c:
17194         Include string.h.
17195         (main): Remove unused variable res.
17197 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17199         * timezone/Makefile (%/UTC %/Universal):
17200         Generate test-result files for UTC and Universal.
17202 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17204         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17206 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17208         [BZ #16350]
17209         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17210         for arguments with small absolute value.
17211         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17212         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17213         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17214         (__asinh): Force underflow exception for arguments with small
17215         absolute value.
17216         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17217         (__asinhf): Force underflow exception for arguments with small
17218         absolute value.
17219         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17220         (__asinhl): Force underflow exception for arguments with small
17221         absolute value.
17222         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17223         (__asinhl): Force underflow exception for arguments with small
17224         absolute value.
17225         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17226         (__asinhl): Force underflow exception for arguments with small
17227         absolute value.
17228         * math/auto-libm-test-in: Do not mark underflow exceptions as
17229         possibly missing for bug 16350.
17230         * math/auto-libm-test-out: Regenerated.
17232         * include/bits/ipc.h: Remove file.
17233         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17234         variable.
17235         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17236         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17237         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17238         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17239         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17240         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17241         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17242         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17243         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17245         * math/auto-libm-test-in: Remove spurious underflow allowance for
17246         tests of cexp.
17247         * math/auto-libm-test-out: Regenerated.
17249         [BZ #18558]
17250         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17251         unconditional definition.
17252         (MCAST_BLOCK_SOURCE): Likewise.
17253         (MCAST_UNBLOCK_SOURCE): Likewise.
17254         (MCAST_LEAVE_GROUP): Likewise.
17255         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17256         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17257         (MCAST_MSFILTER): Likewise.
17258         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17259         Remove variable.
17260         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17261         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17262         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17263         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17264         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17266 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17268         * NEWS: Mention addition of x86_64 vector sincosf.
17269         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17270         * math/test-float-vlen4.h: Likewise.
17271         * math/test-float-vlen8.h: Likewise.
17272         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17273         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17274         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17275         * sysdeps/x86_64/fpu/Versions: New versions added.
17276         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17277         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17278         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17283         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17284         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17285         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17286         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17287         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17288         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17289         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17290         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17291         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17292         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17293         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17294         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17295         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17296         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17297         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17298         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17299         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17301         * NEWS: Mention addition of x86_64 vector sincos.
17302         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17303         * math/math.h (__MATHDECL_VEC): New macro.
17304         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17305         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17306         declaration under condition.
17307         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17308         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17309         TEST_VEC_LOOP change.
17310         * math/test-double-vlen4.h: Likewise.
17311         * math/test-double-vlen8.h: Likewise.
17312         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17313         * math/test-float-vlen4.h: Likewise.
17314         * math/test-float-vlen8.h: Likewise.
17315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17316         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17317         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17318         * sysdeps/x86_64/fpu/Versions: New versions added.
17319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17320         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17321         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17322         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17323         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17324         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17326         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17327         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17328         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17329         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17330         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17331         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17332         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17333         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17334         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17335         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17336         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17337         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17339         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17340         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17341         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17342         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17344         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17345         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17346         redirections for powf.
17347         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17348         * sysdeps/x86_64/fpu/Versions: New versions added.
17349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17350         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17351         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17352         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17353         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17354         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17355         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17356         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17359         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17360         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17361         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17362         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17363         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17364         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17365         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17366         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17367         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17368         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17369         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17370         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17371         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17372         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17373         * math/test-float-vlen16.h: Fixed 2 argument macro.
17374         * math/test-float-vlen4.h: Likewise.
17375         * math/test-float-vlen8.h: Likewise.
17376         * NEWS: Mention addition of x86_64 vector powf.
17378 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17380         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17381         and redefine.
17382         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17383         and redefine.
17384         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17385         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17386         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17388         [BZ #18553]
17389         * resource/getpriority.c (getpriority): Rename to __getpriority
17390         and define as weak alias of __getpriority.
17391         * resource/setpriority.c (setpriority): Rename to __setpriority
17392         and define as weak alias of __setpriority.
17393         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17394         __getpriority and define as weak alias of __getpriority.
17395         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17396         __setpriority and define as weak alias of __setpriority.
17397         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17398         strong name.
17399         (setpriority): Use __setpriority as strong name.
17400         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17401         __getpriority and define as weak alias of __getpriority.
17402         * include/sys/resource.h (__getpriority): Declare.  Use
17403         libc_hidden_proto.
17404         (__setpriority): Likewise.
17405         (getpriority): Don't use libc_hidden_proto.
17406         (setpriority): Likewise.
17407         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17408         getpriority.  Call __setpriority instead of setpriority.
17409         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17410         Remove variable.
17412         [BZ #18547]
17413         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17414         as weak alias of __getttynam.  Use prototype function definition.
17415         Call __setttyent, __getttyent and __endttyent instead of
17416         setttyent, getttyent and endttyent.
17417         (getttyent): Rename to __getttyent and define as weak alias of
17418         __getttyent.  Call __setttyent instead of setttyent.  Call
17419         __fgets_unlocked instead of fgets_unlocked.
17420         (setttyent): Rename to __setttyent and define as weak alias of
17421         __setttyent.
17422         (endttyent): Rename to __endttyent and define as weak alias of
17423         __endttyent.
17424         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17425         (__setttyent): Likewise.
17426         (__endttyent): Likewise.
17427         (getttyent): Don't use libc_hidden_proto.
17428         (setttyent): Likewise.
17429         (endttyent): Likewise.
17430         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17431         __endttyent instead of setttyent, getttyent and endttyent.
17432         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17433         Remove variable.
17435         [BZ #18546]
17436         * socket/recv.c (__recv): Use libc_hidden_def.
17437         * socket/socket.c (__socket): Likewise.
17438         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17439         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17440         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17441         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17442         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17443         libc_hidden_def.
17444         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17445         libc_hidden_weak.
17446         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17447         Use libc_hidden_proto.
17448         (__recv): Likewise.
17449         * socket/Versions (libc): Export __recv and __socket at version
17450         GLIBC_PRIVATE.
17451         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17452         instead of recv.
17453         (init_mq_netlink): Call __socket instead of socket.
17454         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17455         Remove variable.
17457         [BZ #18545]
17458         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17459         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17460         hidden_weak.
17461         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17462         define as alias of __mq_timedsend.  Use hidden_weak.
17463         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17464         __mq_timedsend as strong name.
17465         (mq_timedreceive): Use __mq_timedreceive as strong name.
17466         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17467         (__mq_timedreceive): Likewise.
17468         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17469         __mq_timedreceive instead of mq_timedreceive.
17470         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17471         instead of mq_timedsend.
17472         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17473         Remove variable.
17475         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17476         hidden_def and hidden_weak instead of libc_hidden_def and
17477         libc_hidden_weak.
17478         (top level): Refer to hidden_def in comment.
17479         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17480         macro.  Use it instead of libc_hidden_def.
17481         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17482         specify __GI_* name explicitly.
17483         (mq_timedreceive): Likewise.
17484         (mq_setattr): Likewise.
17486         [BZ #18544]
17487         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17488         __pthread_barrier_init and define as weak alias of
17489         __pthread_barrier_init.
17490         * sysdeps/sparc/nptl/pthread_barrier_init.c
17491         (pthread_barrier_init): Likewise.
17492         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17493         __pthread_barrier_wait and define as weak alias of
17494         __pthread_barrier_wait.
17495         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17496         (pthread_barrier_wait): Likewise.
17497         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17498         (pthread_barrier_wait): Likewise.
17499         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17500         (pthread_barrier_wait): Likewise.
17501         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17502         (pthread_barrier_wait): Likewise.
17503         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17504         __pthread_barrier_wait at version GLIBC_PRIVATE.
17505         * include/pthread.h (__pthread_barrier_init): Declare.
17506         (__pthread_barrier_wait): Likewise.
17507         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17508         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17509         (helper_thread): Likewise.
17510         (init_mq_netlink): Call __pthread_barrier_init instead of
17511         pthread_barrier_init.
17513         [BZ #18542]
17514         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17515         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17516         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17517         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17518         vswscanf.
17519         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17520         Remove variable.
17522         [BZ #18540]
17523         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17524         strong alias of _IO_fflush.  Use libc_hidden_def.
17525         * libio/iofflush_u.c (fflush_unlocked): Rename to
17526         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17527         Use libc_hidden_weak.
17528         * include/stdio.h (__fflush_unlocked): Declare.  Use
17529         libc_hidden_proto.
17530         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17531         fflush_unlocked.
17532         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17533         Remove variable.
17535         [BZ #18539]
17536         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17537         define as weak alias of __addseverity.
17538         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17539         Remove variable.
17540         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17541         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17542         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17544         [BZ #18536]
17545         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17546         (__tfind): Likewise.
17547         (__tdelete): Likewise.
17548         (__twalk): Likewise.
17549         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17550         __twalk to GLIBC_PRIVATE.
17551         * include/search.h (__tsearch): Use libc_hidden_proto.
17552         (__tfind): Likewise.
17553         (__tdelete): Likewise.
17554         (__twalk): Likewise.
17555         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17556         Call __tdelete instead of tdelete.
17557         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17558         tfind.  Call __tsearch instead of tsearch.
17559         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17560         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17561         Remove variable.
17562         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17564         [BZ #18534]
17565         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17566         (dprintf): Define as a weak alias of __dprintf, not a strong
17567         alias.
17568         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17569         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17570         dprintf.
17571         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17572         Remove variable.
17573         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17574         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17576         [BZ #18533]
17577         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17578         not a strong alias.
17579         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17580         Remove variable.
17582         [BZ #18532]
17583         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17584         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17585         (in6addr_loopback): Rename to __in6addr_loopback and define as
17586         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17587         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17588         libc_hidden_proto.
17589         (__in6addr_any): Likewise.
17590         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17591         in6addr_any.
17592         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17593         variable.
17594         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17596 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17598         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17599         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17600         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17601         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17602         redirections for pow.
17603         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17604         * sysdeps/x86_64/fpu/Versions: New versions added.
17605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17607         build of SSE, AVX2 and AVX512 IFUNC versions.
17608         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17609         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17610         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17611         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17612         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17613         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17614         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17615         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17616         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17617         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17618         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17619         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17620         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17622         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17625         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17626         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17627         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17628         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17629         * NEWS: Mention addition of x86_64 vector pow.
17631         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17632         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17633         redirections for expf.
17634         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17635         * sysdeps/x86_64/fpu/Versions: New versions added.
17636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17637         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17638         build of SSE, AVX2 and AVX512 IFUNC versions.
17639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17644         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17645         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17646         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17647         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17648         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17649         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17650         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17652         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17659         * NEWS: Mention addition of x86_64 vector expf.
17661         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17662         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17664         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17665         redirections for exp.
17666         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17667         * sysdeps/x86_64/fpu/Versions: New versions added.
17668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17669         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17670         build of SSE, AVX2 and AVX512 IFUNC versions.
17671         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17672         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17673         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17674         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17675         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17677         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17678         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17679         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17680         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17681         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17682         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17684         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17685         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17687         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17688         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17689         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17690         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17691         * NEWS: Mention addition of x86_64 vector exp.
17693         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17694         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17695         redirections for logf.
17696         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17697         * sysdeps/x86_64/fpu/Versions: New versions added.
17698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17699         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17700         build of SSE, AVX2 and AVX512 IFUNC versions.
17701         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17702         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17703         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17704         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17705         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17707         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17708         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17709         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17710         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17711         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17712         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17713         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17714         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17715         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17716         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17717         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17718         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17719         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17720         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17721         * NEWS: Mention addition of x86_64 vector logf.
17723         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17724         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17725         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17726         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17727         redirections for log.
17728         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17729         * sysdeps/x86_64/fpu/Versions: New versions added.
17730         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17731         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17732         build of SSE, AVX2 and AVX512 IFUNC versions.
17733         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17734         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17735         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17736         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17737         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17738         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17739         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17740         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17741         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17742         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17743         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17744         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17745         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17746         test.
17747         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17748         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17749         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17750         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17751         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17752         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17753         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17754         * NEWS: Mention addition of x86_64 vector log.
17756 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17758         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17759         cfi_adjust_cfa_offset argument.
17760         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17761         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17763         [BZ #18034]
17764         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17765         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17766         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17767         ordering using ldar.
17768         (_dl_tlsdesc_dynamic): Likewise.
17769         (_dl_tlsdesc_return_lazy): Likewise.
17770         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17771         relaxed atomics instead of volatile and synchronize with release store.
17772         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17773         volatile.
17774         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17776 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17778         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17779         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17781         * sysdeps/x86_64/fpu/Versions: New versions added.
17782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17783         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17784         build of SSE, AVX2 and AVX512 IFUNC versions.
17785         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17789         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17790         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17791         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17792         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17793         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17794         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17795         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17796         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17797         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17798         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17799         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17800         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17801         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17802         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17803         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17804         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17805         * NEWS: Mention addition of x86_64 vector sinf.
17807 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17809         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17810         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17811         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17812         Remove variable.
17813         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17814         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17816 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17818         [BZ #18530]
17819         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17820         strong alias of _IO_fputs.  Use libc_hidden_def.
17821         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17822         and define as weak alias of __fputs_unlocked.  Use
17823         libc_hidden_weak.
17824         * include/stdio.h (__fputs_unlocked): Declare.  Use
17825         libc_hidden_proto.
17826         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17827         fputs_unlocked.
17829         [BZ #18529]
17830         * resolv/netdb.h [__USE_POSIX]: Change condition to
17831         [__USE_XOPEN2K].
17832         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17833         not expect.
17834         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17835         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17836         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17837         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17838         [XPG4 || UNIX98] (AI_ALL): Likewise.
17839         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17840         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17841         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17842         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17843         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17844         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17845         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17846         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17847         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17848         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17849         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17850         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17851         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17852         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17853         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17854         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17855         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17856         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17857         [XPG4 || UNIX98] (gai_strerror): Likewise.
17858         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17859         [XPG4 || UNIX98] (getnameinfo): Likewise.
17861         [BZ #18528]
17862         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17863         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17864         __USE_XOPEN2K8].
17865         (getgrent): Likewise.
17866         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17867         expect.
17868         [XPG3 || POSIX2008] (endgrent): Likewise.
17869         [XPG3] (setgrent): Likewise.
17870         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17871         variable.
17872         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17874         [BZ #18527]
17875         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17876         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17877         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17878         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17879         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17880         * include/unistd.h (__getlogin_r): Declare.  Use
17881         libc_hidden_proto.
17882         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17883         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17884         variable.
17885         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17886         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17887         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17889 2015-06-12  Martin Sebor  <msebor@redhat.com>
17891         [BZ #18512]
17892         * Makerules (check-install-supported): New target.
17893         (install): Add check-install-supported as a dependency.
17894         * manual/install.texi (Installing the C Library): Document
17895         that overriding prefix and exec_prefix is not supported.
17896         Mention DESTDIR.
17897         * INSTALL: Regenerate from the above.
17899 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17901         [BZ #18519]
17902         * posix/Versions (libc): Export __libc_pread at version
17903         GLIBC_PRIVATE.
17904         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17905         instead of pread.
17906         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17907         variable.
17909         [BZ #18522]
17910         * misc/efgcvt_r.c
17911         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17912         (cvt_symbol): Use weak_alias instead of strong_alias.
17913         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17914         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17915         Remove variable.
17916         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17917         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17919         [BZ #18520]
17920         * inet/herrno.c (h_errno): Rename to __h_errno.
17921         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17922         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17923         to __h_errno instead of h_errno.
17924         * nptl/herrno.c (h_errno): Rename to __h_errno.
17925         (__h_errno_location): Refer to __h_errno not h_errno.
17926         * resolv/Versions (h_errno): Rename to __h_errno.
17927         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17928         Remove variable.
17929         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17931 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17933         * configure.ac: More strict check for AVX512 assembler support.
17934         * configure: Regenerated.
17936         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17937         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17939         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17940         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17941         * sysdeps/x86_64/fpu/Versions: New versions added.
17942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17943         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17944         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17945         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17946         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17947         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17948         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17950         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17951         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17952         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17953         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17954         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17955         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17956         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17957         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17958         test.
17959         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17960         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17961         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17962         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17963         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17964         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17965         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17966         * NEWS: Mention addition of x86_64 vector sin.
17968 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17970         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17971         comment.
17973 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17975         [BZ #18479]
17976         * nptl/pt-interp.c: New file.
17977         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17978         Add pt-interp.
17979         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17980         $(common-objpfx)runtime-linker.h.
17982 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17984         * Makeconfig (+interp): Remove unused variable.
17985         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17986         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17987         $(elf-objpfx)runtime-linker.h.
17988         ($(elf-objpfx)runtime-linker.h): Rename to
17989         $(common-objpfx)runtime-linker.h and move ...
17990         * Makerules [$(build-shared) = yes]: ... here.
17991         * elf/interp.c: Include <runtime-linker.h> instead of
17992         <elf/runtime-linker.h>.
17994 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17996         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17997         (__gettimeofday_syscall): Remove vsyscall fallback.
17998         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17999         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18000         Add syscall fallback function.
18001         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18002         if vDSO is not present.
18003         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18004         fallback function.
18005         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18006         present.
18007         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18008         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18010 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18012         [BZ #18497]
18013         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18014         of wcscmp.
18015         (wcscmp): Define as weak alias of WCSCMP.
18016         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18017         wcscoll.
18018         (USE_HIDDEN_DEF): Define.
18019         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18020         __wcscoll.  Don't use libc_hidden_weak.
18021         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18022         wcscmp.
18023         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18024         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18025         __GI_wcscmp.
18026         (weak_alias): Undefine and redefine.
18027         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18028         __wcscmp and define as weak alias of __wcscmp.
18029         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18030         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18031         (__wcscoll): Likewise.
18032         (wcscmp): Don't use libc_hidden_proto.
18033         (wcscoll): Likewise.
18034         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18035         wcscoll.
18036         * posix/regexec.c (check_node_accept_bytes): Likewise.
18037         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18038         variable.
18039         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18040         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18042         [BZ #18507]
18043         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18044         __fstatvfs and define as weak alias of __fstatvfs.  Use
18045         libc_hidden_weak.
18046         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18047         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18048         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18049         Define as alias of __fstatvfs, not fstatvfs.
18050         (fstatvfs64): Likewise.
18051         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18052         Define as alias of __statvfs, not statvfs.
18053         (statvfs64): Likewise.
18054         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18055         Remove variable.
18057 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18060         (HAVE_GETCPU_VSYSCALL): Define.
18061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18062         (HAVE_GETCPU_VSYSCALL): Likewise.
18063         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18064         * sysdeps/unix/sysv/linux/sched_getcpu.c
18065         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18066         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18067         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18068         prototype.
18069         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18070         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18071         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18073         Define.
18074         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18075         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18076         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18077         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18079 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18081         * sysdeps/x86_64/fpu/Makefile: New file.
18082         * sysdeps/x86_64/fpu/Versions: New file.
18083         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18084         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18085         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18086         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18087         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18088         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18089         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18090         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18091         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18092         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18093         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18094         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18096         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18097         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18098         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18099         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18100         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18101         * sysdeps/x86_64/configure: Regenerated.
18102         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18103         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18104         * manual/install.texi (Configuring and compiling): Document
18105         --disable-mathvec.
18106         * INSTALL: Regenerated.
18107         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18109         * math/Makefile: Added rules for vector tests.
18110         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18111         declaration under condition.
18112         * math/test-double-vlen2.h: New file.
18113         * math/test-double-vlen4.h: New file.
18114         * math/test-double-vlen8.h: New file.
18115         * math/test-vec-loop.h: Added initialization macro.
18116         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18118         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18119         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18120         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18123         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18124         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18125         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18126         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18129         * sysdeps/x86_64/fpu/Versions: New versions added.
18130         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18133         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18134         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18135         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18136         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18137         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18138         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18140         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18141         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18142         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18143         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18144         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18145         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18146         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18147         * NEWS: Mention addition of x86_64 vector cosf.
18149         * math/Makefile: Added CFLAGS for new tests.
18150         * math/test-float-vlen16.h: New file.
18151         * math/test-float-vlen4.h: New file.
18152         * math/test-float-vlen8.h: New file.
18153         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18154         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18155         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18156         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18157         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18158         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18159         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18162         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18163         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18165 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18167         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18168         * locale/programs/ld-ctype.c: Likewise.
18170 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18172         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18173         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18174         bit_ZMM16_31_state): New macro.
18175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18176         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18178 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18180         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18182 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18184         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18186 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18188         [BZ #18498]
18189         * libio/memstream.c (open_memstream): Rename to __open_memstream
18190         and define as weak alias of __open_memstream.
18191         * include/stdio.h (__open_memstream): Declare.  Use
18192         libc_hidden_proto.
18193         (open_memstream): Don't use libc_hidden_proto.
18194         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18195         open_memstream.
18196         * posix/getopt.c (_getopt_internal_r): Likewise.
18197         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18198         variable.
18199         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18200         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18201         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18203         [BZ #18496]
18204         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18205         instead of wcrtomb.
18207         [BZ #18483]
18208         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18209         [__USE_XOPEN2K8].  Remove redundant #endif.
18210         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18211         Remove redundant #if.
18212         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18213         Remove variable.
18214         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18215         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18217         [BZ #18495]
18218         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18219         (__iswlower): Likewise.
18220         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18221         (__iswlower): Likewise.
18222         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18223         instead of towlower.
18224         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18225         instead of iswlower.  Call __towupper instead of towupper.
18226         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18227         instead of iswalnum.
18229 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18231         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18232         errors to stderr.
18234 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18236         [BZ #15661]
18237         [BZ #17322]
18238         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18239         Check for overflow properly.  Check for O_APPEND.  Ignore large
18240         file system block sizes.  Add comments about problems.
18241         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18242         * manual/filesys.texi (Storage Allocation): New node.
18244 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18246         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18247         cancellable syscalls.
18248         (SYS_ify): Add guard to no redefine it.
18249         (INLINE_SYSCALL): Likewise.
18250         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18251         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18252         SYSCALL_CANCEL instead.
18253         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18254         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18255         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18256         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18257         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18258         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18259         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18260         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18261         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18262         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18263         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18264         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18265         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18266         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18267         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18269         Likewise.
18270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18271         (__libc_pread64): Likewise.
18272         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18273         (__libc_preadv): Likewise.
18274         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18275         (__libc_readv64): Likewise.
18276         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18277         (__libc_pwrite): Likewise.
18278         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18279         (__libc_pwrite64): Likewise.
18280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18281         (__libc_pwritev): Likewise.
18282         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18283         (__libc_pwritev64): Likewise.
18284         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18285         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18286         (sync_file_range): Likewise.
18287         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18288         Likewise.
18289         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18290         Likewise.
18291         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18292         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18293         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18294         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18295         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18296         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18297         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18298         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18300         Likewise.
18301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18302         (__libc_read64): Likewise.
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18304         Likewise.
18305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18306         Likewise.
18307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18308         Likewise.
18309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18310         Likewise.
18311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18312         (__libc_pread64): Likewise.
18313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18314         Likewise.
18315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18316         (__libc_pwrite64): Likewise.
18317         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18318         (sync_file_range): Likewise.
18319         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18320         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18321         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18322         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18323         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18324         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18325         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18326         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18327         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18328         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18329         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18330         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18331         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18332         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18333         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18334         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18335         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18336         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18337         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18338         Likewise.
18339         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18340         Likewise.
18341         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18342         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18343         Likewise.
18344         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18345         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18346         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18347         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18348         Likewise.
18349         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18350         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18351         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18352         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18353         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18355 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18357         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18358         Include dl-vdso.
18359         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18360         Use VDSO routines for gettimeofday, clock_gettime if
18361         available.
18362         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18363         Declare VDSO symbols.
18364         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18365         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18366         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18367         * sysdeps/unix/sysv/linux/arm/Versions: Add
18368         __vdso_clock_gettime.
18370 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18372         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18373         be an inline implementation regardless of library is built within.
18374         (open_not_cancel_2): Likewise.
18375         (__read_nocancel): Likewise.
18376         (__write_nocancel): Likewise.
18377         (openat_not_cancel): Likewise.
18378         (openat_not_cancel_3): Likewise.
18379         (openat64_not_cancel): Likewise.
18380         (openat64_not_cancel_3): Likewise.
18381         (__close_nocancel): Likewise.
18382         (pause_not_cancel): Likewise.
18383         (nanosleep_not_cancel): Likewise.
18384         (sigsuspend_not_cancel): Likewise.
18386 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18388         [BZ #14958]
18389         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18390         wake-up.
18391         (__pthread_rwlock_rdlock_slow): Likewise.
18392         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18393         Likewise.
18394         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18395         Likewise.
18396         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18397         * nptl/tst-rwlock16.c: New file.
18398         * nptl/Makefile (tests): Add new test.
18400 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18402         [BZ #18324]
18403         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18404         missing wake-up of readers.
18405         * nptl/tst-rwlock15.c: New file.
18406         * nptl/Makefile (tests): Add new test.
18408 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18410         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18411         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18412         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18413         and __nacl_supply_interface_rtld.
18414         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18415         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18416         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18417         Add __nacl_supply_interface_rtld.
18418         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18420 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18422         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18423         isfinite.
18424         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18425         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18427 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18429         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18430         __signbit* with standard C99 macros.
18431         * math/e_exp10l.c: Likewise.
18432         * math/e_exp2l.c: Likewise.
18433         * math/e_scalb.c: Likewise.
18434         * math/e_scalbf.c: Likewise.
18435         * math/e_scalbl.c: Likewise.
18436         * math/s_ldexp.c: Likewise.
18437         * math/s_ldexpf.c: Likewise.
18438         * math/s_ldexpl.c: Likewise.
18439         * math/w_atan2.c: Likewise.
18440         * math/w_atan2f.c: Likewise.
18441         * math/w_atan2l.c: Likewise.
18442         * math/w_cosh.c: Likewise.
18443         * math/w_coshf.c: Likewise.
18444         * math/w_coshl.c: Likewise.
18445         * math/w_exp10.c: Likewise.
18446         * math/w_exp10f.c: Likewise.
18447         * math/w_exp10l.c: Likewise.
18448         * math/w_exp2.c: Likewise.
18449         * math/w_exp2f.c: Likewise.
18450         * math/w_exp2l.c: Likewise.
18451         * math/w_fmod.c: Likewise.
18452         * math/w_fmodf.c: Likewise.
18453         * math/w_fmodl.c: Likewise.
18454         * math/w_hypot.c: Likewise.
18455         * math/w_hypotf.c: Likewise.
18456         * math/w_hypotl.c: Likewise.
18457         * math/w_jnl.c: Likewise.
18458         * math/w_lgamma.c: Likewise.
18459         * math/w_lgamma_r.c: Likewise.
18460         * math/w_lgammaf.c: Likewise.
18461         * math/w_lgammaf_r.c: Likewise.
18462         * math/w_lgammal.c: Likewise.
18463         * math/w_lgammal_r.c: Likewise.
18464         * math/w_pow.c: Likewise.
18465         * math/w_powf.c: Likewise.
18466         * math/w_powl.c: Likewise.
18467         * math/w_remainder.c: Likewise.
18468         * math/w_remainderf.c: Likewise.
18469         * math/w_remainderl.c: Likewise.
18470         * math/w_scalb.c: Likewise.
18471         * math/w_scalbf.c: Likewise.
18472         * math/w_scalbl.c: Likewise.
18473         * math/w_scalbln.c: Likewise.
18474         * math/w_scalblnf.c: Likewise.
18475         * math/w_scalblnl.c: Likewise.
18476         * math/w_sinh.c: Likewise.
18477         * math/w_sinhf.c: Likewise.
18478         * math/w_sinhl.c: Likewise.
18479         * math/w_tgamma.c: Likewise.
18480         * math/w_tgammaf.c: Likewise.
18481         * math/w_tgammal.c: Likewise.
18482         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18483         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18484         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18485         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18486         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18488         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18489         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18490         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18491         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18492         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18493         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18494         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18495         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18496         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18497         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18498         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18499         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18500         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18503         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18505         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18506         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18507         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18508         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18509         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18510         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18511         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18512         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18513         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18514         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18515         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18516         * stdio-common/printf_fp.c: Likewise.
18517         * stdio-common/printf_fphex.c: Likewise.
18518         * stdio-common/printf_size.c: Likewise.
18520 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18522         [BZ #18470]
18523         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18524         strnlen.
18525         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18526         Remove variable.
18527         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18528         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18529         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18530         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18531         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18532         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18533         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18534         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18535         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18536         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18538         [BZ #18468]
18539         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18540         weak alias of __wmemchr.  Use libc_hidden_weak.
18541         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18542         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18543         instead of wmemchr.
18545 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18547         [BZ #18383]
18548         * elf/tst-tlsalign-extern.c: New file.
18549         * elf/tst-tlsalign-extern-static.c: New file.
18550         * elf/tst-tlsalign-vars.c: New file.
18551         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18552         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18553         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18554         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18555         (test-xfail-tst-tlsalign-extern-static): New variable.
18557 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18559         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18560         Use variable name _sc_err instead of err.
18561         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18562         instead of ret.
18563         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18564         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18565         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18566         (INLINE_SYSCALL): Likewise.
18568         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18569         * include/string.h (__strnlen): Use libc_hidden_proto.
18570         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18571         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18572         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18573         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18574         (libc_hidden_def): Undefine and redefine.
18575         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18576         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18577         __GI_strnlen.
18578         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18579         libc_hidden_def.
18580         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18582         [BZ #18469]
18583         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18584         weak alias of __towlower.  Use libc_hidden_weak.
18585         (towupper): Rename to __towupper and define as weak alias of
18586         __towupper.  Use libc_hidden_weak.
18587         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18588         (__towupper): Likewise.
18589         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18590         __towlower instead of towlower.
18592 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18594         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18595         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18597 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18599         * sysdeps/aarch64/libm-test-ulps: Update.
18601 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18603         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18604         Define.
18605         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18607         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18608         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18609         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18610         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18611         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18613 2015-06-01  Martin Sebor  <msebor@redhat.com>
18615         [BZ #18116]
18616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18617         (__setcontext): Use extended four-operand version of mtsf whenever
18618         possible.
18619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18620         (__novec_swapcontext): Likewise.
18622 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18624         * benchtests/scripts/compare_bench.py: New file.
18625         * benchtests/scripts/import_bench.py (mean): New function.
18626         (split_list): Likewise.
18627         (do_for_all_timings): Likewise.
18628         (compress_timings): Likewise.
18630         * benchtests/scripts/import_bench.py: New file.
18631         * benchtests/scripts/validate_benchout.py: Import import_bench
18632         instead of jsonschema.
18633         (validate_bench): Remove function.
18634         (main): Use import_bench.
18636 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18638         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18639         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18641 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18645 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18647         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18648         set THREAD_SELF->tid to a magic value and futex-wake it.
18649         Pass its address to the thread_exit system call.
18650         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18651         bit is clear.
18652         * sysdeps/nacl/lowlevellock.h: New file.
18653         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18655         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18656         Add TIMEOUT to current time, don't subtract it.
18658 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18660         [BZ #2981]
18661         [BZ #18422]
18662         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18663         ($(objpfx)tst-audit2.out): Also depend on
18664         $(objpfx)tst-auditmod9b.so.
18665         * elf/tst-audit2.c: Include <dlfcn.h>.
18666         (calloc_called): New.
18667         (calloc): Allow to be called more than once.
18668         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18670 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18672         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18673         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18675 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18677         * stdlib/monetary.h: Fix comment.
18679 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18681         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18682         Avoid using variables in #defines that might cause shadowing.
18683         (INTERNAL_VSYSCALL_CALL): Likewise.
18685 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18687         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18689         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18690         * nptl/lll_timedlock_wait.c: ... to this new file.
18691         * nptl/Makefile (libpthread-routines): Add it.
18692         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18693         * nptl/lll_timedwait_tid.c: ... to this new file.
18694         * nptl/Makefile (libpthread-routines): Add it.
18695         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18696         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18697         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18698         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18699         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18700         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18701         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18702         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18703         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18704         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18706 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18708         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18709         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18710         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18711         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18712         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18714         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18715         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18716         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18717         * sysdeps/unix/sysv/linux/tile/sysdep.h
18718         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18719         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18720         using vDSO syscall macro.
18722 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18724         [BZ #17293]
18725         * uk_UA: Fix sorting order for Ukrainian locale
18727 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18729         * stdlib/monetary.h: Fix comment.
18731 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18733         [BZ #18234]
18734         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18735         st_mtim and st_ctim members.
18736         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18737         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18738         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18739         (struct stat64): Likewise.
18740         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18741         (struct stat64): Likewise.
18742         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18743         (struct stat64): Likewise.
18745 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18747         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18748         Define and include sysdep-vdso.h.
18749         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18750         Likewise.
18751         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18752         Likewise.
18753         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18754         Define with VDSO_SYMBOL and use PTR_MANGLE.
18755         (__vdso_clock_gettime): Likewise.
18756         (__vdso_clock_getres): Likewise.
18757         (_libc_vdso_platform_setup): Likewise.
18758         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18759         Likewise.
18760         (_libc_vdso_platform_setup): Likewise.
18761         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18762         Likewise.
18763         (__vdso_clock_gettime): Likewise.
18764         (__vdso_clock_getres): Likewise.
18765         (__vdso_get_tbfreq): Likewise.
18766         (__vdso_getcpu): Likewise.
18767         (__vdso_time): Likewise.
18768         (__vdso_sigtramp_rt64): Likewise.
18769         (__vdso_signtramp32): Likewise.
18770         (__vdso_sigtramp_rt32): Likewise.
18771         (_libc_vdso_platform_setup): Likewise.
18772         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18773         Likewise.
18774         (__vdso_clock_gettime): Likewise.
18775         (__vdso_clock_getres): Likewise.
18776         (_libc_vdso_platform_setup): Likewise.
18777         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18778         Likewise.
18779         (__vdso_clock_gettime): Likewise.
18780         (_libc_vdso_platform_setup): Likewise.
18781         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18782         Likewise.
18783         (__vdso_getcpu): Likewise.
18784         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18785         Use VDSO_SYMBOL macro to define.
18786         (__vdso_clock_gettime): Likewise.
18787         (__vdso_clock_getres): Likewise.
18788         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18789         Likewise.
18790         (__vdso_clock_gettime): Likewise.
18791         (__vdso_clock_getres): Likewise.
18792         (__vdso_get_tbfreq): Likewise.
18793         (__vdso_getcpu): Likewise.
18794         (__vdso_time): Likewise.
18795         (__vdso_sigtramp_rt64): Likewise.
18796         (__vdso_signtramp32): Likewise.
18797         (__vdso_sigtramp_rt32): Likewise.
18798         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18799         Likewise.
18800         (__vdso_clock_gettime): Likewise.
18801         (__vdso_clock_getres): Likewise.
18802         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18803         Likewise.
18804         (__vdso_clock_gettime): Likewise.
18805         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18806         Likewise.
18807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18808         macro.
18809         (INTERNAL_VSYSCALL): Likewise.
18810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18811         Remove macro.
18812         (INTERNAL_VSYSCALL): Likewise.
18813         (INTERNAL_VSYSCALL_NCS): Likewise.
18814         (INTERNAL_VSYSCALL_CALL): New macro.
18815         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18817         Likewise.
18818         (INTERNAL_VSYSCALL): Likewise.
18819         (INTERNAL_VSYSCALL_NCS): Likewise.
18820         (INTERNAL_VSYSCALL_CALL): New macro.
18821         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18823         (INLINE_VSYSCALL): Remove macro.
18824         (INTERNAL_VSYSCALL): Remove macro.
18825         (INTERNAL_VSYSCALL_NCS): Remove macro.
18826         (INTERNAL_VSYSCALL_CALL): New macro.
18827         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18828         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18829         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18830         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18831         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18833         (INLINE_VSYSCALL): Remove macro.
18834         (INTERNAL_VSYSCALL): Likewise.
18835         (INTERNAL_VSYSCALL_NCS): Likewise.
18836         (INTERNAL_VSYSCALL_CALL): New macro.
18837         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18838         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18839         PTR_DEMANGLE on vDSO pointer.
18840         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18841         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18842         macro.
18843         (INTERNAL_SYSCALL): Likewise.
18844         (INTERNAL_VSYSCALL_NCS): Remove macro.
18845         (INTERNAL_VSYSCALL_CALL): New macro.
18846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18847         Remove macro.
18848         (INTERNAL_VSYSCALL): Likewise.
18849         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18850         sysdep-vdso.h instead of libc-vdso.h.
18851         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18852         definition.
18853         (INLINE_VSYSCALL): Likewise.
18854         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18855         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18856         definition.
18857         (INLINE_VSYSCALL): Likewise.
18858         (INTERNAL_VSYSCALL): Likewise.
18859         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18860         * sysdeps/unix/sysv/linux/timespec_get.c
18861         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18862         (timespec_get): Use ANSI prototype.
18863         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18864         and definition for Linux.
18866 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18868         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18869         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18871 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18873         [BZ #2981]
18874         [BZ #18410]
18875         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18876         for missing DT_PLTRELSZ.
18878 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18880         Remove obsolete aliases that broke 'locale -a'
18881         [BZ #18412]
18882         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18883         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18884         breaking some applications that use 'locale -a' output.
18885         Change the encoding of this file from Latin-1 to ASCII to avoid
18886         other potential problems with people grepping this file.
18888 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18890         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18891         -fasynchronous-unwind-tables.
18892         (CFLAGS-sendto.c): Likewise.
18893         (CFLAGS-sendmsg.c): Likewise.
18894         (CFLAGS-connect.c): Likewise.
18895         (CFLAGS-recvmsg.c): Likewise.
18896         (CFLAGS-recvfrom.c): Likewise.
18897         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18898         (SOCKETCALL): New macro: non-cancellable socketcall.
18899         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18900         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18901         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18902         * sysdeps/unix/sysv/linux/accept.c: New file.
18903         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18904         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18905         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18906         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18907         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18908         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18909         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18910         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18911         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18912         * sysdeps/unix/sysv/linux/send.c: Likewise.
18913         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18914         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18915         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18916         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18917         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18918         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18919         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18920         prototype.
18921         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18922         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18923         instead of __internal_xxx function.
18924         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18925         prototype.
18926         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18927         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18928         instead of __internal_xxx function.
18929         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18930         prototype.
18931         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18932         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18933         instead of __internal_xxx function.
18934         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18935         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18936         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18937         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18938         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18939         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18940         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18941         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18942         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18943         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18944         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18945         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18946         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18947         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18948         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18949         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18950         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18951         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18952         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18953         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18956         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18957         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18958         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18959         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18960         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18961         * sysdeps/unix/sysv/linux/send.S: Likewise.
18962         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18963         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18964         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18965         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18966         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18967         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18968         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18969         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18970         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18971         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18972         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18973         socketcall is implemented in GLIBC.
18975 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18977         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18978         (__fma): Ignore uninitialized warnings around packing.
18979         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18980         (__fmaf): Ignore uninitialized warnings around packing.
18981         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18982         (__fmal): Ignore uninitialized warnings around packing.
18984         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18985         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18986         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18987         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18989         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18990         switch statement into default case.
18991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18993         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18994         a conditional in forcing "inexact".
18995         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18996         Likewise.
18998 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19000         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19001         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19002         for each INTERNAL_SYSCALL use.
19004 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19006         [BZ #438]
19007         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19008         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19009         variable.
19011         [BZ #18444]
19012         * string/basename.c (basename): Rename to __basename and define as
19013         weak alias of __basename.  Use libc_hidden_weak.
19014         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19015         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19016         __basename instead of basename.
19017         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19018         Remove variable.
19019         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19021 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19023         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19024         (_IO_JUMPS_FILE_plus): New.
19025         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19026         _IO_CAST_FIELD_ACCESS.
19027         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19028         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19029         * libio/freopen.c (freopen): Likewise.
19030         * libio/freopen64.c (freopen64): Likewise.
19031         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19032         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19033         * libio/iofwide.c (_IO_fwide): Likewise.
19034         * libio/memstream.c (open_memstream): Likewise.
19035         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19036         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19037         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19039 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19041         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19042         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19043         NADJ.
19044         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19045         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19046         NADJ.
19047         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19048         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19049         NADJ.
19051         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19052         (p == 4) case.
19054         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19055         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19056         Remove variable.
19057         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19058         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19059         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19061 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19063         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19064         Adjust jump table label generation macros.
19066 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19068         * stdio-common/vfprintf.c (vfprintf): Move local variables
19069         args_malloced, specs, specs_malloced, and the code after
19070         do_positional to the printf_positional function.
19071         (printf_positional): New function.
19073 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19075         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19076         function.
19077         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19078         STEP4_TABLE, process_arg): Move macro definitions
19079         out of the vfprintf function.  (Cosmetic change only.)
19081 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19083         * benchtests/Makefile (stdio-common-bench): Define.
19084         (benchset): Add stdio-common-bench.
19085         * sprintf-inputs: New file.
19086         * sprintf-source.c: New file.
19088 2015-05-21  Andreas Schwab  <schwab@suse.de>
19090         [BZ #13028]
19091         [BZ #17053]
19092         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19093         of struct __res_state.
19094         * resolv/res_send.c (__libc_res_nsend): Likewise.
19095         (get_nsaddr): New function.
19096         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19097         statp directly.
19099 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19101         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19102         -D_POSIX_C_SOURCE=199506L.
19104         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19106         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19107         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19108         Do not mention otherwise.
19109         [POSIX] (_XOPEN_VERSION): Do not expect.
19110         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19111         [POSIX] (_POSIX2_C_BIND): Likewise.
19112         [POSIX] (_POSIX2_VERSION): Likewise.
19113         [POSIX] (_XOPEN_XPG2): Likewise.
19114         [POSIX] (_XOPEN_XPG3): Likewise.
19115         [POSIX] (_XOPEN_XPG4): Likewise.
19116         [POSIX] (_XOPEN_UNIX): Likewise.
19117         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19118         [POSIX] (_POSIX_BARRIERS): Likewise.
19119         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19120         [POSIX] (_POSIX_CPUTIME): Likewise.
19121         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19122         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19123         [POSIX] (_POSIX_SHELL): Likewise.
19124         [POSIX] (_POSIX_SPAWN): Likewise.
19125         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19126         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19127         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19128         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19129         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19130         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19131         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19132         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19133         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19134         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19135         [POSIX] (_POSIX2_PBS): Likewise.
19136         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19137         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19138         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19139         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19140         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19141         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19142         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19143         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19144         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19145         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19146         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19147         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19148         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19149         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19150         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19151         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19152         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19153         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19154         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19155         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19156         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19157         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19158         [POSIX] (_SC_2_C_BIND): Likewise.
19159         [POSIX] (_SC_2_C_VERSION): Likewise.
19160         [POSIX] (_SC_2_PBS): Likewise.
19161         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19162         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19163         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19164         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19165         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19166         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19167         [POSIX] (_SC_BARRIERS): Likewise.
19168         [POSIX] (_SC_BASE): Likewise.
19169         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19170         [POSIX] (_SC_DEVICE_IO): Likewise.
19171         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19172         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19173         [POSIX] (_SC_FD_MGMT): Likewise.
19174         [POSIX] (_SC_FIFO): Likewise.
19175         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19176         [POSIX] (_SC_FILE_LOCKING): Likewise.
19177         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19178         [POSIX] (_SC_IOV_MAX): Likewise.
19179         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19180         [POSIX] (_SC_NETWORKING): Likewise.
19181         [POSIX] (_SC_PAGE_SIZE): Likewise.
19182         [POSIX] (_SC_PASS_MAX): Likewise.
19183         [POSIX] (_SC_PIPE): Likewise.
19184         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19185         [POSIX] (_SC_REGEXP): Likewise.
19186         [POSIX] (_SC_SHELL): Likewise.
19187         [POSIX] (_SC_SIGNALS): Likewise.
19188         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19189         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19190         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19191         [POSIX] (_SC_USER_GROUPS): Likewise.
19192         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19193         [POSIX] (_SC_STREAMS): Likewise.
19194         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19195         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19196         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19197         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19198         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19199         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19200         [POSIX] (_PC_FILESIZEBITS): Likewise.
19201         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19202         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19203         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19204         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19205         [POSIX] (uid_t): Likewise.
19206         [POSIX] (gid_t): Likewise.
19207         [POSIX] (off_t): Likewise.
19208         [POSIX] (pid_t): Likewise.
19209         [POSIX] (cuserid): Allow.
19210         (_SC_2_CHAR_TERM): Require constant.
19211         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19212         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19213         variable.
19215 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19217         * sysdeps/nacl/pthread-pids.h: New file.
19218         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19219         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19221         * nptl/pthread-pids.h: New file.
19222         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19223         * nptl/nptl-init.c: Include <pthread-pids.h>.
19224         (__pthread_initialize_minimal_internal):
19225         Call __pthread_initialize_pids instead of set_tid_address syscall.
19227         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19228         * sysdeps/posix/usleep.c: ... here.
19230 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19232         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19233         call_pselect6 object.
19234         [$(subdir) = io]: Remove call_sync_file_range object.
19235         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19236         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19237         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19238         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19240 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19242         * math/s_cproj.c: Add include "math_private.h".
19243         * math/s_cprojf.c: Likewise.
19244         * math/s_cprojl.c: Likewise.
19246 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19248         [BZ #18244]
19249         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19250         high mantissa bit when testing whether P is a NaN.
19251         * math/libm-test.inc (remainder_test_data): Add more tests.
19252         (remquo_test_data): Likewise.
19254         [BZ #18049]
19255         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19256         below -32, return the argument, with underflow if subnormal.
19257         * math/auto-libm-test-in: Add more tests of atanh.
19258         * math/auto-libm-test-out: Regenerated.
19260 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19262         [BZ #18434]
19263         * nptl/tst-sem15.c: New file.
19264         * nptl/Makefile (tests): Add it.
19265         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19266         s/<</>>/ to fix typo in EOVERFLOW check.
19267         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19269 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19271         * manual/strings.texi (envz_remove): Fix typo in safety
19272         annotations.
19274 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19275             Steve Ellcey  <sellcey@imgtec.com>
19277         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19278         in order to avoid strict alias warnings.
19279         (iruserok_af): Ditto for ra.
19281 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19283         [BZ #17581]
19284         * malloc/hooks.c
19285         (magicbyte): Convert to a function and avoid returning 0x01.
19286         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19287         (mem2chunk_check): Fix unsigned comparisons to zero.
19288         Hoist defs of sz and magic.
19290 2015-05-19  Richard Henderson  <rth@redhat.com>
19292         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19294         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19296 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19298         [BZ #16159]
19299         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19300         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19301         (reused_arena): Find a non-corrupt arena.
19302         (heap_trim): Pass arena to unlink.
19303         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19304         malloc_printerr.
19305         (top_check): Likewise.
19306         (free_check): Likewise.
19307         (realloc_check): Likewise.
19308         * malloc/malloc.c (malloc_printerr): Add arena argument.
19309         (unlink): Likewise.
19310         (munmap_chunk): Adjust.
19311         (ARENA_CORRUPTION_BIT): New macro.
19312         (arena_is_corrupt): Likewise.
19313         (set_arena_corrupt): Likewise.
19314         (sysmalloc): Use mmap if there are no usable arenas.
19315         (_int_malloc): Likewise.
19316         (__libc_malloc): Don't fail if arena_get returns NULL.
19317         (_mid_memalign): Likewise.
19318         (__libc_calloc): Likewise.
19319         (__libc_realloc): Adjust for additional argument to
19320         malloc_printerr.
19321         (_int_free): Likewise.
19322         (malloc_consolidate): Likewise.
19323         (_int_realloc): Likewise.
19324         (_int_memalign): Don't touch corrupt arenas.
19325         * malloc/tst-malloc-backtrace.c: New test case.
19327         * Makefile (summarize-tests): Fix return value on success.
19329         * manual/string.texi (Envz Functions): Add envz_remove.
19331 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19333         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19334         (invalid_name): New function, broken out of ...
19335         (__opendirat): ... here.  Call it.
19336         (need_isdir_precheck): New function, broken out of ...
19337         (__opendirat): ... here.  Call it.
19338         Use __fxstatat64, not __xstatat64.
19339         (opendir_oflags): New function, broken out of ...
19340         (__opendirat): ... here.  Call it.
19341         (opendir_tail): New function, broken out of ...
19342         (__opendirat): ... here.  Call it.
19343         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19344         opendir_tail, rather than punting to __opendirat.
19345         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19347 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19349         * .gitignore: Ignore generated *.pyc.
19351 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19353         * include/stdio.h: Define __need_wint_t.
19354         * test-skeleton.c: Avoid `for' loop initial declaration.
19355         * nptl/tst-initializers1.c: Use test-skeleton.c.
19357 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19359         [BZ #18418]
19360         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19362 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19364         [BZ #16352]
19365         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19366         (__ieee754_atanh): Force underflow exception for results with
19367         small absolute value.
19368         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19369         (__ieee754_atanhf): Force underflow exception for results with
19370         small absolute value.
19371         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19372         (__ieee754_atanh): Force underflow exception for results with
19373         small absolute value.
19374         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19375         (__ieee754_atanhf): Force underflow exception for results with
19376         small absolute value.
19377         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19378         (__ieee754_atanhl): Force underflow exception for results with
19379         small absolute value.
19380         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19381         (__ieee754_atanhl): Force underflow exception for results with
19382         small absolute value.
19383         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19384         (__ieee754_atanhl): Force underflow exception for results with
19385         small absolute value.
19386         * math/auto-libm-test-in: Do not allow missing underflow
19387         exceptions from atanh.
19388         * math/auto-libm-test-out: Regenerated.
19390         [BZ #18221]
19391         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19392         2**-28 as threshold for returning x or +/- 1/x.
19393         * math/auto-libm-test-in: Add more tests of tan.
19394         * math/auto-libm-test-out: Regenerated.
19396         [BZ #18220]
19397         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19398         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19399         * math/auto-libm-test-in: Add another test of lgamma.
19400         * math/auto-libm-test-out: Regenerated.
19402 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19404         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19405         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19406         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19407         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19408         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19409         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19410         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19411         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19413         (log1): Use fabs.  (my_log2): Use fabs.
19414         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19415         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19417         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19419         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19420         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19421         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19422         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19423         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19424         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19426 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19428         [BZ #18217]
19429         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19430         as threshold for returning 1 - x.
19431         * math/auto-libm-test-in: Add more tests of erfc.
19432         * math/auto-libm-test-out: Regenerated.
19434 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19436         [BZ #18196]
19437         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19438         threshold for large arguments.
19439         * math/auto-libm-test-in: Add another test of atan.
19440         * math/auto-libm-test-out: Regenerated.
19442         [BZ #16339]
19443         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19444         (__log1p): Force underflow exception for results with small
19445         absolute value.
19446         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19447         (__log1pf): Force underflow exception for results with small
19448         absolute value.
19449         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19450         (__log1p): Force underflow exception for results with small
19451         absolute value.
19452         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19453         (__log1pf): Force underflow exception for results with small
19454         absolute value.
19455         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19456         (__log1pl): Force underflow exception for results with small
19457         absolute value.
19458         * math/auto-libm-test-in: Do not allow missing underflow
19459         exceptions from log1p.
19460         * math/auto-libm-test-out: Regenerated.
19462 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19463             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19465         [BZ #16704]
19466         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19468 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19470         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19471         (libmvec): New variable.
19472         * configure.ac: Added option for mathvec build.
19473         * configure: Regenerated.
19474         * mathvec/Depend: New file.
19475         * mathvec/Makefile: New file.
19476         * shlib-versions: Added libmvec.
19477         * math/Makefile: Added rule for libm.so installation.
19479         * bits/math-vector.h: New file.
19480         * bits/libm-simd-decl-stubs.h: New header.
19481         * math/Makefile (headers): Added new header
19482         libm-simd-decl-stubs.h.
19483         * math/math.h (__MATHCALL_VEC): New macro.
19485         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19486         for conditions in testing functions.
19487         * math/Makefile: Added call of libm-have-vector-test.sh.
19488         * math/libm-test.inc (HAVE_VECTOR): New macros.
19490         * math/libm-test.inc: START refactored.
19491         * math/test-double.c (TEST_MATHVEC): Add define.
19492         * math/test-float.c: Likewise.
19493         * math/test-idouble.c: Likewise.
19494         * math/test-ifloat.c: Likewise.
19495         * math/test-ildoubl.c: Likewise.
19496         * math/test-ldouble.c: Likewise.
19497         * sysdeps/generic/math-tests-arch.h
19498         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19499         architecture check.
19501         * math/test-double.c (FUNC_TEST): New macro.
19502         * math/test-float.c: Likewise.
19503         * math/test-idouble.c: Likewise.
19504         * math/test-ifloat.c: Likewise.
19505         * math/test-ildoubl.c: Likewise.
19506         * math/test-ldouble.c: Likewise.
19507         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19509 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19511         * sysdeps/nacl/fdopendir.c: New file.
19513         * dirent/scandir-tail.c: New file.
19514         * dirent/scandir64-tail.c: New file.
19515         * dirent/Makefile (routines): Add them.
19516         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19517         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19518         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19519         [!SCANDIR] (SCANDIR_TAIL): New macro.
19520         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19521         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19522         (SCANDIRAT): Macro removed.
19523         (SCANDIR_TAIL): New macro.
19524         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19525         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19526         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19527         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19528         (READDIR): Macro removed.
19529         (SCANDIR_TAIL): New macro.
19530         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19531         (SCANDIR_TAIL): New macro.
19533         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19534         * dirent/scandir-cancel.c: ... to this new file.
19535         * dirent/Makefile (routines): Add it.
19536         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19537         * sysdeps/unix/sysv/linux/i386/scandir64.c
19538         (SKIP_SCANDIR_CANCEL): Macro removed.
19539         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19541         * dirent/tst-scandir.c: New file.
19542         * dirent/tst-scandir64.c: New file.
19543         * dirent/Makefile (tests): Add them.
19545 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19547         [BZ #18409]
19548         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19550 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19552         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19553         list.
19555 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19557         * benchtests/bench-strcoll.c: New benchmark.
19558         * benchtests/Makefile: Generate locales and run benchmark.
19559         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19560         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19561         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19562         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19563         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19564         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19565         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19566         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19567         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19568         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19569         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19570         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19571         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19572         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19573         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19574         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19575         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19576         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19577         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19578         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19579         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19580         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19581         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19582         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19584 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19586         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19587         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19589 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19591         * posix/uname-values.h: New file.
19592         * posix/uname.c: Include that instead of <config-name.h>.
19593         * sysdeps/nacl/uname-values.h: New file.
19594         * sysdeps/arm/nacl/uname-values.h: New file.
19596 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19598         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19599         splitting into fields.
19601 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19603         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19604         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19605         * locale/localeinfo.h: Add enum collation_encoding_type.
19606         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19607         * programs/ld-collate.c (collate_output): Add encoding type info.
19608         * string/strcoll_l.c (STRDIFF): New function.
19609         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19610         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19612 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19614         [BZ #18397]
19615         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19616         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19617         <fpu_control.h> instead of <math/fpu_control.c>.
19618         * sysdeps/mips/mips32/fpu/Makefile: New file.
19620 2015-05-11  Andreas Schwab  <schwab@suse.de>
19622         [BZ #18007]
19623         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19624         nss_endgrent.
19625         (_nss_compat_endgrent): Call nss_endgrent.
19626         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19627         nss_endpwent.
19628         (_nss_compat_endpwent): Call nss_endpwent.
19629         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19630         needent, call nss_setspent only if non-zero.
19631         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19632         (internal_endspent): Don't call nss_endspent.
19633         (_nss_compat_endspent): Call nss_endspent.
19634         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19635         Remove.  All uses removed.
19636         (internal_setent): Remove parameter stayopen, add parameter
19637         stream.  Use it instead of global variable.
19638         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19639         (internal_endent, internal_getent): Add parameter stream.  Use it
19640         instead of global variable.
19641         (CONCAT(_nss_files_end,ENTNAME))
19642         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19643         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19644         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19645         uses removed.
19646         (internal_setent, internal_endent): Add parameter stream.  Use it
19647         instead of global variable.
19648         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19649         stream.
19650         (get_next_alias): Add parameter stream.
19651         (_nss_files_getaliasent_r): Pass global stream.
19652         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19653         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19654         (_nss_files_gethostbyname4_r): Pass local stream to
19655         internal_setent, internal_getent and internal_endent.  Remove
19656         locking.
19658 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19660         * tst-strfmon1.c (tests): Update expected currency symbol.
19662 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19664         * sysdeps/nacl/gethostname.c: New file.
19666 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19668         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19669         and sinh.
19670         * math/auto-libm-test-out: Regenerated.
19671         * sysdeps/i386/fpu/libm-test-ulps: Update.
19672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19674 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19676         [BZ #18125]
19677         * stdlib/tst-setcontext3.c: New file.
19678         * stdlib/tst-setcontext3.sh: New file.
19679         * stdlib/Makefile (tests): Add tst-setcontext3.
19680         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19681         to verify test program created output file.
19682         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19683         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19684         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19685         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19687 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19689         [BZ #18383]
19690         * elf/tst-tlsalign.c: New file.
19691         * elf/tst-tlsalign-static.c: New file.
19692         * elf/tst-tlsalign-lib.c: New file.
19693         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19694         (tests-static): Add tst-tlsalign-static.
19695         (modules-names): Add tst-tlsalign-lib.
19696         (test-xfail-tst-tlsalign): New variable.
19697         (test-xfail-tst-tlsalign-static): New variable.
19699         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19700         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19702 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19704         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19705         csqrt, erfc, sin and sincos.
19706         * math/auto-libm-test-out: Regenerated.
19707         * sysdeps/i386/fpu/libm-test-ulps: Update.
19708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19710 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19712         * sysdeps/aarch64/libm-test-ulps: Update.
19714 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19716         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19717         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19718         * math/auto-libm-test-out: Regenerated.
19719         * sysdeps/i386/fpu/libm-test-ulps: Update.
19720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19722 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19724         [BZ #18265]
19725         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19726         (wcsncpy): Likewise.
19728 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19730         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19731         Assume __ASSUME_FALLOCATE is always true.
19732         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19733         (__posix_fallocate64_l64): Likweise.
19734         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19735         (posix_fallocate): Likewise.
19736         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19737         (__posix_fallocate64_l64): Likewise.
19738         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19739         [!__ASSUME_FALLOCATE]: Add comment.
19741 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19743         * sysdeps/unix/sysv/linux/i386/Makefile
19744         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19745         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19746         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19747         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19748         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19749         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19750         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19752 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19754         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19755         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19756         tgamma.
19757         * math/auto-libm-test-out: Regenerated.
19758         * sysdeps/i386/fpu/libm-test-ulps: Update.
19759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19761 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19763         * math/auto-libm-test-in: Add more tests of tgamma.
19764         * math/auto-libm-test-out: Regenerated.
19765         * sysdeps/i386/fpu/libm-test-ulps: Update.
19766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768         * math/auto-libm-test-in: Add more tests of tanh.
19769         * math/auto-libm-test-out: Regenerated.
19770         * sysdeps/i386/fpu/libm-test-ulps: Update.
19771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19773         * math/auto-libm-test-in: Add more tests of tan.
19774         * math/auto-libm-test-out: Regenerated.
19775         * sysdeps/i386/fpu/libm-test-ulps: Update.
19776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19778         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19779         * math/auto-libm-test-out: Regenerated.
19780         * sysdeps/i386/fpu/libm-test-ulps: Update.
19781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19783         * math/auto-libm-test-in: Add another test of pow.
19784         * math/auto-libm-test-out: Regenerated.
19785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19787         * math/auto-libm-test-in: Add more tests of lgamma.
19788         * math/auto-libm-test-out: Regenerated.
19789         * sysdeps/i386/fpu/libm-test-ulps: Update.
19790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19792         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19793         log1p.
19794         * math/auto-libm-test-out: Regenerated.
19795         * sysdeps/i386/fpu/libm-test-ulps: Update.
19796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19798 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19800         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19801         Elf64_Chdr structs and ELFCOMPRESS constants.
19803 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19805         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19806         expm1.
19807         * math/auto-libm-test-out: Regenerated.
19808         * sysdeps/i386/fpu/libm-test-ulps: Update.
19809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19811         * math/auto-libm-test-in: Add more tests of erf and erfc.
19812         * math/auto-libm-test-out: Regenerated.
19813         * sysdeps/i386/fpu/libm-test-ulps: Update.
19814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19816 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19818         * config.h.in (HAVE_AARCH64_BE): Add.
19820 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19822         * math/auto-libm-test-in: Add more tests of csqrt.
19823         * math/auto-libm-test-out: Regenerated.
19824         * sysdeps/i386/fpu/libm-test-ulps: Update.
19825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19827         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19828         * math/auto-libm-test-out: Regenerated.
19829         * sysdeps/i386/fpu/libm-test-ulps: Update.
19830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19834 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19836         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19837         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19839         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19840         (euidaccess, eaccess): Define as weak aliases.
19842         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19843         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19844         but __suseconds_t is often 'long int' so some sources assume that
19845         type is being used (e.g. they use %ld to print tv_usec).
19847 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19849         [BZ #18007]
19850         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19851         (CVE-2014-8121)
19852         * nss/tst-nss-getpwent.c: New file.
19853         * nss/Makefile (tests): Add new test.
19855 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19857         [BZ #18346]
19858         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19859         exponents less than 48 as cases where high part of mantissa needs
19860         examining to determine whether argument is integral.
19861         * math/libm-test.inc (round_test_data): Add more tests.
19863 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19865         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19867 2015-04-27  David S. Miller  <davem@davemloft.net>
19869         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19870         __tls_get_addr.
19871         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19873 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19875         [BZ#18333]
19876         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19878 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19880         [BZ#18333]
19881         * time/tzset.c (parse_tzname): Return error on memory allocation
19882         failure.
19883         * test-skeleton.c (struct temp_name_list): Change type of name
19884         member to non-const.
19885         (add_temp_file): Create a copy of the file name.
19886         (delete_temp_files): Deallocate memory.
19887         (create_temp_file): Add comment.
19889 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19891         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19892         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19894 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19896         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19897         * sysdeps/arm/configure: Regenerated.
19899 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19901         [BZ #17715]
19902         * time/tzfile.c (__tzfile_read): Check for large values of
19903         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19904         * time/tzset.c (__tzstring_len): New function, based on the old
19905         __tzstring function.
19906         (__tzstring): Call __tzstring_len.
19907         (parse_tzname): New helper function extracted from
19908         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19909         the input string.
19910         (parse_offset): New helper function extracted from
19911         __tzset_parse_tz.  Replace switch with fallthrough with
19912         initialization before sscanf.
19913         (parse_rule): Likewise.
19914         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19915         new-style function definition.
19916         * timezone/Makefile (tests): Add tst-tzset.
19917         (tst-tzset.out): Dependencies on time zone files.
19918         (tst-tzset-ENV): Set TZDIR.
19919         (testdata/XT%): Copy crafted time zone files.
19920         * timezone/README: Mention crafted time zone files.
19921         * timezone/testdata/XT1, timezone/testdata/XT2,
19922         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19923         files.
19924         * timezone/tst-tzset.c: New test.
19926 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19928         * Makeconfig (+gccwarn): Remove -Winline.
19930 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19932         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19934 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19936         * NEWS: Mention sysconf() cache information support for s390.
19937         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19939 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19941         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19942         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19943         (__nearbyint): Likewise.
19944         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19945         (copysignl): Likewise.
19947 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19949         [BZ #18287]
19950         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19951         based on padding.  (CVE-2015-1781)
19953 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19955         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19956         libc-vdso.h.
19957         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19958         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19959         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19960         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19961         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19962         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19963         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19964         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19965         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19966         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19967         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19968         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19969         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19970         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19971         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19972         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19973         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19974         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19975         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19976         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19977         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19978         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19979         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19981 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19983         * stdlib/setenv.c (__add_to_environ):
19984         Dump core quickly if setenv (..., NULL, ...) is called.
19985         This time, do it the right way, and pacify GCC with a pragma.
19987 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19989         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19990         IMAP->l_prev cannot be null, and #if out the code for the contrary
19991         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19992         believe that NS (&_dl_ns[NSID]) could point outside the array.
19994         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19995         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19996         before using NSID as an index.
19998 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20000         [BZ #17825]
20001         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20002         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20003         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20005 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20007         Add preliminary port to Google Native Client on ARM.
20008         * abi-tags (.*-.*-nacl.*): New entry.
20009         * sysdeps/arm/nacl: New directory.
20010         * sysdeps/nacl: New directory.
20012 2015-04-16  David S. Miller  <davem@davemloft.net>
20014         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20015         lowlevellock-futex.h
20017 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20019         * sysdeps/tile/configure.ac: New file.
20020         * sysdeps/tile/configure: Regenerated.
20022 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20024         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20025         conditionals for weak_alias and libc_hidden_weak.
20026         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20027         libc_hidden_weak and weak_alias.
20028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20029         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20030         and weak_alias for static one.
20032 2015-04-15  David S. Miller  <davem@davemloft.net>
20034         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20036 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20038         [BZ #18206]
20039         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20040           Use signed comparision instead of substraction to avoid
20041           overflow bug.
20042         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20043           Take the sign of ret.
20044         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20045           Do not expect precise return values. Only the sign matters.
20046         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20047         * wcsmbs/test-wcsncmp.c: New File.
20048         * string/test-strncmp.c: Add wcsncmp support.
20050 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20052         [BZ #6792]
20053         * math/w_log1p.c: New file.
20054         * math/w_log1pf.c: Likewise.
20055         * math/w_log1pl.c: Likewise.
20056         * math/Makefile (libm-calls): Add w_log1p.
20057         * math/s_log1pl.c (log1pl): Remove weak_alias.
20058         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20059         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20060         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20061         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20062         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20063         [NO_LONG_DOUBLE] (log1pl): Likewise.
20064         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20065         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20066         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20067         (log1p): Remove long_double_symbol.
20068         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20069         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20070         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20071         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20072         remove weak_alias for corresponding log1p function.
20073         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20074         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20075         * sysdeps/ia64/fpu/w_log1p.c: New file.
20076         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20077         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20078         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20080 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20082         [BZ #18247]
20083         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20084         decimal exponent by 1.
20085         * stdlib/tst-strtod-round-data: Add more tests.
20086         * stdlib/tst-strtod-round.c (tests): Regenerated.
20088 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20090         * math/auto-libm-test-in: Add more tests of clog and clog10.
20091         * math/auto-libm-test-out: Regenerated.
20092         * sysdeps/i386/fpu/libm-test-ulps: Update.
20093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20095 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20097         * Makeconfig (module-cppflags): Exclude all .v.i files.
20098         (skip-module-cppflags): Variable removed.
20100         * configure.ac (libc_config_ok): Initialize before reading
20101         preconfigure scripts, not after.
20102         * configure: Regenerated.
20104         * test-skeleton.c (TIMEOUT): Move #define to top level.
20105         (main): Grok environment variable TEST_DIRECT.  If set, print
20106         test expectation details into that file and then behave as if
20107         given --direct.
20109 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20111         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20112         warning on 32-bit.
20114 2015-04-08  David S. Miller  <davem@davemloft.net>
20116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20118 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20120         * math/auto-libm-test-in: Add more tests of atanh.
20121         * math/auto-libm-test-out: Regenerated.
20122         * sysdeps/i386/fpu/libm-test-ulps: Update.
20123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20125         * math/auto-libm-test-in: Add more tests of atan.
20126         * math/auto-libm-test-out: Regenerated.
20127         * sysdeps/i386/fpu/libm-test-ulps: Update.
20128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20130 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20132         * elf/pldd.c (main): Rewrite to use struct
20133         scratch_buffer instead of extend_alloca.
20134         * elf/pldd-xx.c (find_maps): Likewise.
20135         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20136         <alloca.h>.
20137         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20138         scratch_buffer instead of extend_alloca.
20139         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20140         grp/compat-initgroups.c.
20141         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20142         Rewrite to use struct scratch_buffer instead of extend_alloca.
20143         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20144         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20146 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20148         * math/auto-libm-test-in: Add more tests of cbrt.
20149         * math/auto-libm-test-out: Regenerated.
20150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20152         * math/auto-libm-test-in: Add more tests of cabs.
20153         * math/auto-libm-test-out: Regenerated.
20154         * sysdeps/i386/fpu/libm-test-ulps: Update.
20155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20157         [BZ #18210]
20158         [BZ #18211]
20159         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20160         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20161         computations.
20162         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20163         clog10.
20164         * math/auto-libm-test-out: Regenerated.
20165         * sysdeps/i386/fpu/libm-test-ulps: Update.
20166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20168         [BZ #18197]
20169         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20170         (atan): Set FE_TONEAREST mode for internal computations.
20171         * math/auto-libm-test-in: Add more tests of atan.
20172         * math/auto-libm-test-out: Regenerated.
20174 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20176         [BZ #17930]
20177         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20179 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20181         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20183 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20185         * include/scratch_buffer.h: New file.
20186         * malloc/scratch_buffer_grow.c: Likewise.
20187         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20188         * malloc/scratch_buffer_set_array_size.c: Likewise.
20189         * malloc/tst-scratch_buffer.c: Likewise.
20190         * malloc/Makefile (routines): Add scratch_buffer_grow.
20191         (tests): Add test case.
20192         * malloc/Versions (GLIBC_PRIVATE): Export
20193         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20194         __libc_scratch_buffer_set_array_size.
20196 2015-04-06  Richard Henderson  <rth@redhat.com>
20198         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20199         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20201         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20202         unsigned int before printing.
20204 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20206         [BZ #17596]
20207         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20208         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20210 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20212         * include/libc-internal.h (libc_max_align_t): Define.
20214 2015-04-02  Andreas Schwab  <schwab@suse.de>
20216         [BZ #16850]
20217         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20219 2015-04-02  Mel Gorman  <mgorman@suse.de>
20221         [BZ #17195]
20222         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20223         as well as the main arena.
20225 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20227         [BZ #18185]
20228         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20229         sharing L2 cache to 2 for Silvermont/Knights Landing.
20231 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20233         [BZ #17711]
20234         * config.make.in (have-protected-data): New.
20235         * configure.ac: Check linker support for protected data symbol.
20236         * configure: Regenerated.
20237         * elf/Makefile (modules-names): Add tst-protected1moda and
20238         tst-protected1modb if $(have-protected-data) is yes.
20239         (tests): Add tst-protected1a and tst-protected1b if
20240         $(have-protected-data) is yes.
20241         ($(objpfx)tst-protected1a): New.
20242         ($(objpfx)tst-protected1b): Likewise.
20243         (tst-protected1modb.so-no-z-defs): Likewise.
20244         * elf/tst-protected1a.c: New file.
20245         * elf/tst-protected1b.c: Likewise.
20246         * elf/tst-protected1mod.h: Likewise.
20247         * elf/tst-protected1moda.c: Likewise.
20248         * elf/tst-protected1modb.c: Likewise.
20250 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20252         [BZ #17711]
20253         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20254         indicates it is called from do_lookup_x on relocation against
20255         protected data, skip the data definion in the executable from
20256         copy reloc.
20257         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20258         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20259         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20260         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20261         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20262         otherwise to 0.
20263         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20264         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20265         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20266         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20267         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20268         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20270 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20272         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20273         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20275 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20277         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20278         THREAD_SETMEM_NC.
20279         * sysdeps/x86_64/nptl/tls.h: Ditto.
20281 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20283         * dlfcn/tststatic.c (main): Converted to ...
20284         (do_test): ... this.
20285         (TEST_FUNCTION): New macro.
20286         Include test-skeleton.c.
20288 2015-03-26  Alan Modra  <amodra@gmail.com>
20290         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20291         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20292         zero for undefined weak.
20293         (elf_machine_plt_conflict): Similarly.
20295 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20297         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20298         atanh.
20299         * math/auto-libm-test-out: Regenerated.
20300         * sysdeps/i386/fpu/libm-test-ulps: Update.
20301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20303         * math/auto-libm-test-in: Add another test of asin.
20304         * math/auto-libm-test-out: Regenerated.
20305         * sysdeps/i386/fpu/libm-test-ulps: Update.
20306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20309         Remove macro.
20310         (LLL_EBX_REG): Likewise.
20311         (LLL_ENTER_KERNEL): Likewise.
20313         * math/auto-libm-test-in: Add more tests of asin.
20314         * math/auto-libm-test-out: Regenerated.
20315         * sysdeps/i386/fpu/libm-test-ulps: Update.
20316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20318         [BZ #18138]
20319         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20320         libc_do_syscall_args): New structure.
20321         (INTERNAL_SYSCALL_MAIN_0): New macro.
20322         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20323         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20324         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20325         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20326         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20327         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20328         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20329         Replace conditional definitions by conditional definitions of ....
20330         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20331         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20332         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20333         (libpthread-sysdep_routines): Add libc-do-syscall.
20334         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20335         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20336         to __NR_futex not 240.
20338 2015-03-25  Alan Modra  <amodra@gmail.com>
20340         * NEWS: Advertise TLS optimization.
20341         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20342         (DT_PPC_NUM): Increment.
20343         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20344         (CHECK_STATIC_TLS): Use here.
20345         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20346         TLS descriptors.
20347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20348         * sysdeps/powerpc/dl-tls.c: New file.
20349         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20350         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20351         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20352         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20357 2015-03-25  Alan Modra  <amodra@gmail.com>
20359         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20360         for overlapping .opd entries" to "support...".
20361         * sysdeps/powerpc/powerpc64/configure: Regenerate
20363 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20365         * math/auto-libm-test-in: Add more tests of acos.
20366         * math/auto-libm-test-out: Regenerated.
20367         * sysdeps/i386/fpu/libm-test-ulps: Update.
20368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20370         * math/auto-libm-test-in: Add more tests of expm1.
20371         * math/auto-libm-test-out: Regenerated.
20372         * sysdeps/i386/fpu/libm-test-ulps: Update.
20373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20375 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20377         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20378         * math/auto-libm-test-out: Regenerated.
20379         * sysdeps/i386/fpu/libm-test-ulps: Update.
20380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20382         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20385         * math/auto-libm-test-in: Add more tests of log2.
20386         * math/auto-libm-test-out: Regenerated.
20387         * sysdeps/i386/fpu/libm-test-ulps: Update.
20388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20390 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20392         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20393         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20394         _IO_IS_APPENDING bit in READ_WRITE instead.
20396 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20398         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20399         (__determine_cpumask_size): Replace extend_alloca with a
20400         variable-length array.  Do not treat res == 0 as an error.
20402 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20404         [BZ #18100]
20405         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20406         and integer overflow.
20407         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20408         (main): Add integer overflow tests.
20409         * manual/pattern.texi (Calling Wordexp): Document additional use
20410         for WRDE_SYNTAX.
20412 2015-03-23  Alan Modra  <amodra@gmail.com>
20414         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20415         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20416         and false branch of conditional.
20417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20418         Likewise.
20420 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20422         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20423         libc-modules.h
20424         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20425         unused declaration of _hurd_intr_rpc_msg_in_trap.
20426         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20427         defined instead of whether it is non-zero.
20428         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20429         input constraint instead of both input and output constraint.  Use ecx
20430         clobber instead of %ecx.
20431         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20432         mutex_unlock): Use a statement expression instead of an expression list.
20433         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20434         type to vm_size_t instead of vm_address_t.
20435         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20436         defined instead of whether it is non-zero.
20437         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20438         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20439         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20440         comparisons with mapaddr.
20441         * nscd/nscd-client.h: Include <time.h>.
20442         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20443         9th parameter to __vm_region instead of int.
20444         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20445         * scripts/check-local-headers.sh (exclude): Add device/,
20446         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20447         cthreads.h.
20449 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20451         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20452         to account for alignment padding.
20453         * sysdeps/arm/memmove.S: Likewise.
20455 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20457         * sysdeps/unix/sysv/linux/generic/README: New file.
20459 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20461         [BZ #18138]
20462         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20463         (futex_abstimed_wait)
20464         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20465         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20466         of lll_futex_timed_wait.
20468 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20470         [BZ #17542]
20471         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20473 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20475         [BZ #17090]
20476         [BZ #17620]
20477         [BZ #17621]
20478         [BZ #17628]
20479         * NEWS: Update.
20480         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20481         entries with Static TLS too.  Skip entries past the end of the
20482         allocated DTV, from Alan Modra.
20483         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20484         Static TLS DTV entry set up from...
20485         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20486         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20487         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20488         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20489         for Static TLS.
20490         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20491         that the slot we find is associated with the given map before
20492         using its generation count.
20493         * nptl_db/db_info.c: Include ldsodefs.h.
20494         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20495         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20496         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20497         (link_map::l_tls_offset): New struct field.
20498         (dtv_t::counter): Likewise.
20499         (rtld_global): New struct.
20500         (_rtld_global): New rtld variable.
20501         (dl_tls_dtv_slotinfo_list): New rtld global field.
20502         (dtv_slotinfo_list): New struct.
20503         (dtv_slotinfo): Likewise.
20504         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20505         (td_lookup): Rename to...
20506         (td_mod_lookup): ... this.  Use new mod parameter instead of
20507         LIBPTHREAD_SO.
20508         * nptl_db/td_thr_tlsbase.c: Include link.h.
20509         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20510         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20511         addresses even if the DTV is out of date or missing them.
20512         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20513         index zero-length arrays.
20514         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20515         (td_lookup): Make it a macro implemented in terms of...
20516         (td_mod_lookup): ... this declaration.
20517         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20518         (DB_MAIN_VARIABLE): Likewise.
20520 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20522         [BZ #18134]
20523         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20525 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20527         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20529 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20531         [BZ #18128]
20532         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20533         (atomic_add, atomic_increment_and_test)
20534         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20536 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20538         * stdlib/setenv.c (__add_to_environ):
20539         Dump core quickly if setenv (..., NULL, ...) is called.
20541 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20543         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20544         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20545         all the necessary asm magic in one place.
20546         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20547         using those.
20549 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20551         [BZ #14906]
20552         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20553         traced file mtime. Use consistent log message.
20554         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20555         (register_traced_file): Call install_watches. Always set mtime.
20556         (invalidate_cache): Iterate over all trace files. Call install_watches.
20557         (inotify_check_files): Don't inline. Handle watching parent
20558         directories and configuration file movement in and out.
20559         (handle_inotify_events): New function.
20560         (main_loop_poll): Call handle_inotify_events.
20561         (main_loop_epoll): Likewise.
20562         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20563         (struct traced_file): Use array of inotify fds. Add parent directory,
20564         and basename.
20565         (struct database_dyn): Remove unused file_mtime.
20566         (init_traced_file): New inline function.
20567         (define_traced_file): New macro.
20568         * nss/nss_db/db-init.c: Use define_traced_file.
20569         (_nss_db_init): Use init_traced_file.
20570         * nss/nss_files/files-init.c: Use define_traced_file.
20571         (_nss_files_init): Use init_traced_file.
20573 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20575         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20576         [_LIBC]: Do not include <stdlib.h>.
20577         [!_LIBC] (abort): Remove declaration.
20578         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20579         _FP_STATIC_ASSERT instead of conditionally calling abort.
20580         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20581         (_FP_EXTEND_CNAN): Likewise.
20582         (FP_TRUNC): Likewise.
20583         (__FP_CLZ): Likewise.
20584         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20586 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20588         * manual/string.texi (XPG basename): Fix prototype.
20590 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20592         [BZ #18080]
20593         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20594         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20595         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20596         (__setcontext): Likewise.
20597         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20598         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20599         Call rt_sigprocmask syscall one time to set new signal mask
20600         and retrieve the current signal mask instead of two calls.
20601         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20602         (__swapcontext): Likewise.
20603         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20604         * stdlib/tst-setcontext2.c: New file.
20606 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20608         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20610 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20612         [BZ #18093]
20613         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20614         the wrong size.
20616 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20618         [BZ #18043]
20619         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20621 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20623         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20624         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20625         Remove define.
20626         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20627         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20628         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20629         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20630         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20631         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20632         define.
20633         * nptl_db/td_symbol_list.c (td_lookup): Remove
20634         HAVE_ASM_GLOBAL_DOT_NAME code.
20635         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20636         HAVE_ASM_GLOBAL_DOT_NAME check.
20637         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20638         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20639         (DOT_LABEL): Remove define.
20640         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20641         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20642         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20643         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20644         (__TLS_GET_ADDR): Likewise.
20645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20646         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20648 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20650         [BZ #18111]
20651         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20652         (_FPU_SETCW): Initialize cw from fpsr before storing.
20653         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20654         (fesetexceptflag): Rewrite using fpu_control.h.
20655         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20657 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20659         [BZ #18110]
20660         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20661         asms.
20662         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20664 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20666         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20667         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20668         abort.
20669         (_FP_FMA): Likewise.
20670         (_FP_DIV): Likewise.
20672 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20674         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20675         with 0 in that case.
20676         * Makefile (summarize-tests): New canned sequence, factored out of
20677         commands for targets tests and xtests.  Display summary lines that
20678         don't start with PASS: or XFAIL: rather than ones that do start with
20679         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20680         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20681         do start with ERROR: or FAIL:.
20682         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20683         (except for [$(build-shared) = yes]).
20684         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20685         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20686         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20687         * nptl/Makefile: Revert 2015-03-04 changes.
20688         [$(CXX) empty] (tests-unsupported): New variable.
20689         * debug/Makefile: Likewise.
20691         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20692         gnulib file.  Replace __attribute with __attribute__ throughout.
20694 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20696         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20698 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20700         [BZ #18104]
20701         * math/auto-libm-test-in: Add another test of pow.
20702         * math/auto-libm-test-out: Regenerated.
20704 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20706         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20707         $(config-cflags-nofma).
20709 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20711         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20712         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20713         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20714         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20715         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20716         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20717         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20718         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20719         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20720         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20721         Add comment on closing #endif.
20723 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20725         * posix/wordexp.c (CHAR_IN_SET): New macro.
20726         (parse_param): Use it.
20728 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20730         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20732 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20734         [BZ #18043]
20735         * posix/wordexp.c (parse_param): Fix buffer overflow.
20736         * posix/wordexp-test.c (test_case): Add test case.
20738 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20740         [BZ #18042]
20741         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20742         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20744 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20746         [BZ #18043]
20747         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20748         (do_bz18043): Delete.
20749         (at_page_end): New.
20750         (testit): Refactor to have words at the edge of unreadable page.
20752 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20754         [BZ #16734]
20755         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20756         Cleanup read-only streams as well.
20757         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20759 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20761         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20762         <bits/libc-lockP.h>
20764 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20766         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20767         on [__KERNEL__].
20768         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20769         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20770         * soft-fp/op-common.h (_FP_DECL): Likewise.
20772 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20774         * elf/ifuncdep2.c (global): Replace
20775         __attribute__((visibility("protected"))) with
20776         asm (".protected global").
20777         * elf/ifuncmod1.c (global): Likewise.
20778         * elf/ifuncmod5.c (global): Likewise.
20780 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20782         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20783         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20785 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20787         * manual/install.texi (Configuring and compiling):
20788         Document test-wrapper-env-only.
20789         * INSTALL: Regenerated.
20791 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20793         [BZ #18043]
20794         * posix/wordexp.c (parse_param): Fix buffer overflow.
20795         * posix/wordexp-test.c (do_bz18043): Add test case.
20797 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20799         * time/tst-strptime2.c (do_test): Ensure failing tests are
20800         reported correctly.
20801         * time/tst-strptime3.c (do_test): Likewise.
20803 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20805         Fix aio_error thread-safety.
20806         * sysdeps/pthread/aio_error.c: New file
20807         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20808         synchronization.
20810 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20812         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20813         (group_number, vfprintf): Use it.
20814         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20815         (JUMP, REF): Use it.
20816         (WORK_BUFFER_SIZE): New enum constant.
20817         (process_arg, vfprintf): Use it.
20819 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20821         * manual/errno.texi (Error Messages): Complete example function
20822         by adding missing #define.
20823         (program_invocation_name): Add statement indicating GNU
20824         extension and reference which header file declares the variable.
20825         (program_invocation_short_name): Likewise.
20827 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20829         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20830         compatibility note.
20832 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20834         * Makeconfig (test-wrapper-env-only): New variable.
20835         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20836         then use that with $(test-wrapper-env-only) rather than using
20837         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20839 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20841         [BZ #18082]
20842         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20843         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20844         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20845         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20846         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20847         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20848         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20849         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20850         Likewise.
20851         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20852         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20853         Likewise.
20854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20855         Likewise.
20856         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20857         Likewise.
20858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20859         Likewise.
20860         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20861         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20862         Likewise.
20863         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20864         Likewise.
20865         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20866         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20868 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20870         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20871         (ETH_ALEN): New macro.
20872         (struct ether_addr): Use it for length of ether_addr_octet.
20874         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20875         (setdb): Don't call __nss_configure_lookup for "rpc".
20876         (do_test): Don't call test_rpc.
20877         (output_rpcent, test_rpc): Functions moved ...
20878         * sunrpc/test-rpcent.c: ... to this new file.
20879         * sunrpc/Makefile (tests): Add it.
20881         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20882         __xpg_sigpause.
20883         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20884         * nptl/tst-signal6.c: Likewise.
20885         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20886         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20888         * configure.ac (libc_cv_cxx_link_ok): New check.
20889         Reset CXX to empty if it fails to link.
20890         * configure: Regenerated.
20891         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20892         bug-atexit3-lib only if $(CXX) is nonempty.
20893         * nptl/Makefile (tests): Likewise for tst-cancel24.
20894         (tests, tests-static): Likewise for tst-cancel24-static.
20895         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20896         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20897         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20898         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20900 2015-03-04  Andreas Schwab  <schwab@suse.de>
20902         [BZ #17631]
20903         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20904         for non-GCC compilers.
20905         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20906         Likewise.
20908 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20910         [BZ #17776]
20911         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20912         integer before bitwise and assembly operations.
20913         (feclearexcept): Likewise.
20914         * math/test-fenvinline.c: New file.
20915         * math/Makefile: Add test-fenvinline test.
20917 2015-03-03  Alan Modra  <amodra@gmail.com>
20919         [BZ #16512]
20920         * scripts/localplt.awk: Strip off symbol version.
20921         * NEWS: Mention bug fix.
20923 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20925         * sysdeps/pthread/timer_routines.c
20926         (timer_free_list, thread_free_list, thread_active_list): Make static.
20928 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20930         [BZ #17779]
20931         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20932         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20933         Undefine.
20934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20935         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20936         Likewise.
20937         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20938         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20939         Likewise.
20941 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20943         [BZ #18036]
20944         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20945         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20947 2015-03-02  Andreas Schwab  <schwab@suse.de>
20949         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20950         variable name.
20952 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20954         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20955         Return error status.
20957 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20959         [BZ #15969]
20960         * locale/findlocale.c (_nl_find_locale): Introduce const
20961         version of loc_name and drop unsafe type casts.
20963 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20965         * dlfcn/tststatic2.c (main): Converted to ...
20966         (do_test): ... this.
20967         (TEST_FUNCTION): New macro.
20968         Include test-skeleton.c.
20970 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20972         [BZ #17711]
20973         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20974         (tests-pie): Add vismain.
20975         (CFLAGS-vismain.c): New.
20976         * elf/vismain.c: Add comments for PIE requirement.
20978 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20980         [BZ #18046]
20981         [BZ #18047]
20982         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20983         0x1p-56L as threshold for just returning the argument.
20984         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20985         0x1p-32L as threshold for just returning the argument.
20986         * math/auto-libm-test-in: Add more tests of atanh.
20987         * math/auto-libm-test-out: Regenerated.
20988         * sysdeps/i386/fpu/libm-test-ulps: Update.
20989         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20991 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20993         * string/bcopy.c (bcopy): Call memmove for performance.
20995 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20997         * string/bzero.c (__bzero): Call memset for performance.
20999 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21001         [BZ #18068]
21002         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21003         to 00100000.
21005 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21007         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21009 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21011         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21012         (__kernel_standard): Use CSTR macro when setting exc.name.
21013         * sysdeps/ieee754/Makefile [$(subdir) = math]
21014         (CFLAGS-k_standard.c): Remove variable.
21016         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21017         setting p and q from "else if" to "else".
21018         (qzero): Likewise.
21019         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21020         (qone): Likewise.
21021         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21022         (qzerof): Likewise.
21023         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21024         (qonef): Likewise.
21025         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21026         (qzero): Likewise.
21027         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21028         (qone): Likewise.
21030         [BZ #18038]
21031         [BZ #18039]
21032         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21033         return pi/2 for arguments below 0x1p-113L.
21034         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21035         return pi/2 for arguments below 0x1p-106L.
21036         * math/auto-libm-test-in: Add more tests of acos.
21037         * math/auto-libm-test-out: Regenerated.
21039         [BZ #16351]
21040         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21041         (MO): New macro.
21042         (__ieee754_asin): Force underflow exception for results with small
21043         absolute value.
21044         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21045         (MO): New macro.
21046         (__ieee754_asinf): Force underflow exception for results with
21047         small absolute value.
21048         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21049         (__ieee754_asin): Force underflow exception for results with small
21050         absolute value.
21051         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21052         (__ieee754_asinf): Force underflow exception for results with
21053         small absolute value.
21054         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21055         (__ieee754_asinl): Force underflow exception for results with
21056         small absolute value.
21057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21058         (__ieee754_asinl): Force underflow exception for results with
21059         small absolute value.
21060         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21061         (__ieee754_asinl): Force underflow exception for results with
21062         small absolute value.
21063         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21064         Include <math.h>.
21065         * math/auto-libm-test-in: Do not mark underflow exceptions as
21066         possibly missing for bug 16351.
21067         * math/auto-libm-test-out: Regenerated.
21069         [BZ #18030]
21070         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21071         of power of 2 down when low part has opposite sign.
21072         * math/libm-test.inc (logb_test_data): Add more tests.
21074 2015-02-26  Andreas Schwab  <schwab@suse.de>
21076         [BZ #18032]
21077         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21078         over collating symbol inside a bracket expression.  Minor cleanup.
21079         * posix/tst-fnmatch3.c (do_test): Add test case.
21081 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21083         [BZ #18029]
21084         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21085         Adjust exponent of power of 2 down when low part has opposite
21086         sign.
21087         * math/libm-test.inc (ilogb_test_data): Add more tests.
21089 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21091         [BZ #15969]
21092         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21093         the previous change.
21095         [BZ #15969]
21096         * locale/findlocale.c (_nl_find_locale): Retry archive search
21097         after alias expansion.
21099 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21101         * iconv/tst-iconv3.c (main): Converted to ...
21102         (do_test): ... this.
21103         (TEST_FUNCTION): New macro.
21104         Include test-skeleton.c.
21106         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21107         (convert): Make function static.
21108         (test_unalign): Likewise.  Add const to argument pointee types.
21109         (main): Replace with static function do_test.
21110         Print "Succeeded." only if RET is zero.
21111         (TEST_FUNCTION): New macro.
21112         Include test-skeleton.c.
21114         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21115         returns a null pointer.
21117 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21119         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21120         to __memcpy_ppc only for static builds.
21122 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21124         [BZ #18020]
21125         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21126         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21127         * math/auto-libm-test-in: Add more tests of asinh.
21128         * math/auto-libm-test-out: Regenerated.
21129         * sysdeps/i386/fpu/libm-test-ulps: Update.
21130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21132 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21134         [BZ #15850]
21135         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21136         and ip6_mtuinfo definitions here.
21137         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21138         in this define too.  Update comment.
21140 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21142         * elf/sprof.c (load_shobj): Tweak error message to match others.
21144 2015-02-24  Kevin Easton  <kevin@guarana.org>
21146         [BZ #16145] (partial fix)
21147         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21148         to reduce lock contention.
21150 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21152         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21153         (struct timex): Update time comment.
21154         (ADJ_SETOFFSET): Define.
21156 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21158         [BZ #18019]
21159         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21160         2**56 not 2**28 as threshold for log (2x) formula.
21161         * math/auto-libm-test-in: Add more tests of acosh.
21162         * math/auto-libm-test-out: Regenerated.
21163         * sysdeps/i386/fpu/libm-test-ulps: Update.
21164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21166 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21168         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21169         parenthesis around the buf assignment.
21170         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21172 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21174         [BZ #16783]
21175         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21176         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21177         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21178         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21179         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21180         * math/libm-test.inc (scalb_test_data): Add more tests.
21182 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21184         [BZ #17916]
21185         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21186         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21188 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21190         [BZ #17523]
21191         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21192         * io/bits/fcntl2.h (open): Use it.
21193         (openat): Likewise.
21194         * io/open.c (__libc_open): Likewise.
21195         * io/open64.c (__libc_open64): Likewise.
21196         * io/open64_2.c (__open64_2): Likewise.
21197         * io/open_2.c (__open_2): Likewise.
21198         * io/openat.c (__openat): Likewise.
21199         * io/openat64.c (__openat64): Likewise.
21200         * io/openat64_2.c (__openat64_2): Likewise.
21201         * io/openat_2.c (__openat_2): Likewise.
21202         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21203         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21204         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21205         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21206         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21207         (__open_nocancel): Likewise.
21208         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21209         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21210         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21212 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21214         [BZ #14841]
21215         * resolv/gethnamaddr.c (getanswer): Skip logging if
21216         RES_USE_DNSSEC is set.
21217         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21219 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21221         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21223 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21225         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21226         201304L, for Unicode 7.
21228 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21230         [BZ #17836]
21231         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21232         shared library.  Add gmon-start.os otherwise.
21233         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21234         $(objpfx)gmon-start.os if builing shared library.
21235         ($(objpfx)g$(static-start-installed-name)): Likewise.
21237 2015-02-23  Andreas Schwab  <schwab@suse.de>
21239         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21241 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21243         [BZ #17269]
21244         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21245         (enlarge_userbuf): Likewise.
21247 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21249         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21250         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21251         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21252         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21254 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21256         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21257         expression inside statement expression.
21259 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21261         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21262         <sysdeps/nptl/lowlevellock.h> and remove macros and
21263         functions that are now defined there.
21264         (SYS_futex): Remove.
21265         (lll_compare_and_swap): Remove.
21266         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21268 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21270         [BZ #17999]
21271         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21272         instead of scandirat.
21273         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21274         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21275         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21276         __scandirat.
21277         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21278         (__scandirat): Declare.  Use libc_hidden_proto.
21279         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21280         Remove variable.
21281         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21283 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21285         [BZ #15319]
21286         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21287         (MO): New macro.
21288         (__ieee754_atan2): For results with small absolute value, force
21289         underflow exception and remove excess range and precision from
21290         return value.
21291         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21292         (MO): New macro.
21293         (__ieee754_atan2f): For results with small absolute value, force
21294         underflow exception and remove excess range and precision from
21295         return value.
21296         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21297         (MO): New macro.
21298         (__atan): For results with small absolute value, force underflow
21299         exception and remove excess range and precision from return value.
21300         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21301         (MO): New macro.
21302         (__atanf): For results with small absolute value, force underflow
21303         exception and remove excess range and precision from return value.
21304         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21305         <math.h>.
21306         (__ieee754_atan2): Force underflow exception for results with
21307         small absolute value.
21308         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21309         <math_private.h>.
21310         (atan): Force underflow exception for results with small absolute
21311         value.
21312         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21313         (__atanf): Force underflow exception for results with small
21314         absolute value.
21315         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21316         <math.h>.
21317         (__atanl): Force underflow exception for results with small
21318         absolute value.
21319         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21320         (__atanl): Force underflow exception for results with small
21321         absolute value.
21322         * sysdeps/x86/fpu/bits/mathinline.h
21323         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21324         (__ieee754_atan2): Only define inline for long double.
21325         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21326         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21327         * math/auto-libm-test-in: Do not mark underflow exceptions as
21328         possibly missing for bug 15319.  Add more tests of atan2.
21329         * math/auto-libm-test-out: Regenerated.
21330         * math/libm-test.inc (casin_test_data): Do not mark underflow
21331         exceptions as possibly missing for bug 15319.
21332         (casinh_test_data): Likewise.
21333         * sysdeps/i386/fpu/libm-test-ulps: Update.
21335 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21337         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21338         * sysdeps/mips/bits/endian.h: Fix comments.
21340 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21342         [BZ #17996]
21343         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21344         (hdestroy_r): Likewise.
21345         (hsearch_r): Likewise.
21346         (__hcreate_r): Declare and use libc_hidden_proto.
21347         (__hdestroy_r): Likewise.
21348         (__hsearch_r): Likewise.
21349         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21350         (hcreate): Call __hcreate_r instead of hcreate_r.
21351         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21352         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21353         as weak alias of __hcreate_r.
21354         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21355         __hdestroy_r.
21356         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21357         __hsearch_r.
21358         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21359         Remove variable.
21360         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21361         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21362         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21363         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21365 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21367         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21368         arena_lock into a single arena_get.
21370 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21372         * dl-reloc.c: Inlucde libc-internal.h.
21373         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21374         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21375         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21376         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21377         (grow_heap): Likewise.
21378         * malloc/malloc.c: Include libc-internal.h.
21379         (do_check_malloc): Call powerof2.
21380         (sysmalloc): Use pagesize. Call ALIGN_UP.
21381         (systrim): Use pagesize.
21382         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21383         (__libc_valloc): Use pagesize.
21384         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21386 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21388         [BZ #17991]
21389         * include/sys/resource.h (__getrlimit64): Declare.  Use
21390         libc_hidden_proto.
21391         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21392         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21393         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21394         getrlimit64.
21395         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21396         __getrlimit64.
21397         [!getrlimit64] (getrlimit64): Define as weak alias of
21398         __getrlimit64.  Use libc_hidden_weak.
21399         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21400         using __getrlimit64 not __new_getrlimit64.
21401         (__GI_getrlimit64): Likewise.
21402         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21403         Likewise.
21404         (__GI_getrlimit64): Likewise.
21405         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21407         (getrlimit): Add __getrlimit64 alias.
21408         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21409         Likewise.
21410         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21411         Remove variable.
21412         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21413         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21415 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21417         * libio/fileops.c: Add missing sys/mman.h
21418         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21420 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21422         * manual/math.texi (Errors in Math Functions): Clarify goals
21423         regarding inexact and underflow exceptions.
21425 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21427         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21428         * sysdeps/mips/memset.S: Ditto.
21430 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21432         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21434 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21436         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21437         (__v1longjmp): Remove versioned symbol.
21438         (__v1siglongjmp): Remove alias and versioned symbol.
21439         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21440         (__v2siglongjmp): Likewise.
21442 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21444         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21446 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21448         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21450 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21452         [BZ #17987]
21453         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21454         zero result does not depend on the sign resulting from
21455         subtraction.
21456         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21457         Likewise.
21458         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21459         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21460         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21461         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21462         * math/libm-test.inc (remquo_test_data): Add more tests.
21464 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21466         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21467         Problem reported by J William Piggott.
21469 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21471         [BZ #17978]
21472         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21473         products 4 * y and 2 * y where those would overflow.
21474         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21475         Likewise.
21476         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21477         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21478         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21479         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21480         * math/libm-test.inc (remquo_test_data): Add more tests.
21482         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21484         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21485         [defined _COMPILING_NEWLIB].
21486         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21487         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21489         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21490         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21492 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21494         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21495         acquired.
21497 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21499         [BZ #17792]
21500         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21501         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21502         HOST_STACK_END_ADDR): Likewise.
21504 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21506         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21507         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21508         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21510 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21512         * sysdeps/generic/c++-types.data: New file.
21513         * sysdeps/generic/ld.abilist: New file.
21514         * sysdeps/generic/libBrokenLocale.abilist: New file.
21515         * sysdeps/generic/libanl.abilist: New file.
21516         * sysdeps/generic/libc.abilist: New file.
21517         * sysdeps/generic/libcrypt.abilist: New file.
21518         * sysdeps/generic/libdl.abilist: New file.
21519         * sysdeps/generic/libm.abilist: New file.
21520         * sysdeps/generic/libpthread.abilist: New file.
21521         * sysdeps/generic/libresolv.abilist: New file.
21522         * sysdeps/generic/librt.abilist: New file.
21524 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21526         [BZ #17569]
21527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21528         Compute absolute value of x as modified by fmod, not original
21529         value of x.
21530         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21531         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21532         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21533         RUN_TEST_ffI_f1_mod8.
21534         (remquo_test_data): Add more tests.
21536 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21538         * sysdeps/init_array/pt-crti.S: New file.
21540 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21542         [BZ #17967]
21543         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21544         __builtin_fmaf instead of relying on contraction of a * b + c.
21546 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21548         [BZ #17969]
21549         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21550         node.
21552 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21554         [BZ #17964]
21555         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21556         __builtin_fma instead of relying on contraction of a * b + c.
21558 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21560         * Makeconfig (ASFLAGS): Add -Werror=undef.
21561         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21562         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21563         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21565         * Makeconfig (after-link): New variable.
21566         (+link-pie, +link-pie-tests): Use it.
21567         (+link-static, +link-static-tests): Likewise.
21568         (+link, +link-tests): Likewise.
21569         * Makerules (build-module, build-module-asneeded): Likewise.
21570         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21571         Likewise.
21572         * elf/Makefile ($(objpfx)ld.so): Likewise.
21574 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21576         [BZ #17965]
21577         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21578         both struct timeval and struct timespec.
21580 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21582         [BZ #16560]
21583         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21584         and redefine.
21585         (__ieee754_exp2l): Do not multiply small fractional parts by
21586         M_LN2l.
21587         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21588         small argument.
21589         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21590         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21591         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21592         * math/auto-libm-test-in: Add more tests of exp2.
21593         * math/auto-libm-test-out: Regenerated.
21595 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21597         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21598         unaligned path.
21600 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21602         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21603         little endian.
21605 2015-02-12  Andreas Schwab  <schwab@suse.de>
21607         [BZ #15790]
21608         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21609         Filter out elision flags from value returned in kind.
21610         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21611         * nptl/tst-pthread-mutexattr.c: New file.
21613 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21615         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21616         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21617         into gnu-gnu, and update comment to refer to abi-tags.
21619 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21621         [BZ #15467]
21622         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21623         (__sincos): Set errno to EDOM for infinite argument.
21624         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21625         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21626         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21627         (__sincosl): Set errno to EDOM for infinite argument.
21628         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21629         (__sincosl): Set errno to EDOM for infinite argument.
21630         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21631         (__sincosl): Set errno to EDOM for infinite argument.
21632         * math/libm-test.inc (sincos_test_data): Test errno setting.
21634 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21636         * string/strxfrm_l.c: Remove #define STRCMP.
21637         * string/strcoll_l.c: Remove #define STRLEN.
21638         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21639         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21641 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21643         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21644         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21645         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21646         * sysdeps/mips/mips64/Makefile: ... here.
21647         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21648         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21649         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21650         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21651         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21652         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21653         * sysdeps/mips/mips64/n64/Implies: Likewise.
21655 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21657         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21658         <sys/time.h>, <string.h>, and <errno.h>.
21659         (dest_offset, dest_address, value, zero): Remove unused variables.
21660         (ldouble): Remove typedef.
21661         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21662         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21663         1).  Fix code style.
21664         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21665         (check): Function removed.
21666         (CHECK): New macro.
21667         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21668         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21669         Don't call set_sigaction_FP and remove_sigaction_FP here.
21670         (ldouble_test): Just use 'long double' as macro argument, no need for
21671         the 'ldouble' typedef.
21672         (do_test): Set up SIGFPE handler at start, using plain signal rather
21673         than sigaction.  Fix code style.
21675 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21677         [BZ #17949]
21678         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21679         jump label.
21681 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21683         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21684         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21686         * sysdeps/powerpc/configure.ac: Remove file.
21687         * sysdeps/powerpc/configure: Likewise.
21689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21690         [sysdep_routines]: Remove wordcopy-power6 object.
21691         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21692         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21693         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21694         (__memmove_ppc32): Likewise.
21695         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21696         file.
21697         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21699         Remove preprocessor.
21701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21702         [sysdep_routines]: Remove wide chars objects.
21703         [wcsmbs]: New rule for wide char objects.
21705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21706         Remove wordcopy-power6 obejct.
21707         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21708         Use local call for wordcopy and memcpy symbols.
21709         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21710         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21711         implementation for loader.
21712         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21715         Remove wordcopy-power7 object.
21716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21717         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21718         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21719         (_wordcopy_fwd_dest_aligned): Likewise.
21720         (_wordcopy_bwd_aligned): Likewise.
21721         (_wordcopy_bwd_dest_aligned): Likewise.
21723         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21724         Rewrite to call __memmove_ppc instead of include default
21725         implementation.
21727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21728         Remove wide chars objects.
21729         [wcsmbs]: New rule for wide char objects.
21731 2015-02-09  Andreas Schwab  <schwab@suse.de>
21733         [BZ #17912]
21734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21735         in terms of __O_DIRECTORY.
21737 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21739         * time/getdate.c: Include <stdbool.h>.
21740         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21741         call PTR_MANGLE.
21742         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21743         PTR_DEMANGLE.
21745 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21747         Add ersatz _Static_assert on older C hosts
21748         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21749         pre-C11 C platform that is not known to support _Static_assert.
21751 2015-02-07  Richard Braun  <rbraun@sceen.net>
21753         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21754         sigstate.
21755         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21757 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21759         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21760         priority against unexistent AIO_PRIO_DELTA_MAX.
21761         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21762         instead of int.
21763         * misc/fchflags.c (fchflags): Likewise.
21764         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21765         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21766         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21767         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21768         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21769         Declare macros.
21770         [__USE_MISC] (chflags, fchflags): Declare functions.
21771         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21772         EINVAL when nfds is greater than FD_SETSIZE.
21773         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21774         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21775         45.
21776         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21777         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21778         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21779         MACH_RCV_TIMED_OUT.
21780         * hurd/hurd/signal.h (_hurd_self_sigstate,
21781         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21782         Explicit casts from void *.
21783         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21784         * abi-tags: Rename gnu-gnu os into gnu.
21786         [BZ #4719]
21787         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21788         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21789         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21790         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21791         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21792         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21794         [BZ #17944]
21795         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21796         duplicates ADDR->sun_path with sockaddr LEN limitation.
21797         * sysdeps/mach/hurd/connect.c: Include <string.h>
21798         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21799         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21800         * sysdeps/mach/hurd/sendto.c: Likewise.
21801         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21802         implementing it by hand.
21804 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21806         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21807         Use sfi_breg on ldr.
21808         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21809         Likewise.
21811         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21812         it's defined.
21813         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21814         Test SIGSETXID only if it's defined.
21816         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21818         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21819         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21821         * nptl/tst-align2.c: Moved ...
21822         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21823         * nptl/Makefile (tests): Remove tst-align2.
21824         * sysdeps/unix/sysv/linux/Makefile
21825         [$(subdir) = nptl] (tests): Add tst-align-clone.
21826         * nptl/tst-getpid1.c: Moved ...
21827         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21828         * nptl/tst-getpid2.c: Moved ...
21829         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21830         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21831         * sysdeps/unix/sysv/linux/Makefile
21832         [$(subdir) = nptl] (tests): ... here.
21833         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21834         * sysdeps/unix/sysv/linux/Makefile
21835         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21837         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21838         Drop trailing \n from perror argument.  Use return rather than exit.
21840         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21841         on [SA_SIGINFO].
21842         * nptl/tst-cancel21.c (do_test): Likewise.
21843         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21844         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21845         [!SA_SIGINFO]: Make it a stub test.
21847         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21848         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21850         * posix/tst-getlogin.c: Move to ...
21851         * login/tst-getlogin.c: ... here.
21852         * posix/Makefile (tests): Move tst-getlogin to ...
21853         * login/Makefile (tests): ... here.
21855         * libio/tst-atime.c (do_test): Move local variables SV and E
21856         inside [ST_NOATIME] conditional.
21858         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21860         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21862         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21863         (wait_code): New function replaces macro.
21864         Call nanosleep rather than syscall.
21866         * nptl/pt-system.c: Rewritten.  Put everything under
21867         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21868         Use IFUNC to redirect when possible.
21870         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21871         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21872         Use IFUNC to redirect when possible.
21874         * nptl/pt-fork.c: Rewritten.  Put everything under
21875         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21876         Use IFUNC to redirect when possible.
21877         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21879         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21880         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21881         unconditionally nowadays.  This included the only reference to
21882         __vdso_clock_gettime that appears outside libc proper.
21883         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21884         Remove version set (containing only __vdso_clock_gettime).
21885         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21886         Add attribute_hidden.
21887         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21888         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21889         libc_hidden_data_def.
21890         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21891         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21893         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21894         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21895         setrpcent, and getrpcport to ...
21896         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21897         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21898         getrpcbynumber_r, and getrpcent_r to ...
21899         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21900         * inet/getrpcbyname.c: Moved ...
21901         * sunrpc/getrpcbyname.c: ... here.
21902         * inet/getrpcbyname_r.c: Moved ...
21903         * sunrpc/getrpcbyname_r.c: ... here.
21904         * inet/getrpcbynumber.c: Moved ...
21905         * sunrpc/getrpcbynumber.c: ... here.
21906         * inet/getrpcbynumber_r.c: Moved ...
21907         * sunrpc/getrpcbynumber_r.c: ... here.
21908         * inet/getrpcent.c: Moved ...
21909         * sunrpc/getrpcent.c: ... here.
21910         * inet/getrpcent_r.c: Moved ...
21911         * sunrpc/getrpcent_r.c: ... here.
21912         * inet/Makefile (routines): Move those to ...
21913         * sunrpc/Makefile (routines): ... here.
21914         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21915         the $(subdirs) list.
21916         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21917         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21918         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21919         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21921         * elf/Makefile (routines): Include $(all-dl-routines), not just
21922         $(dl-routines).
21923         (rtld-routines): Likewise.  Use = rather than :=.
21924         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21925         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21926         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21927         * sysdeps/arm/Makefile: Likewise.
21928         * sysdeps/i386/Makefile: Likewise.
21929         * sysdeps/x86_64/Makefile: Likewise.
21930         * sysdeps/hppa/Makefile [$(subdir) = elf]
21931         (sysdep_routines, sysdep-rtld-routines): Don't add
21932         $(sysdep-dl-routines) to these.
21933         * sysdeps/ia64/Makefile: Likewise.
21934         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21935         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21936         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21937         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21938         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21939         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21940         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21941         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21942         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21943         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21944         these; sysdep-dl-routines alone is enough.
21946 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21948         [BZ #17932]
21949         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21950         where multiplication results in zero and third argument is finite
21951         and nonzero.
21952         * math/auto-libm-test-in: Add more tests of fma.
21953         * math/auto-libm-test-out: Regenerated.
21955         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21956         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21957         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21958         (_FP_CMP_EQ): Likewise.
21959         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21961         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21962         extra argument CHECK_NAN.  Redefine as wrapper around
21963         _FP_EXTEND_CNAN.
21965 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21967         * version.h (RELEASE): Set to "stable".
21968         (VERSION): Set to "2.21"
21969         * include/features.h (__GLIBC_MINOR__): Set to 21.
21971         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21973 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21974             Paul Eggert  <eggert@cs.ucla.edu>
21976         [BZ #16618]
21977         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21978         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21979         size in bytes. Store needed elements in wpmax. Use needed size
21980         in bytes for extend_alloca.
21982 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21984         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21985         binutls 2.25, and texinfo 5.2.
21986         * INSTALL: Regenerate.
21987         * sysdeps/nios2/configure: Regenerate.
21988         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21989         * manual/contrib.texi: Update.
21990         * po/be.po: Update.
21991         * po/bg.po: Update.
21992         * po/ca.po: Update.
21993         * po/cs.po: Update.
21994         * po/da.po: Update.
21995         * po/de.po: Update.
21996         * po/el.po: Update.
21997         * po/eo.po: Update.
21998         * po/es.po: Update.
21999         * po/fi.po: Update.
22000         * po/fr.po: Update.
22001         * po/gl.po: Update.
22002         * po/hr.po: Update.
22003         * po/hu.po: Update.
22004         * po/ia.po: Update.
22005         * po/id.po: Update.
22006         * po/it.po: Update.
22007         * po/ja.po: Update.
22008         * po/ko.po: Update.
22009         * po/lt.po: Update.
22010         * po/nb.po: Update.
22011         * po/nl.po: Update.
22012         * po/pl.po: Update.
22013         * po/pt_BR.po: Update.
22014         * po/ru.po: Update.
22015         * po/rw.po: Update.
22016         * po/sk.po: Update.
22017         * po/sl.po: Update.
22018         * po/sv.po: Update.
22019         * po/tr.po: Update.
22020         * po/uk.po: Update.
22021         * po/vi.po: Update.
22022         * po/zh_CN.po: Update.
22023         * po/zh_TW.po: Update.
22025         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22026         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22027         * sysdeps/hppa/dl-irel.h: Remove #warning.
22028         * sysdeps/hppa/entry.h: Provide prototype for
22029         __canonicalize_funcptr_for_compare and cast argument.
22030         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22031         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22032         * sysdeps/hppa/sotruss-lib.c: New file.
22033         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22034         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22035         (atomic_compare_and_exchange_bool_acq): Likewise.
22036         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22037         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22039         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22040         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22041         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22043 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22045         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22046         called function in non-PIC case.
22048 2015-01-31  David S. Miller  <davem@davemloft.net>
22050         * sysdeps/sparc/sparc32/bits/atomic.h
22051         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22052         unlock not after it.
22053         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22054         volatile register usage warnings from the compiler.
22056         * sysdeps/sparc/nptl/sem_init.c: Delete.
22057         * sysdeps/sparc/nptl/sem_post.c: Delete.
22058         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22059         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22060         * sysdeps/sparc/sparc32/sem_init.c: New file.
22061         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22062         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22063         padding explicitly initialized.
22064         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22065         padding for in-semaphore spinlock.
22066         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22067         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22068         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22069         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22070         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22071         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22072         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22073         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22074         version.
22075         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22076         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22078 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22080         [BZ #17801]
22081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22082         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22083         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22084         New.
22085         (index_AVX_Fast_Unaligned_Load): Likewise.
22086         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22087         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22088         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22089         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22090         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22091         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22092         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22093         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22094         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22096 2015-01-29  Andreas Schwab  <schwab@suse.de>
22098         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22100 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22102         [BZ #17892]
22103         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22105 2015-01-28  Martin Sebor  <msebor@redhat.com>
22107         * math/README.libm-test: Clarify. Add "How to read the test output."
22109 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22111         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22112         Define to 0.
22114 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22116         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22117         (__HAVE_64B_ATOMICS): Define to 0.
22119 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22121         [BZ #17885]
22122         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22123         value to set as new flag.
22125         [BZ #16576]
22126         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22127         and use _ARCH_PPCSQ instead.
22128         (__ieee754_sqrt): Likewise.
22129         (__ieee754_sqrtf): Likewise.
22130         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22131         _ARCH_PPCSQ is defined.
22132         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22133         fsqrt instruction.
22134         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22135         _ARCH_PPCSQ is defined.
22136         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22137         fsqrts instruction.
22138         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22140 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22142         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22143         bug (GCC BZ #64739).
22145 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22147         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22148         Mark _retval as used.
22149         (lll_futex_wake_unlock): Likewise.
22150         (lll_futex_timed_wait_requeue_pi): Likewise.
22152         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22153         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22154         register variables.
22156         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22157         libm_hidden_def.
22159         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22160         (__bswap_64): Mark as __always_inline.
22162 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22164         [BZ #15378]
22165         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22166         when none of the search directories exist.
22168 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22170         [BZ #17869]
22171         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22172         power8 in .machine directive.
22174         [BZ #17868]
22175         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22176         set dependency from opd value.
22178 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22181         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22182         architecture.
22184 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22186         [BZ #17870]
22187         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22188         with uint64_t.
22189         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22190         (uint64_t) 1.
22191         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22192         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22193         Replace 1UL with (uint64_t) 1.
22194         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22195         int with uint64_t.
22197 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22199         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22200         (if_freenameindex): Likewise.
22202         * resource/getrlimit64.c: Add missing libc_hidden_def.
22204 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22206         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22207         __label__.
22208         (_FP_FMA): Likewise.
22209         (_FP_TO_INT_ROUND): Likewise.
22210         (_FP_FROM_INT): Likewise.
22212 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22214         [BZ #16418]
22215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22216         Make code racy and cancel safe.
22218 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22220         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22221         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22222         attribution.
22224         * pwd/tst-getpw.c: Rewrite.
22226         [BZ #17702]
22227         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22228         (modules-names): Add moddummy1 and moddummy2.
22229         ($(objpfx)tst-rec-dlopen): Define.
22230         * dlfcn/moddummy1.c: New file.
22231         * dlfcn/moddummy2.c: New file.
22232         * dlfcn/tst-rec-dlopen.c: New file.
22233         * elf/dl-cache.c (_dl_load_cache_lookup):
22234         Return char*. Copy result with alloca/strcpy/strdup.
22235         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22236         returns char*. Free cached. If not saving realname
22237         free cached.
22238         * elf/dl-open.c (dl_open_worker): Do not assert that
22239         _r_debug->r_state is RT_CONSISTENT.
22240         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22241         returns char*.
22243 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22244             Carlos O'Donell  <carlos@redhat.com>
22246         [BZ #12674]
22247         * nptl/sem_waitcommon.c: New file.
22248         * nptl/sem_wait.c: Include sem_waitcommon.c.
22249         (__sem_wait_cleanup, do_futex_wait): Remove.
22250         (__new_sem_wait): Adapt.
22251         (__new_sem_trywait): New function.
22252         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22253         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22254         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22255         (sem_timedwait): Adapt.
22256         * nptl/sem_post.c (__new_sem_post): Adapt.
22257         (futex_wake): New function.
22258         (__old_sem_post): Add release MO fence.
22259         * nptl/sem_open.c (sem_open): Adapt.
22260         * nptl/sem_init.c (__new_sem_init): Adapt.
22261         (futex_private_if_supported): New function.
22262         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22263         (__old_sem_getvalue): Add using previous code.
22264         * sysdeps/nptl/internaltypes.h: Adapt.
22265         * nptl/tst-sem13.c (do_test): Adapt.
22266         * nptl/tst-sem11.c (main): Adapt.
22267         * nptl/sem_trywait.c: Remove.
22268         * nptl/DESIGN-sem.txt: Remove.
22269         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22270         (gen-as-const-headers): Remove structsem.sym.
22271         * nptl/structsem.sym: Remove.
22272         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22273         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22274         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22275         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22276         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22277         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22278         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22279         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22280         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22281         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22282         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22283         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22284         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22285         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22286         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22287         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22288         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22289         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22290         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22291         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22292         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22293         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22295 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22297         * INSTALL: Regenerated.
22299         * po/libc.pot: Regenerated.
22301 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22302             Sandra Loosemore  <sandra@codesourcery.com>
22303             Andrew Jenner  <andrew@codesourcery.com>
22304             Joseph Myers  <joseph@codesourcery.com>
22305             Nathan Sidwell  <nathan@codesourcery.com>
22307         * NEWS: Mention new Nios II port.
22308         * sysdeps/nios2/Implies: New file.
22309         * sysdeps/nios2/Makefile: New file.
22310         * sysdeps/nios2/Subdirs: New file.
22311         * sysdeps/nios2/Versions: New file.
22312         * sysdeps/nios2/__longjmp.S: New file.
22313         * sysdeps/nios2/abort-instr.h: New file.
22314         * sysdeps/nios2/backtrace.c: New file.
22315         * sysdeps/nios2/bits/endian.h: New file.
22316         * sysdeps/nios2/bits/fenv.h: New file.
22317         * sysdeps/nios2/bits/link.h: New file.
22318         * sysdeps/nios2/bits/setjmp.h: New file.
22319         * sysdeps/nios2/bsd-_setjmp.S: New file.
22320         * sysdeps/nios2/bsd-setjmp.S: New file.
22321         * sysdeps/nios2/configure: New generated file.
22322         * sysdeps/nios2/configure.ac: New file.
22323         * sysdeps/nios2/crti.S: New file.
22324         * sysdeps/nios2/crtn.S: New file.
22325         * sysdeps/nios2/dl-init.c: New file.
22326         * sysdeps/nios2/dl-machine.h: New file.
22327         * sysdeps/nios2/dl-sysdep.h: New file.
22328         * sysdeps/nios2/dl-tls.h: New file.
22329         * sysdeps/nios2/dl-trampoline.S: New file.
22330         * sysdeps/nios2/gccframe.h: New file.
22331         * sysdeps/nios2/gmp-mparam.h: New file.
22332         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22333         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22334         * sysdeps/nios2/ldsodefs.h: New file.
22335         * sysdeps/nios2/libc-tls.c: New file.
22336         * sysdeps/nios2/libm-test-ulps: New file.
22337         * sysdeps/nios2/machine-gmon.h: New file.
22338         * sysdeps/nios2/math-tests.h: New file.
22339         * sysdeps/nios2/math_private.h: New file.
22340         * sysdeps/nios2/memusage.h: New file.
22341         * sysdeps/nios2/nptl/Makefile: New file.
22342         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22343         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22344         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22345         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22346         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22347         * sysdeps/nios2/nptl/tls.h: New file.
22348         * sysdeps/nios2/preconfigure: New file.
22349         * sysdeps/nios2/s_fma.c: New file.
22350         * sysdeps/nios2/s_fmaf.c: New file.
22351         * sysdeps/nios2/setjmp.S: New file.
22352         * sysdeps/nios2/sfp-machine.h: New file.
22353         * sysdeps/nios2/sotruss-lib.c: New file.
22354         * sysdeps/nios2/stackguard-macros.h: New file.
22355         * sysdeps/nios2/stackinfo.h: New file.
22356         * sysdeps/nios2/start.S: New file.
22357         * sysdeps/nios2/sysdep.h: New file.
22358         * sysdeps/nios2/tls-macros.h: New file.
22359         * sysdeps/nios2/tst-audit.h: New file.
22360         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22361         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22362         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22363         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22364         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22365         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22366         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22367         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22368         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22369         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22370         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22371         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22372         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22373         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22374         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22375         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22376         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22377         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22378         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22379         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22380         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22381         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22382         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22383         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22384         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22385         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22386         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22387         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22388         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22389         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22390         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22391         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22392         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22393         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22394         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22395         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22396         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22397         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22398         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22399         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22400         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22401         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22402         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22403         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22405 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22407         [BZ #17844]
22408         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22409         (getutent): Use weak_alias in non SHARED case
22410         and default_symbol_version in SHARED case.
22411         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22412         (getutent_r, pututline): Likewise.
22413         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22414         (getutid): Likewise.
22415         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22416         (getutid_r): Likewise.
22417         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22418         (getutline): Likewise.
22419         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22420         (getutline_r): Likewise.
22421         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22422         (updwtmp): Likewise.
22424 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22426         [BZ #17848]
22427         * sysdeps/s390/s390-32/memcmp.S
22428         (memcmp_g5): Rename to __memcmp_g5.
22429         * sysdeps/s390/s390-32/memcpy.S
22430         (memcpy_g5): Rename to __memcpy_g5.
22431         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22432         (memcpy_mvcle) Rename to __memcpy_mvcle.
22433         * sysdeps/s390/s390-32/memset.S
22434         (memset_g5): Rename to __memset_g5.
22435         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22436         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22437         and use prefixed functions.
22438         * sysdeps/s390/s390-32/multiarch/memcmp.S
22439         (memcmp_z196): Rename to __memcmp_z196.
22440         (memcmp_z10): Rename to __memcmp_z10.
22441         (memcmp): Set alias to __memcmp_g5.
22442         (bcmp): Set alias to __memcmp_g5.
22443         * sysdeps/s390/s390-32/multiarch/memcpy.S
22444         (memcpy_z196): Rename to __memcpy_z196.
22445         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22446         (memcpy_z10): Rename to __memcpy_z10.
22447         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22448         (memcpy): Set alias to __memcpy_g5.
22449         * sysdeps/s390/s390-32/multiarch/memset.S
22450         (memset_z196): Rename to __memset_z196.
22451         Jump to __memset_mvcle instead of memset_mvcle.
22452         (memset_z10): Rename to __memset_z10.
22453         Jump to __memset_mvcle instead of memset_mvcle.
22454         (memset_mvcle) Rename to __memset_mvcle.
22455         (memset): Set alias to __memset_g5.
22456         * sysdeps/s390/s390-64/memcmp.S
22457         (memcmp_z900): Rename to __memcmp_z900.
22458         * sysdeps/s390/s390-64/memcpy.S
22459         (memcpy_z900): Rename to __memcpy_z900.
22460         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22461         (memcpy_mvcle) Rename to __memcpy_mvcle.
22462         * sysdeps/s390/s390-64/memset.S
22463         (memset_z900): Rename to __memset_z900.
22464         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22465         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22466         and use prefixed functions.
22467         * sysdeps/s390/s390-64/multiarch/memcmp.S
22468         (memcmp_z196): Rename to __memcmp_z196.
22469         (memcmp_z10): Rename to __memcmp_z10.
22470         (memcmp): Set alias to __memcmp_z900.
22471         (bcmp): Set alias to __memcmp_z900.
22472         * sysdeps/s390/s390-64/multiarch/memcpy.S
22473         (memcpy_z196): Rename to __memcpy_z196.
22474         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22475         (memcpy_z10): Rename to __memcpy_z10.
22476         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22477         (memcpy): Set alias to __memcpy_z900.
22478         * sysdeps/s390/s390-64/multiarch/memset.S
22479         (memset_z196): Rename to __memset_z196.
22480         Jump to __memset_mvcle instead of memset_mvcle.
22481         (memset_z10): Rename to __memset_z10.
22482         Jump to __memset_mvcle instead of memset_mvcle.
22483         (memset_mvcle) Rename to __memset_mvcle.
22484         (memset): Set alias to __memset_z900.
22486 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22488         [BZ #17748]
22489         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22490         __fesetenv instead of fesetenv.
22492 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22494         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22495         macro.
22497 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22499         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22500         regression on LE.
22502         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22503         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22504         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22505         strncmp-power8 object.
22506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22507         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22508         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22509         * NEWS: Update.
22511 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22512             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22514         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22515         trailing byte check.
22517 2015-01-13  David S. Miller  <davem@davemloft.net>
22519         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22521 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22523         * login/logout.c (logout): Use memset rather than bzero.
22524         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22525         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22526         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22527         (_gethtbyaddr): Likewise.
22528         * locale/programs/simple-hash.c (bcopy): Macro removed.
22530 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22533         Add strcmp-power8 object.
22534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22535         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22536         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22537         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22538         __strcmp_power8 implementation.
22539         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22540         * NEWS: Update.
22542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22543         Add strncpy-power8 and stpncpy-power8 objects.
22544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22545         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22546         implementations.
22547         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22548         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22549         __stpncpy_power8 implementation.
22550         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22551         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22552         __strncpy_power8 implementation.
22553         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22554         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22555         * NEWS: Update.
22557         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22558         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22559         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22561         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22562         strncat-power8 object.
22563         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22564         __strcat_power8 implementation.
22565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22566         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22567         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22568         optimized strcat for power8.
22570         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22571         strcpy-power8 and stpcpy-power8 objects.
22572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22573         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22574         implementations.
22575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22576         multiarch stpcpy implementation for POWER8.
22577         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22578         multiarch strcpy implementation for POWER8.
22579         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22580         __strcpy_power8 function.
22581         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22582         stpcpy for POWER8.
22583         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22584         strcpy for POWER8.
22585         * NEWS: Update.
22587 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22589         [BZ #16009]
22590         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22591         weights and rules. Use do_xfrm_cached if data fits in cache,
22592         do_xfrm otherwise.  Moved former main loop to...
22593         * (do_xfrm_cached): New function.
22594         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22595         find_idx, find_position and stack_push.
22596         * (find_idx): New function.
22597         * (find_position): Likewise.
22598         * localedata/sort-test.sh: Added test run for do_xfrm.
22599         * localedata/xfrm-test.c (main): Added command line option
22600         -nocache to run the test with strings that are too large for
22601         the STRXFRM cache.
22603 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22605         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22606         variable to lll_futex_wake call, not the value itself.
22608 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22610         [BZ #17803]
22611         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22612         twom64.  Adjust value to 0x1p-64L.
22613         (__scalblnl): Only return standard underflowing result for K <=
22614         -64 not K <= -63; adjust exponent for underflowing result by 64
22615         not 63.
22616         * math/libm-test.inc (scalbn_test_data): Add more tests.
22617         (scalbln_test_data): Likewise.
22619         [BZ #17834]
22620         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22621         0x1p63L.
22622         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22623         not HX.
22624         * math/libm-test.inc (scalbn_test_data): Add more tests.
22625         (scalbln_test_data): Likewise.
22627 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22628             Stefani Seibold  <stefani@seibold.net>
22630         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22631         (sysdep_routines): Add dl-vdso here, ...
22632         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22633         (sysdep_routines): ... not here.
22634         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22635         fallback when vDSO is not presented.
22636         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22637         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22638         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22639         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22640         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22641         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22642         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22643         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22644         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22645         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22646         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22647         fallback configurable symbol when vDSO is not available.
22648         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22649         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22650         be able to redefine fallback symbol when vDSO is not available.
22651         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22652         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22654 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22656         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22657         (TLS_INIT_TP): Add tm_capable initialization.
22658         (TLS_DEFINE_INIT_TP): Likewise.
22659         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22660         TCB.
22661         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22662         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22663         calculation.
22664         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22665         transactoion is lock elision is built and TCB tm_capable is set.
22666         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22668         (INTERNAL_SYSCALL_NCS): Likewise.
22669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22670         (INTERNAL_SYSCALL_NCS): Likewise.
22671         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22673         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22674         for powerpc.
22675         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22676         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22677         and remove it for 32 bits case.
22678         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22680         initialization.
22681         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22682         Disable lock elision with rdlocks if elision is not available.
22684         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22685         (sysdep_routines): Add lock elision objects.
22686         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22687         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22688         [pthread_mutex_t] (__elision): Add field.
22689         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22690         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22691         elision definitions for powerpc.
22692         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22693         implementation of lock elision for powerpc.
22694         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22695         implementation of timed lock elision for powerpc.
22696         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22697         implementation of trylock with lock elision for powerpc.
22698         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22699         implementaion of unlock for lock elision for powerpc.
22700         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22701         automatic enable lock elision for mutexes.
22702         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22703         transaction execution definitions for powerpc.
22704         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22705         definitions.
22706         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22707         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22708         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22709         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22710         * NEWS: Update.
22712 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22714         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22715         for #include of <shm-directory.h>.
22717 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22719         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22720         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22722 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22724         [BZ #17791]
22725         * NEWS: Mention bug fix.
22726         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22727         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22728         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22730 2015-01-09  Torvald Riegel <triegel@redhat.com>
22732         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22734 2015-01-09  Torvald Riegel <triegel@redhat.com>
22736         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22738 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22740         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22741         pointer and cast to uintptr_t.
22743 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22745         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22746         removed.
22747         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22749 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22751         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22752         of 0.
22754 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22756         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22757         <nptl/pthreadP.h> instead.
22758         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22760         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22761         already defined.
22762         [__SIGRTMIN] (init): Function removed.
22763         [__SIGRTMIN] (initialized): Variable removed.
22764         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22765         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22766         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22767         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22768         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22769         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22770         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22771         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22772         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22773         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22774         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22775         * sysdeps/nptl/allocrtsig.c: New file.
22776         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22777         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22778         * sysdeps/generic/testrtsig.h: File removed.
22780         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22781         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22783         * nptl/nptl-init.c (pthread_functions): Conditionalize
22784         .ptr__nptl_setxid initialization on [SIGSETXID].
22786         * sysdeps/nptl/sys/procfs.h: New file.
22787         * nptl_db/Makefile (headers): Add it.
22788         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22790         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22791         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22792         * nptl/pthread_attr_setaffinity.c: Include it.
22793         * nptl/pthread_setattr_default_np.c: Likewise.
22794         * nptl/check-cpuset.h: New file.
22796 2015-01-08  Richard Henderson  <rth@redhat.com>
22798         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22799         (CFLAGS-tst-execstack-prog.c): Likewise.
22800         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22802 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22803             Sandra Loosemore  <sandra@codesourcery.com>
22804             Andrew Jenner  <andrew@codesourcery.com>
22805             Joseph Myers  <joseph@codesourcery.com>
22806             Nathan Sidwell  <nathan@codesourcery.com>
22808         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22809         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22810         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22811         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22812         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22813         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22814         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22815         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22816         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22817         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22818         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22819         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22820         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22821         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22822         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22823         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22824         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22826 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22828         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22829         timespec struct member in syscall macro.
22830         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22831         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22832         first timeval struct member in syscall macro.
22833         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22835 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22837         [BZ #17748]
22838         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22839         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22840         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22841         __feupdateenv and define as weak alias of __feupdateenv.  Use
22842         libm_hidden_weak.
22843         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22844         libm_hidden_def.
22845         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22846         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22847         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22848         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22849         libm_hidden_def.
22850         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22851         __feupdateenv and define as weak alias of __feupdateenv.  Use
22852         libm_hidden_weak.
22853         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22854         libm_hidden_def.
22855         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22856         __feupdateenv and define as weak alias of __feupdateenv.  Use
22857         libm_hidden_weak.
22858         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22859         libm_hidden_def.
22860         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22861         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22862         (__feupdateenv): Likewise.
22863         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22864         __feupdateenv and define as weak alias of __feupdateenv.  Use
22865         libm_hidden_weak.
22866         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22867         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22868         libm_hidden_def.
22869         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22870         function.
22871         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22872         libm_hidden_def.
22873         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22874         __feupdateenv instead of feupdateenv.
22875         (default_libc_feupdateenv_test): Likewise.
22876         (libc_feresetround_ctx): Likewise.
22878 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22880         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22881         prototype.
22883 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22885         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22886         COLL_SYM in a couple of places to avoid uninitialized variable
22887         wanings on tilegx gcc 4.8.2.
22889 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22891         * sysdeps/aarch64/strcpy.S: New file.
22892         * sysdeps/aarch64/stpcpy.S: New file.
22893         * NEWS: Updated.
22895 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22897         * sysdeps/aarch64/strrchr.S: New file.
22898         * NEWS: Updated.
22900 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22902         [BZ #17658]
22903         * stdlib/setenv.c: Fix memory leak when setting large,
22904         duplicate string.
22906 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22908         [BZ #17273]
22909         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22910         and tabs from buffer before parsing fstab entry.
22911         * misc/tst-mntent.c (main): Add test for mount entry with
22912         trailing spaces and tabs.
22914 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22916         [BZ #17748]
22917         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22918         * math/fesetround.c (fesetround): Rename to __fesetround and
22919         define as weak alias of __fesetround.  Use libm_hidden_weak.
22920         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22921         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22922         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22923         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22924         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22925         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22926         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22927         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22928         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22929         __fesetround_inline.
22930         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22931         __fesetround_inline instead of __fesetround.
22932         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22933         __fesetround and define as weak alias of __fesetround.  Use
22934         libm_hidden_weak.  Call __fesetround_inline instead of
22935         __fesetround.
22936         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22937         __fesetround and define as weak alias of __fesetround.  Use
22938         libm_hidden_weak.
22939         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22940         Likewise.
22941         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22942         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22943         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22944         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22945         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22946         __fesetround and define as weak alias of __fesetround.  Use
22947         libm_hidden_weak.
22948         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22949         __fesetround instead of fesetround.
22950         (default_libc_feholdexcept_setround): Likewise.
22951         (libc_feholdsetround_ctx): Likewise.
22952         (libc_feholdsetround_noex_ctx): Likewise.
22954         [BZ #17748]
22955         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22956         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22957         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22958         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22959         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22960         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22961         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22962         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22963         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22964         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22965         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22966         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22967         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22968         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22969         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22970         libm_hidden_def.
22971         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22972         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22973         Likewise.
22974         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22975         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22976         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22977         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22978         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22979         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22980         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22981         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22982         __fesetenv instead of fesetenv.
22983         (libc_feresetround_noex_ctx): Likewise.
22984         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22985         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22986         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22987         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22988         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22989         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22990         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22991         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22992         (__feupdateenv): Likewise.
22993         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22994         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22995         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22996         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22998 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23000         [BZ #17806]
23001         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23002         addresses have been freed.
23004 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23006         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23007         and nservall.
23009 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23011         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23012         Clean up check_pf allocation pattern. addresses
23014 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23016         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23017         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23018         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23019         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23020         * nptl/pthread_join.c (pthread_join): Likewise.
23021         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23022         * sysdeps/posix/waitid.c (__waitid): Likewise.
23023         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23024         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23025         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23026         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23028         Likewise.
23029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23030         (__libc_pread64): Likewise.
23031         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23032         (__libc_pwrite): Likewise.
23033         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23034         (__libc_pwrite64): Likewsie.
23035         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23036         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23037         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23038         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23039         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23040         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23041         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23043         Likewise.
23044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23045         (__libc_pread64): Likewise.
23046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23047         Likewise.
23048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23049         (__libc_pwrite64): Likewise.
23050         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23051         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23052         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23053         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23054         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23055         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23056         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23057         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23058         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23059         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23060         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23061         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23062         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23063         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23064         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23065         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23066         Likewise.
23068 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23070         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23071         (CFLAGS-test-double.c): Likewise.
23072         (CFLAGS-test-ldouble.c): Likewise.
23073         (CPPFLAGS-test-ifloat.c): Likewise.
23074         (CPPFLAGS-test-idouble.c): Likewise.
23075         (CPPFLAGS-test-ildoubl.c): Likewise.
23076         (CFLAGS-test-test-fenv.c): Remove variable.
23077         (CFLAGS-test-misc.c): Likewise.
23079 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23081         [BZ #17797]
23082         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23083         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23084         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23085         CLOCKS_PER_SEC == 1000000.
23086         * time/clocktest.c (main): Replace %ld with %jd and cast to
23087         intmax_t.
23089 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23091         * sysdeps/generic/unwind-resume.h: New file.
23092         * sysdeps/gnu/unwind-resume.c: Include it.
23093         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23094         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23095         argument list.
23096         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23097         global rather than static.
23098         (_Unwind_Resume): Update user.
23099         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23100         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23101         rather than static.  Add __attribute__ ((cold)).
23102         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23103         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23104         * sysdeps/arm/arm-unwind-resume.S: New file.
23105         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23106         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23107         * sysdeps/arm/Makefile [$(subdir) = csu]
23108         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23109         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23110         Add rt-arm-unwind-resume.
23111         [$(subdir) = nptl]
23112         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23113         Add pt-arm-unwind-resume.
23114         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23115         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23117 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23119         [BZ #17748]
23120         * include/fenv.h (__feholdexcept): Declare.  Use
23121         libm_hidden_proto.
23122         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23123         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23124         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23125         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23126         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23127         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23128         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23129         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23130         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23131         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23132         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23133         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23134         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23135         (feholdexcept): Likewise.
23136         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23137         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23138         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23139         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23140         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23141         __feholdexcept instead of feholdexcept.
23142         (default_libc_feholdexcept_setround): Likewise.
23144 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23146         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23147         to avoid using stl/str to align destination.
23149 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23151         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23153 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23155         [BZ #17796]
23156         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23157         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23158         Define as weak alias not strong alias.
23160 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23162         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23163         bltzal with addiupc.
23164         (RTLD_START): Ditto.
23166 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23168         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23169         for __vdso_* functions in declarations.
23170         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23171         definitions.
23172         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23173         INTERNAL_VSYSCALL): Use struct return types to check for error.
23175         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23176         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23177         function with cast from llround().
23178         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23179         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23180         Define.
23182 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23184         [BZ #17793]
23185         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23186         Define as weak alias not strong alias.
23188         [BZ #17635]
23189         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23190         ...
23191         * ctype/ctype-extn.c: ... here.
23192         (__isblank_l): Move to ...
23193         * ctype/ctype-c99_l.c: ... here.  New file.
23194         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23195         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23196         Remove variable.
23197         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23198         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23199         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23200         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23201         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23203         [BZ #17777]
23204         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23205         (posix_fadvise64): Define as weak alias not strong alias.
23206         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23207         (posix_fallocate64): Likewise.
23208         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23209         Remove variable.
23210         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23211         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23212         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23213         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23214         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23216 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23218         [BZ #16191]
23219         * NEWS: Mention bug fix.
23220         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23221         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23222         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23223         (HOST_STACK_END_ADDR): Likewise.
23225 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23227         [BZ #17748]
23228         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23229         * math/fegetround.c (fegetround): Rename to __fegetround and
23230         define as weak alias of __fegetround.  Use libm_hidden_weak.
23231         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23232         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23233         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23234         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23235         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23236         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23237         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23238         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23239         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23240         Undefine after rather than before function definition; use
23241         parentheses around function name in definition.
23242         (__fegetround): Also undefine macro after function definition.
23243         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23244         __fegetround and define as weak alias of __fegetround.  Use
23245         libm_hidden_weak.  Do not undefine as macro.
23246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23247         Likewise.
23248         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23249         __fegetround and define as weak alias of __fegetround.  Use
23250         libm_hidden_weak.
23251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23252         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23253         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23254         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23255         __fegetround and define as weak alias of __fegetround.  Use
23256         libm_hidden_weak.
23257         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23258         __fegetround instead of fegetround.
23260         [BZ #17782]
23261         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23262         Condition macro definition on [__USE_MISC].
23264         [BZ #17781]
23265         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23266         (struct sigaction): Change type of sa_flags field to int.
23268         [BZ #17780]
23269         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23270         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23271         __glibc_reserved0.
23273         * nptl/version.c (banner): Use single year in copyright notice.
23275         * NEWS: Update copyright dates.
23276         * catgets/gencat.c (print_version): Likewise.
23277         * csu/version.c (banner): Likewise.
23278         * debug/catchsegv.sh: Likewise.
23279         * debug/pcprofiledump.c (print_version): Likewise.
23280         * debug/xtrace.sh (do_version): Likewise.
23281         * elf/ldconfig.c (print_version): Likewise.
23282         * elf/ldd.bash.in: Likewise.
23283         * elf/pldd.c (print_version): Likewise.
23284         * elf/sotruss.sh: Likewise.
23285         * elf/sprof.c (print_version): Likewise.
23286         * iconv/iconv_prog.c (print_version): Likewise.
23287         * iconv/iconvconfig.c (print_version): Likewise.
23288         * locale/programs/locale.c (print_version): Likewise.
23289         * locale/programs/localedef.c (print_version): Likewise.
23290         * login/programs/pt_chown.c (print_version): Likewise.
23291         * malloc/memusage.sh (do_version): Likewise.
23292         * malloc/memusagestat.c (print_version): Likewise.
23293         * malloc/mtrace.pl: Likewise.
23294         * manual/libc.texinfo: Likewise.
23295         * nptl/version.c (banner): Likewise.
23296         * nscd/nscd.c (print_version): Likewise.
23297         * nss/getent.c (print_version): Likewise.
23298         * nss/makedb.c (print_version): Likewise.
23299         * posix/getconf.c (main): Likewise.
23300         * scripts/test-installation.pl: Likewise.
23301         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23303 2015-01-02  Will Newton  <will.newton@linaro.org>
23305         * sysdeps/arm/armv7/configure: Removed.
23306         * sysdeps/arm/armv7/configure.ac: Likewise.
23308 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23310         * All files with FSF copyright notices: Update copyright dates
23311         using scripts/update-copyrights.
23312         * intl/plural.c: Regenerated.
23313         * locale/programs/charmap-kw.h: Likewise.
23314         * locale/programs/locfile-kw.h: Likewise.
23316 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23318         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23320 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23322         [BZ #17748]
23323         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23324         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23325         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23326         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23327         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23328         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23329         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23330         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23331         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23332         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23333         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23334         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23335         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23336         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23337         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23338         libm_hidden_def.
23339         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23340         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23341         Likewise.
23342         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23343         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23344         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23345         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23346         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23347         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23348         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23349         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23350         __fegetenv instead of fegetenv.
23351         (libc_feholdsetround_noex_ctx): Likewise.
23353 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23355         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23356         (Elf_MIPS_ABIFlags_v0): New structure.
23357         (EF_MIPS_FP64): Define.
23358         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23359         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23360         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23361         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23362         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23363         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23364         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23365         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23366         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23367         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23368         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23369         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23370         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23371         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23372         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23373         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23374         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23375         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23376         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23377         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23378         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23379         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23380         field.
23381         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23382         EF_MIPS_FP64.
23383         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23384         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23385         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23386         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23387         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23388         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23389         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23390         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23391         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23392         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23393         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23394         record the current FP ABI extension.
23395         (mips-mode-switch): Define to show if kernel headers support mode
23396         switching.
23397         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23398         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23399         supported SYSV ABI version to 3.
23400         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23401         feature.
23403 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23404             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23406         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23407         path.
23408         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23410 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23412         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23413         __fegetround and redefine to call __fegetround.  Remove condition
23414         on [!__NO_MATH_INLINES].
23415         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23416         function.
23417         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23418         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23419         Remove macro.
23420         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23421         instead of <fenv_libc.h>.
23422         (__llrintl): Call fegetround instead of __fegetround.
23423         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23424         instead of <fenv_libc.h>.
23425         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23426         (__lrintl): Call fegetround instead of __fegetround.
23427         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23428         instead of <fenv_libc.h>.
23429         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23430         (__rintl): Call fegetround instead of __fegetround.
23432 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23434         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23435         arrays.
23437 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23439         [BZ #17775]
23440         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23441         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23442         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23444 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23446         * sysdeps/i386/tls-macros.h: Include <features.h>.
23447         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23448         (TLS_IE): Likewise.
23449         (TLS_LD): Likewise.
23450         (TLS_GD): Likewise.
23451         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23452         define for GCC >= 5.0.
23454 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23456         * math/test-fenv.c (test_single_exception, set_single_exc,
23457         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23458         feexcp_mask_test, feenable_test, fe_single_test): Add
23459         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23460         case where they are not used.
23461         * math/libm-test.inc: Likewise.
23462         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23463         unused in the absence of FP rounding/exception support.
23464         * stdio-common/tst-printf-round.c: Likewise.
23465         * stdlib/tst-strtod-round.c: Likewise.
23466         * stdlib/tst-strtod-underflow.c: Likewise.
23468 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23470         [BZ #17723]
23471         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23472         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23473         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23474         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23475         libm_hidden_weak.
23476         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23477         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23478         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23479         libm_hidden_def.
23480         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23482         libm_hidden_weak.
23483         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23484         Likewise.
23485         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23486         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23487         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23488         libm_hidden_weak.
23489         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23490         libm_hidden_def.
23491         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23492         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23493         (__feraiseexcept): Likewise.
23494         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23495         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23496         libm_hidden_weak.
23497         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23498         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23499         libm_hidden_def.
23500         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23501         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23502         Use libm_hidden_def.
23503         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23504         libm_hidden_def.
23505         (feraiseexcept): Define as weak not strong alias.  Use
23506         libm_hidden_weak.
23507         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23508         New inline function.  Factored out of ...
23509         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23510         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23511         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23512         feraiseexcept.
23513         * math/w_acos.c (__acos): Likewise.
23514         * math/w_asin.c (__asin): Likewise.
23515         * math/w_ilogb.c (__ilogb): Likewise.
23516         * math/w_j0.c (y0): Likewise.
23517         * math/w_j1.c (y1): Likewise.
23518         * math/w_jn.c (yn): Likewise.
23519         * math/w_log.c (__log): Likewise.
23520         * math/w_log10.c (__log10): Likewise.
23521         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23522         * sysdeps/aarch64/fpu/math_private.h
23523         (libc_feupdateenv_test_aarch64): Likewise.
23524         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23525         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23526         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23527         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23528         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23529         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23530         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23531         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23532         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23533         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23535 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23537         [BZ #17732]
23538         * io/test-utime.c (main): Replace %ld with %jd and cast to
23539         intmax_t.
23540         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23541         * nptl/tst-mutex5.c: Include <stdint.h>.
23542         (do_test): Replace %ld with %jd and cast to intmax_t.
23543         * posix/tst-regex.c (run_test): Likewise.
23544         (run_test_backwards): Likewise.
23545         * rt/tst-clock.c: Include <stdint.h>.
23546         (clock_test): Replace %ld with %jd and cast to intmax_t.
23547         * rt/tst-cpuclock1.c: Include <stdint.h>.
23548         (do_test): Replace %lu with %ju and cast to uintmax_t.
23549         * rt/tst-cpuclock2.c: Include <stdint.h>.
23550         (do_test): Replace %lu with %ju and cast to uintmax_t.
23551         * rt/tst-mqueue1.c: Include <stdint.h>.
23552         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23553         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23554         intmax_t.
23555         * rt/tst-mqueue4.c (do_test): Likewise.
23556         * rt/tst-timer4.c: Include <stdint.h>.
23557         (check_ts): Replace %ld with %jd and cast to intmax_t.
23558         (do_test): Likewise.
23559         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23560         and cast to intmax_t.
23561         * sysdeps/pthread/tst-timer.c (main): Likewise.
23562         * time/clocktest.c (main): Likewise.
23563         * time/tst-posixtz.c (do_test): Likewise.
23564         * timezone/tst-timezone.c (main): Likewise.
23566 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23567             H.J. Lu  <hongjiu.lu@intel.com>
23569         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23570         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23571         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23572         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23573         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23574         version if bit_Fast_Unaligned_Load is set.
23575         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23576         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23577         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23578         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23579         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23580         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23582         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23583         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23584         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23585         to 4.
23586         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23587         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23588         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23589         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23591 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23593         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23594         instead of #if to avoid a Wundef warning.
23595         * stdlib/tst-limits.c (do_test): Likewise.
23597         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23598         parallel other exception macros.
23599         (fegetenv): Convert from macro to extern inline so that it applies
23600         retroactively to inline functions already seen by the compiler.
23601         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23603         * posix/Makefile (before-compile): Use $(objpfx) for
23604         posix-conf-vars-def.h.
23606 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23608         * posix/getconf.c (main): Use size_t for type of I.
23609         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23610         NSPEC.
23612         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23613         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23614         * posix/posix-envs.def: Likewise.
23615         * sysdeps/posix/sysconf.c: Likewise.
23616         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23617         (specs): Remove array.
23618         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23619         array.
23621         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23622         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23623         (__sysconf): Use CONF_IS_* macros.
23625         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23626         ($(objpfx)posix-conf-vars-def.h): New target.
23627         * posix/posix-conf-vars.list: New file.
23628         * posix/posix-conf-vars.h: New file.
23629         * posix/confstr.c: Include posix-conf-vars.h.
23630         (confstr): Use CONF_IS_* macros.
23631         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23632         CONF_IS_* macros.
23633         * scripts/gen-posix-conf-vars.awk: New file.
23635 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23637         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23638         fegetround): Add no-op macros to avoid linknamespace issues.
23640         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23641         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23643         * sysdeps/unix/sysv/linux/tile/sysdep.h
23644         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23645         assembly-specific section to avoid a redefinition warning.
23647         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23648         long before casting to pointer to avoid a cast warning.
23650 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23652         * sysdeps/tile/tilegx/Implies: New file.
23654 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23656         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23658 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23660         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23662 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23664         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23665         not define.
23666         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23667         <kernel-features.h>.
23668         (__utimes) [__NR_utimes]: Make code unconditional.
23669         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23670         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23671         (__ASSUME_UTIMES): Do not undefine.
23672         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23673         (__ASSUME_UTIMES): Likewise.
23674         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23675         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23676         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23677         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23679 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23681         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23683 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23685         [BZ #17747]
23686         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23687         alias to weak alias for j0l, y0l.
23688         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23689         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23691         [BZ #17746]
23692         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23693         conversion.
23695 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23697         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23698         to zero if not already defined.
23700 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23702         [BZ #17724]
23703         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23704         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23705         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23706         (char *) casts added.
23707         * sysdeps/ieee754/k_standardf.c: New file.
23708         * sysdeps/ieee754/k_standardl.c: Likewise.
23709         * math/Makefile (libm-support): Remove k_standard.
23710         (libm-calls): Add k_standard.
23712 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23714         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23715         Optimize to avoid an unnecessary FPCR read.
23717 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23719         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23720         Optimize to reduce FPCR/FPSR accesses.
23722 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23724         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23725         Call libc_fetestexcept_aarch64.
23727 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23729         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23730         Call libc_fesetround_aarch64.
23732 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23734         [BZ #17733]
23735         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23736         (__bind): Do not define as weak alias.
23737         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23738         define.
23739         (__getsockname): Do not define as weak alias.
23741 2014-12-22  Will Newton  <will.newton@linaro.org>
23743         * manual/install.texi: Document that we require bison 2.7
23744         or above.
23745         * INSTALL: Regenerate.
23746         * configure.ac: Use AC_CHECK_PROG_VER instead of
23747         AC_PATH_PROG when checking for bison and check for
23748         version 2.7 or above.
23749         * configure: Regenerate.
23751 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23753         [BZ #17745]
23754         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23755         * sysdeps/tile/ffsll.c (ffsll): To here.
23757         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23759 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23761         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23762         if not defined.
23763         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23764         definition.
23765         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23766         hidden ___tls_get_addr.
23767         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23768         hidden __tls_get_addr.
23769         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23770         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23771         Likewise.
23773 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23775         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23776         _dl_init call.
23778 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23780         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23781         from "call _dl_init@PLT".
23782         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23784 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23786         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23787         guarantees.
23789 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23791         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23793 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23795         [BZ #17744]
23796         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23797         strnlen.
23799 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23801         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23802         of multu on MIPSr6.
23803         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23804         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23805         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23806         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23807         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23809 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23811         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23812         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23813         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23814         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23815         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23816         mips32r6/mips64r6.
23817         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23819 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23821         * string/strncat.c (STRNCAT): Simplify implementation.
23823 2014-12-19  David S. Miller  <davem@davemloft.net>
23825         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23826         access the quad as both a long double and as a series of 4 words.
23828         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23829         link_map->l_info array access.
23831 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23833         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23835         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23836         * math/atest-exp2.c (TIMEOUT): Likewise.
23837         * math/atest-sincos.c (TIMEOUT): Likewise.
23839 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23841         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23842         -Wno-error with -fno-builtin-lround.
23844 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23846         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23847         Contains futex constants and functions moved over from ...
23848         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23849         <lowlevellock-futex.h>.
23850         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23851         (lll_timedwait_tid): Add comments and parentheses around macro
23852         arguments.
23854 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23856         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23857         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23858         (__lll_private_flag): Remove.
23859         (lll_futex_wait): Likewise.
23860         (lll_futex_timed_wait): Likewise.
23861         (lll_futex_wake): Likewise.
23862         (lll_futex_requeue): Likewise.
23863         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23864         (__lll_timedwait_tid): Spell out argument names.
23865         (lll_timedwait_tid): Add comments and parentheses around macro
23866         arguments.
23867         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23868         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23870 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23872         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23873         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23874         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23875         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23876         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23877         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23878         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23879         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23880         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23881         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23882         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23883         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23884         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23885         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23886         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23887         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23888         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23889         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23890         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23892 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23894         * sysdeps/x86_64/x32/Makefile: New file.
23896 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23898         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23899         1L with (mp_limb_t) 1.
23901 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23903         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23904         * nptl/libc_pthread_init.c: ... here.
23905         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23906         * nptl/register-atfork.c: ... here.
23908         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23909         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23910         Use assert_perror to check its return value.
23911         (__gai_create_helper_thread): Likewise.
23913         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23915         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23917 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23919         [BZ #17725]
23920         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23921         __profil_counter.
23922         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23923         Likewise.
23924         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23925         Likewise.
23926         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23927         Likewise.
23928         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23929         (profil_counter): Likewise.
23930         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23931         (profil_counter): Likewise.
23932         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23933         Likewise.
23934         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23935         Likewise.
23936         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23937         (profil_counter): Likewise.
23938         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23939         Likewise.
23940         [!__profil_counter] (profil_counter): Define as weak alias of
23941         __profil_counter.
23942         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23943         (profil_counter): Rename to __profil_counter.
23944         [!__profil_counter] (profil_counter): Define as weak alias of
23945         __profil_counter.
23946         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23947         (profil_counter): Rename to __profil_counter.
23948         [!__profil_counter] (profil_counter): Define as weak alias of
23949         __profil_counter.
23950         * sysdeps/posix/profil.c: Update comment referring to
23951         profil_counter.
23952         (__profil): Use __profil_counter instead of profil_counter.
23953         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23954         __profil_counter.  Use __profil_counter_ushort and
23955         __profil_counter_uint in definitions.
23956         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23957         instead of profil_counter_uint and profil_counter_ushort.
23959         [BZ #17722]
23960         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23961         define as weak alias of __inet_makeaddr.
23962         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23963         as weak alias of __inet_addr.
23964         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23965         as weak alias of __inet_pton.  Use libc_hidden_weak.
23966         * include/arpa/inet.h (__inet_pton): Declare.  Use
23967         libc_hidden_proto.
23968         (inet_makeaddr): Don't use libc_hidden_proto.
23969         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23970         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23971         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23972         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23973         Remove variable.
23974         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23975         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23977 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23979         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23981 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23983         * stdio-common/bug-vfprintf-nargs.c (do_test):
23984         Cast value to intptr_t to avoid format warning
23985         for usage with PRIdPTR printing macro.
23987 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23989         * libio/tst-widetext.c (do_test):
23990         Use format type %td instead of %Zd for ptrdiff_t
23991         in order to avoid format warning.
23993 2014-12-17  Andreas Schwab  <schwab@suse.de>
23995         * nscd/mem.c (gc): Add size_t cast to match printf format.
23997 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23999         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24000         (init): Apply PTR_MANGLE to pointers before storing them.
24001         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24002         before using them.
24004 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24006         [BZ #17719]
24007         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24008         define as weak alias of __memrchr.
24009         (__memrchr): Do not define as strong alias of memrchr.
24010         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24011         Remove variable.
24012         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24013         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24014         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24016         [BZ #17717]
24017         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24018         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24019         (if_indextoname): Rename to __if_indextoname and define as weak
24020         alias of __if_indextoname.  Use libc_hidden_weak.
24021         (if_freenameindex): Rename to __if_freenameindex and define as
24022         weak alias of __if_freenameindex.
24023         (if_nameindex): Rename to __if_nameindex and define as weak alias
24024         of __if_nameindex.
24025         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24026         __if_nametoindex and define as weak alias of __if_nametoindex.
24027         Use libc_hidden_weak.
24028         (if_freenameindex): Rename to __if_freenameindex and define as
24029         weak alias of __if_freenameindex.
24030         (if_nameindex): Rename to __if_nameindex and define as weak alias
24031         of __if_nameindex.
24032         (if_indextoname): Rename to __if_indextoname and define as weak
24033         alias of __if_indextoname.  Use libc_hidden_weak.
24034         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24035         __if_nametoindex and define as weak alias of __if_nametoindex.
24036         Use libc_hidden_weak.
24037         (if_freenameindex): Rename to __if_freenameindex and define as
24038         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24039         (if_nameindex_netlink): Use __if_freenameindex instead of
24040         if_freenameindex.
24041         (if_nameindex): Rename to __if_nameindex and define as weak alias
24042         of __if_nameindex.  Use libc_hidden_weak.
24043         (if_indextoname): Rename to __if_indextoname and define as weak
24044         alias of __if_indextoname.  Use libc_hidden_weak.
24045         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24046         libc_hidden_proto.
24047         [!_ISOMAC] (__if_freenameindex): Likewise.
24048         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24049         if_nametoindex.
24050         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24051         variable.
24052         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24053         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24054         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24055         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24056         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24057         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24058         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24060         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24061         Remove variable.
24062         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24063         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24065 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24067         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24068         subscript above bounds'
24070         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24071         bounds.
24073 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24075         * libio/tst-fopenloc.c: Use test-skeleton.c.
24077         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24078         (entry): Rename to ITEM.
24079         (do_test, comp): Adjust.
24081         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24083 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24085         * string/tester.c: Include <libc-internal.h>.
24086         (test_memset): Ignore -Wmemset-transposed-args.
24088 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24090         * misc/tst-mntent2.c (do_test): Fix warning.
24092 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24094         * elf/tst-unique4lib.cc(a): Mark as used.
24096 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24098         [BZ #17630]
24099         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24100         names.
24102 2014-12-16  Allan McRae  <allan@archlinux.org>
24104         * stdio-common/Makefile (tests): Re-add bug26.
24106 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24108         [BZ #17657]
24109         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24110         static array.
24112 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24114         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24115         (__lll_lock_wait): Likewise.
24116         (__lll_timedlock_wait): Likewise.
24117         (__lll_timedwait_tid): Likewise.
24118         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24119         (__lll_robust_timedlock_wait): Likewise.
24120         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24121         (lll_cond_trylock): Likewise.
24122         (__lll_lock): Likewise.
24123         (__lll_robust_lock): Likewise.
24124         (__lll_cond_lock): Likewise.
24125         (lll_robust_cond_lock): Likewise.
24126         (__lll_timedlock): Likewise.
24127         (__lll_robust_timedlock): Likewise.
24128         (__lll_unlock): Likewise.
24129         (__lll_robust_unlock): Likewise.
24130         (lll_wait_tid): Likewise.
24131         (lll_timedwait_tid): Likewise.
24133 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24135         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24137 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24139         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24141 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24143         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24144         * stdio-common/tst-sprintf.c: Likewise.
24146 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24148         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24150 2014-12-15  Jeff Law  <law@redhat.com>
24152         [BZ #16617]
24153         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24154         on the heap.  (CVE-2012-3406)
24155         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24156         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24157         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24159 2014-12-15  Will Newton  <will.newton@linaro.org>
24161         * manual/install.texi: Bump required version of texinfo
24162         to 4.7 from 4.5.
24163         * INSTALL: Regenerated.
24164         * configure.ac: Check for makeinfo version 4.7 and above.
24165         * configure: Regenerated.
24167 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24169         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24170         PREFIX, string constant to insert between directory and name.
24171         * sysdeps/posix/shm_open.c: Update caller.
24172         * sysdeps/posix/shm_unlink.c: Likewise.
24173         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24174         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24175         (SEM_SHM_PREFIX): New macro.
24176         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24177         [$(have-thread-library) = no].
24178         * nptl/Makefile (libpthread-routines): Add shm-directory.
24179         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24180         * sysdeps/nptl/shm-directory.h: New file.
24181         * sysdeps/posix/shm-directory.c
24182         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24183         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24184         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24185         INTERNAL_SYSCALL.
24186         (__where_is_shmfs): Function removed.
24187         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24188         Variables removed.
24189         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24190         Use SHM_GET_NAME.
24191         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24193         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24194         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24195         unconditional for use inside libpthread.
24196         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24198 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24200         * nptl/pthread_getaffinity.c: New file.
24201         * nptl/pthread_setaffinity.c: New file.
24202         * nptl/pthread_getname.c: New file.
24203         * nptl/pthread_setname.c: New file.
24205         * nptl/pthread_create.c (START_THREAD_DEFN)
24206         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24208 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24211         * resolv/res_send.c (send_vc): Disable warning resplen may
24212         be used uninitialized.
24214 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24216         * nptl/tst-mutex6.c
24217         (ATTR_NULL): New define checks ATTR against NULL.
24218         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24219         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24221 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24223         [BZ #17581]
24224         * malloc/hooks.c
24225         (mem2mem_check): Revert my previous change.
24226         (malloc_check_get_size): Revert my previous change.
24227         (mem2chunk_check): Revert my previous change.
24229 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24231         * sysdeps/posix/shm-directory.c: New file.
24232         * sysdeps/posix/shm-directory.h: New file.
24233         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24234         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24235         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24236         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24237         Transmute EPERM to EACCES.
24238         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24239         from ...
24240         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24241         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24243 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24245         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24246         pointer and cast to uintptr_t.
24247         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24248         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24249         Add cast to avoid warning.
24250         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24252 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24254         * nptl/semaphore.h: Move to ...
24255         * sysdeps/pthread/semaphore.h: ... here.
24256         * Makefile (installed-headers): Change nptl/semaphore.h to
24257         sysdeps/pthread/semaphore.h.
24259 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24261         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24262         generated error format strings.
24264         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24265         -Wformat-extra-args warnings for scanf formats.
24266         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24267         test of zero-length format (duh).
24268         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24269         corner-case scanf format test.
24270         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24271         generated fprintf format string.
24272         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24273         corner-case sprintf format tests.
24274         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24275         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24276         -Wformat-extra-args warnings throughout.
24277         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24278         (CFLAGS-scanf4.c): Likewise.
24279         (CFLAGS-scanf7.c): Likewise.
24280         (CFLAGS-tst-sprintf.c): Likewise.
24281         (CFLAGS-tst-printf.c): Likewise.
24282         (CFLAGS-tst-printfsz.c): Likewise.
24284 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24286         * include/cpio.h: New file.
24287         * include/fmtmsg.h: Likewise.
24289         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24290         corresponding format argument to size_t.
24291         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24292         arguments.
24293         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24294         corresponding format argument to size_t.
24295         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24296         arguments.
24297         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24298         corresponding format argument to size_t.
24299         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24300         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24301         (CFLAGS-tst-mbswcs2.c): Likewise.
24302         (CFLAGS-tst-mbswcs3.c): Likewise.
24303         (CFLAGS-tst-mbswcs4.c): Likewise.
24304         (CFLAGS-tst-mbswcs5.c): Likewise.
24305         (CFLAGS-tst-trans.c): Likewise.
24307 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24309         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24310         rather than assuming they won't contain any '%'s.
24312 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24314         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24315         inhibit_loop_to_libcall to avoid recursive calls.
24316         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24317         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24319 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24321         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24322         prototype.
24324 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24326         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24327         integer value instead of boolean.
24329 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24331         * malloc/malloc.c: Fix powerof2 check.
24333 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24335         * locale/programs/locfile.h (maybe_swap_uint32):
24336         Remove inline and add unused attribute.
24338 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24340         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24341         Truncating assembler expression to a .long expression.
24343 2014-12-11  Andreas Schwab  <schwab@suse.de>
24345         * elf/rtld.c (struct map_args): Constify str member.
24346         (do_preload): Constify fname argument.
24348 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24350         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24351         constants definition.
24353 2014-12-11  Andreas Schwab  <schwab@suse.de>
24355         [BZ #16657]
24356         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24357         FORCE_ELISION instead of DO_ELISION.
24358         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24359         Remove.
24360         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24361         Likewise.
24363         * iconvdata/gconv-modules: Remove duplicate entry.
24365 2014-12-11  Will Newton  <will.newton@linaro.org>
24367         Merge gettext 0.19.3 into intl/.
24369         This involves a number of cosmetic changes to comments
24370         and ANSI function definitions and prototypes throughout
24371         all the files. The gettext copyright header is used but
24372         with the date ranges taken from the glibc copy.
24374         * NEWS: Add gettext merge to 2.21.
24375         * intl/bindtextdom.c: Switch to gettext copyright.
24376         Use ANSI definitions and prototypes.
24377         Use gl_* locking primitives rather than __libc_* ones.
24378         Use __builtin_expect rather than __glibc_likely/unlikely.
24379         * intl/dcgettext.c: Switch to gettext copyright.
24380         Use ANSI definitions and prototypes.
24381         * intl/dcigettext.c: Switch to gettext copyright.
24382         Use ANSI definitions and prototypes.
24383         (INTDIV0_RAISES_SIGFPE): New define.
24384         Use gl_* locking primitives rather than __libc_* ones.
24385         Include eval-plural.h instead of plural-eval.c.
24386         Use __builtin_expect rather than __glibc_likely/unlikely.
24387         * intl/dcngettext.c: Switch to gettext copyright.
24388         Use ANSI definitions and prototypes.
24389         * intl/dgettext.c: Likewise.
24390         * intl/dngettext.c: Likewise.
24391         * intl/plural-eval.c: Renamed to...
24392         * intl/eval-plural.h: ...this.
24393         * intl/explodename.c: Switch to gettext copyright.
24394         Use ANSI definitions and prototypes.
24395         (_nl_explode_name): Use strchr instead of __rawmemchr.
24396         * intl/finddomain.c: Switch to gettext copyright.
24397         Use ANSI definitions and prototypes.
24398         Use gl_* locking primitives rather than __libc_* ones.
24399         (_nl_find_domain): Use malloc rather than alloca for
24400         allocation of temporary locale name.
24401         * intl/gettext.c: Switch to gettext copyright.
24402         Use ANSI definitions and prototypes.
24403         * intl/gettextP.h: Switch to gettext copyright.
24404         Use ANSI definitions and prototypes.
24405         Use gl_* locking primitives rather than __libc_* ones.
24406         * intl/gmo.h: Switch to gettext copyright.
24407         (struct sysdep_string): Move struct segment_pair outside of
24408         struct definition.
24409         * intl/hash-string.c: Use ANSI definitions and prototypes.
24410         * intl/hash-string.h: Switch to gettext copyright.
24411         Use ANSI definitions and prototypes.
24412         * intl/l10nflist.c: Switch to gettext copyright.
24413         Use ANSI definitions and prototypes.
24414         (_nl_normalize_codeset): Avoid integer overflow.
24415         * intl/loadinfo.h: Switch to gettext copyright.
24416         Use ANSI definitions and prototypes.
24417         (LIBINTL_DLL_EXPORTED): New define.
24418         (PATH_SEPARATOR): New define.
24419         * intl/loadmsgcat.c: Switch to gettext copyright.
24420         * intl/localealias.c: Switch to gettext copyright.
24421         Use ANSI definitions and prototypes.
24422         (_nl_expand_alias): Use PATH_SEPARATOR.
24423         * intl/ngettext.c: Switch to gettext copyright.
24424         Use ANSI definitions and prototypes.
24425         * intl/plural-exp.c: Likewise.
24426         * intl/plural-exp.h: Switch to gettext copyright.
24427         Use ANSI definitions and prototypes.
24428         (struct expression): Move definition of enum operator outside
24429         of struct definition.
24430         * intl/plural.c: Regenerate.
24431         * intl/plural.y: Switch to gettext copyright.
24432         Use ANSI definitions and prototypes.
24433         Port to bison 3.0.
24434         * intl/textdomain.c: Switch to gettext copyright.
24435         Use ANSI definitions and prototypes.
24436         Use gl_* locking primitives rather than __libc_* ones.
24438 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24440         * debug/warning-nop.c: Add used atrribute.
24442 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24444         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24446         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24447         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24448         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24450 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24451             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24453         [BZ #17634]
24454         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24455         Undefine after defining function.  Define as weak alias of
24456         __wcschr.  Use libc_hidden_weak.
24457         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24458         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24459         (libc_hidden_def): Also define __GI___wcschr alias.
24460         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24461         __wcschr and define as weak alias of __wcschr.
24462         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24463         __wcschr.
24464         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24465         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24466         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24467         libc_hidden_weak.  Do not use libc_hidden_def.
24468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24469         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24470         __GI___wcschr alias.
24471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24472         [IS_IN (libc)] (wcschr): Define as macro expanding to
24473         __redirect_wcschr.
24474         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24475         [IS_IN (libc)] (__wcschr_power6): Likewise.
24476         [IS_IN (libc)] (__wcschr_power7): Likewise.
24477         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24478         instead of wcschr.
24479         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24480         __libc_wcschr.
24481         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24482         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24483         __wcschr and define as weak alias of __wcschr.  Use
24484         libc_hidden_builtin_def.
24485         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24486         as weak alias of __wcschr.  Use libc_hidden_weak.
24487         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24488         wcschr.
24489         * time/era.c (_nl_init_era_entries): Likewise.
24490         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24491         variable.
24492         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24493         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24495 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24497         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24498         format for long int variable.
24500 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24502         [BZ #10672]
24503         * manual/search.texi: (Array Sort Function): Remove claim how to make
24504         qsort stable.
24506 2014-12-10  Andreas Schwab  <schwab@suse.de>
24508         [BZ #12847]
24509         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24510         user-controlled locks.
24512 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24514         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24515         register.
24517 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24519         * configure.ac (--disable-werror): New configure option.
24520         (enable_werror): New AC_SUBST.
24521         * configure: Regenerated.
24522         * config.make.in (enable-werror): New variable.
24523         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24524         -Wno-error=undef.
24525         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24526         * manual/install.texi (Configuring and compiling): Document
24527         --disable-werror.
24528         * INSTALL: Regenerated.
24529         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24530         (CFLAGS-tst-chk2.c): Likewise.
24531         (CFLAGS-tst-chk3.c): Likewise.
24532         (CFLAGS-tst-chk4.cc): Likewise.
24533         (CFLAGS-tst-chk5.cc): Likewise.
24534         (CFLAGS-tst-chk6.cc): Likewise.
24535         (CFLAGS-tst-lfschk1.c): Likewise.
24536         (CFLAGS-tst-lfschk2.c): Likewise.
24537         (CFLAGS-tst-lfschk3.c): Likewise.
24538         (CFLAGS-tst-lfschk4.cc): Likewise.
24539         (CFLAGS-tst-lfschk5.cc): Likewise.
24540         (CFLAGS-tst-lfschk6.cc): Likewise.
24542         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24543         (main): Disable -Wdeprecated-declarations around calls to
24544         register_printf_function.
24546         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24547         (do_test): Disable -Wdiv-by-zero around some calls to
24548         fwrite_unlocked and fread_unlocked.
24550         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24551         (DIAG_POP_NEEDS_COMMENT): Likewise.
24552         (_DIAG_STR1): Likewise.
24553         (_DIAG_STR): Likewise.
24554         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24555         * stdio-common/bug21.c: Include <libc-internal.h>.
24556         (do_test): Disable -Wformat around call to sscanf.
24557         * stdio-common/scanf14.c: Include <libc-internal.h>.
24558         (main): Disable -Wformat around some calls to scanf functions.
24560 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24562         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24564 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24566         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24567         stack variable alignment.
24569 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24571         [BZ #17682]
24572         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24573         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24574         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24575         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24576         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24577         __getrlimit instead of getrlimit.
24578         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24579         __gettimeofday instead of gettimeofday.
24580         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24581         Likewise.
24582         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24583         Likewise.
24584         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24585         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24586         Remove variable.
24587         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24588         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24590 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24592         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24593         for wide-character tests.
24595 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24597         * io/openat64.c: #include <libc-internal.h>
24598         (__openat64): Prototypify.  Use ignore_value on MODE.
24599         * io/openat.c: Likewise.
24600         * misc/reboot.c: #include <libc-internal.h>
24601         (reboot): Prototypify.  Use ignore_value on HOWTO.
24602         * misc/ptrace.c: #include <libc-internal.h>
24603         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24605 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24607         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24608         XPG4, UNIX98 and XOPEN2K.
24609         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24610         Remove variable.
24611         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24613 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615         * libio/fileops.c: Use ISO C style for function definitions.
24616         * libio/iofopen.c: Likewise.
24617         * libio/wfileops.c: Likewise.
24619         [BZ #17653]
24620         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24621         offset on EOF.
24622         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24623         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24624         (fgets_func): Function pointer to fgets and fgetws.
24625         (do_ftell_test): Add test to verify ftell value after read
24626         EOF.
24627         (do_test): Set fgets_func.
24629         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24630         O_TRUNC flag for w and w+ modes.
24631         (do_rewind_test): Likewise.
24632         (do_ftell_test): Likewise.
24633         (do_write_test): Likewise.
24635         [BZ #17647]
24636         * libio/fileops.c (do_ftell): Seek only when there are
24637         unflushed writes.
24638         * libio/wfileops.c (do_ftell_wide): Likewise.
24639         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24640         test case.
24641         (do_one_test): Call it.
24643 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24645         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24646         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24647         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24648         Remove variable.
24649         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24650         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24651         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24653 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24655         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24656         Remove variable.
24657         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24659         [BZ #17668]
24660         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24661         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24662         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24663         __freeifaddrs.  Use libc_hidden_weak.
24664         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24665         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24666         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24667         __freeifaddrs.  Use libc_hidden_weak.
24668         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24669         __getifaddrs and define as weak alias of __getifaddrs.  Use
24670         libc_hidden_weak.
24671         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24672         __freeifaddrs.  Use libc_hidden_weak.
24673         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24674         Remove variable.
24675         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24676         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24678 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24680         [BZ #17601]
24681         * sysdeps/mips/start.S (__start): Use indirect jump to call
24682         __libc_start_main.
24684 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24686         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24688         * nptl/tst-mutex1.c: Include <stdbool.h>.
24689         [!ATTR] (ATTR_NULL): New macro.
24690         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24691         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24692         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24694         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24695         to char *.
24697         [BZ #17665]
24698         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24699         Change conditional to [__USE_MISC].
24701         [BZ #17664]
24702         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24703         fgets_unlocked.
24704         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24705         __fgets_unlocked.
24706         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24707         fgets_unlocked.
24708         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24709         Remove variable.
24710         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24711         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24712         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24713         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24714         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24715         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24716         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24717         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24718         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24720         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24722 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24724         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24725         Remove strpbrk objects.
24726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24727         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24728         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24729         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24730         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24731         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24733         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24734         Remove strcspn objects.
24735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24736         (__libc_ifunc_impl_list): Remove strcspn implementation.
24737         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24738         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24739         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24740         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24743         Remove strspn objetcs.
24744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24745         (__libc_ifunc_impl_list): Remove strspn implementation.
24746         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24747         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24748         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24749         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24751 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24753         [BZ #17581]
24754         * malloc/hooks.c
24755         (mem2mem_check): Add a terminator to the chain of checking blocks.
24756         (malloc_check_get_size): Use it here.
24757         (mem2chunk_check): Ditto.
24759 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24761         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24762         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24764 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24766         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24768         * nptl/nptl-init.c: Include libc-internal.h.
24769         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24771         * elf/ldconfig.c (search_dir): Expand comment.
24773 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24775         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24776         variable.
24777         (linknamespace-symlist-stdlibs-tests): Likewise.
24778         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24779         instead of $(objpfx)symlist-stdlibs.
24780         (linknamespace-libs-isoc): New variable.
24781         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24782         (linknamespace-libs-ISO): New variable.
24783         (linknamespace-libs-ISO99): Likewise.
24784         (linknamespace-libs-ISO11): Likewise.
24785         (linknamespace-libs-XPG3): Likewise.
24786         (linknamespace-libs-XPG4): Likewise.
24787         (linknamespace-libs-POSIX): Likewise.
24788         (linknamespace-libs-UNIX98): Likewise.
24789         (linknamespace-libs-XOPEN2K): Likewise.
24790         (linknamespace-libs-POSIX2008): Likewise.
24791         (linknamespace-libs-XOPEN2K8): Likewise.
24792         ($(objpfx)symlist-stdlibs): Replace by
24793         $(linknamespace-symlist-stdlibs-tests).  Use
24794         $(linknamespace-libs-$*) as set of libraries.
24795         ($(linknamespace-header-tests)): Update dependencies.  Use
24796         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24797         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24798         * conform/linknamespace.pl: Remove comment about considering
24799         definitions of symbols from irrelevant libraries.
24801 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24803         [BZ #13862]
24804         * elf/dl-tls.c: Include <atomic.h>.
24805         (oom): Remove #ifdef SHARED/#endif.
24806         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24807         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24808         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24809         big enough.
24810         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24811         * nptl/Makefile (tests): Add tst-stack4.
24812         (modules-names): Add tst-stack4mod.
24813         ($(objpfx)tst-stack4): New.
24814         (tst-stack4mod.sos): Likewise.
24815         ($(objpfx)tst-stack4.out): Likewise.
24816         ($(tst-stack4mod.sos)): Likewise.
24817         (clean): Likewise.
24818         * nptl/tst-stack4.c: New file.
24819         * nptl/tst-stack4mod.c: Likewise.
24821 2014-11-27  J. Brown  <jb999@gmx.de>
24823         * sysdeps/x86/bits/string.h: Add recent CPUs.
24825 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24827         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24828         sigblock.
24830         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24831         feof.
24833         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24834         variable.
24836 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24838         * nscd/connections.c: Include libc-internal.h because of macro
24839         usage ignore_value.
24841 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24843         * string/bits/string3.h (__warn_memset_zero_len): Don't
24844         declare for gcc newer than 5.0.
24845         (memset): Don't test for zero-length __LEN for gcc newer than
24846         5.0.
24848 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24850         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24851         size_t for %zu format.
24853         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24854         difference, not %ju.
24856 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24858         * include/libc-internal.h (ignore_value): New macro.
24859         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24860         with ignore_value.
24862         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24863         definition.
24865         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24866         pthread_cleanup_push to void *.
24868         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24869         Undefine.
24871         [BZ #16619]
24872         [BZ #16740]
24873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24874         instead of 1L << 52.
24876         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24877         * libio/bug-rewind2.c (do_test): Likewise.
24879         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24880         * debug/test-strcpy_chk-ifunc.c: Likewise.
24881         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24882         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24883         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24884         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24885         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24886         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24887         * Rules [$(multi-arch) = no] (tests): Do not filter out
24888         $(tests-ifunc).
24889         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24890         * debug/Makefile (tests-ifunc): Remove variable.
24891         (tests): Do not add $(tests-ifunc).
24892         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24893         (tests): Do not add $(tests-ifunc).
24894         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24895         [TEST_IFUNC]: Remove conditionals.
24896         * string/test-string.h (TEST_IFUNC): Remove macro.
24897         [TEST_IFUNC]: Remove conditionals.
24899         * string/test-strchr.c [!WIDE] (L): New macro.
24900         [WIDE] (L): Likewise.
24901         (check1): Use CHAR instead of char.  Use L on string and character
24902         constants.
24904 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24906         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24907         tests.
24908         * sysdeps/powerpc/bits/atomic.h
24909         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24910         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24911         (atomic_exchange_and_add_acq): Likewise.
24912         (atomic_exchange_and_add_rel): Likewise.
24913         * sysdeps/powerpc/powerpc32/bits/atomic.h
24914         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24915         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24916         * sysdeps/powerpc/powerpc64/bits/atomic.h
24917         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24918         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24920 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24922         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24923         Change synchronization of __sched_fifo_min_prio and
24924         __sched_fifo_max_prio.
24925         * nptl/pthread_mutexattr_getprioceiling.c
24926         (pthread_mutexattr_getprioceiling): Likewise.
24927         * nptl/pthread_mutexattr_setprioceiling.c
24928         (pthread_mutexattr_setprioceiling): Likewise.
24929         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24930         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24931         Likewise.
24933 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24935         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24936         void.
24938 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24940         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24941         third argument const.
24943 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24945         fnmatch: work around GCC compiler warning bug with uninit var
24946         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24947         This works around a bug with x86-64 GCC 4.9.2 and earlier
24948         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24949         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24950         used uninitialized in this function [-Wmaybe-uninitialized]".
24952 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24954         * posix/bug-regex31.c (main): Return RES not 0.
24956 2014-11-25  Anton Blanchard <anton@samba.org>
24958         * sysdeps/powerpc/bits/atomic.h
24959         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24961 2014-11-24  Sterling Augustine  <saugustine@google.com>
24963         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24965 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24967         [BZ #17608]
24968         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24970 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24972         [BZ #17633]
24973         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24974         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24975         variable.
24976         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24977         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24979 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24981         * string/strncpy.c (strncpy): Improve performance by using memset.
24983 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24985         * string/strcpy.c (strcpy):
24986         Improve performance by using strlen and memcpy.
24988 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24990         * string/strcoll_l.c (get_next_seq): __always_inline.
24991         * string/strcoll_l.c (do_compare): __always_inline.
24993 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24995         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24996         defined.
24997         * include/mqueue.h: Likewise.
24998         * include/stdlib.h: Likewise.
25000         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25001         (get_null_defines): Adjust.
25002         * sunrpc/Makefile: Adjust comment.
25003         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25004         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25005         (CFLAGS-interp.c): Likewise.
25006         (CFLAGS-ldconfig.c): Likewise.
25007         (CPPFLAGS-.os): Likewise.
25008         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25009         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25010         * extra-modules.mk (extra-modules.mk): Likewise.
25011         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25012         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25013         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25014         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25015         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25016         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25017         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25018         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25019         * iconvdata/Makefile (CPPFLAGS): Likewise.
25020         (cpp-srcs-left): Add libof for all iconvdata routines.
25021         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25022         * include/assert.h: Likewise.
25023         * include/ctype.h: Likewise.
25024         * include/errno.h: Likewise.
25025         * include/libc-symbols.h: Likewise.
25026         * include/math.h: Likewise.
25027         * include/netdb.h: Likewise.
25028         * include/resolv.h: Likewise.
25029         * include/stdio.h: Likewise.
25030         * include/stdlib.h: Likewise.
25031         * include/string.h: Likewise.
25032         * include/sys/stat.h: Likewise.
25033         * include/wctype.h: Likewise.
25034         * intl/l10nflist.c: Likewise.
25035         * libidn/idn-stub.c: Likewise.
25036         * libio/libioP.h: Likewise.
25037         * nptl/libc_multiple_threads.c: Likewise.
25038         * nptl/pthreadP.h: Likewise.
25039         * posix/regex_internal.h: Likewise.
25040         * resolv/res_hconf.c: Likewise.
25041         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25042         * sysdeps/arm/memmove.S: Likewise.
25043         * sysdeps/arm/sysdep.h: Likewise.
25044         * sysdeps/generic/_itoa.h: Likewise.
25045         * sysdeps/generic/symbol-hacks.h: Likewise.
25046         * sysdeps/gnu/errlist.awk: Likewise.
25047         * sysdeps/gnu/errlist.c: Likewise.
25048         * sysdeps/i386/i586/memcpy.S: Likewise.
25049         * sysdeps/i386/i586/memset.S: Likewise.
25050         * sysdeps/i386/i686/memcpy.S: Likewise.
25051         * sysdeps/i386/i686/memmove.S: Likewise.
25052         * sysdeps/i386/i686/mempcpy.S: Likewise.
25053         * sysdeps/i386/i686/memset.S: Likewise.
25054         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25055         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25056         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25057         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25058         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25059         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25060         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25061         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25062         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25063         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25064         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25065         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25066         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25067         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25068         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25070         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25071         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25072         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25073         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25074         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25075         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25076         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25077         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25078         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25079         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25080         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25081         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25082         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25083         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25084         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25085         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25087         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25088         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25090         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25091         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25092         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25093         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25094         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25095         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25096         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25097         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25098         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25099         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25100         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25101         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25102         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25103         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25104         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25105         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25106         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25107         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25108         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25109         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25110         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25111         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25112         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25113         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25114         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25115         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25116         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25117         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25118         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25119         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25120         * sysdeps/posix/closedir.c: Likewise.
25121         * sysdeps/posix/opendir.c: Likewise.
25122         * sysdeps/posix/readdir.c: Likewise.
25123         * sysdeps/posix/rewinddir.c: Likewise.
25124         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25125         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25126         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25127         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25128         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25129         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25130         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25133         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25134         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25135         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25136         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25137         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25138         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25139         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25141         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25142         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25143         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25144         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25145         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25146         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25147         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25152         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25159         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25160         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25161         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25162         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25163         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25164         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25165         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25166         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25167         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25168         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25169         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25170         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25171         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25172         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25173         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25174         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25175         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25176         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25177         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25181         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25182         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25183         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25184         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25185         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25186         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25187         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25188         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25189         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25190         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25191         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25192         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25193         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25194         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25195         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25196         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25197         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25198         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25199         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25200         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25201         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25202         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25203         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25204         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25205         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25206         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25207         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25208         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25209         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25210         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25211         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25212         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25213         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25214         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25215         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25216         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25217         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25220         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25221         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25222         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25223         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25224         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25225         * sysdeps/unix/alpha/sysdep.S: Likewise.
25226         * sysdeps/unix/alpha/sysdep.h: Likewise.
25227         * sysdeps/unix/make-syscalls.sh: Likewise.
25228         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25230         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25231         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25232         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25233         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25234         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25235         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25236         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25237         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25238         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25239         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25240         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25241         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25242         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25243         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25244         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25245         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25246         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25247         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25248         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25249         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25250         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25251         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25252         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25253         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25254         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25257         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25258         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25261         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25262         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25266         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25267         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25268         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25269         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25270         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25271         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25272         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25275         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25276         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25278         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25279         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25280         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25281         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25282         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25283         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25284         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25286         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25287         * sysdeps/x86_64/memcpy.S: Likewise.
25288         * sysdeps/x86_64/memmove.c: Likewise.
25289         * sysdeps/x86_64/memset.S: Likewise.
25290         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25291         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25292         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25293         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25294         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25296         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25297         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25298         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25299         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25300         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25301         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25302         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25303         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25304         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25305         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25306         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25307         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25308         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25309         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25310         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25311         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25312         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25313         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25314         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25315         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25316         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25317         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25318         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25319         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25320         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25321         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25322         * sysdeps/x86_64/strcmp.S: Likewise.
25324         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25326         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25327         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25328         * elf/rtld-Rules: Likewise.
25329         * elf/setup-vdso.h: Likewise.
25330         * include/assert.h: Likewise.
25331         * include/bits/stdlib-float.h: Likewise.
25332         * include/errno.h: Likewise.
25333         * include/sys/stat.h: Likewise.
25334         * include/unistd.h: Likewise.
25335         * sysdeps/aarch64/setjmp.S: Likewise.
25336         * sysdeps/alpha/setjmp.S: Likewise.
25337         * sysdeps/arm/__longjmp.S: Likewise.
25338         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25339         * sysdeps/arm/setjmp.S: Likewise.
25340         * sysdeps/arm/sysdep.h: Likewise.
25341         * sysdeps/generic/_itoa.h: Likewise.
25342         * sysdeps/generic/dl-sysdep.h: Likewise.
25343         * sysdeps/generic/ldsodefs.h: Likewise.
25344         * sysdeps/i386/dl-tls.h: Likewise.
25345         * sysdeps/i386/setjmp.S: Likewise.
25346         * sysdeps/m68k/setjmp.c: Likewise.
25347         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25348         * sysdeps/mach/hurd/opendir.c: Likewise.
25349         * sysdeps/posix/getcwd.c: Likewise.
25350         * sysdeps/posix/opendir.c: Likewise.
25351         * sysdeps/posix/profil.c: Likewise.
25352         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25353         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25354         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25355         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25356         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25357         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25358         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25359         * sysdeps/s390/dl-tls.h: Likewise.
25360         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25361         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25362         * sysdeps/sh/sh3/setjmp.S: Likewise.
25363         * sysdeps/sh/sh4/setjmp.S: Likewise.
25364         * sysdeps/unix/alpha/sysdep.h: Likewise.
25365         * sysdeps/unix/arm/sysdep.S: Likewise.
25366         * sysdeps/unix/i386/sysdep.S: Likewise.
25367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25368         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25369         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25370         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25372         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25373         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25374         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25375         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25376         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25377         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25378         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25379         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25382         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25384         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25385         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25386         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25387         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25388         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25390         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25391         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25392         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25394         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25395         * sysdeps/x86_64/setjmp.S: Likewise.
25397         * include/math.h: Use IS_IN instead of IS_IN_libm.
25398         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25399         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25400         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25401         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25403         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25404         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25405         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25408         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25410         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25413         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25417         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25418         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25419         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25420         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25421         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25422         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25423         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25424         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25425         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25426         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25427         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25428         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25429         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25430         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25432         Likewise.
25433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25434         Likewise.
25435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25436         Likewise.
25437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25438         Likewise.
25439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25440         Likewise.
25441         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25442         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25443         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25444         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25445         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25446         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25452         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25453         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25454         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25455         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25456         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25457         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25458         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25459         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25460         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25461         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25462         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25465         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25467         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25469         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25470         * nptl/pthreadP.h: Likewise.
25471         * nptl_db/structs.def: Likewise.
25472         * sysdeps/arm/sysdep.h: Likewise.
25473         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25474         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25475         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25476         * sysdeps/unix/alpha/sysdep.h: Likewise.
25477         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25479         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25481         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25482         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25483         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25484         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25485         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25486         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25487         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25488         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25489         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25490         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25493         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25494         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25495         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25497         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25498         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25499         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25500         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25501         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25502         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25504         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25505         * nptl/pthreadP.h: Likewise.
25506         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25507         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25508         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25509         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25510         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25511         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25512         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25513         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25514         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25515         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25516         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25517         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25519         Likewise.
25520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25521         Likewise.
25522         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25523         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25524         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25527         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25528         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25529         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25531         * dlfcn/dladdr.c: Use IS_IN.
25532         * dlfcn/dladdr1.c: Likewise.
25533         * dlfcn/dlclose.c: Likewise.
25534         * dlfcn/dlerror.c: Likewise.
25535         * dlfcn/dlinfo.c: Likewise.
25536         * dlfcn/dlmopen.c: Likewise.
25537         * dlfcn/dlopen.c: Likewise.
25538         * dlfcn/dlsym.c: Likewise.
25539         * dlfcn/dlvsym.c: Likewise.
25541         * include/ifaddrs.h: Use IS_IN.
25542         * inet/check_pf.c: Likewise.
25543         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25544         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25546         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25547         IS_IN_ldconfig.
25548         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25549         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25551         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25552         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25553         IS_IN (libc).
25555         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25557         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25558         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25559         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25560         * include/libc-symbols.h (IS_IN_LIB): New macro.
25561         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25562         * include/netdb.h: Likewise.
25563         * include/stap-probe.h: Remove all uses of IN_LIB.
25565         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25566         instead of IN_MODULE.
25567         * include/libc-symbols.h (IN_MODULE): Define using
25568         MODULE_NAME.
25569         (PASTE_NAME, PASTE_NAME1): New macros.
25570         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25571         of IN_LIB.
25572         (STAP_PROBE_ASM): Likewise.
25574 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25576         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25577         __mach_init in dlopened libc.
25579 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25581         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25582         * sysdeps/arm/preconfigure: Regenerate.
25584 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25586         * nptl/pthread_create.c (__pthread_create_2_1): Set
25587         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25588         when copying values from IATTR into PD.
25590 2014-11-21  Will Newton  <will.newton@linaro.org>
25591             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25593         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25594         Refactor inline-asm.  Also add comment.
25596         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25597         ElfW macro instead of hardcoded Elf64 types.
25598         (la_aarch64_gnu_pltenter): Likewise.
25599         * sysdeps/aarch64/dl-machine.h
25600         (elf_machine_runtime_setup): Use ElfW(Addr).
25602         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25603         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25604         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25605         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25606         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25607         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25608         (R_AARCH64_TLS_DTPMOD): This.
25609         (R_AARCH64_TLS_DTPREL64): Rename to ...
25610         (R_AARCH64_TLS_DTPREL): This.
25611         (R_AARCH64_TLS_TPREL64): Rename to ...
25612         (R_AARCH64_TLS_TPREL): This.
25613         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25614         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25615         R_AARCH64_TLS_TPREL64.
25616         (elf_machine_rela): Likewise.
25618 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25620         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25621         by setting it to 0.  64b atomics are not supported currently.
25623 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25625         [BZ #16469]
25626         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25627         search domain names.
25629 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25631         [BZ #16469]
25632         * NEWS: Update.
25633         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25634         trailing dot.
25635         * posix/tst-getaddrinfo5.c: New.
25636         * posix/Makefile (tests): Add it.
25638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25640         [BZ #14498]
25641         * NEWS: Fixed.
25642         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25643         after parsing line but before break_if_match.
25644         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25645         if there is a protocol mismatch.
25647 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25649         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25650         because the potential race is on the user-supplied stream.
25652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25654         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25655         string literal if not passed a buffer.
25656         * manual/job.texi (ctermid): Update reasoning, note deviation
25657         from posix, suggest mtasurace when not passed a buffer, for
25658         future non-preliminary safety notes.
25660 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25662         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25663         of not passing it a buffer.
25664         Reported by Peng Haitao.
25666 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25668         * manual/Makefile ($(objpfx)stamp-summary): Require
25669         check-safety.sh to pass.
25670         * manual/check-safety.sh: Wish for verification that every
25671         @deftypefn and @deftypefun is followed by a @safety remark.
25673 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25675         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25677         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25678         PTHREAD_CANCEL_ASYNCHRONOUS.
25679         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25680         send SIGCANCEL.
25682         * nptl/default-sched.h: New file.
25683         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25684         * nptl/pthread_create.c: Include it.
25685         (__pthread_create_2_1): Use collect_default_sched instead of making
25686         Linux syscalls here directly.
25688 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25690         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25691         __pthread_once): Use C11 atomics.
25693 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25695         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25697 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25699         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25700         atomic_thread_fence_acquire, atomic_thread_fence_release,
25701         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25702         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25703         atomic_compare_exchange_weak_relaxed,
25704         atomic_compare_exchange_weak_acquire,
25705         atomic_compare_exchange_weak_release,
25706         atomic_exchange_acquire, atomic_exchange_release,
25707         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25708         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25709         atomic_fetch_and_acquire,
25710         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25712 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25714         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25715         USE_ATOMIC_COMPILER_BUILTINS): Define.
25716         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25718         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25720         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25722         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25724         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25726         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25728         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25730         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25732         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25734         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25736         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25738         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25740         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25742         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25744         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25746         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25748         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25750         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25751         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25752         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25754         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25757 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25759         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25760         the sched_priority value here.  It was already checked when the user
25761         called pthread_attr_setschedparam.
25763         * nptl/tst-bad-schedattr.c: New file.
25764         * nptl/Makefile (tests): Add it.
25766 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25767             Florian Weimer  <fweimer@redhat.com>
25768             Joseph Myers  <joseph@codesourcery.com>
25769             Adam Conrad  <adconrad@0c3.net>
25770             Andreas Schwab  <schwab@suse.de>
25771             Brooks  <bmoses@google.com>
25773         [BZ #17625]
25774         * wordexp-test.c (__dso_handle): Add prototype.
25775         (__register_atfork): Likewise.
25776         (__app_register_atfork): New function.
25777         (registered_forks): New global.
25778         (register_fork): New function.
25779         (test_case): Add 3 new tests for WRDE_CMDSUB.
25780         (main): Call __app_register_atfork.
25781         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25782         fork count is non-zero fail the test.
25783         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25784         is set.
25785         (parse_dollars): Remove check for WRDE_NOCMD.
25786         (parse_dquote): Likewise.
25788 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25790         * Makeconfig (built-modules): List non-library modules to be
25791         built.
25792         (module-cppflags): Include libc-modules.h for
25793         everything except shlib-versions.v.i.
25794         (CPPFLAGS): Use it.
25795         (before-compile): Add libc-modules.h.
25796         ($(common-objpfx)libc-modules.h,
25797         $(common-objpfx)libc-modules.stmp): New targets.
25798         (common-generated): Add libc-modules.h and libc-modules.stmp.
25799         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25800         * include/libc-symbols.h: Don't include libc-modules.h.
25801         * include/libc-modules.h: Remove file.
25802         * scripts/gen-libc-modules.awk: New script to generate
25803         libc-modules.h.
25804         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25805         Depend on libc-modules.stmp.
25807         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25809         * Makeconfig (in-module): Get value of libof set for the
25810         translation unit.
25811         (CPPFLAGS): Use $(in-module).
25812         * Makerules: Don't suffix routine names for nonlib.
25813         * include/libc-modules.h: New file.
25814         * include/libc-symbols.h: Include libc-modules.h
25815         (IS_IN): New macro to replace IS_IN_* macros.
25816         * elf/Makefile: Set libof-* for each routine.
25817         * elf/rtld-Rules: Likewise.
25818         * extra-modules.mk: Likewise.
25819         * iconv/Makefile: Likewise.
25820         * iconvdata/Makefile: Likewise.
25821         * locale/Makefile: Likewise.
25822         * malloc/Makefile: Likewise.
25823         * nss/Makefile: Likewise.
25824         * sysdeps/gnu/Makefile: Likewise.
25825         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25826         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25827         * sysdeps/s390/s390-64/Makefile: Likewise.
25828         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25829         CPPFLAGS for nscd instead of nonlib.
25831 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25833         * nptl/createthread.c: New file.
25835         * nptl/createthread.c: Moved ...
25836         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25838         * nptl/createthread.c: Add proper top-line comment.
25839         (do_clone): Folded into ...
25840         (create_thread): ... here.  Take new arguments STOPPED_START and
25841         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25842         increment __nptl_threads, do event-reporting logic, do
25843         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25844         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25845         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25846         just send SIGCANCEL.
25847         * nptl/pthread_create.c: Forward-declare create_thread before
25848         including createthread.c.
25849         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25850         declaration, and new macro START_THREAD_SELF to replace argument.
25851         Remove return statement.
25852         (report_thread_creation): New function.
25853         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25854         synchronization logic, and __nptl_nthreads increment here, around
25855         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25856         PD->parent_cancelhandling here, before create_thread.  When
25857         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25858         __deallocate_stack, and ENOMEM translation here.
25860 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25862         [BZ #17616]
25863         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25864         (mptwo): Rename to __mptwo.
25865         (__inv): Use __mptwo instead of mptwo.
25866         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25867         (mptwo): Rename to __mptwo.
25868         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25869         of mpone and __mptwo instead of mptwo.
25870         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25871         instead of mpone.
25872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25873         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25874         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25875         of mpone and __mptwo instead of mptwo.
25876         (__mpranred): Use __mpone instead of mpone.
25877         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25878         variable.
25879         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25880         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25881         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25882         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25883         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25884         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25885         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25886         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25887         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25888         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25889         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25890         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25891         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25892         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25893         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25894         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25895         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25896         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25897         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25899 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25901         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25902         replace BSD Handler xref with BSD Signal Handling.
25904 2014-11-17  Richard Henderson  <rth@redhat.com>
25906         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25907         (_FP_PACK_RAW_2): Remove.
25908         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25909         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25910         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25911         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25912         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25913         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25914         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25915         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25916         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25917         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25918         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25919         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25920         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25921         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25922         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25923         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25925 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25927         * signal/signal.h [__USE_MISC]
25928         (struct sigvec): Remove type.
25929         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25930         (sigvec): Remove declaration.
25931         * sysdeps/posix/sigvec.c: Moved ...
25932         * signal/sigvec.c: ... here, replacing old file.
25933         (struct sigvec): New type, copied from old signal.h definition.
25934         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25935         (__sigvec): Convert definition to prototype.
25936         (sigvec): Replace weak_alias with compat_symbol.
25937         * signal/Versions (libc: GLIBC_2.21): New version set.
25938         * include/signal.h: Remove __sigvec declaration.
25939         * sysdeps/unix/bsd/sigvec.c: Remove file.
25940         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25941         * manual/signal.texi (BSD Handler): Remove subsection.
25942         Move siginterrupt up to ...
25943         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25944         (Blocking in BSD): Fold subsection into its parent.
25945         * NEWS: Mention sigvec removal.
25947 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25949         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25950         (DLA_FMS): Make definition conditional only on [__FMA4__].
25951         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25952         definition.
25954         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25955         Make definition conditional only on [PROF].
25956         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25957         definition.
25958         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25959         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25961         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25962         !__GNUC__].
25963         * include/signal.h (__sigpause): Move declaration above call to
25964         libc_hidden_proto.
25965         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25966         variable.
25967         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25968         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25970 2014-11-14  David S. Miller  <davem@davemloft.net>
25972         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25973         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25975 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25977         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25978         * configure: Regenerated.
25979         * manual/install.texi (Tools for Compilation): Document a
25980         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25981         compiler verified to work.
25982         * INSTALL: Regenerated.
25984         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25985         redeclare with asm name.
25986         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25987         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25988         including <string.h>.
25989         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25990         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25991         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25992         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25993         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25995         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25997 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25999         * stdlib/strtol.c (__strtol): Use prototype definition.
26001         [BZ #17594]
26002         * stdlib/strtol.c (SYM__): New macro.
26003         (SYM__1): Likewise.
26004         (__strtol): Likewise.
26005         (strtol): Rename to __strtol and define as weak alias of
26006         __strtol.  Use libc_hidden_weak.
26008 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26010         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26011         Use numbered labels in inline assembly.
26013 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26015         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26016         Add setjmp LIBC_PROBE.
26017         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26018         Likewise.
26019         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26020         Add longjmp, longjmp_target LIBC_PROBE.
26021         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26022         Likewise.
26024 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26026         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26027         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26028         to get rid of unused variable warning.
26030 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26032         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26033         Check for unwind_backtrace ==  NULL only in SHARED case.
26034         (__backchain_backtrace): Compile only in SHARED case.
26035         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26036         Likewise.
26037         (__backchain_backtrace): Declare as static.
26039 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26041         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26042         (__libc_multiple_threads_ptr): Variable moved ...
26043         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26045 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26047         * conform/GlibcConform.pm: New file.
26048         * conform/conformtest.pl: Use GlibcConform module.
26049         * conform/linknamespace.pl: New file.
26050         * conform/list-header-symbols.pl: Likewise.
26051         * conform/Makefile (linknamespace-symlists-base): New variable.
26052         (linknamespace-symlists-tests): Likewise.
26053         (linknamespace-header-base): Likewise.
26054         (linknamespace-header-tests): Likewise.
26055         (tests-special): Add new tests.
26056         ($(linknamespace-symlists-tests)): New rule.
26057         (linknamespace-libs): New variable.
26058         ($(objpfx)symlist-stdlibs): New rule.
26059         ($(linknamespace-header-tests)): Likewise.
26060         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26061         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26062         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26063         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26064         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26065         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26066         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26067         (test-xfail-ISO/math.h/linknamespace): Likewise.
26068         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26069         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26070         (test-xfail-ISO/time.h/linknamespace): Likewise.
26071         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26072         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26073         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26074         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26075         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26076         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26077         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26078         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26079         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26080         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26081         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26082         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26083         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26084         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26085         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26086         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26087         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26088         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26089         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26090         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26091         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26092         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26093         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26094         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26095         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26096         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26097         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26098         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26099         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26100         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26101         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26102         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26103         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26104         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26105         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26106         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26107         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26108         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26109         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26110         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26111         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26112         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26113         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26114         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26115         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26116         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26117         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26118         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26119         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26120         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26121         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26122         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26123         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26124         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26125         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26126         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26127         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26128         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26129         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26130         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26131         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26132         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26133         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26134         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26135         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26136         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26137         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26138         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26139         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26140         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26141         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26142         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26143         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26144         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26145         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26146         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26147         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26148         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26149         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26150         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26151         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26152         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26153         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26154         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26155         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26156         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26157         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26158         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26159         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26160         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26161         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26162         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26163         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26164         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26165         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26166         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26167         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26168         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26169         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26170         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26171         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26172         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26173         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26174         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26175         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26176         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26177         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26178         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26179         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26180         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26181         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26182         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26183         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26184         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26185         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26186         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26187         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26188         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26189         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26190         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26191         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26192         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26193         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26194         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26195         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26196         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26197         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26198         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26199         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26200         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26201         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26202         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26203         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26204         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26205         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26206         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26207         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26208         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26209         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26210         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26211         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26212         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26213         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26214         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26215         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26216         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26217         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26218         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26219         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26220         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26222         [BZ #17589]
26223         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26224         of fgets_unlocked.
26226         [BZ #17585]
26227         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26228         (memmem): Rename to __memmem and define as weak alias of
26229         __memmem.  Use libc_hidden_weak.
26230         (__memmem): Use libc_hidden_def.
26231         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26232         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26233         memmem.
26235         [BZ #17582]
26236         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26237         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26238         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26239         and define as weak alias of __fgets_unlocked.  Use
26240         libc_hidden_weak.
26241         (__fgets_unlocked): Use libc_hidden_def.
26242         * include/stdio.h (__fgets_unlocked): Declare.  Use
26243         libc_hidden_proto.
26244         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26245         __fgets_unlocked instead of fgets_unlocked.
26246         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26247         (GET_NPROCS_CONF_PARSER): Likewise.
26248         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26249         (GET_NPROCS_CONF_PARSER): Likewise.
26251         [BZ #17574]
26252         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26253         weak alias of __wmemset.  Use libc_hidden_weak.
26254         (__wmemset): Use libc_hidden_def.
26255         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26256         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26257         of wmemset.
26259         [BZ #17573]
26260         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26261         with asm name __mempcpy.
26262         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26264         [BZ #17572]
26265         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26266         and define as weak alias of __rawmemchr.
26267         (__rawmemchr): Do not define as strong alias of rawmemchr.
26269         [BZ #17571]
26270         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26271         alias of __qsort_r.
26272         (qsort): Call __qsort_r instead of qsort_r.
26273         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26274         (__qsort_r): Declare.  Call libc_hidden_proto.
26275         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26276         instead of qsort_r.
26277         * nscd/gai.c (__qsort_r): Define to qsort_r.
26278         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26279         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26280         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26282         [BZ #17570]
26283         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26284         define as weak alias of __malloc_info.
26286         [BZ #17584]
26287         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26288         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26289         (__rewinddir): Use libc_hidden_def.
26290         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26291         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26292         (__rewinddir): Use libc_hidden_def.
26293         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26294         weak alias of __rewinddir.  Don't use libc_hidden_def.
26295         (__rewinddir): Use libc_hidden_def.
26296         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26297         (__rewinddir): Use libc_hidden_proto.
26298         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26299         rewinddir.
26300         (__getcwd): Use __rewinddir instead of rewinddir.
26302         [BZ #17583]
26303         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26304         alias of __fileno.  Use libc_hidden_weak.
26305         (__fileno): Use libc_hidden_def.
26306         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26307         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26308         alias of __ftello.
26309         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26310         __ftello.
26311         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26312         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26313         libc_hidden_def.
26314         (fread_unlocked): Don't use libc_hidden_ver.
26315         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26316         and define as weak alias of __fread_unlocked.  Don't use
26317         libc_hidden_def.
26318         (__fread_unlocked): Use libc_hidden_def.
26319         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26320         (ftello): Don't use libc_hidden_proto.
26321         (__ftello): Declare.  Use libc_hidden_proto.
26322         (fread_unlocked): Don't use libc_hidden_proto.
26323         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26324         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26325         and __ftello instead of fileno, fread_unlocked and ftello.
26327 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26329         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26330         GOT12.
26331         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26332         Likewise.
26333         (_dl_start_user): Likewise.
26334         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26336 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26337             Siddhesh Poyarekar  <siddhesh@redhat.com>
26339         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26340         Move argv and envp down instead of moving argc up.
26341         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26343 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26345         [BZ #17506]
26346         * test-skeleton.c (main): Return successful if one of
26347         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26348         * string/tst-strcoll-overflow.c: Define expected status.
26350 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26352         [BZ #17475]
26353         * locale/iso-639.def: Define Bhili and Tulu language codes.
26355 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26357         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26359 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26361         [BZ #17555]
26362         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26364 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26366         * configure.ac: Updated check of minimal required version to
26367         2.22.
26368         * manual/install.texi (Tools for Compilation): Updated version
26369         number.
26370         * configure: Regenerated.
26371         * INSTALL: Likewise.
26373 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26375         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26376         __tls_get_addr.
26378 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26380         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26381         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26382         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26383         libc_hidden_weak.
26384         (waitpid): Define as alias of __waitpid.
26385         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26386         __waitpid.
26387         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26388         libc_hidden_weak.
26389         (waitpid): Define as alias of __waitpid.
26390         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26391         __libc_waitpid alias.
26392         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26393         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26394         Likewise.
26395         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26396         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26397         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26398         alias.
26399         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26400         __waitpid.
26401         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26402         libc_hidden_weak.
26403         (waitpid): Define as alias of __waitpid.
26405 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26407         * manual/llio.texi: Add comment that write safety has been
26408         fixed in Linux.
26410         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26411         (localplt-build-dso): Add elf/ld.so.
26412         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26413         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26414         and free for ld.so.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26416         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26418         Likewise.
26419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26420         Likewise.
26421         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26422         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26423         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26424         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26425         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26426         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26427         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26428         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26429         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26430         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26431         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26433 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26435         [BZ #14132]
26436         * include/libc-symbols.h (INTUSE): Remove macro.
26437         (INTDEF): Likewise.
26438         (INTVARDEF): Likewise.
26439         (_INTVARDEF): Likewise.
26440         (INTDEF2): Likewise.
26441         (INTVARDEF2): Likewise.
26442         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26443         rtld_hidden_def instead of INTVARDEF.
26444         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26445         (_dl_starting_up_internal): Remove declaration.
26446         (_dl_starting_up): Use rtld_hidden_proto.
26447         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26448         declaration.
26449         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26450         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26451         _dl_starting_up.
26452         * elf/dl-writev.h (_dl_writev): Likewise.
26453         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26454         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26455         _dl_starting_up_internal.
26457 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26459         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26460         test-skeleton.c.
26462 2014-11-05  Will Newton  <will.newton@linaro.org>
26464         * benchtests/Makefile: (bench-malloc): Add malloc thread
26465         scalability benchmark.
26466         * benchtests/bench-malloc-threads.c: New file.
26468 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26470         * sysdeps/aarch64/strchrnul.S: New file.
26472 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26474         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26475         definition.
26476         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26477         Likwise.
26478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26479         Likewise.
26480         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26481         Likewise.
26482         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26483         Likewise.
26484         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26485         Likewise.
26487 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26489         * catgets/test-gencat.c: Use test-skeleton.c.
26490         * catgets/tst-catgets.c: Likewise.
26491         * csu/tst-empty.c: Likewise.
26492         * elf/tst-audit2.c: Likewise.
26493         * elf/tst-global1.c: Likewise.
26494         * elf/tst-pathopt.c: Likewise.
26495         * elf/tst-piemod1.c: Likewise.
26496         * elf/tst-tls10.c: Likewise.
26497         * elf/tst-tls11.c: Likewise.
26498         * elf/tst-tls12.c: Likewise.
26499         * gnulib/tst-gcc.c: Likewise.
26500         * iconvdata/tst-e2big.c: Likewise.
26501         * iconvdata/tst-loading.c: Likewise.
26502         * iconv/tst-iconv1.c: Likewise.
26503         * iconv/tst-iconv2.c: Likewise.
26504         * inet/test-inet6_opt.c: Likewise.
26505         * inet/tst-gethnm.c: Likewise.
26506         * inet/tst-network.c: Likewise.
26507         * inet/tst-ntoa.c: Likewise.
26508         * intl/tst-codeset.c: Likewise.
26509         * intl/tst-gettext2.c: Likewise.
26510         * intl/tst-gettext3.c: Likewise.
26511         * intl/tst-ngettext.c: Likewise.
26512         * intl/tst-translit.c: Likewise.
26513         * io/test-stat.c: Likewise.
26514         * libio/test-fmemopen.c: Likewise.
26515         * libio/tst-freopen.c: Likewise.
26516         * libio/tst-sscanf.c: Likewise.
26517         * libio/tst-ungetwc1.c: Likewise.
26518         * libio/tst-ungetwc2.c: Likewise.
26519         * libio/tst-widetext.c: Likewise.
26520         * localedata/tst-ctype.c: Likewise.
26521         * localedata/tst-digits.c: Likewise.
26522         * localedata/tst-leaks.c: Likewise.
26523         * localedata/tst-mbswcs1.c: Likewise.
26524         * localedata/tst-mbswcs2.c: Likewise.
26525         * localedata/tst-mbswcs3.c: Likewise.
26526         * localedata/tst-mbswcs4.c: Likewise.
26527         * localedata/tst-mbswcs5.c: Likewise.
26528         * localedata/tst-setlocale.c: Likewise.
26529         * localedata/tst-trans.c: Likewise.
26530         * localedata/tst-wctype.c: Likewise.
26531         * localedata/tst-xlocale1.c: Likewise.
26532         * login/tst-grantpt.c: Likewise.
26533         * malloc/tst-calloc.c: Likewise.
26534         * malloc/tst-malloc.c: Likewise.
26535         * malloc/tst-mallocstate.c: Likewise.
26536         * malloc/tst-mcheck.c: Likewise.
26537         * malloc/tst-mtrace.c: Likewise.
26538         * malloc/tst-obstack.c: Likewise.
26539         * math/atest-exp2.c: Likewise.
26540         * math/atest-exp.c: Likewise.
26541         * math/atest-sincos.c: Likewise.
26542         * math/test-matherr.c: Likewise.
26543         * math/test-misc.c: Likewise.
26544         * math/test-powl.c: Likewise.
26545         * math/tst-definitions.c: Likewise.
26546         * misc/tst-dirname.c: Likewise.
26547         * misc/tst-efgcvt.c: Likewise.
26548         * misc/tst-fdset.c: Likewise.
26549         * misc/tst-hsearch.c: Likewise.
26550         * misc/tst-mntent2.c: Likewise.
26551         * nptl/tst-sem7.c: Likewise.
26552         * nptl/tst-sem8.c: Likewise.
26553         * nptl/tst-sem9.c: Likewise.
26554         * nss/test-netdb.c: Likewise.
26555         * posix/tst-fnmatch.c: Likewise.
26556         * posix/tst-getlogin.c: Likewise.
26557         * posix/tst-gnuglob.c: Likewise.
26558         * posix/tst-mmap.c: Likewise.
26559         * pwd/tst-getpw.c: Likewise.
26560         * resolv/tst-inet_ntop.c: Likewise.
26561         * rt/tst-timer.c: Likewise.
26562         * stdio-common/test-fseek.c: Likewise.
26563         * stdio-common/test-popen.c: Likewise.
26564         * stdio-common/test-vfprintf.c: Likewise.
26565         * stdio-common/tst-cookie.c: Likewise.
26566         * stdio-common/tst-fileno.c: Likewise.
26567         * stdio-common/tst-gets.c: Likewise.
26568         * stdio-common/tst-obprintf.c: Likewise.
26569         * stdio-common/tst-perror.c: Likewise.
26570         * stdio-common/tst-sprintf2.c: Likewise.
26571         * stdio-common/tst-sprintf3.c: Likewise.
26572         * stdio-common/tst-sprintf.c: Likewise.
26573         * stdio-common/tst-swprintf.c: Likewise.
26574         * stdio-common/tst-tmpnam.c: Likewise.
26575         * stdio-common/tst-unbputc.c: Likewise.
26576         * stdio-common/tst-wc-printf.c: Likewise.
26577         * stdlib/tst-environ.c: Likewise.
26578         * stdlib/tst-fmtmsg.c: Likewise.
26579         * stdlib/tst-limits.c: Likewise.
26580         * stdlib/tst-rand48-2.c: Likewise.
26581         * stdlib/tst-rand48.c: Likewise.
26582         * stdlib/tst-random2.c: Likewise.
26583         * stdlib/tst-random.c: Likewise.
26584         * stdlib/tst-strtol.c: Likewise.
26585         * stdlib/tst-strtoll.c: Likewise.
26586         * stdlib/tst-tls-atexit.c: Likewise.
26587         * stdlib/tst-xpg-basename.c: Likewise.
26588         * string/test-ffs.c: Likewise.
26589         * string/tst-bswap.c: Likewise.
26590         * string/tst-inlcall.c: Likewise.
26591         * string/tst-strtok.c: Likewise.
26592         * string/tst-strxfrm.c: Likewise.
26593         * sysdeps/x86_64/tst-audit10.c: Likewise.
26594         * sysdeps/x86_64/tst-audit3.c: Likewise.
26595         * sysdeps/x86_64/tst-audit4.c: Likewise.
26596         * sysdeps/x86_64/tst-audit5.c: Likewise.
26597         * time/tst-ftime_l.c: Likewise.
26598         * time/tst-getdate.c: Likewise.
26599         * time/tst-mktime3.c: Likewise.
26600         * time/tst-mktime.c: Likewise.
26601         * time/tst-posixtz.c: Likewise.
26602         * time/tst-strptime2.c: Likewise.
26603         * time/tst-strptime3.c: Likewise.
26604         * wcsmbs/tst-btowc.c: Likewise.
26605         * wcsmbs/tst-mbrtowc.c: Likewise.
26606         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26607         * wcsmbs/tst-wchar-h.c: Likewise.
26608         * wcsmbs/tst-wcpncpy.c: Likewise.
26609         * wcsmbs/tst-wcrtomb.c: Likewise.
26610         * wcsmbs/tst-wcsnlen.c: Likewise.
26611         * wcsmbs/tst-wcstof.c: Likewise.
26613 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26615         [BZ #14132]
26616         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26617         INTDEF.
26618         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26619         declaration.
26620         (_dl_mcount): Use rtld_hidden_proto.
26621         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26622         _dl_mcount.
26623         * elf/rtld.c (_rtld_global_ro): Likewise.
26625         [BZ #14132]
26626         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26627         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26628         of _dl_init_internal.
26629         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26630         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26631         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26632         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26633         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26634         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26635         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26636         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26637         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26638         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26639         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26640         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26641         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26642         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26643         * sysdeps/tile/dl-start.S (_start): Likewise.
26644         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26645         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26647         [BZ #14132]
26648         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26649         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26650         (rtld_progname): Make macro definition unconditional.
26651         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26652         INTDEF.
26653         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26654         (dl_main): Likewise.
26655         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26656         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26657         instead of _dl_argv_internal.
26658         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26659         __GI__dl_argv instead of INTUSE(_dl_argv).
26660         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26661         __GI__dl_argv instead of _dl_argv_internal.
26663         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26664         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26665         macro.
26666         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26667         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26668         New macro.
26669         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26670         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26671         macro.
26672         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26673         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26675 2014-11-04  Andreas Schwab  <schwab@suse.de>
26677         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26679 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26681         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26682         mtvsrd instruction in binary form.
26684 2014-11-03  Andreas Schwab  <schwab@suse.de>
26686         [BZ #17522]
26687         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26688         for less than MB_LEN_MAX use a local buffer of that size.
26689         * libio/tst-fputws.c: New file.
26690         * libio/Makefile (tests): Add tst-fputws.
26692 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26694         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26695         the size of the fpu_fr.fpu_dregs[] array.
26697 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26699         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26700         (__nanosleep): Do not define as alias.
26701         (nanosleep): Define as alias of __nanosleep.
26702         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26703         __libc_nanosleep name.
26705 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26707         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26708         install.texi in comment.
26710 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26712         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26713         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26714         ... add here and use lwsync or sync ...
26715         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26716         ... and add here using lwsync.
26718 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26720         * elf/dl-machine-reject-phdr.h: New file.
26721         * elf/dl-load.c: #include that.
26722         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26723         if that returned true.
26725 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26727         [BZ #17496]
26728         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26729         gen-as-const-headers chunk.  Add a big scare comment after the last
26730         safe place to touch before-compile.
26732 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26734         * manual/install.texi (Tools for Compilation): Update autoconf
26735         version requirements.
26736         * INSTALL: Regenerated.
26738         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26739         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26740         (__libc_pselect): Likewise.
26742         [BZ #14138]
26743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26748 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26750         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26751         correct barrier instruction.
26752         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26753         Likewise.
26754         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26755         Likewise.
26757 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26759         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26760         after defining inlines.  Instead, just use parens to defeat macro
26761         expansion of __isctype in its declaration.
26763 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26765         * include/sys/uio.h (__libc_readv): Remove declaration.
26766         (__libc_writev): Likewise.
26767         * misc/readv.c (__libc_readv): Rename to __readv.
26768         (__readv): Do not define as alias.
26769         (readv): Define as alias of __readv.
26770         * misc/writev.c (__libc_writev): Rename to __writev.
26771         (__writev): Do not define as alias.
26772         (writev): Define as alias of __writev.
26773         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26774         (__readv): Do not define as alias.
26775         (readv): Define unconditionally as alias of __readv.
26776         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26777         (__writev): Do not define as alias.
26778         (writev): Define unconditionally as alias of __writev.
26779         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26780         name.
26781         (writev): Do not define __libc_writev name.
26783 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26785         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26786         (convert_charseq): New function, broken out of ...
26787         (use_from_charmap): ... here.  Call it.
26788         (use_to_charmap): Use convert_charseq and free instead of duplicating
26789         its code with a variable-length stack struct.
26791 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26793         * include/fcntl.h (__libc_creat): Remove declaration.
26794         * io/creat.c (__libc_creat): Rename to creat.
26795         (creat): Do not define as alias.
26796         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26797         of creat instead of __libc_creat.
26798         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26799         to creat.
26800         (creat): Do not define as alias.
26801         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26802         __libc_creat.
26803         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26804         __libc_creat name.
26805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26806         Likewise.
26808 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26810         * manual/llio.texi: Add comments discussing why write() may be
26811         considered MT-unsafe on Linux.
26813 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26815         * dl-load.c (local_strdup): Remove.
26816         (expand_dynamic_string_token): Use __strdup.
26817         (decompose_rpath): Likewise.
26818         (_dl_map_object): Likewise.
26820 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26822         [BZ #14132]
26823         * sysdeps/generic/unwind-dw2-fde.c
26824         (__register_frame_info_bases_internal): Do not declare.
26825         (__register_frame_info_table_bases_internal): Likewise.
26826         (__deregister_frame_info_bases_internal): Likewise.
26827         (__register_frame_info_bases): Declare and use hidden_proto before
26828         definition.  Use hidden_def instead of INTDEF.
26829         (__register_frame_info_table_bases): Likewise.
26830         (__deregister_frame_info_bases): Likewise.
26831         (__register_frame_info): Do not use INTUSE.
26832         (__register_frame): Likewise.
26833         (__register_frame_info_table): Likewise.
26834         (__register_frame_table): Likewise.
26835         (__deregister_frame_info): Likewise.
26836         (__deregister_frame): Likewise.
26838 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26841         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26842         not undefine.
26843         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26844         Likewise.
26845         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26846         Likewise.
26848 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26850         [BZ #14138]
26851         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26852         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26853         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26854         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26855         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26856         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26857         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26858         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26859         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26860         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26861         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26862         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26863         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26864         syscall.
26865         (setfsuid): Likewise.
26866         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26867         (setfsuid): Likewise.
26868         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26869         (setfsuid): Likewise.
26870         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26871         Likewise.
26872         (setfsuid): Likewise.
26873         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26874         (setfsuid): Likewise.
26875         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26876         Likewise.
26877         (setfsuid): Likewise.
26879 2014-10-27  Andreas Schwab  <schwab@suse.de>
26881         [BZ #17501]
26882         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26883         check for Slow_SSE4_2 feature bit.
26884         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26885         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26886         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26887         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26889 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26891         * configure.ac: Validate compiler version with a empirical test of
26892         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26893         $CC -v output.
26894         * configure: Regenerated.
26896         * inet/htons.c (htons): Prototypify.
26897         * inet/htonl.c (htonl): Likewise.
26899 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26901         * string/strncat.c (strncat): Improve performance by using strlen.
26903 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26905         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26907 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26909         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26910         Call libc_fetestexcept_aarch64.
26912 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26914         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26915         Call libc_feholdexcept_aarch64.
26917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26919         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26920         Call get_rounding_mode.
26922 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26924         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26925         Simplify logic.
26927 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26929         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26930         Simplify logic.
26932 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26934         [BZ #14138]
26935         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26936         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26937         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26938         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26939         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26940         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26941         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26942         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26943         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26944         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26945         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26946         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26947         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26948         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26949         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26950         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26951         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26952         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26953         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26954         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26955         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26956         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26957         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26958         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26959         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26960         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26961         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26962         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26963         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26964         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26965         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26966         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26967         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26968         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26969         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26970         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26971         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26972         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26973         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26974         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26975         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26976         syscall.
26977         (geteuid): Likewise.
26978         (getgid): Likewise.
26979         (getuid): Likewise.
26980         (getresgid): Likewise.
26981         (getresuid): Likewise.
26982         (getgroups): Likewise.
26983         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26984         (geteuid): Likewise.
26985         (getgid): Likewise.
26986         (getuid): Likewise.
26987         (getresgid): Likewise.
26988         (getresuid): Likewise.
26989         (getgroups): Likewise.
26990         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26991         (geteuid): Likewise.
26992         (getgid): Likewise.
26993         (getuid): Likewise.
26994         (getresgid): Likewise.
26995         (getresuid): Likewise.
26996         (getgroups): Likewise.
26997         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26998         Likewise.
26999         (geteuid): Likewise.
27000         (getgid): Likewise.
27001         (getuid): Likewise.
27002         (getresgid): Likewise.
27003         (getresuid): Likewise.
27004         (getgroups): Likewise.
27005         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27006         (geteuid): Likewise.
27007         (getgid): Likewise.
27008         (getuid): Likewise.
27009         (getresgid): Likewise.
27010         (getresuid): Likewise.
27011         (getgroups): Likewise.
27012         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27013         Likewise.
27014         (geteuid): Likewise.
27015         (getgid): Likewise.
27016         (getuid): Likewise.
27017         (getgroups): Likewise.
27019         [BZ #14138]
27020         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27021         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27022         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27023         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27024         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27025         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27026         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27027         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27028         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27029         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27030         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27031         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27032         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27033         __chown.
27034         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27035         (lchown): Likewise.
27036         (fchown): Likewise.
27037         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27038         Likewise.
27039         (lchown): Likewise.
27040         (fchown): Likewise.
27041         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27042         (lchown): Likewise.
27043         (fchown): Likewise.
27044         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27045         Likewise.
27046         (lchown): Likewise.
27047         (fchown): Likewise.
27049 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27051         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27052         Simplify logic.
27054 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27056         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27057         Cleanup logic.
27059 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27061         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27062         Remove unused include.
27064 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27066         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27067         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27068         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27069         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27071 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27072             Helge Deller <deller@gmx.de>
27074         [BZ #17508]
27075         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27076         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27077         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27079 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27081         [BZ #14132]
27082         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27083         Remove macro definition.
27084         (__ashrdi3_v_glibc20): Likewise.
27085         (__lshrdi3_v_glibc20): Likewise.
27086         (__cmpdi2_v_glibc20): Likewise.
27087         (__ucmpdi2_v_glibc20): Likewise.
27088         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27089         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27090         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27091         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27092         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27093         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27095 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27097         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27098         old GNU extension [0] syntax.
27099         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27100         alloca rather than an array member with variable length.
27101         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27102         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27103         (parse_opt): ... here.  Likewise use alloca there.
27104         Validate the -i argument before checking for rootness.
27105         (send_shutdown): New function, broken out of ...
27106         (parse_opt): ... here.
27108 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27110         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27111         macro to get at the _rt_local_ro field.
27112         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27113         ([PIC] case) or _dl_hwcap ([!PIC] case).
27114         * sysdeps/arm/setjmp.S: Likewise.
27116         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27117         * sysdeps/arm/configure.ac: New check to define it.
27118         * sysdeps/arm/configure: Regenerated.
27119         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27120         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27121         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27122         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27123         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27124         Use move/movt pair instead of a load.
27125         (LDST_GLOBAL): Macro removed.
27126         (LDR_GLOBAL): New macro replaces it.
27127         (LDR_HIDDEN): New macro.
27128         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27129         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27131         * setjmp/tst-setjmp-static.c: New file.
27132         * setjmp/Makefile (tests): Add it.
27133         (tests-static): New variable.
27135 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27137         [BZ #17485]
27138         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27140 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27142         [BZ #14132]
27143         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27145 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27147         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27149 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27151         * io/fts.c (dirent_not_directory): New function.
27152         (fts_build): Call it.
27154 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27156         * nptl/version.c (__nptl_main): Use normal __write rather than
27157         INTERNAL_SYSCALL.
27158         (banner): Update copyright years.
27160         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27161         gettimeofday.
27162         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27163         * nptl/pthread_cond_timedwait.c: Likewise.
27164         * nptl/pthread_mutex_timedlock.c: Likewise.
27165         * nptl/sem_timedwait.c: Likewise.
27167         * sysdeps/nptl/bits/libc-lock.h
27168         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27169         (__libc_lock_init_recursive): Return void, not 0.
27170         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27171         (__libc_rwlock_init): Likewise.
27172         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27174 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27176         [BZ #15215]
27177         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27178         (__pthread_once_slow): ... here.
27179         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27180         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27182 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27184         [BZ #15215]
27185         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27186         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27187         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27188         * nptl/pthread_once.c (__pthread_once): Likewise.
27189         Update comments.
27191 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27193         [BZ #14138]
27194         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27195         name.
27196         (writev): Use __libc_writev as strong name.
27197         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27198         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27200 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27202         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27204         * sysdeps/i386/nptl/tls.h
27205         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27206         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27207         New macros.
27208         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27209         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27210         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27211         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27212         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27213         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27215         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27216         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27217         on [__NR_futex].
27218         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27219         broken out of ...
27220         (__pthread_mutex_init): ... here.  Call it.
27221         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27222         Conditionalize PI cases on [__NR_futex].
27223         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27224         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27225         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27227         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27228         conditional on [SIGSETXID].
27229         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27230         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27231         is defined.  Likewise for SIGSETXID.
27232         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27233         Conditionalize definitions on [SIGSETXID].
27234         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27235         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27236         unblocking on [SIGCANCEL].
27238         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27239         [__NR_set_robust_list].
27241 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27243         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27244         (do_compare): Likewise.
27246 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27248         [BZ #15884]
27249         * string/strcoll_l.c: Don't include stdio.h.
27250         (coll_seq): Remove members idxarr and rulearr.
27251         (get_next_seq_cached): Remove function.
27252         (get_next_seq): Likewise.
27253         (get_next_seq_nocache): Rename to get_next_seq.
27254         (do_compare): Remove function.
27255         (do_compare_nocache): Rename to do_compare.
27256         (STRCOLL): Remove weight and rules cache.
27258 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27260         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27261         * sysdeps/arm/sfp-machine.h: ... to here.
27262         * sysdeps/arm/Implies: Remove arm/soft-fp.
27264 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27266         * conform/data/sys/utsname.h-data (*_t): Allow.
27267         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27268         [POSIX] (WEXITED): Do not expect constant.
27269         [POSIX] (WSTOPPED): Likewise.
27270         [POSIX] (WNOHANG): Likewise.
27271         [POSIX] (WNOWAIT): Likewise.
27272         [POSIX] (siginfo_t): Do not expect type or elements.
27273         [POSIX] (pid_t): Do not expect type.
27274         [POSIX] (signal.h): Do not allow header.
27275         [POSIX] (sys/resource.h): Likewise.
27276         [POSIX] (si_*): Do not allow pattern.
27277         [POSIX] (W*): Likewise.
27278         [POSIX] (P_*): Likewise.
27279         [POSIX] (BUS_*): Likewise.
27280         [POSIX] (CLD_*): Likewise.
27281         [POSIX] (FPE_*): Likewise.
27282         [POSIX] (ILL_*): Likewise.
27283         [POSIX] (POLL_*): Likewise.
27284         [POSIX] (SEGV_*): Likewise.
27285         [POSIX] (SI_*): Likewise.
27286         [POSIX] (TRAP_*): Likewise.
27287         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27288         variable.
27290 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27292         [BZ #12926]
27293         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27294         infinite loop when __recvmsg returns 0.
27296 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27298         * CANCEL-FCT-WAIVE: Remove file.
27299         * CANCEL-FILE-WAIVE: Likewise.
27301         [BZ #14132]
27302         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27303         instead of INTVARDEF.
27304         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27305         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27306         rtld_hidden_data_def instead of INTVARDEF.
27307         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27308         * elf/dl-deps.c (expand_dst): Likewise.
27309         * elf/dl-load.c (_dl_dst_count): Likewise.
27310         (_dl_dst_substitute): Likewise.
27311         (decompose_rpath): Likewise.
27312         (_dl_init_paths): Likewise.
27313         (open_path): Likewise.
27314         (_dl_map_object): Likewise.
27315         * elf/rtld.c (dl_main): Likewise.
27316         (process_dl_audit): Likewise.
27317         (process_envvars): Likewise.
27318         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27319         Remove declaration.
27320         (__libc_enable_secure): Use rtld_hidden_proto.
27322 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27324         * elf/dl-load.c
27325         (add_path): New function broken out of _dl_rtld_di_serinfo.
27326         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27328 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27330         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27331         parentheses around macro arguments.
27332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27337         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27338         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27341         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27343         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27344         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27345         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27346         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27347         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27348         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27361         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27362         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27365         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27366         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27367         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27368         Likewise.
27369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27370         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27371         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27372         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27374         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27376         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27377         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27378         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27379         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27380         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27381         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27382         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27383         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27384         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27386         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27387         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27390         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27391         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27392         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27393         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27394         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27395         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27396         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27397         (_FP_FRAC_SRS_1): Likewise.
27398         (_FP_FRAC_CLZ_1): Likewise.
27399         (_FP_MUL_MEAT_1_imm): Likewise.
27400         (_FP_MUL_MEAT_1_wide): Likewise.
27401         (_FP_MUL_MEAT_1_hard): Likewise.
27402         (_FP_SQRT_MEAT_1): Likewise.
27403         (_FP_FRAC_ASSEMBLE_1): Likewise.
27404         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27405         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27406         (__FP_CLZ_2): Likewise.
27407         (_FP_MUL_MEAT_2_wide): Likewise.
27408         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27409         (_FP_MUL_MEAT_2_gmp): Likewise.
27410         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27411         (_FP_SQRT_MEAT_2): Likewise.
27412         (_FP_FRAC_ASSEMBLE_2): Likewise.
27413         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27414         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27415         (_FP_FRAC_CLZ_4): Likewise.
27416         (_FP_MUL_MEAT_4_wide): Likewise.
27417         (_FP_MUL_MEAT_4_gmp): Likewise.
27418         (_FP_SQRT_MEAT_4): Likewise.
27419         (_FP_FRAC_ASSEMBLE_4): Likewise.
27420         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27421         * soft-fp/op-common.h (_FP_CMP): Likewise.
27422         (_FP_CMP_EQ): Likewise.
27423         (_FP_CMP_UNORD): Likewise.
27424         (_FP_TO_INT): Likewise.
27425         (_FP_FROM_INT): Likewise.
27426         [!__FP_CLZ] (__FP_CLZ): Likewise.
27427         (_FP_DIV_HELP_imm): Likewise.
27428         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27429         Likewise.
27430         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27433         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27434         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27435         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27436         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27437         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27438         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27439         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27440         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27441         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27442         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27443         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27444         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27445         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27446         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27447         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27451         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27455         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27459         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27460         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27461         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27462         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27463         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27464         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27465         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27466         (FP_UNPACK_RAW_SP): Likewise.
27467         (FP_PACK_RAW_S): Likewise.
27468         (FP_PACK_RAW_SP): Likewise.
27469         (FP_UNPACK_S): Likewise.
27470         (FP_UNPACK_SP): Likewise.
27471         (FP_UNPACK_SEMIRAW_S): Likewise.
27472         (FP_UNPACK_SEMIRAW_SP): Likewise.
27473         (FP_PACK_S): Likewise.
27474         (FP_PACK_SP): Likewise.
27475         (FP_PACK_SEMIRAW_S): Likewise.
27476         (FP_PACK_SEMIRAW_SP): Likewise.
27477         (_FP_SQRT_MEAT_S): Likewise.
27478         (FP_CMP_S): Likewise.
27479         (FP_CMP_EQ_S): Likewise.
27480         (FP_CMP_UNORD_S): Likewise.
27481         (FP_TO_INT_S): Likewise.
27482         (FP_FROM_INT_S): Likewise.
27484         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27486         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27487         (FP_EX_INVALID_IMZ): Likewise.
27488         (FP_EX_INVALID_IMZ_FMA): Likewise.
27489         (FP_EX_INVALID_ISI): Likewise.
27490         (FP_EX_INVALID_ZDZ): Likewise.
27491         (FP_EX_INVALID_IDI): Likewise.
27492         (FP_EX_INVALID_SQRT): Likewise.
27493         (FP_EX_INVALID_CVI): Likewise.
27494         (FP_EX_INVALID_VC): Likewise.
27495         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27496         "invalid" exceptions.
27497         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27498         (_FP_ADD_INTERNAL): Likewise.
27499         (_FP_MUL): Likewise.
27500         (_FP_FMA): Likewise.
27501         (_FP_DIV): Likewise.
27502         (_FP_CMP_CHECK_NAN): Likewise.
27503         (_FP_SQRT): Likewise.
27504         (_FP_TO_INT): Likewise.
27505         (FP_EXTEND): Likewise.
27507 2014-10-09  Allan McRae  <allan@archlinux.org>
27509         * po/fr.po: Update French translation from translation project.
27511 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27513         [BZ #14132]
27514         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27515         of INTDEF.
27516         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27517         (__cxa_atexit): Use libc_hidden_proto.
27518         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27520         [BZ #14132]
27521         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27522         declaration.
27523         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27524         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27525         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27526         [!_ISOMAC] (__iswctype_internal): Likewise.
27527         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27528         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27529         alias.
27530         (fcntl): Remove __fcntl_internal alias.
27531         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27532         __connect_internal alias.
27533         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27534         Likewise.
27536         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27537         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27538         FP_DENORM_ZERO.
27539         (_FP_CHECK_FLUSH_ZERO): New macro.
27540         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27541         (_FP_CMP): Likewise.
27542         (_FP_CMP_EQ): Likewise.
27543         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27544         FP_DENORM_ZERO.
27545         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27546         (FP_TRUNC): Likewise.
27548         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27549         treated as invalid conversion, not as normal exponent.
27551         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27552         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27553         (_FP_CMP_EQ): Likewise.
27554         (_FP_CMP_UNORD): Likewise.
27555         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27556         (FP_CMP_EQ_D): Likewise.
27557         (FP_CMP_UNORD_D): Likewise.
27558         * soft-fp/extended.h (FP_CMP_E): Likewise.
27559         (FP_CMP_EQ_E): Likewise.
27560         (FP_CMP_UNORD_E): Likewise.
27561         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27562         (FP_CMP_EQ_Q): Likewise.
27563         (FP_CMP_UNORD_Q): Likewise.
27564         * soft-fp/single.h (FP_CMP_S): Likewise.
27565         (FP_CMP_EQ_S): Likewise.
27566         (FP_CMP_UNORD_S): Likewise.
27567         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27568         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27569         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27570         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27571         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27572         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27573         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27574         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27575         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27576         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27577         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27578         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27579         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27580         to FP_CMP_Q.
27581         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27582         FP_CMP_Q.
27583         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27584         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27585         FP_CMP_EQ_Q.
27586         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27587         FP_CMP_Q.
27588         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27589         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27590         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27591         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27592         FP_CMP_EQ_Q.
27593         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27594         FP_CMP_Q.
27595         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27596         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27597         FP_CMP_EQ_Q.
27598         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27599         FP_CMP_Q.
27600         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27601         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27602         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27603         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27604         FP_CMP_EQ_Q.
27606         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27607         a subnormal result, set the underflow exception if trapping on
27608         underflow is enabled.
27609         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27610         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27611         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27612         redefine to 0.
27613         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27614         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27615         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27616         * soft-fp/extendxftf2.c (__extendxftf2): Use
27617         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27619         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27620         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27621         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27622         FP_HANDLE_EXCEPTIONS.
27623         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27624         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27625         FP_HANDLE_EXCEPTIONS.
27626         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27627         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27628         FP_HANDLE_EXCEPTIONS.
27629         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27630         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27631         FP_HANDLE_EXCEPTIONS.
27633 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27635         [BZ #14132]
27636         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27637         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27638         use INTUSE.
27639         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27640         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27641         Remove alias.
27642         (__adjtimex): Define using libc_hidden_ver.
27643         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27644         Remove declaration.
27645         (ntp_gettime): Call __adjtimex directly.
27646         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27647         Remove declaration.
27648         (ntp_gettimex): Call __adjtimex directly.
27649         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27650         __adjtimex_internal alias.
27652 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27654         [BZ #17460]
27655         * nscd/nscd.c (more_help): Rewrite list of tables collection
27656         using xstrdup and asprintf.
27658         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27660 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27661             Roland McGrath  <roland@hack.frob.com>
27663         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27664         (do_lookup_unique): ... local function 'enter' here; update callers.
27666 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27668         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27669         compat_symbol calls on [SHARED].
27670         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27671         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27672         Remove.
27673         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27674         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27675         (oldsetrlimit): Remove.
27676         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27678         (lchown): New syscall entry.
27679         (oldsetrlimit): Remove.
27680         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27681         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27682         (oldsetrlimit): Remove.
27683         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27685         [BZ #14138]
27686         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27687         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27688         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27689         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27690         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27691         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27692         (fchown): Likewise.
27693         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27694         (fchown): Likewise.
27695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27696         Likewise.
27698 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27700         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27701         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27702         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27703         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27704         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27705         Likewise.
27706         (__old_sem_post): Likewise.
27708 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27710         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27711         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27712         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27713         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27714         Use INLINE_VSYSCALL macro.
27715         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27716         __vdso_clock_gettime.
27717         * sysdeps/unix/sysv/linux/tile/init-first.c
27718         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27719         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27720         __vdso_clock_gettime.
27722         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27723         to set up frame more cleanly.
27725         * sysdeps/tile/memcmp.c: New file.
27727         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27729         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27730         * sysdeps/tile/tilegx/strcasestr.c: New file.
27731         * sysdeps/tile/tilegx/strnlen.c: New file.
27732         * sysdeps/tile/tilegx/strstr.c: New file.
27734         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27736 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27738         * nptl/tst-setuid3.c: Write errors to stdout.
27740 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27742         * elf/dl-deps.c
27743         (preload): New functions broken out of _dl_map_object_deps.
27744         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27746 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27748         [BZ #14138]
27749         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27750         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27752 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27754         * sysdeps/mips/strcmp.S: New.
27756 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27758         [BZ #14138]
27759         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27760         (linkat): Likewise.
27761         (mkdirat): Likewise.
27762         (readlinkat): Likewise.
27763         (renameat): Likewise.
27764         (symlinkat): Likewise.
27765         (unlinkat): Likewise.
27766         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27767         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27768         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27769         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27770         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27771         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27772         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27774 2014-09-30  Will Newton  <will.newton@linaro.org>
27776         * math/math.h: Define long double math functions if
27777         _LIBC_TEST is defined.
27778         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27780         * localedata/Makefile: Move assignment to tests-special
27781         into an ifdef testing run-built-tests.
27782         * timezone/Makefile: Likewise.
27784 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27786         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27787         with $(BASH) not $(SHELL).
27789 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27790             Matthew LeGendre  <legendre1@llnl.gov>
27792         [BZ #17411]
27793         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27794         l_reloc_result.
27796 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27798         * stdio-common/printf_fp.c
27799         (hack_digit): New function, broken out of ...
27800         (__printf_fp): ... local function here.  Update call sites.
27801         hack_digit now takes an additional parameter that is a pointer
27802         to a struct of the referenced locals.  Those locals moved inside
27803         the struct and references updated.
27805 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27807         * aclocal.m4: Require autoconf 2.69.
27808         * configure: Regenerated.
27809         * sysdeps/aarch64/configure: Likewise.
27810         * sysdeps/alpha/configure: Likewise.
27811         * sysdeps/arm/armv7/configure: Likewise.
27812         * sysdeps/arm/configure: Likewise.
27813         * sysdeps/ia64/configure: Likewise.
27814         * sysdeps/mach/configure: Likewise.
27815         * sysdeps/mips/configure: Likewise.
27816         * sysdeps/s390/configure: Likewise.
27817         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27820         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27821         file.
27822         * sysdeps/ia64/configure.ac: Likewise.
27824 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27827         specify symbol version for ld.so.  Do not include entry for
27828         libpthread.
27829         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27830         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27831         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27833         [BZ #14171]
27834         * Makeconfig [$(build-shared) = yes]
27835         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27836         makefiles.
27837         [$(build-shared) = yes && $(soversions.mk-done) = t]
27838         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27839         [$(build-shared) = yes && $(soversions.mk-done) = t]
27840         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27841         to Makerules.
27842         [$(build-shared) = yes && $(soversions.mk-done) = t]
27843         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27844         here.
27845         [$(build-shared) = yes && $(soversions.mk-done) = t]
27846         (common-generated): Don't append gnu/lib-names.h and
27847         gnu/lib-names.stmp here.
27848         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27849         (lib-names-h-abi): New variable.
27850         [$(build-shared) = yes && $(soversions.mk-done) = t]
27851         (lib-names-stmp-abi): Likewise.
27852         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27853         abi-variants] (before-compile): Append
27854         $(common-objpfx)$(lib-names-h-abi).
27855         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27856         abi-variants] (common-generated): Append gnu/lib-names.h.
27857         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27858         abi-variants] (install-others-nosubdir): Depend on
27859         $(inst_includedir)/$(lib-names-h-abi).
27860         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27861         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27862         [$(build-shared) = yes && $(soversions.mk-done) = t]
27863         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27864         [$(build-shared) = yes && $(soversions.mk-done) = t]
27865         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27866         [$(build-shared) = yes && $(soversions.mk-done) = t]
27867         (common-generated): Append $(lib-names-h-abi) and
27868         $(lib-names-stmp-abi).
27869         * scripts/lib-names.awk: Do not handle multi being set.
27870         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27871         Remove variable.
27872         (abi-lp64_be-ld-soname): Likewise.
27873         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27874         Likewise.
27875         (abi-hard-ld-soname): Likewise.
27876         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27877         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27878         Remove variable.
27879         (abi-o32_hard-ld-soname): Likewise.
27880         (abi-o32_soft_2008-ld-soname): Likewise.
27881         (abi-o32_hard_2008-ld-soname): Likewise.
27882         (abi-n32_soft-ld-soname): Likewise.
27883         (abi-n32_hard-ld-soname): Likewise.
27884         (abi-n32_soft_2008-ld-soname): Likewise.
27885         (abi-n32_hard_2008-ld-soname): Likewise.
27886         (abi-n64_soft-ld-soname): Likewise.
27887         (abi-n64_hard-ld-soname): Likewise.
27888         (abi-n64_soft_2008-ld-soname): Likewise.
27889         (abi-n64_hard_2008-ld-soname): Likewise.
27890         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27891         Likewise.
27892         (abi-64-v2-ld-soname): Likewise.
27893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27894         ld.so entries.
27895         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27896         variable.
27897         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27898         entry.
27899         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27900         variable.
27901         (abi-64-ld-soname): Likewise.
27902         (abi-x32-ld-soname): Likewise.
27903         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27904         entry.
27905         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27907 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27909         [BZ #14138]
27910         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27911         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27912         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27913         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27914         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27915         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27916         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27917         syscall entry for GLIBC_2.2 symbol version.
27918         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27919         Likewise.
27920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27921         (setrlimit): Likewise.
27922         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27923         Likewise.
27925 2014-09-23  Will Newton  <will.newton@linaro.org>
27927         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27928         _LINUX_ARM_SYSDEP_H include guard too.
27929         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27930         define.
27932 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27934         * sysdeps/unix/sysv/linux/eventfd.c:
27935         Make first argument unsigned.
27936         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27937         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27939 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27941         [BZ #16852]
27942         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27943         * socket/sys/socket.h: Likewise.
27944         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27946 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27948         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27950 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27952         * time/tst-ftime.c: New test.
27953         * time/Makefile (tests): Add tst-ftime.
27955 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27957         * soft-fp/extended.h: Fix comment formatting.
27958         * soft-fp/op-1.h: Likewise.
27959         * soft-fp/op-2.h: Likewise.
27960         * soft-fp/op-4.h: Likewise.
27961         * soft-fp/op-8.h: Likewise.
27962         * soft-fp/op-common.h: Likewise.
27963         * soft-fp/soft-fp.h: Likewise.
27965         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27967 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27969         [BZ #6652]
27970         * Makeconfig (soversions-default-setname): Remove variable.
27971         ($(common-objpfx)soversions.i): Don't pass default_setname to
27972         soversions.awk.
27973         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27974         oldest_abi to abi-versions.awk.
27975         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27976         * config.make.in (oldest-abi): Remove variable.
27977         * configure.ac (--enable-oldest-abi): Remove configure option.
27978         * configure: Regenerated.
27979         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27980         text.
27981         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27982         * scripts/soversions.awk: Do not handle default_setname variable.
27983         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27984         variable.
27985         * sysdeps/mach/hurd/configure: Regenerated.
27986         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27987         variable.
27988         * sysdeps/unix/sysv/linux/configure: Regenerated.
27990 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27992         * elf/Makefile (CFLAGS-interp.c): Remove.
27993         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27994         path string.
27995         * elf/interp.c: Include generated runtime-linker.h
27997         * Makerules (lib%.so): Don't include $(+interp) in
27998         prerequisites.
27999         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28000         * dlfcn/eval.c: Remove file.
28002         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28003         macros.
28005         [BZ #17266]
28006         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28007         4.2 and newer.
28009         [BZ #17370]
28010         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28012 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28013             Jakub Jelinek  <jakub@redhat.com>
28015         [BZ #17266]
28016         * libio/stdio.h: Check definition of __fortify_function
28017         instead of __extern_always_inline to include bits/stdio2.h.
28018         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28019         check if __extern_always_inline is defined.
28020         [__USE_MISC || __USE_XOPEN]: Likewise.
28021         [__USE_ISOC99] Likewise.
28022         * misc/sys/cdefs.h (__fortify_function): Define only if
28023         __extern_always_inline is defined.
28024         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28025         __extern_always_inline and __extern_inline only for g++-4.3
28026         and newer or a compatible gcc.
28028 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28030         [BZ #17371]
28031         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28032         last change to handle zero prefix length.
28034 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28036         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28037         _SC_REGEX_VERSION.
28039         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28040         _POSIX_RAW_SOCKETS.
28042 2014-09-13  Allan McRae  <allan@archlinux.org>
28044         * po/ru.po: Update Russian translation from translation project.
28046 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28048         * locale/programs/locale.c (show_locale_vars): Inline local function
28049         into its sole call site.  Clean up some style nits.
28050         (print_item): New function, broken out of ...
28051         (show_info): ... local function here.  Clean up style nits.
28053         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28054         out of ...
28055         (set_class_defaults): ... local function set_default here.
28056         Define set_default as a macro locally to pass constant parameters.
28057         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28058         rather than a shared local.
28060         * stdlib/rpmatch.c (try): New function, broken out of ...
28061         (rpmatch): ... local function here.  Also, prototypify definition.
28063 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28065         * scripts/soversions.awk: Do not handle configuration names.
28066         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28067         vendor and os variables to soversions.awk.
28068         * configure.ac: Do not modify gnu-* host_os.
28069         * configure: Regenerated
28070         * shlib-versions: Remove first column with configuration names.
28071         * nptl/shlib-versions: Likewise.
28072         * nptl_db/shlib-versions: Likewise.
28073         * sysdeps/hppa/shlib-versions: Likewise.
28074         * sysdeps/m68k/shlib-versions: Likewise.
28075         * sysdeps/mach/hurd/shlib-versions: Likewise.
28076         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28077         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28078         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28079         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28080         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28081         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28082         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28083         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28085         Likewise.
28086         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28087         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28088         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28089         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28090         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28091         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28092         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28093         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28096         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28098         Regenerated.
28099         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28101         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28103         * shlib-versions: Remove OS-specific entries.  Moved to files in
28104         sysdeps.
28105         * sysdeps/mach/hurd/shlib-versions: New file.
28106         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28108         * nptl/shlib-versions: Remove architecture-specific entries.
28109         Moved to files in sysdeps.
28110         * shlib-versions: Likewise.
28111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28112         file.
28113         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28114         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28115         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28116         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28118         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28119         (UDP_NO_CHECK6_RX): Likewise.
28121 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28123         * sysdeps/posix/sysconf.c (__sysconf): Spell
28124         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28126 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28128         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28129         loading.
28130         * iconv/Versions (__gconv_transliterate): Export for use from
28131         gconv modules.
28132         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28133         (struct __gconv_trans_data, __gconv_trans_fct,
28134         __gconv_trans_context_fct, __gconv_trans_query_fct,
28135         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28136         definitions.
28137         (struct __gconv_step_data): Remove __trans member.
28138         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28139         longer hidden.  Remove unused trans_data argument.
28140         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28141         (__gconv_translit_find): Remove declaration.
28142         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28143         prototype.
28144         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28145         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28146         trans_data argument.  Add hidden definition.
28147         (__gconv_translit_find): Remove.
28148         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28149         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28150         * iconv/skeleton.c: Remove transliteration initialization.
28151         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28152         __gconv_step_data initialization.
28153         * libio/iofwide.c (__libio_translit_): Remove.
28154         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28155         * wcsmbs/btowc.c (__btowc): Likewise.
28156         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28157         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28158         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28159         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28160         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28161         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28162         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28163         * wcsmbs/wctob.c (wctob): Likewise.
28165 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28167         [BZ #16194]
28168         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28169         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28170         register usage.
28171         * sysdeps/x86/Makefile: Adjust.
28173 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28174             Roland McGrath  <roland@hack.frob.com>
28176         * locale/weight.h: Add include guard.
28177         (findidx): Make static rather than auto; take new parameters
28178         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28179         * locale/weightwc.h: Likewise.
28180         * posix/fnmatch_loop.c
28181         (FCT): Change type of EXTRA from int32_t to wint_t.
28182         Don't include either header inside the function.
28183         Call FINDIDX rather than findidx, and pass new arguments.
28184         #undef FINDIDX at the end of the file.
28185         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28186         FINDIDX before including fnmatch_loop.c for the non-wide version.
28187         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28188         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28189         for the wide version.
28190         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28191         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28192         Pass new arguments to findidx.
28193         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28194         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28195         Don't #include it inside the function.  Pass new arguments to findidx.
28196         * posix/regex_internal.h
28197         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28198         (re_string_elem_size_at): Don't #include it inside the function.
28199         Pass new arguments to findidx.
28200         * string/strcoll_l.c: #include WEIGHT_H at top level.
28201         (get_next_seq): Don't #include it inside the function.
28202         Pass new arguments to findidx.
28203         (get_next_seq_nocache): Likewise.
28204         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28205         (STRXFRM): Don't #include it inside the function.
28206         Pass new arguments to findidx.
28208 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28210         [BZ #17344]
28211         * malloc/malloc.c (unlink): Turn asserts into a call to
28212         malloc_printerr.
28214 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28216         [BZ #17370]
28217         * libio/wfileops (do_ftell_wide): Free OUT.
28219 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28221         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28223 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28225         [BZ #17363]
28226         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28227         group if the current group is empty.
28229 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28231         * benchtests/bench-memset.c (test_main): Add more test from size
28232         from 32 to 512 bytes.
28233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28234         Add POWER8 memset object.
28235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28236         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28237         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28238         implementation.
28239         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28240         Likewise.
28241         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28242         multiarch POWER8 memset optimization.
28243         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28244         POWER8 memset optimization.
28246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28247         Remove bzero multiarch objects.
28248         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28251         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28252         Remove define.
28253         [__bzero]: Redefine to specific name.
28254         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28255         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28256         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28257         define.
28258         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28259         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28261 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28263         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28264         warnings into errors.
28266         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28267         __cxa_thread_atexit_impl prototype.
28269 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28271         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28272         Fix capitalization of error message.
28274 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28276         * sysdeps/mips/preconfigure: Modify ABI tests.
28278 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28280         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28282 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28283             Carlos O'Donell  <carlos@systemhalted.org>
28285         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28286         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28287         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28288         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28289         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28291         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28292         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28293         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28298         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28300         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28301         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28302         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28303         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28304         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28305         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28306         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28307         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28308         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28309         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28310         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28311         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28312         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28313         Deconditionalize the code that was previously under [RESET_PID].
28314         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28315         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28316         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28317         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28318         include sysdep.h.
28320 2014-09-08  Allan McRae  <allan@archlinux.org>
28322         * version.h (RELEASE): Set to "development".
28323         (VERSION): Set to "2.20.90"
28325 2014-09-07  Allan McRae  <allan@archlinux.org
28327         * version.h (RELEASE): Set to "stable".
28328         (VERSION): Set to "2.20"
28329         * include/features.h (__GLIBC_MINOR__): Set to 20.
28331         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28332         Liebler.
28334         * po/ko.po: Update Korean translation from translation project.
28336 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28338         [BZ #17354]
28339         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28340         macro for handling signed relocations.
28342 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28344         [BZ #17325]
28345         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28346         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28347         assert.
28348         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28349         * iconvdata/ibm935.c (BODY): Likewise.
28350         * iconvdata/ibm937.c (BODY): Likewise.
28351         * iconvdata/ibm939.c (BODY): Likewise.
28352         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28353         assert.
28354         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28355         script.
28356         * iconvdata/run-iconv-test.sh: New test loop for checking for
28357         decoder crashers.
28359 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28361         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28362         libm_hidden_ver.
28364 2014-09-01  Allan McRae  <allan@archlinux.org>
28366         * po/eo.po: Update Esperanto translation from translation project.
28368         * po/ca.po: Update Catalan translation from translation project.
28370 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28372         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28373         __proc_dostop call.
28375 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28377         [BZ #17319]
28378         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28379         to call set_thread_area instead of hand written asm.
28380         (__NR_set_thread_area): Removed define.
28381         (TLS_FLAG_WRITABLE): Likewise.
28382         (__ASSUME_SET_THREAD_AREA): Remove check.
28383         (TLS_EBX_ARG): Remove define.
28384         (TLS_LOAD_EBX): Likewise.
28386 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28388         Simplify atomicity of socket creation in bind.
28390         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28391         looking up the name after linking the file.
28393 2014-08-27  Allan McRae  <allan@archlinux.org>
28395         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28397 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28399         [BZ #17187]
28400         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28401         trans_compare, open_translit, __gconv_translit_find):
28402         Remove module loading code.
28404 2014-08-26  Allan McRae  <allan@archlinux.org>
28406         * po/vi.po: Update Vietnamese translation from translation project.
28408         * po/uk.po: Update Ukrainian translation from translation project.
28410         * po/fr.po: Update French translation from translation project.
28412         * po/ru.po: Update Russian translation from translation project.
28414         * po/pl.po: Update Polish translation from translation project.
28416         * po/cs.po: Update Czech translation from translation project.
28418         * po/de.po: Update German translation from translation project.
28420         * po/bg.po: Update Bulgarian translation from translation project.
28422         * po/sv.po: Update Sweedish translation from translation project.
28424         * po/nl.po: Update Dutch translation from translation project.
28426         * po/es.po: Update Spanish translation from translation project.
28428 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28430         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28432         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28433         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28434         (CPPFLAGS-iconvconfig): Likewise.
28435         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28437         * include/libc-symbols.h: Remove unnecessary check for
28438         NOT_IN_libc.
28439         * nptl/pthreadP.h: Likewise.
28440         * sysdeps/aarch64/setjmp.S: Likewise.
28441         * sysdeps/alpha/setjmp.S: Likewise.
28442         * sysdeps/arm/sysdep.h: Likewise.
28443         * sysdeps/i386/setjmp.S: Likewise.
28444         * sysdeps/m68k/setjmp.c: Likewise.
28445         * sysdeps/posix/getcwd.c: Likewise.
28446         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28447         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28448         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28449         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28450         * sysdeps/sh/sh3/setjmp.S: Likewise.
28451         * sysdeps/sh/sh4/setjmp.S: Likewise.
28452         * sysdeps/unix/alpha/sysdep.h: Likewise.
28453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28454         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28455         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28456         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28461         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28464         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28466         * sysdeps/x86_64/setjmp.S: Likewise.
28468 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28470         [BZ #17263]
28471         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28472         <stdint.h>.
28473         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28474         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28476 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28478         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28480         [BZ #17262]
28481         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28482         and __x86_64__ when disabling x87 inline functions.
28484 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28486         [BZ #17259]
28487         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28488         asm statement with __cpuid_count.
28490 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28492         * configure.ac: Change __ehdr_start code to dereference the struct.
28493         Run readelf on the output to look for relocations.
28494         * configure: Regenerated.
28496 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28498         [BZ #17261]
28499         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28500         value to 0.
28501         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28503 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28505         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28507 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28509         [BZ #16892]
28510         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28511         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28513 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28515         * malloc/malloc.c: Fix typo in comment.
28517 2014-08-09  Allan McRae  <allan@archlinux.org>
28519         * Regenerate libc.po.
28521 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28523         * intl/tst-gettext2.sh: Check every lang file for creation.
28525 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28527         * sysdeps/aarch64/fpu/math_private.h
28528         (libc_feholdsetround_noex_aarch64_ctx): New function.
28530 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28532         * sysdeps/arm/armv6/strcpy.S (strcpy):
28533         Fix performance issue in misaligned cases.
28535 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28537         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28538         Move definition from termios.h.
28539         (struct termio): Likewise.
28540         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28541         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28542         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28543         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28544         Likewise.
28545         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28546         Move definition to ioctl-types.h
28547         (struct termio): Likewise.
28548         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28549         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28550         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28551         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28552         Likewise.
28554 2014-08-05  Richard Henderson  <rth@redhat.com>
28556         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28557         exceptions.
28558         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28559         Add fraiseexcpt.
28560         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28561         Use __feraiseexcept.
28562         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28563         Protect libm symbols with IS_IN_libm.
28565         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28567 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28569         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28571 2014-08-04  Will Newton  <will.newton@linaro.org>
28573         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28574         file.
28576 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28578         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28579         variants for each function.
28581 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28583         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28584         appended ...
28585         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28586         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28587         appended ...
28588         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28589         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28590         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28591         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28592         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28593         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28594         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28595         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28596         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28597         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28598         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28599         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28600         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28601         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28602         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28603         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28604         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28605         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28606         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28607         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28608         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28609         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28610         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28611         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28612         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28613         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28614         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28615         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28616         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28617         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28618         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28619         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28620         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28621         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28622         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28623         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28624         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28625         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28626         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28627         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28628         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28630         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28632         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28634         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28635         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28636         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28637         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28638         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28639         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28640         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28641         Update #include.
28642         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28643         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28645 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28647         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28648         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28649         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28650         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28651         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28652         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28654 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28656         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28657         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28658         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28659         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28661 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28663         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28664         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28665         (__libc_vfork): Define function under this name.
28666         (__vfork): Define as an alias.
28667         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28668         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28670 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28672         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28673         that was previously under [RESET_PID].
28674         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28676 2014-08-04  Andreas Schwab  <schwab@suse.de>
28678         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28680 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28682         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28683         (main): Likewise.
28685 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28687         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28689 2014-08-01  Richard Henderon  <rth@redhat.com>
28691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28692         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28693         typo in exact zero test.
28694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28695         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28698 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28700         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28701         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28702         * sysdeps/arm/sysdep.h: ... here.
28703         [!__ASSEMBLER__]: Include <stdint.h>.
28705 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28707         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28708         (HAVE_WCTYPE_H): Likewise.
28709         (HAVE_ISWCTYPE): Likewise.
28710         (ENABLE_NLS): Likewise.
28711         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28712         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28714         * posix/regex_internal.c: Check if DEBUG is defined and is
28715         set.
28717         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28718         (HAVE_MBSRTOWCS): Likewise.
28719         * posix/fnmatch.c: Include string.h unconditionally.
28721 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28723         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28724         reversal.
28726 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28728         * sysdeps/generic/safe-fatal.h: New file.
28729         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28730         * nptl/forward.c: Include it.
28731         (__pthread_unwind): Use __safe_fatal as default action, rather
28732         than a bogus use of INTERNAL_SYSCALL that could never work.
28734         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28735         * configure.ac (libc_cv_builtin_trap): New test.
28736         * configure: Regenerated.
28737         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28738         (ABORT_INSTRUCTION): Define using __builtin_trap.
28740         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28741         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28742         * sysdeps/nptl/nptl-signals.h: New file.
28743         * nptl/pthreadP.h: Include <nptl-signals.h>.
28745 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28747         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28748         (ONE_DIRECTION): Define.
28749         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28750         (ONE_DIRECTION): Define.
28751         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28752         (ONE_DIRECTION): Define.
28754 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28756         * sysdeps/s390/Makefile: Delete file.
28757         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28758         * sysdeps/s390/__longjmp.c: Delete file.
28759         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28760         Remove fields __flags and __reserved.
28761         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28762         and add versioning.
28763         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28764         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28765         * sysdeps/s390/rtld-setjmp.S: Likewise.
28766         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28767         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28768         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28769         * sysdeps/s390/s390-32/setjmp.S: ... here.
28770         Add versioning.
28771         (__sigsetjmp): Remove setting __flags field.
28772         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28773         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28774         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28775         * sysdeps/s390/s390-64/setjmp.S: ... here.
28776         Add versioning.
28777         (__sigsetjmp): Remove setting __flags field.
28778         * sysdeps/s390/setjmp.S: Delete file.
28779         * sysdeps/s390/sigjmp.c: Likewise.
28780         * sysdeps/s390/v1-longjmp.c: Likewise.
28781         * sysdeps/s390/v1-setjmp.h: Likewise.
28782         * sysdeps/s390/v1-sigjmp.c: Likewise.
28783         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28784         Remove v1-longjmp_chk.
28785         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28786         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28787         Include debug/longjmp_chk.c and add versioning.
28788         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28789         Include nptl/pt-longjmp.c and add versioning.
28790         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28791         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28792         Include __longjmp.c.
28793         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28794         Move to ...
28795         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28796         (__getcontext): Remove setting __flags field.
28797         Add versioning.
28798         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28799         Don't restore upper high grps.
28800         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28801         Likewise.
28802         (__swapcontext): Remove setting uc_flags field.
28803         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28804         Delete file.
28805         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28806         Include __longjmp.c.
28807         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28808         Move to ...
28809         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28810         (__getcontext): Remove setting __flags field.
28811         Add versioning.
28812         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28813         (__swapcontext): Remove setting uc_flags field.
28814         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28816         Remove fields uc_high_gprs and __reserved.
28817         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28818         New file with reverted content.
28819         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28820         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28821         Regenerated.
28822         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28823         Regenerated.
28825 2014-07-31  Andreas Schwab  <schwab@suse.de>
28827         * config.h.in (HAVE_IFUNC): Define to 0.
28828         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28829         definedness.
28831 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28834         memmove-avx-unaligned, memcpy-avx-unaligned and
28835         mempcpy-avx-unaligned.
28836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28837         Add tests for AVX memcpy functions.
28838         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28840         memcpy_chk.
28841         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28842         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28843         memmove_chk.
28844         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28845         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28846         mempcpy_chk.
28847         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28848         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28849         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28851 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28853         [BZ #17213]
28854         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28855         powerpc64le.
28857 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28859         [BZ #16839]
28860         * manual/llio.texi: Add section about open file description locks.
28861         * manual/examples/ofdlocks.c: Example of open file description
28862         lock usage.
28863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28864         F_OFD_SETLK, and F_OFD_SETLKW.
28866 2014-07-23  Allan McRae  <allan@archlinux.org>
28868         * po/es.po: Update Spanish translation from translation project.
28870 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28872         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28874 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28876         [BZ #17078]
28877         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28878         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28879         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28881 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28883         [BZ #17088]
28884         * math/fesetenv.c (__fesetenv)
28885         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28886         * math/feupdateenv.c (__feupdateenv)
28887         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28889         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28890         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28891         (__ASSUME_SOCKETCALL): Do not define.
28893         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28894         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28895         (__ASSUME_SOCKETCALL): Do not define.
28896         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28897         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28898         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28899         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28900         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28901         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28903         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28905         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28906         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28907         (__ASSUME_SOCKETCALL): Do not define.
28908         (__ASSUME_IPC64): Define unconditionally.
28909         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28910         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28911         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28912         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28913         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28914         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28915         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28916         Likewise.
28918         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28919         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28920         (__ASSUME_SOCKETCALL): Do not define.
28921         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28922         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28923         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28924         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28925         (__ASSUME_REQUEUE_PI): Define unconditionally.
28926         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28927         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28928         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28929         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28931         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28933         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28934         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28935         (__ASSUME_SOCKETCALL): Do not define.
28936         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28938         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28939         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28940         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28941         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28943         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28944         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28945         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28946         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28947         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28948         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28949         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28950         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28951         (__ASSUME_GETCPU_SYSCALL): Likewise.
28953         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28954         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28955         cases for individual architectures.
28956         * sysdeps/gnu/configure: Regenerated.
28957         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28958         LIBC_SLIBDIR_RTLDDIR.
28959         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28960         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28961         LIBC_SLIBDIR_RTLDDIR.
28962         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28964         LIBC_SLIBDIR_RTLDDIR.
28965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28966         Regenerated.
28967         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28968         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28969         file.
28970         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28971         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28972         file.
28973         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28974         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28975         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28976         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28978         * sysdeps/aarch64/shlib-versions: Move to ...
28979         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28980         * sysdeps/alpha/shlib-versions: Move to ...
28981         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28982         * sysdeps/arm/shlib-versions: Move to ...
28983         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28984         * sysdeps/hppa/shlib-versions: Move all contents except for
28985         libgcc_s entry to ...
28986         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28987         entry from ...
28988         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28989         * sysdeps/ia64/shlib-versions: Move to ...
28990         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28991         entry from ...
28992         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28993         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28994         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28995         * sysdeps/microblaze/shlib-versions: Move to ...
28996         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28997         * sysdeps/mips/shlib-versions: Move to ...
28998         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28999         entry from ...
29000         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29001         * sysdeps/tile/shlib-versions: Move to ...
29002         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29003         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29004         from ...
29005         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29006         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29007         entry from ...
29008         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29010 2014-07-17  Will Newton  <will.newton@linaro.org>
29012         * sysdeps/arm/bits/atomic.h
29013         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29014         (__arch_compare_and_exchange_bool_16_int): Likewise.
29015         (__arch_compare_and_exchange_bool_64_int): Likewise.
29017         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29018         into an #else block.
29020 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29022         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29023         just Linux configurations.  Test empirically that the compiler sets
29024         __ARM_EABI__, rather than using the tuple to decide.
29025         * sysdeps/arm/preconfigure: Regenerated.
29026         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29027         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29028         contents appended ...
29029         * sysdeps/arm/configure.ac: ... here.
29030         * sysdeps/arm/configure: Regenerated.
29032 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29034         * nptl/pthread_kill.c: New file.
29035         * nptl/pthread_sigmask.c: New file.
29036         * nptl/pthread_sigqueue.c: New file.
29038         * sysdeps/nptl/lowlevellock.h: New file.
29039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29040         * sysdeps/nptl/lowlevellock-futex.h: New file.
29042         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29043         Remove dead declarations.
29045 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29047         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29048         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29049         config-cflags-avx2.
29050         * sysdeps/x86_64/configure.ac: Likewise.
29051         * sysdeps/i386/configure: Regenerated.
29052         * sysdeps/x86_64/configure: Likewise.
29053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29054         memset-avx2 only if config-cflags-avx2 is yes.
29055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29056         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29057         defined.
29058         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29059         only if HAVE_AVX2_SUPPORT is defined.
29060         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29062 2014-07-14  Alan Modra  <amodra@gmail.com>
29064         [BZ #17153]
29065         * elf/elf.h (DT_PPC64_NUM): Correct value.
29066         * NEWS: Add to fixed bug list.
29068 2014-07-13  Jim Meyering  <meyering@fb.com>
29070         [BZ 17150]
29071         regex: don't deref NULL upon heap allocation failure
29072         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29073         failure in one more place.
29074         To trigger the segfault, configure grep -with-included-regex,
29075         build it, and run these commands:
29076         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29078 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29080         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29082 2014-07-11  Richard Henderson  <rth@redhat.com>
29084         * sysdeps/aarch64/libm-test-ulps: Update.
29086 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29088         [BZ #17135]
29089         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29090         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29091         (__nptl_setxid): Initialize error member.  Call
29092         __nptl_setxid_error.
29093         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29094         * nptl/descr.h (struct xid_command): Add error member.
29095         * nptl/tst-setuid3.c: New file.
29096         * nptl/Makefile (tests): Add it.
29098 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29100         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29101         New define.
29102         (__lll_trylock): Use __lll_base_trylock.
29103         (__lll_cond_trylock): Likewise.
29105 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29107         * nptl/pthread_create.c (start_thread): Use atomic_or and
29108         lll_futex_wake directly rather than lll_robust_dead.
29109         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29110         (lll_robust_dead): Macro removed.
29111         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29112         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29113         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29114         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29116         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29117         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29118         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29119         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29120         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29121         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29122         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29123         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29124         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29125         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29127         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29128         Use atomic_compare_and_exchange_val_acq directly rather than
29129         lll_robust_trylock.
29130         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29131         (__lll_robust_trylock, lll_robust_trylock): Removed.
29132         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29133         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29134         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29136         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29137         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29139         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29140         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29141         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29147 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29149         * manual/locale.texi (Locale Names): New section documenting
29150         locale name syntax.  Adjust menu and node chaining accordingly.
29151         (Choosing Locale): Reference Locale Names, Locale Categories.
29152         Mention setting LC_ALL=C.  Reflect that name syntax is now
29153         documented.
29154         (Locale Categories): New section title.  Reference Locale Names.
29155         LC_ALL is an environment variable, but not a category.
29156         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29157         description, now in Locale Name.  Reference that section.  Locale
29158         name syntax is now documented.
29160 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29162         [BZ #17137]
29163         * locale/findlocale.c (name_present, valid_locale_name): New
29164         functions.
29165         (_nl_find_locale): Use the loc_name variable to store name
29166         candidates.  Call name_present and valid_locale_name to check and
29167         validate locale names.  Return an error if the locale is invalid.
29169 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29171         * locale/setlocale.c (setlocale): Use strdup for allocating
29172         composite name copy.
29174 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29176         Sync up with gnulib.
29177         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29178         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29179         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29180         and _GL_ARG_NONNULL.
29181         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29182         [!_LIBC]: Include code for Windows and Cygwin.
29183         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29184         Include prototype for int strerror_r.
29185         [!_LIBC] (is_open): New function.
29186         (flush_stdout): New function.
29187         (print_errno_message): Use it.
29188         (error): Likewise.
29189         (error_at_line): Likewise.
29190         (error_tail) Add function attribute macros.  Use
29191         __builtin_expect.
29193         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29195         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29197         * io/ftw.c: Include sys/param.h unconditionally.
29199         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29201         [BZ #17125]
29202         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29203         libc_freeres_ptr.
29204         (freecache): New function to free CACHE on exit.
29206         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29207         initialization.
29209 2014-07-09  David S. Miller  <davem@davemloft.net>
29211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29213         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29214         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29215         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29216         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29217         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29218         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29219         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29220         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29221         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29222         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29223         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29224         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29225         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29227 2014-07-09  Andreas Schwab  <schwab@suse.de>
29229         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29230         output.
29231         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29232         (do_test): Likewise.
29234         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29236 2014-07-09  Will Newton  <will.newton@linaro.org>
29238         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29239         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29240         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29241         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29242         * sysdeps/hppa/start.S (_start): Likewise.
29244 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29246         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29248         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29249         defined.
29251 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29253         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29254         after checking that it is non-NULL.
29256         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29258 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29260         * sysdeps/powerpc/memmove.c: Remove file.
29261         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29262         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29263         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29264         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29265         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29266         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29267         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29268         string memmove instead of removed powerpc one.
29270         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29271         [weak_alias]: Fix compiler warning due trailing data.
29272         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29273         [weak_alias]: Likewise.
29274         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29275         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29278         (__libc_ifunc_impl_list): Add memmove functions.
29280 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29282         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29283         Remove code.
29284         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29285         Likewise.
29286         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29287         Likewise.
29288         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29289         Likewise.
29290         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29291         Likewise.
29292         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29293         Likewise.
29294         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29295         Likewise.
29296         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29297         Likewise.
29298         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29299         Likewise.
29300         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29301         Likewise.
29302         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29303         Likewise.
29304         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29305         Likewise.
29306         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29307         Likewise.
29308         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29309         Likewise.
29310         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29311         Likewise.
29312         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29313         Likewise.
29314         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29315         Likewise.
29317 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29319         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29320         to avoid alignment traps in non-cacheable memory.
29321         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29324         multiarch objects.
29325         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29326         file: multiarch power7 memmove.
29327         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29328         multiarch default memmove.
29329         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29330         multiarch memove for powerpc32/power4.
29332         * string/bcopy.c: Use full path to include memmove.c.
29333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29334         multiarch objects.
29335         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29336         bcopy for powerpc64.
29337         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29338         bcopy for powerpc64.
29339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29340         and memmove implementations.
29341         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29342         optimized multiarch memmove for POWER7/powerpc64.
29343         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29344         default multiarch memmove for powerpc64.
29345         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29346         multiarch for powerpc64.
29347         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29348         for POWER7/powerpc64.
29349         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29350         memmove for POWER7/powerpc64.
29352         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29353         glibc default one.
29355         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29356         __ELF_NATIVE_CLASS equal to 64.
29358 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29360         * sysdeps/nptl/lowlevellock.h: File removed.
29362         * NEWS: NPTL is no longer an add-on!
29363         * nptl/internaltypes.h: Moved ...
29364         * sysdeps/nptl/internaltypes.h: ... here.
29365         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29366         * sysdeps/nptl/fork.c: Likewise.
29367         * sysdeps/nptl/gai_misc.h: Likewise.
29368         * sysdeps/nptl/librt-cancellation.c: Likewise.
29369         * sysdeps/nptl/jmp-unwind.c: Likewise.
29370         * sysdeps/nptl/setxid.h: Likewise.
29371         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29372         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29373         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29374         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29375         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29376         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29377         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29378         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29379         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29380         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29381         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29382         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29383         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29384         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29385         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29386         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29387         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29388         * nptl/Makeconfig: Moved ...
29389         * sysdeps/nptl/Makeconfig: ... here.
29390         * nptl/configure: File removed.
29391         * nptl/ANNOUNCE: File removed.
29392         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29393         * sysdeps/unix/sysv/linux/configure: Regenerated.
29395         * nptl/Makefile (routines): Add libc_pthread_init,
29396         libc_multiple_threads, register-atfork and unregister-atfork.
29397         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29398         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29399         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29400         pthread-pi-defines.sym, structsem.sym.
29401         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29402         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29403         [$(subdir) = nptl] (tests): Add tst-setgetname.
29404         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29405         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29406         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29407         [!LIBC_SIGACTION]: Remove aliases.
29408         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29409         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29410         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29411         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29412         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29413         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29414         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29416         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29417         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29418         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29419         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29420         __libc_allocate_rtsig_private.
29421         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29422         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29423         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29424         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29425         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29426         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29427         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29428         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29429         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29430         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29431         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29432         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29433         * nptl/internaltypes.h: ... here.
29434         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29435         * sysdeps/nptl/jmp-unwind.c: ... here.
29436         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29437         * nptl/libc-lowlevellock.c: ... here.
29438         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29439         * nptl/libc_multiple_threads.c: ... here.
29440         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29441         * nptl/libc_pthread_init.c: ... here.
29442         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29443         * nptl/lowlevelbarrier.sym: ... here.
29444         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29445         * nptl/lowlevelcond.sym: ... here.
29446         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29447         * nptl/lowlevellock.c: ... here.
29448         * nptl/lowlevellock.h: Moved ...
29449         * sysdeps/nptl/lowlevellock.h: ... here.
29450         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29451         * nptl/lowlevelrobustlock.c: ... here.
29452         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29453         * nptl/lowlevelrobustlock.sym: ... here.
29454         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29455         * nptl/lowlevelrwlock.sym: ... here.
29456         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29457         * nptl/pt-fork.c: ... here.
29458         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29459         * nptl/pthread-pi-defines.sym: ... here.
29460         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29461         * nptl/pthread_attr_getaffinity.c: ... here.
29462         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29463         * nptl/pthread_attr_setaffinity.c: ... here.
29464         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29465         * nptl/pthread_mutex_cond_lock.c: ... here.
29466         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29467         Update #include.
29468         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29469         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29470         * nptl/pthread_once.c: ... here, replacing old file.
29471         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29472         * nptl/pthread_yield.c: ... here.
29473         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29474         * nptl/register-atfork.c: ... here.
29475         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29476         * nptl/sem_post.c: ... here.
29477         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29478         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29479         * nptl/sem_timedwait.c: ... here.
29480         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29481         * nptl/sem_trywait.c: ... here.
29482         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29483         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29484         * nptl/sem_wait.c: ... here.
29485         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29486         * nptl/structsem.sym: ... here.
29487         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29488         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29489         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29490         * nptl/unregister-atfork.c: ... here.
29491         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29492         * nptl/unwindbuf.sym: ... here.
29493         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29494         * sysdeps/nptl/fork.c: ... here.
29495         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29496         * sysdeps/nptl/fork.h: ... here.
29497         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29498         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29499         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29500         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29501         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29502         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29503         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29504         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29505         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29506         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29507         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29508         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29509         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29510         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29511         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29512         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29513         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29514         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29515         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29516         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29517         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29518         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29519         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29520         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29521         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29522         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29523         * sysdeps/unix/sysv/linux/raise.c: ... here.
29524         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29525         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29526         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29527         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29528         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29529         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29530         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29531         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29532         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29533         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29534         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29535         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29536         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29537         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29538         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29540 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29542         * sysdeps/generic/memcopy.h: Add comment for
29543         MEMCPY_OK_FOR_FWD_MEMMOVE.
29545 2014-07-04  Will Newton  <will.newton@linaro.org>
29547         * string/memchr.c: Merge from gnulib.
29548         [_LIBC]: Remove conditionals.
29549         (__ptr_t): Remove define.
29550         (LONG_MAX_32_BITS): Likewise.
29551         (LONG_MAX): Likewise.
29552         (MEMCHR): Use ANSI prototype and optimize algorithm.
29554         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29556 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29558         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29559         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29561         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29562         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29563         in a bare environment with no <stdlib.h> installed.
29564         * sysdeps/nptl/configure: Regenerated.
29566         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29568         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29569         AC_EGREP_CPP for kernel header checks, so they only succeed if
29570         including <linux/version.h> actually works right.
29571         * sysdeps/unix/sysv/linux/configure: Regenerated.
29573         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29574         value so it's not diagnosed as unused.
29576         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29577         thing) with "ifeq ($(subdir),rt)".
29579 2014-07-03  Richard Henderson  <rth@redhat.com>
29581         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29582         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29583         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29585         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29586         (math_force_eval): New.
29588         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29589         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29591         * sysdeps/alpha/fpu/s_round.c: Remove file.
29592         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29594         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29595         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29596         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29597         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29598         (_dl_start, print_statistics): Likewise.
29599         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29600         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29602         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29603         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29604         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29605         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29606         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29607         (HP_SMALL_TIMING_AVAIL): Define.
29608         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29609         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29610         (HP_SMALL_TIMING_AVAIL): Define.
29611         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29612         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29614         * sysdeps/aarch64/hp-timing.h: New file.
29616         * sysdeps/generic/hp-timing.h: Remove dead comment.
29617         * sysdeps/generic/hp-timing-common.h: New file.
29618         * sysdeps/alpha/hp-timing.h: Include it.
29619         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29620         * sysdeps/i386/i686/hp-timing.h: Likewise.
29621         * sysdeps/ia64/hp-timing.h: Likewise.
29622         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29623         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29624         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29625         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29626         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29627         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29628         (hp_timing_t): New.
29630         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29631         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29632         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29633         * elf/rtld.c (_dl_start_final): Likewise.
29634         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29635         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29636         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29637         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29638         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29639         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29640         (HP_TIMING_DIFF_INIT): Remove.
29641         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29642         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29643         (HP_TIMING_DIFF_INIT): Remove.
29644         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29645         * sysdeps/i386/i686/hp-timing.c: Remove file.
29646         * sysdeps/x86_64/hp-timing.c: Remove file.
29647         * sysdeps/ia64/hp-timing.c: Remove file.
29648         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29649         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29650         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29651         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29653         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29654         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29655         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29656         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29658         (HP_TIMING_ACCUM): Remove.
29659         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29661         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29663         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29664         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29665         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29666         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29667         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29668         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29669         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29670         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29672         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29674 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29676         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29678 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29680         Sync up with gettext.
29681         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29682         [_MSC_VER]: Include malloc.h
29683         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29684         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29685         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29686         TEMP_FAILURE_RETRY.  Cast return of alloca.
29687         [!_LIBC] Call gl_rwlock_init.
29688         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29690 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29692         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29693         before checking its value.
29695 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29697         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29699         * debug/memcpy_chk.c: Don't include pagecopy.h.
29700         * debug/mempcpy_chk.c: Likewise.
29701         * string/memcpy.c: Likewise.
29702         * string/memmove.c: Likewise.
29703         * sysdeps/powerpc/memmove.c: Likewise.
29704         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29705         definition of PAGE_COPY_FWD_MAYBE here...
29706         * sysdeps/generic/pagecopy.h: ... from here.
29707         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29709 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29710             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29712         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29714         optimizations.
29715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29716         (__libc_ifunc_impl_list): Likewise.
29717         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29718         multiarch strcat for PPC64.
29719         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29720         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29722 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29724         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29726 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29728         * intl/loadmsgcat.c: Remove declaration of
29729         get_sysdep_segment_value.
29730         (get_sysdep_segment_value): Use ISO C style.
29731         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29732         semicolon.  Fix typo and formatting in comment.
29733         (_nl_unload_domain): Use ISO C style.
29735         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29737 2014-07-02  Will Newton  <will.newton@linaro.org>
29739         * malloc/obstack.c: Merge from gnulib master.
29740         [HAVE_CONFIG_H]: Remove conditional code.
29741         [!_LIBC]: Include config.h.
29742         [!ELIDE_CODE]: Don't include inttypes.h, include
29743         stdint.h unconditionally.
29744         (print_and_abort): Mark as _Noreturn.
29745         (_obstack_allocated_p): Mark as __attribute_pure__.
29746         (obstack_free): Rename to __obstack_free.
29747         [!__attribute__]: Remove conditional code.
29748         * malloc/obstack.h: Merge from gnulib master.
29749         [__cplusplus]: Move conditional down.
29750         [!__attribute_pure__]: Define __attribute_pure__ here
29751         if it is not already defined.
29752         (_obstack_memory_used): Mark as __attribute_pure__.
29753         [!__obstack_free]: Define as obstack_free.
29754         [__GNUC__]: Remove check for ancient NeXT gcc.
29756 2014-07-02  Will Newton  <will.newton@linaro.org>
29757             Paul Eggert  <eggert@cs.ucla.edu>
29759         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29761 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29763         * resolv/gethnamaddr.c: Add comment warning that the file is
29764         not maintained.
29766 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29768         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29769         entries.
29771         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29772         entry for aio_cancel and aio_cancel64.
29773         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29774         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29775         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29776         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29777         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29778         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29779         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29780         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29781         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29782         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29783         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29784         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29785         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29787 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29789         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29790         * nptl/pthread_mutex_lock.c: Likewise.
29791         * nptl/pthread_mutex_timedlock.c: Likewise.
29792         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29794 2014-07-01  Richard henderson  <rth@redhat.com>
29796         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29797         (__isnan, __isnanl): Remove.
29798         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29800         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29802 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29804         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29806 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29808         * resolv/nss_dns/dns-host.c (getanswer_r)
29809         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29811 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29814         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29815         undefine.
29816         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29817         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29819 2014-07-01  Roland McGrath <roland@hack.frob.com>
29821         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29822         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29824         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29825         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29827         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29828         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29829         ... here.
29830         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29831         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29833         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29834         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29835         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29836         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29838         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29839         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29840         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29841         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29842         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29843         Moved ...
29844         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29845         ... here.
29846         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29847         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29848         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29849         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29850         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29851         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29852         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29853         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29854         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29855         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29856         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29857         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29858         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29859         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29860         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29861         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29862         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29863         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29864         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29865         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29866         ... here.
29867         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29868         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29869         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29870         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29871         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29872         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29873         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29874         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29876 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29878         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29879         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29880         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29881         Add sysdep.
29883 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29887 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29889         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29890         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29892         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29894         * sysdeps/arm/libm-test-ulps: Regenerated.
29896 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29897             Roland McGrath <roland@hack.frob.com>
29899         * test-skeleton.c (signal_handler): Kill the whole process group
29900         before killing the child individually.
29901         (main): Report any failure on `setpgid'.
29903 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29905         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29906         from _TLS_H to _ARM_NPTL_TLS_H.
29907         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29908         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29910 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29912         [BZ #16539]
29913         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29914         (__expm1l): Return argument unchanged when small but not
29915         subnormal.
29917         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29918         include macro name.
29919         (_FP_UNPACK_RAW_1_P): Likewise.
29920         (_FP_PACK_RAW_1): Likewise.
29921         (_FP_PACK_RAW_1_P): Likewise.
29922         (_FP_MUL_MEAT_1_wide): Likewise.
29923         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29924         (_FP_MUL_MEAT_1_hard): Likewise.
29925         (_FP_DIV_MEAT_1_imm): Likewise.
29926         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29927         (_FP_DIV_MEAT_1_udiv): Likewise.
29928         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29929         (_FP_UNPACK_RAW_2): Likewise.
29930         (_FP_UNPACK_RAW_2_P): Likewise.
29931         (_FP_PACK_RAW_2): Likewise.
29932         (_FP_PACK_RAW_2_P): Likewise.
29933         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29934         (_FP_MUL_MEAT_2_wide): Likewise.
29935         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29936         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29937         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29938         (_FP_MUL_MEAT_2_gmp): Likewise.
29939         (_FP_DIV_MEAT_2_udiv): Likewise.
29940         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29941         (_FP_FRAC_SRL_4): Likewise.
29942         (_FP_FRAC_SRST_4): Likewise.
29943         (_FP_FRAC_SRS_4): Likewise.
29944         (_FP_UNPACK_RAW_4): Likewise.
29945         (_FP_UNPACK_RAW_4_P): Likewise.
29946         (_FP_PACK_RAW_4): Likewise.
29947         (_FP_PACK_RAW_4_P): Likewise.
29948         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29949         (_FP_MUL_MEAT_4_wide): Likewise.
29950         (_FP_MUL_MEAT_4_gmp): Likewise.
29951         (umul_ppppmnnn): Likewise.
29952         (_FP_DIV_MEAT_4_udiv): Likewise.
29953         (__FP_FRAC_ADD_4): Likewise.
29954         (__FP_FRAC_SUB_3): Likewise.
29955         (__FP_FRAC_SUB_4): Likewise.
29956         (__FP_FRAC_DEC_3): Likewise.
29957         (__FP_FRAC_DEC_4): Likewise.
29958         (__FP_FRAC_ADDI_4): Likewise.
29959         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29960         (_FP_FRAC_SRL_8): Likewise.
29961         (_FP_FRAC_SRS_8): Likewise.
29963         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29964         include macro name.
29965         (FP_UNPACK_RAW_EP): Likewise.
29966         (FP_PACK_RAW_E): Likewise.
29967         (FP_PACK_RAW_EP): Likewise.
29968         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29969         (_FP_ISSIGNAN): Likewise.
29970         (_FP_ADD_INTERNAL): Likewise.
29971         (_FP_FMA): Likewise.
29972         (_FP_CMP): Likewise.
29973         (_FP_SQRT): Likewise.
29974         (_FP_TO_INT): Likewise.
29975         (_FP_FROM_INT): Likewise.
29976         (FP_EXTEND): Likewise.
29977         (_FP_DIV_MEAT_N_loop): Likewise.
29979 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29981         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29982         throughout.
29984 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29986         [BZ #17097]
29987         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29988         result with correct sign in case of exponents that produce
29989         overflow except for X very close to 1.
29991 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29993         mktime: merge #if/#ifdef usage from glibc
29994         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29995         as that works with both Glibc's and Gnulib's style.
29996         See thread starting at Siddhesh Poyarekar's bug report at:
29997         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29999 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30001         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30002         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30003         * sysdeps/tile/tilegx/memmove.c: Remove file.
30005 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30007         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30008         abi-name definition.
30009         * scripts/soversions.awk: Do not handle or generate ABI lines.
30010         * shlib-versions: Remove ABI entries.
30011         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30012         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30014 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30017         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30018         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30019         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30021         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30023         Moved ...
30024         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30025         ... here.
30026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30027         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30029         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30031         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30033         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30035         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30037         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30039         Moved ...
30040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30046         Moved ...
30047         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30049         Moved ...
30050         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30052         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30054         Moved ...
30055         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30057         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30059         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30061         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30063         Moved ...
30064         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30066         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30067         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30068         Moved ...
30069         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30071         Moved ...
30072         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30074         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30076         Moved ...
30077         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30078         ... here.
30079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30080         Identical file removed.
30081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30082         Moved ...
30083         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30085         Identical file removed.
30086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30087         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30089         Moved ...
30090         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30092         Identical file removed.
30093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30094         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30096         Identical file removed.
30097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30098         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30100         Identical file removed.
30101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30102         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30104         Identical file removed.
30105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30106         Moved ...
30107         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30109         Identical file removed.
30110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30111         Moved ...
30112         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30114         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30116         Identical file removed.
30117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30118         Moved ...
30119         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30120         ... here.
30121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30122         Identical file removed.
30123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30124         Moved ...
30125         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30127         Identical file removed.
30128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30129         Moved ...
30130         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30132         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30134         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30136         Moved ...
30137         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30138         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30139         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30141         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30142         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30143         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30144         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30145         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30147 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30149         [BZ #17092]
30150         * nscd/nscd.c (monitor_child): Return exit status of child
30151         instead of return value from wait syscall.
30153 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30155         * configure.ac (libc_commonpagesize): Remove variable.
30156         (libc_relro_required): Likewise.
30157         (libc_cv_z_relro): Remove configure test.
30158         * configure: Regenerated.
30159         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30160         variable.
30161         (libc_relro_required): Likewise.
30162         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30163         (libc_relro_required): Likewise.
30164         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30165         (libc_relro_required): Likewise.
30166         * sysdeps/arm/preconfigure: Regenerated.
30167         * sysdeps/ia64/preconfigure: Remove file.
30168         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30169         variable.
30170         (libc_relro_required): Likewise.
30172         [BZ #16561]
30173         [BZ #16562]
30174         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30175         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30176         recompute overflowing results in original rounding mode.
30177         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30178         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30179         recompute overflowing results in original rounding mode.
30180         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30181         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30182         recompute overflowing results in original rounding mode.
30183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30184         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30185         recompute overflowing results in original rounding mode.
30186         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30187         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30188         recompute overflowing results in original rounding mode.
30189         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30190         (libc_feholdsetround_ctx): New macro.
30191         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30192         * sysdeps/i386/fpu/libm-test-ulps: Update.
30193         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30195 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30197         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30198         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30199         corresponding .cpsetup call.
30201 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30203         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30204         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30205         * sysdeps/arm/Makefile [$(subdir) = csu]
30206         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30207         (static-only-routines): Add aeabi_read_tp here.
30208         (shared-only-routines): Add libc-aeabi_read_tp here.
30209         (CFLAGS-libc-start.c): Add -fexceptions here.
30210         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30211         (sysdep_routines, static-only-routines, shared-only-routines):
30212         Don't add to these here.
30213         (CFLAGS-libc-start.c): Likewise.
30215         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30216         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30217         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30218         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30219         * sysdeps/arm/Makefile [$(subdir) = rt]
30220         (librt-sysdep_routines, librt-shared-only-routines):
30221         Append rt-aeabi_unwind_cpp_pr1 here.
30222         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30223         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30224         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30225         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30226         Append nptl-aeabi_unwind_cpp_pr1 here.
30227         (tests): Filter out tst-cleanupx4 here.
30228         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30229         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30230         Don't do those here.
30232 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30234         * scripts/list-sources.sh: Do not handle ports specially.
30236 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30238         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30239         * sysdeps/arm/feupdateenv.c: Likewise.
30241         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30243 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30245         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30246         trailing whitespace removed.
30247         * scripts/config.guess: Update to version 2014-03-23.
30248         * scripts/config.sub: Update to version 2014-05-01
30249         * scripts/install-sh: Update to version 2013-12-25.23.
30250         * scripts/move-if-change: Update from gnulib.
30252 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30254         * debug/memmove_chk.c: Remove pagecopy.h include.
30256 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30258         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30259         identical to gnulib mktime.
30261 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30263         * configure.ac: Do not test for machine being rs6000.  Do not test
30264         for powerpc*-*soft.
30265         * configure: Regenerated.
30267         [BZ #11505]
30268         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30269         test.
30270         * configure: Regenerated.
30271         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30272         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30273         Remove configure test.
30274         * sysdeps/arm/configure: Regenerated.
30275         * sysdeps/nptl/configure.ac: Do not check
30276         libc_cv_asm_cfi_directives.
30277         * sysdeps/nptl/configure: Regenerated.
30278         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30279         * sysdeps/x86_64/nptl/configure: Remove generated file.
30280         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30281         unconditional.
30282         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30284 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30286         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30287         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30288         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30289         it is defined.
30291         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30292         instead of whether it is defined.
30293         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30294         * sysdeps/hppa/dl-machine.h: Likewise.
30295         * sysdeps/ia64/dl-machine.h: Likewise.
30296         * sysdeps/m68k/dl-machine.h: Likewise.
30297         * sysdeps/microblaze/dl-machine.h: Likewise.
30298         * sysdeps/mips/dl-machine.: Likewise.
30299         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30300         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30301         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30303         * sysdeps/sh/dl-machine.h: Likewise.
30304         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30305         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30306         * sysdeps/tile/dl-machine.h: Likewise.
30307         * sysdeps/x86_64/dl-machine.h: Likewise.
30309         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30310         code.
30311         (verify_persistent_db): Likewise.
30313 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30316         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30318         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30320         Moved ...
30321         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30322         ... here.
30323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30324         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30326         Identical file removed.
30327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30328         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30332         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30336         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30338         Moved ...
30339         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30341         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30343         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30345         Moved ...
30346         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30348         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30350         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30352         Identical file removed.
30353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30354         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30356         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30358         Moved ...
30359         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30360         ... here.
30361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30364         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30366         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30370         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30372         Moved ...
30373         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30375         Moved ...
30376         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30378         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30380         Moved ...
30381         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30383         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30385         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30386         folded into ...
30387         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30388         * sysdeps/unix/sysv/linux/s390/Versions
30389         (libpthread: GLIBC_2.19): New version set.
30390         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30391         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30392         (librt: GLIBC_2.3.3): New version set.
30393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30394         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30395         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30396         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30397         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30398         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30399         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30400         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30401         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30402         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30403         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30404         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30405         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30406         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30407         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30408         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30409         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30410         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30411         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30412         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30413         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30415         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30417         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30418         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30419         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30420         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30421         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30422         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30423         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30433         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30435         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30437         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30439         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30440         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30441         (__libc_vfork): Define the function under this name.
30442         [!NOT_IN_libc] (__vfork): Make this an alias.
30443         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30445         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30446         (__libc_vfork): Define the function under this name.
30447         [!NOT_IN_libc] (__vfork): Make this an alias.
30448         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30449         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30450         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30453         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30455         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30456         code that was previously under [RESET_PID].
30457         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30461         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30462         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30464         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30465         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30466         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30467         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30468         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30469         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30470         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30471         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30472         Moved ...
30473         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30474         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30475         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30476         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30477         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30478         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30479         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30480         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30481         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30482         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30484         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30485         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30486         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30487         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30488         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30489         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30490         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30491         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30492         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30493         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30494         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30495         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30496         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30497         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30498         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30499         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30501         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30503 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30505         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30506         that was previously under [RESET_PID].
30507         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30509 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30511         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30512         not undefine and redefine.
30513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30514         [O_CLOEXEC]: Make code unconditional.
30515         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30516         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30517         <kernel-features.h>.
30518         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30519         conditional variable definition.
30520         (shm_open) [O_CLOEXEC]: Make code unconditional.
30521         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30522         code.
30524         * configure.ac (USE_REGPARMS): Don't define here.
30525         * configure: Regenerated.
30526         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30527         * sysdeps/i386/configure: Regenerated.
30529         * nptl/createthread.c: Don't include kernel-features.h.
30530         * nptl/pthread_cancel.c: Likewise.
30531         * nptl/pthread_condattr_setclock.c: Likewise.
30532         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30533         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30534         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30535         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30536         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30537         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30538         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30541         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30542         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30543         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30544         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30545         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30546         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30547         * nscd/gai.c: Likewise.
30548         * nss/nss_db/db-open.c: Likewise.
30549         * sysdeps/generic/ldsodefs.h: Likewise.
30550         * sysdeps/sh/nptl/tls.h: Likewise.
30551         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30552         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30553         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30554         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30555         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30556         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30557         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30558         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30560         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30561         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30562         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30563         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30564         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30565         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30566         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30567         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30568         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30569         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30570         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30573         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30574         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30579         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30580         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30581         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30582         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30583         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30584         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30585         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30586         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30587         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30588         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30589         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30590         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30591         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30592         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30593         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30594         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30595         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30596         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30597         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30598         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30599         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30600         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30601         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30602         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30603         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30604         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30605         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30606         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30607         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30608         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30631         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30632         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30633         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30634         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30635         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30636         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30637         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30638         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30639         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30640         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30641         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30642         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30643         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30644         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30645         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30646         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30647         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30648         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30649         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30650         * sysdeps/unix/sysv/linux/system.c: Likewise.
30651         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30652         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30653         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30654         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30655         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30657         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30659         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30660         * configure: Regenerated.
30661         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30663         * configure.ac (base_machine): Do not set specially for particular
30664         machines here.
30665         * configure: Regenerated.
30666         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30667         settings from configure.ac.
30668         * sysdeps/i386/preconfigure: New file.
30669         * sysdeps/s390/preconfigure: Likewise.
30670         * sysdeps/sh/preconfigure: Likewise.
30671         * sysdeps/sparc/preconfigure: Likewise.
30673 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30675         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30676         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30677         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30678         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30679         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30680         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30681         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30682         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30683         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30684         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30685         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30686         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30687         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30688         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30689         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30692         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30693         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30695         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30696         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30697         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30698         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30699         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30700         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30701         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30702         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30703         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30704         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30705         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30706         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30707         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30708         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30709         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30710         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30711         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30712         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30713         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30714         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30716         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30719         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30720         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30722         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30723         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30726         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30727         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30728         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30729         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30730         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30731         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30732         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30735         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30737         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30739         Moved ...
30740         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30741         ... here.
30742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30743         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30745         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30747         Moved ...
30748         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30750         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30752         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30754         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30756         Moved ...
30757         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30759         Moved ...
30760         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30762         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30764         Moved ...
30765         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30767         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30769         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30771         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30773         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30775         Moved ...
30776         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30777         ... here.
30778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30779         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30781         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30783         Moved ...
30784         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30786         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30788         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30790         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30792         Moved ...
30793         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30795         Moved ...
30796         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30798         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30800         Moved ...
30801         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30803         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30805         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30807 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30809         * timezone/checktab.awk: Update from tzcode 2014e.
30810         * timezone/private.h: Likewise.
30811         * timezone/tzfile.h: Likewise.
30812         * timezone/zdump.c: Likewise.
30813         * timezone/zic.c: Likewise.
30815         * sysdeps/unix/sysv/linux/kernel-features.h
30816         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30817         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30818         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30819         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30820         Remove conditional code.
30822 2014-06-25  Will Newton  <will.newton@linaro.org>
30824         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30825         (_dl_arm_cap_flags): Add HWCAP2 values.
30826         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30827         (_DL_HWCAP_COUNT): Increase to 37.
30828         (_DL_HWCAP_LAST): New define.
30829         (_DL_HWCAP2_LAST): New define.
30830         (_dl_procinfo): Add support for printing
30831         AT_HWCAP2 entries.
30832         (_dl_string_hwcap): Use _dl_hwcap_string.
30834 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30838 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30840         * README: Do not mention ports directory.
30842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30843         Remove macro.
30844         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30845         <kernel-features.h>.
30846         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30847         conditional variable definition.
30848         (__futimes): Update comment.
30849         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30850         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30852         [BZ #16560]
30853         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30854         arguments close to 0.
30855         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30856         Likewise.
30857         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30858         Likewise.
30859         * math/auto-libm-test-in: Add more tests of exp10.
30860         * math/auto-libm-test-out: Regenerated.
30861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30863         * sysdeps/unix/sysv/linux/kernel-features.h
30864         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30865         * sysdeps/unix/sysv/linux/readv.c: Do not include
30866         <kernel-features.h>.
30867         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30868         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30869         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30870         unconditional.
30871         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30872         conditional code.
30873         * sysdeps/unix/sysv/linux/writev.c: Do not include
30874         <kernel-features.h>.
30875         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30876         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30877         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30878         unconditional.
30879         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30880         conditional code.
30882 2014-06-25  Will Newton  <will.newton@linaro.org>
30884         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30885         comment changes throughout the file.  Remove checks
30886         for HAVE_*_H definitions that are not required.
30887         (__gen_tempname): Call abort if an unknown kind value is
30888         passed.
30890 2014-06-25  Andreas Schwab  <schwab@suse.de>
30892         [BZ #17086]
30893         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30894         scalbln, scalblnf, scalblnl in libc.
30896 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30898         [BZ #17086]
30899         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30900         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30901         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30903 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30905         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30906         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30907         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30908         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30909         Update #include.
30910         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30911         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30912         Update #include.
30913         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30914         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30915         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30916         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30917         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30918         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30919         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30920         * sysdeps/x86/bits/semaphore.h: ... here.
30921         * sysdeps/x86/nptl/elide.h: Moved ...
30922         * sysdeps/x86/elide.h: ... here.
30923         * sysdeps/x86_64/nptl/Implies: File removed.
30924         * sysdeps/i386/nptl/Implies: File removed.
30926 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30928         [BZ #16539]
30929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30930         return the argument for normal arguments with exponent below -64.
30931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30932         Likewise.
30933         * math/auto-libm-test-in: Add another test of expm1.
30934         * math/auto-libm-test-out: Regenerated.
30936         [BZ #16287]
30937         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30938         calling __erfcl for arguments at least 16.
30939         * math/auto-libm-test-in: Add more tests of erf.
30940         * math/auto-libm-test-out: Regenerated.
30942         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30943         individual architectures.
30944         * sysdeps/unix/sysv/linux/configure: Regenerated.
30945         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30946         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30947         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30948         (ldd_rewrite_script): Define variable.
30949         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30951         file.
30952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30953         generated file.
30954         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30955         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30956         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30957         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30958         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30959         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30960         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30961         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30963 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30965         [BZ #17084]
30966         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30967         Rename member __data.d to __data.__elision_data.
30969 2014-06-24  Wilco  <wdijkstr@arm.com>
30971         * NEWS: Add 16918 to fixed bug list.
30973 2014-06-24  Wilco  <wdijkstr@arm.com>
30975         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30977 2014-06-24  Wilco  <wdijkstr@arm.com>
30979         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30980         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30981         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30982         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30983         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30984         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30985         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30986         Use _FPU_MASK_RM.
30988 2014-06-24  Wilco  <wdijkstr@arm.com>
30990         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30992 2014-06-24  Wilco  <wdijkstr@arm.com>
30994         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30995         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30996         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30997         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30999 2014-06-24  Wilco  <wdijkstr@arm.com>
31001         [BZ #16918]
31002         * sysdeps/arm/feupdateenv.c (feupdateenv):
31003         Rewrite to reduce FPSCR accesses and fix return value.
31005 2014-06-24  Wilco  <wdijkstr@arm.com>
31007         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31008         Optimize to avoid unnecessary FPSCR writes.
31009         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31010         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31011         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31012         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31014 2014-06-24  Wilco  <wdijkstr@arm.com>
31016         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31017         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31018         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31019         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31020         Call libc_fetestexcept_vfp.
31021         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31022         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31023         __SOFTFP__ ifdef so that they can be built for softfp.
31025 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31027         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31028         argument type signed char.
31030         * Makerules (check-abi): Dump diff of symlist if the test
31031         fails.
31033 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31035         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31036         using abort.
31038         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31039         Remove unused variable ST.
31041 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31043         [BZ #16354]
31044         [BZ #17061]
31045         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31046         small arguments before calling __expm1.
31047         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31048         small arguments before calling __expm1f.
31049         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31050         small arguments before calling __expm1l.
31051         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31052         Likewise.
31053         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31054         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31055         spurious underflow for some cosh tests.
31056         * math/auto-libm-test-out: Regenerated.
31057         * sysdeps/i386/fpu/libm-test-ulps: Update.
31059         [BZ #17050]
31060         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31061         (__ieee754_y1): Set errno if return value overflows.
31062         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31063         (__ieee754_y1f): Set errno if return value overflows.
31064         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31065         (__ieee754_y1l): Set errno if return value overflows.
31066         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31067         (__ieee754_y1l): Set errno if return value overflows.
31068         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31069         * math/auto-libm-test-out: Regenerated.
31071         * math/gen-auto-libm-tests.c: Document use of
31072         ignore-zero-inf-sign.
31073         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31074         (input_flags): Add ignore-zero-inf-sign.
31075         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31076         * math/gen-libm-test.pl (generate_testfile): Handle
31077         ignore-zero-inf-sign.
31078         * math/auto-libm-test-in: Mark some cpow tests with
31079         ignore-zero-inf-sign and some with xfail-rounding.
31080         * math/auto-libm-test-out: Regenerated.
31081         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31082         * sysdeps/i386/fpu/libm-test-ulps: Update.
31083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31085         [BZ #16315]
31086         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31087         overflowing or underflowing operations take place with sign of
31088         result.
31089         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31090         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31091         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31092         (__ieee754_pow): Recompute overflowing and underflowing results in
31093         original rounding mode.
31094         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31095         (__powl_helper): Allow negative argument X and scale negated value
31096         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31097         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31098         overflowing or underflowing operations take place with sign of
31099         result.
31100         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31101         Include <math.h>.
31102         * math/auto-libm-test-in: Add more tests of pow.
31103         * math/auto-libm-test-out: Regenerated.
31104         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31105         (pow_tonearest_test_data): Remove.
31106         (pow_test_tonearest): Likewise.
31107         (pow_towardzero_test_data): Likewise.
31108         (pow_test_towardzero): Likewise.
31109         (pow_downward_test_data): Likewise.
31110         (pow_test_downward): Likewise.
31111         (pow_upward_test_data): Likewise.
31112         (pow_test_upward): Likewise.
31113         (main): Don't call removed functions.
31114         * sysdeps/i386/fpu/libm-test-ulps: Update.
31115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31117 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31120         Moved ...
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31123         Moved ...
31124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31126         Moved ...
31127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31129         Moved ...
31130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31132         File removed.
31133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31134         File removed.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31136         File removed.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31138         File removed.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31140         File removed.
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31142         File removed.
31143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31144         File removed.
31145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31146         File removed.
31147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31148         File removed.
31149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31150         File removed.
31151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31152         File removed.
31153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31154         File removed.
31155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31156         Moved ...
31157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31159         Moved ...
31160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31161         ... here.
31162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31163         Moved ...
31164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31166         Moved ...
31167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31169         Moved ...
31170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31172         Moved ...
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31175         Moved ...
31176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31178         Moved ...
31179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31181         Moved ...
31182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31185         ... here.
31186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31187         Moved ...
31188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31190         Moved ...
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31192         ... here.
31193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31194         Moved ...
31195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31196         ... here.
31197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31198         Moved ...
31199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31200         ... here.
31201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31202         Moved ...
31203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31205         Moved ...
31206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31210         Moved ...
31211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31212         ... here.
31213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31214         Moved ...
31215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31216         ... here.
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31218         Moved ...
31219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31221         Moved ...
31222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31224         Moved ...
31225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31227         Moved ...
31228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31230         Moved ...
31231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31232         ... here.
31233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31234         Moved ...
31235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31237         Moved ...
31238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31240         Moved ...
31241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31243         Moved ...
31244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31248         Moved ...
31249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31251         Moved ...
31252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31254         Moved ...
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31256         ... here.
31257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31258         Moved ...
31259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31260         ... here.
31261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31262         Moved ...
31263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31264         ... here.
31265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31266         Moved ...
31267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31269         Moved ...
31270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31272         Moved ...
31273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31275         Moved ...
31276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31277         ... here.
31278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31279         Moved ...
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31281         ... here.
31282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31283         Moved ...
31284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31285         ... here.
31286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31287         Moved ...
31288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31290         Moved ...
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31293 2014-06-23  Will Newton  <will.newton@linaro.org>
31294             Wilco  <wdijkstr@arm.com>
31296         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31297         implementation.  Include get-rounding-mode.h.
31298         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31299         [!libc_feholdsetround_noex_ctx]: Define
31300         libc_feholdsetround_noex_ctx.
31301         [!libc_feholdsetround_noexf_ctx]: Define
31302         libc_feholdsetround_noexf_ctx.
31303         [!libc_feholdsetround_noexl_ctx]: Define
31304         libc_feholdsetround_noexl_ctx.
31305         (libc_feholdsetround_ctx): New function.
31306         (libc_feresetround_ctx): New function.
31307         (libc_feholdsetround_noex_ctx): New function.
31308         (libc_feresetround_noex_ctx): New function.
31310 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31312         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31313         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31314         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31315         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31316         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31317         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31319         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31320         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31321         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31322         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31323         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31324         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31326         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31328         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31330         Moved ...
31331         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31332         ... here.
31333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31334         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31336         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31338         Moved ...
31339         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31341         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31343         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31345         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31347         Moved ...
31348         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31350         Moved ...
31351         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31353         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31355         Moved ...
31356         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31358         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31359         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31360         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31361         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31362         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31364         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31366         Moved ...
31367         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31368         ... here.
31369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31370         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31372         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31374         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31376         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31380         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31382         Moved ...
31383         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31385         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31387         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31389         Moved ...
31390         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31392         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31393         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31394         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31396         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31397         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31398         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31399         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31400         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31401         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31402         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31403         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31405         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31406         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31407         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31409         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31410         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31411         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31412         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31413         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31414         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31415         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31416         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31417         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31419         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31421         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31422         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31423         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31425 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31428         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31429         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31430         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31431         (IPV6_PMTUDISC_INTERFACE): Likewise.
31432         (IPV6_PMTUDISC_OMIT): Likewise.
31434 2014-06-23  Andreas Schwab  <schwab@suse.de>
31436         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31437         Remove unused errout label.
31439 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31441         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31442         macro: hardware supports Vector Crypto instructions.
31444 2014-06-23  Will Newton  <will.newton@linaro.org>
31446         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31447         rather than __builtin_expect.
31449         * elf/dl-lookup.c (undefined_msg): Remove variable.
31450         (_dl_lookup_symbol_x): Replace undefined_msg with string
31451         literal.
31453         * elf/dl-lookup.c (do_lookup_unique): New function.
31454         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31455         to a separate function.
31457 2014-06-23  Andreas Schwab  <schwab@suse.de>
31459         [BZ #17079]
31460         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31461         before reading the next line.
31463 2014-06-23  Will Newton  <will.newton@linaro.org>
31465         * test-skeleton.c (signal_handler): Use printf and %m
31466         rather than perror.  Use printf rather than fprintf to
31467         stderr.  Use puts rather than fputs to stderr.
31468         (main): Likewise.
31470 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31472         * nscd/nscd.c (thread_info_t): Remove typedef.
31473         (thread_info): Remove variable.
31475 2014-06-21  Allan McRae  <allan@archlinux.org>
31477         * NEWS: Mention CVE-2014-4043.
31479 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31481         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31482         * nptl/smp.h: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31486         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31487         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31488         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31489         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31491         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31492         * nptl/stack-aliasing.h: New file.
31493         * sysdeps/i386/i686/stack-aliasing.h: New file.
31494         * sysdeps/i386/i686/nptl/Makefile: File removed.
31495         * sysdeps/x86_64/stack-aliasing.h: New file.
31496         * sysdeps/x86_64/nptl/Makefile
31497         (CFLAGS-pthread_create.c): Variable removed.
31499         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31500         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31501         old file.
31502         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31503         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31504         old file.
31506 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31508         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31509         (__ASSUME_SIGFRAME_V2): Remove macro.
31510         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31511         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31512         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31513         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31514         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31515         Declare as function.  Remove conditional macro definitions.
31516         (__default_rt_sa_restorer): Likewise.
31517         (__default_sa_restorer_v1): Remove declaration.
31518         (__default_sa_restorer_v2): Likewise.
31519         (__default_rt_sa_restorer_v1): Likewise.
31520         (__default_rt_sa_restorer_v2): Likewise.
31521         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31522         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31523         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31525 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31527         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31528         (libpthread-routines): Add sysdep.
31529         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31530         * sysdeps/unix/sysv/linux/sparc/Versions
31531         (libpthread: GLIBC_2.3.3): New version set.
31532         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31533         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31534         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31535         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31536         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31537         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31538         Moved ...
31539         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31540         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31541         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31542         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31543         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31544         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31545         * sysdeps/sparc/nptl/sem_init.c: ... here.
31546         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31547         * sysdeps/sparc/nptl/sem_post.c: ... here.
31548         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31549         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31550         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31551         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31552         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31553         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31554         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31555         (libpthread-routines): Add cpu_relax.
31556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31557         File removed.
31558         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31559         (librt: GLIBC_2.3.3): New version set.
31560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31561         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31562         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31563         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31566         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31568         Moved ...
31569         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31571         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31573         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31575         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31577         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31579         Moved ...
31580         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31581         Update #include.
31582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31583         Moved ...
31584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31585         Update #include.
31586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31587         Moved ...
31588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31589         Update #include.
31590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31591         Moved ...
31592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31593         Update #include.
31594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31595         Moved ...
31596         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31597         Update #include.
31598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31599         Moved ...
31600         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31601         Update #include.
31602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31603         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31609         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31613         Moved ...
31614         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31616         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31618         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31620 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31622         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31623         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31624         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31625         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31626         * nscd/nscd.c: Likewise.
31627         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31628         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31629         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31630         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31632         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31633         <kernel-features.h>.
31634         (init_mq_netlink): Remove conditional have_sock_cloexec
31635         definitions.  Remove code conditional on have_sock_cloexec < 0.
31636         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31637         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31638         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31639         <kernel-features.h>.
31640         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31641         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31643 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31646         Add tests for memset_chk and memset.
31648         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31649         with AVX2_Usable.
31651 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31653         [BZ #16046]
31654         * elf/tst-dl-iter-static.c: New file.
31655         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31657         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31658         error.
31660 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31662         * sysdeps/unix/sysv/linux/kernel-features.h
31663         (__ASSUME_F_GETOWN_EX): Remove macro.
31664         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31665         <kernel-features.h>.
31666         (miss_F_GETOWN_EX): Remove variable or macro.
31667         (do_fcntl): Do not check miss_F_GETOWN_EX.
31668         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31671         Remove macro.
31672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31673         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31674         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31676         * sysdeps/unix/sysv/linux/kernel-features.h
31677         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31678         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31679         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31680         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31682 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31684         [BZ #17075]
31685         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31686         Fix calculation of the symbol's value.
31687         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31688         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31689         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31690         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31691         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31692         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31693         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31694         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31695         (modules-names): Add `tst-armtlsdescmod',
31696         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31697         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31698         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31699         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31700         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31701         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31702         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31703         ($(objpfx)tst-armtlsdescloc): New dependency.
31704         ($(objpfx)tst-armtlsdescextnow): Likewise.
31705         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31706         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31707         TLS scheme support.
31708         * sysdeps/arm/configure: Regenerate.
31710 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31712         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31713         (__atfct_seterrno_2): Likewise.
31714         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31715         <kernel-features.h>.
31716         (__ASSUME_ATFCTS): Do not undefine and redefine.
31717         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31718         (__have_atfcts): Remove conditional definition.
31719         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31720         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31721         unreachable if [__ASSUME_ATFCTS].
31722         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31723         not undefine and redefine.
31724         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31725         <kernel-features.h>.
31726         (faccessat) [__NR_faccessat]: Make code unconditional.
31727         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31728         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31729         <kernel-features.h>.
31730         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31731         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31732         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31733         <kernel-features.h>.
31734         (fchownat) [__NR_fchownat]: Make code unconditional.
31735         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31736         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31737         <kernel-features.h>.
31738         (futimesat) [__NR_futimesat]: Make code unconditional.
31739         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31740         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31741         <kernel-features.h>.
31742         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31743         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31744         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31745         <kernel-features.h>.
31746         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31748         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31749         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31750         <kernel-features.h>.
31751         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31752         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31753         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31754         <kernel-features.h>.
31755         (linkat) [__NR_linkat]: Make code unconditional.
31756         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31757         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31758         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31759         <kernel-features.h>.
31760         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31761         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31762         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31763         <kernel-features.h>.
31764         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31765         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31766         * sysdeps/unix/sysv/linux/openat.c: Do not include
31767         <kernel-features.h>.
31768         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31769         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31770         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31771         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31772         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31773         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31774         <kernel-features.h>.
31775         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31776         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31777         result of INLINE_SYSCALL directly, not via int variable.
31778         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31779         <kernel-features.h>.
31780         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31781         (renameat) [__NR_renameat]: Make code unconditional.
31782         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31783         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31784         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31785         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31786         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31787         (__ASSUME_ATFCTS): Do not undefine and redefine.
31788         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31789         <kernel-features.h>.
31790         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31791         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31792         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31793         <kernel-features.h>.
31794         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31795         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31796         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31797         (__ASSUME_ATFCTS): Do not undefine and redefine.
31798         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31799         <kernel-features.h>.
31800         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31801         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31802         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31803         <kernel-features.h>.
31804         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31805         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31807 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31809         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31811 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31813         [BZ #17069]
31814         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31815         constructed tree before returning error.
31816         * posix/bug-regexp36.c: Expand test case.
31818 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31820         [BZ #6803]
31821         * math/libm-test.inc (scalbln_test_date):
31822         Add errno expectations.
31823         * math/w_scalblnf.c: New File.
31824         Add wrapper which checks for setting errno to ERANGE.
31825         Add weak_alias for corresponding scalbln function.
31826         * math/w_scalbln.c: Likewise.
31827         * math/w_scalblnl.c: Likewise.
31828         * math/Makefile (libm-calls): Add w_scalbln.
31829         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31830         Remove weak_alias for corresponding scalbln function.
31831         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31832         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31833         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31834         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31835         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31836         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31837         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31838         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31839         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31840         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31841         Remove long_double_symbol for scalblnl function in libm, libc.
31842         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31843         Add wrapper which checks for setting errno to ERANGE.
31844         Add long_double_symbol for scalblnl function in libm, libc.
31845         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31846         Remove long_double_symbol for scalblnl in libm.
31847         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31848         Add wrapper which checks for setting errno to ERANGE.
31849         Add long_double_symbol for scalblnl function in libm.
31850         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31851         Do not use wrapper because of own implementation.
31853 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31855         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31856         3 bytes for __pad1 for x32.
31857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31859 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31860             H.J. Lu  <hongjiu.lu@intel.com>
31862         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31863         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31866         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31868 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31870         [BZ #17069]
31871         * posix/regcomp.c (parse_expression): Deallocate partially
31872         constructed tree before returning error.
31873         * posix/Makefile.c (tests): Add bug-regex36.
31874         (generated): Add bug-regex36.mtrace.
31875         (tests-special): Add $(objpfx)bug-regex36-mem.out
31876         (bug-regex36-ENV): New variable.
31877         ($(objpfx)bug-regex36-mem.out): New rule.
31878         * posix/bug-regex36.c: New file.
31880 2014-06-19  Will Newton  <will.newton@linaro.org>
31882         * malloc/malloc.c (systrim): If extra is zero then return
31883         early.
31885 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31887         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31889 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31891         * sysdeps/aarch64/strchr.S: New file.
31893 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31895         [BZ #17022]
31896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31897         from arguments -2 or below.
31898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31899         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31901 2014-06-18  Andreas Schwab  <schwab@suse.de>
31903         [BZ #17062]
31904         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31905         of a bracket expr not to run off the end of the string.
31906         * posix/Makefile (tests): Add tst-fnmatch3.
31907         * posix/tst-fnmatch3.c: New file.
31909 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31911         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31912         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31913         [$(cross-compiling) = no]: Likewise.
31914         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31915         [$(cross-compiling) = no]: Likewise.
31917 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31919         [BZ #17031]
31920         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31921         double, adjusted for any remainder from the high double.
31922         * math/libm-test.inc (nearbyint): Add tests.
31923         (rint): Likewise.
31925 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31927         * nptl/sysdeps/powerpc/Makefile: Moved ...
31928         * sysdeps/powerpc/nptl/Makefile: ... here.
31929         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31930         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31931         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31932         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31933         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31934         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31935         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31936         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31937         * nptl/sysdeps/powerpc/tls.h: Moved ...
31938         * sysdeps/powerpc/nptl/tls.h: ... here.
31940 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31942         [BZ #16681]
31943         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31944         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31945         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31946         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31947         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31948         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31949         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31950         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31951         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31953 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31955         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31957 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31959         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31960         defined operator.
31962         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31963         $TIMEOUTFACTOR.
31965 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31967         [BZ #17058]
31968         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31969         non-executed part of the test.
31971 2014-06-16  Andreas Schwab  <schwab@suse.de>
31973         * string/bits/string2.h (strdup, strndup): Update feature guard.
31975 2014-06-14  David S. Miller  <davem@davemloft.net>
31977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31979 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31981         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31982         that was previously under [RESET_PID].
31983         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31985         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31986         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31987         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31988         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31989         (__libc_vfork): New strong alias.
31990         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31992 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31994         * sysdeps/generic/elide.h: New file.
31996 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31998         * Makefile (installed-headers): Adjust path of pthread.h header.
32000 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32002         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32003         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32004         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32005         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32007         * nptl/sysdeps/s390/Makefile: Moved ...
32008         * sysdeps/s390/nptl/Makefile: ... here.
32009         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32010         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32011         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32012         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32013         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32014         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32015         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32016         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32017         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32018         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32019         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32020         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32021         * nptl/sysdeps/s390/tls.h: Moved ...
32022         * sysdeps/s390/nptl/tls.h: ... here.
32024         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32025         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32027 2014-06-13  David S. Miller  <davem@davemloft.net>
32029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32032         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32036         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32037         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32038         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32039         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32040         Remove RESET_PID cpp guards.
32041         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32042         Remove RESET_PID cpp guards.
32043         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32045 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32047         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32048         __sp to uintptr_t.
32050 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32054         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32055         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32057         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32058         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32063         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32066         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32073         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32074         (pthread_rwlock_rdlock): Add elision.
32075         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32076         (pthread_rwlock_wrlock): Add elision.
32077         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32078         (pthread_rwlock_trywrlock): Add elision.
32079         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32080         (pthread_rwlock_tryrdlock): Add elision.
32081         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32082         (pthread_rwlock_tryrdlock): Add elision unlock.
32083         * nptl/sysdeps/pthread/pthread.h:
32084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32085         (PTHREAD_RWLOCK_INITIALIZER,
32086         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32087         Handle new elision field.
32088         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32089         * sysdeps/arm/nptl/bits/pthreadtypes.h
32090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32091         * sysdeps/sh/nptl/bits/pthreadtypes.h
32092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32093         * sysdeps/tile/nptl/bits/pthreadtypes.h
32094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32095         * sysdeps/a/nptl/bits/pthreadtypes.h
32096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32097         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32099         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32101         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32103         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32105         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32107         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32109         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32111         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32113         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32114         (elision_init): Set try_xbegin to zero when no RTM.
32115         * sysdeps/x86/nptl/bits/pthreadtypes.h
32116         (pthread_rwlock_t): Change __pad1 to __rwelision.
32117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32119 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32121         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32122         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32123         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32124         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32126 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32128         [BZ #16996]
32129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32130         that the cached result has been set before returning it.
32132 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32134         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32135         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32137         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32138         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32139         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32141         * nptl/sysdeps/sparc/Makefile: Moved ...
32142         * sysdeps/sparc/nptl/Makefile: ... here.
32143         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32144         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32145         * nptl/sysdeps/sparc/tls.h: Moved ...
32146         * sysdeps/sparc/nptl/tls.h: ... here.
32147         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32148         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32149         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32150         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32151         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32152         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32153         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32154         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32155         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32156         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32157         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32158         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32159         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32160         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32161         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32162         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32163         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32165         Update #include.
32166         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32168         Update #include.
32169         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32170         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32171         Update #include.
32172         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32173         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32174         Update #include.
32176         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32178         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32179         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32181         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32182         (struct list_links): Type removed.
32183         (struct thread_node, struct timer_node): Replace struct list_links
32184         with struct list_head.
32185         (list_unlink_ip): Likewise.
32186         * sysdeps/pthread/timer_routines.c
32187         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32188         (list_append, list_insbefore): Likewise.
32189         (list_init): Function removed.
32190         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32191         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32192         * sysdeps/pthread/Makefile: ... here, new file.
32194         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32195         * sysdeps/nptl/Implies: ... here.
32196         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32197         * nptl/sysdeps/pthread/list.h: Moved ...
32198         * include/list.h: ... here.
32199         * nptl/sysdeps/pthread/createthread.c: Moved ...
32200         * nptl/createthread.c: ... here.
32201         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32202         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32203         * nptl/pt-longjmp.c: ... here.
32204         * nptl/sysdeps/pthread/Makefile: Moved ...
32205         * sysdeps/nptl/Makefile: ... here.
32206         * nptl/sysdeps/pthread/Subdirs: Moved ...
32207         * sysdeps/nptl/Subdirs: ... here.
32208         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32209         * sysdeps/nptl/aio_misc.h: ... here.
32210         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32211         * sysdeps/nptl/bits/libc-lock.h: ... here.
32212         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32213         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32214         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32215         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32216         * nptl/sysdeps/pthread/configure: Moved ...
32217         * sysdeps/nptl/configure: ... here.
32218         * nptl/sysdeps/pthread/configure.ac: Moved ...
32219         * sysdeps/nptl/configure.ac: ... here.
32220         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32221         * sysdeps/nptl/gai_misc.h: ... here.
32222         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32223         * sysdeps/nptl/librt-cancellation.c: ... here.
32224         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32225         * sysdeps/nptl/malloc-machine.h: ... here.
32226         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32227         * sysdeps/nptl/pthread-functions.h: ... here.
32228         * nptl/sysdeps/pthread/pthread.h: Moved ...
32229         * sysdeps/nptl/pthread.h: ... here.
32230         * nptl/sysdeps/pthread/setxid.h: Moved ...
32231         * sysdeps/nptl/setxid.h: ... here.
32232         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32233         * sysdeps/nptl/sigfillset.c: ... here.
32234         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32235         * sysdeps/nptl/tcb-offsets.h: ... here.
32236         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32237         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32238         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32239         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32240         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32241         * sysdeps/pthread/allocalim.h: ... here.
32242         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32243         * sysdeps/pthread/bits/sigthread.h: ... here.
32244         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32245         * sysdeps/pthread/flockfile.c: ... here.
32246         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32247         * sysdeps/pthread/ftrylockfile.c: ... here.
32248         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32249         * sysdeps/pthread/funlockfile.c: ... here.
32250         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32251         * sysdeps/pthread/posix-timer.h: ... here.
32252         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32253         * sysdeps/pthread/timer_create.c: ... here.
32254         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32255         * sysdeps/pthread/timer_delete.c: ... here.
32256         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32257         * sysdeps/pthread/timer_getoverr.c: ... here.
32258         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32259         * sysdeps/pthread/timer_gettime.c: ... here.
32260         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32261         * sysdeps/pthread/timer_routines.c: ... here.
32262         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32263         * sysdeps/pthread/timer_settime.c: ... here.
32264         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32265         * sysdeps/pthread/tst-timer.c: ... here.
32266         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32267         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32269         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32270         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32272         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32273         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32274         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32275         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32276         Update #include target.
32277         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32278         * sysdeps/i386/i686/nptl/Makefile: ... here.
32279         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32280         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32281         Update #include target.
32282         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32283         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32284         * nptl/sysdeps/i386/Makefile: Moved ...
32285         * sysdeps/i386/nptl/Makefile: ... here.
32286         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32287         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32288         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32289         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32290         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32291         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32292         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32293         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32294         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32295         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32296         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32297         * nptl/sysdeps/i386/tls.h: Moved ...
32298         * sysdeps/i386/nptl/tls.h: ... here.
32300         * sysdeps/sh/Makefile [$(subdir) = csu]
32301         (gen-as-const-headers): Add tcb-offsets.sym.
32302         * nptl/sysdeps/sh/Makefile: File removed.
32303         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32304         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32305         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32306         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32307         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32308         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32309         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32310         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32311         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32312         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32313         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32314         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32315         * nptl/sysdeps/sh/tls.h: Moved ...
32316         * sysdeps/sh/nptl/tls.h: ... here.
32317         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32318         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32319         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32320         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32321         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32322         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32323         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32324         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32325         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32326         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32328         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32330         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32332         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32334         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32336         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32338         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32342         Moved ...
32343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32345         Moved ...
32346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32348         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32351         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32352         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32353         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32354         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32355         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32356         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32357         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32358         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32359         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32360         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32361         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32362         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32363         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32364         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32366 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32368         * posix/spawn_faction_addopen.c: Include string.h.
32370 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32372         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32373         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32374         * nptl/sysdeps/x86_64/Makefile: Moved ...
32375         * sysdeps/x86_64/nptl/Makefile: ... here.
32376         * nptl/sysdeps/x86_64/configure: Moved ...
32377         * sysdeps/x86_64/nptl/configure: ... here.
32378         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32379         * sysdeps/x86_64/nptl/configure.ac: ... here.
32380         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32381         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32382         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32383         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32384         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32385         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32386         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32387         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32388         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32389         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32390         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32391         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32392         * nptl/sysdeps/x86_64/tls.h: Moved ...
32393         * sysdeps/x86_64/nptl/tls.h: ... here.
32394         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32395         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32396         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32397         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32399         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32401 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32405 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32407         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32408         type.
32409         [POSIX] (off_t): Likewise.
32410         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32411         [POSIX] (S_ISBLK): Require macro.
32412         [POSIX] (S_ISCHR): Likewise.
32413         [POSIX] (S_ISDIR): Likewise.
32414         [POSIX] (S_ISFIFO): Likewise.
32415         [POSIX] (S_ISREG): Likewise.
32416         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32417         optional-macro.
32418         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32419         type.
32420         [POSIX] (time_t): Likewise.
32421         [POSIX] (timer_t): Likewise.
32423 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32425         [BZ #17048]
32426         * posix/spawn_int.h (struct __spawn_action): Make the path string
32427         non-const to support deallocation.
32428         * posix/spawn_faction_addopen.c
32429         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32430         * posix/spawn_faction_destroy.c
32431         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32432         path in all spawn_do_open actions.
32433         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32434         posix_spawn_file_actions_addopen.
32436 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32438         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32439         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32440         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32441         conditional code always true.
32442         (__libc_vfork): New alias.
32444 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32446         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32447         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32449         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32451         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32452         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32454         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32455         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32457         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32458         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32460 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32462         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32463         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32464         multiarch strcmp for PPC64.
32465         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32466         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32468         multiarch optimizations.
32469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32470         (__libc_ifunc_impl_list): Likewise.
32472 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32474         * benchtests/scripts/validate_benchout.py: New script.
32475         * benchtests/Makefile (bench-func): Call it.
32476         * benchtests/scripts/benchout.schema.json: New file.
32478 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32480         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32481         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32482         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32483         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32484         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32485         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32486         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32487         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32488         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32489         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32490         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32491         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32492         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32493         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32494         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32495         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32497         Moved ...
32498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32499         ... here.
32500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32501         Moved ...
32502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32504         Moved ...
32505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32506         ... here.
32507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32508         Moved ...
32509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32510         ... here.
32511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32512         Moved ...
32513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32515         Moved ...
32516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32517         ... here.
32518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32519         Moved ...
32520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32521         ... here.
32522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32523         Moved ...
32524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32526         Moved ...
32527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32528         ... here.
32529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32530         Moved ...
32531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32532         ... here.
32533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32534         Moved ...
32535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32536         ... here.
32537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32538         Moved ...
32539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32541         Moved ...
32542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32543         ... here.
32544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32545         Moved ...
32546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32547         ... here.
32548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32549         Moved ...
32550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32551         ... here.
32552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32553         Moved ...
32554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32556         Moved ...
32557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32558         ... here.
32559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32560         Moved ...
32561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32562         ... here.
32563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32564         Moved ...
32565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32567         Moved ...
32568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32569         ... here.
32570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32571         Moved ...
32572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32574         Moved ...
32575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32577         Moved ...
32578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32579         ... here.
32580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32581         Moved ...
32582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32583         ... here.
32584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32585         Moved ...
32586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32587         ... here.
32588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32589         Moved ...
32590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32592         Moved ...
32593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32594         ... here.
32595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32596         Moved ...
32597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32598         ... here.
32599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32600         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32604         Moved ...
32605         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32606         ... here.
32607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32608         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32610         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32612         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32614         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32618         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32620         Moved ...
32621         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32623         Moved ...
32624         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32626         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32628         Moved ...
32629         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32631         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32632         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32633         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32634         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32635         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32637 2014-06-10  Wilco  <wdijkstr@arm.com>
32639         * math/test-fenv-return.c: New file.
32640         * math/Makefile: Add new test test-fenv-return.
32642 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32644         [BZ #17042]
32645         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32646         when x - 1 is zero.
32647         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32648         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32649         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32650         0.0L for an argument of 1.0L.
32651         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32652         Likewise.
32653         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32654         value when x - 1 is zero.
32655         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32656         * sysdeps/i386/fpu/libm-test-ulps: Update.
32657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32659 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32661         [BZ #15119]
32662         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32664 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32666         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32667         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32669 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32671         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32672         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32674         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32675         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32677         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32678         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32680         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32681         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32683         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32684         if not already defined.
32685         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32686         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32687         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32688         (TLS_INIT_TP): Use it.
32689         (TLS_DEFINE_INIT_TP): New macro.
32690         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32692 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32694         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32695         constant.
32696         [POSIX] (IXANY): Likewise.
32697         [POSIX] (OLCUC): Likewise.
32698         [POSIX || POSIX2008] (CBAUD): Do not allow.
32699         [POSIX || POSIX2008] (DEFECHO): Likewise.
32700         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32701         [POSIX || POSIX2008] (ECHOKE): Likewise.
32702         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32703         [POSIX || POSIX2008] (EXTA): Likewise.
32704         [POSIX || POSIX2008] (EXTB): Likewise.
32705         [POSIX || POSIX2008] (FLUSHO): Likewise.
32706         [POSIX || POSIX2008] (LOBLK): Likewise.
32707         [POSIX || POSIX2008] (PENDIN): Likewise.
32708         [POSIX || POSIX2008] (SWTCH): Likewise.
32709         [POSIX || POSIX2008] (VDISCARD): Likewise.
32710         [POSIX || POSIX2008] (VDSUSP): Likewise.
32711         [POSIX || POSIX2008] (VLNEXT): Likewise.
32712         [POSIX || POSIX2008] (VREPRINT): Likewise.
32713         [POSIX || POSIX2008] (VSTATUS): Likewise.
32714         [POSIX || POSIX2008] (VWERASE): Likewise.
32715         (B*): Change to B[0123456789]*.
32716         * conform/data/time.h-data [POSIX || UNIX98]
32717         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32718         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32719         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32720         [POSIX] (tm_*): Do not allow.
32722 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32724         * Makefile (install): Don't set LANGUAGE.
32725         * Makefile.in (install): Likewise.
32726         * assert/Makefile (test-assert-ENV): Remove variable.
32727         (test-assert-perr-ENV): Likewise.
32728         * elf/Makefile (neededtest4-ENV): Likewise.
32729         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32730         [$(cross-compiling) = no]: Don't set LANGUAGE.
32731         * io/ftwtest-sh (LANG): Remove variable.
32732         * libio/Makefile (tst-widetext-ENV): Likewise.
32733         * manual/install.texi (Running make install): Don't refer to
32734         environment settings for make install.
32735         * INSTALL: Regenerated.
32736         * nptl/tst-tls6.sh: Don't set LANG.
32737         * posix/globtest.sh (LANG): Remove variable.
32738         * string/Makefile (tester-ENV): Likewise.
32739         (inl-tester-ENV): Likewise.
32740         (noinl-tester-ENV): Likewise.
32741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32742         [$(cross-compiling) = no]: Don't set LANGUAGE.
32743         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32744         without explicit environment settings.
32746 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32748         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32749         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32750         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32751         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32753 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32755         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32756         other files in the crypt directory.
32757         * crypt/crypt.c: Remove duplicate includes.
32758         * crypt/crypt-entry.c: Likewise.
32759         * crypt/crypt_util.c: Likewise.
32761 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32763         * Makeconfig (run-program-env): New variable.
32764         (run-program-prefix-before-env): Likewise.
32765         (run-program-prefix-after-env): Likewise.
32766         (run-program-prefix): Define in terms of new variables.
32767         (built-program-cmd-before-env): New variable.
32768         (built-program-cmd-after-env): Likewise.
32769         (built-program-cmd): Define in terms of new variables.
32770         (test-program-prefix-before-env): New variable.
32771         (test-program-prefix-after-env): Likewise.
32772         (test-program-prefix): Define in terms of new variables.
32773         (test-program-cmd-before-env): New variable.
32774         (test-program-cmd-after-env): Likewise.
32775         (test-program-cmd): Define in terms of new variables.
32776         * Rules (make-test-out): Use $(run-program-env).
32777         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32778         (help): Do not mention environment variables.  Mention
32779         --timeoutfactor option.
32780         (timeoutfactor): New variable.
32781         (blacklist_exports): Remove function.
32782         (exports): Remove variable.
32783         (command): Do not include ${exports}.
32784         * manual/install.texi (Configuring and compiling): Do not mention
32785         test wrappers preserving environment variables.  Mention that last
32786         assignment to a variable must take precedence.
32787         * INSTALL: Regenerated.
32788         * benchtests/Makefile (run-bench): Use $(run-program-env).
32789         * catgets/Makefile ($(objpfx)test1.cat): Use
32790         $(built-program-cmd-before-env), $(run-program-env) and
32791         $(built-program-cmd-after-env).
32792         ($(objpfx)test2.cat): Do not specify environment variables
32793         explicitly.
32794         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32795         $(run-program-env) and $(built-program-cmd-after-env).
32796         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32797         $(run-program-env) and $(test-program-cmd-after-env).
32798         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32799         explicitly.
32800         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32801         run_program_env and test_program_cmd_after_env arguments.
32802         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32803         * elf/tst-pathopt.sh: Use run_program_env argument.
32804         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32805         $(test-wrapper-env) and $(run-program-env).
32806         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32807         run_program_env arguments.
32808         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32809         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32810         $(test-program-prefix-before-env), $(run-program-env) and
32811         $(test-program-prefix-after-env).
32812         ($(objpfx)tst-gettext2.out): Likewise.
32813         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32814         run_program_env and test_program_prefix_after_env arguments.
32815         * intl/tst-gettext2.sh: Likewise.
32816         * intl/tst-gettext4.sh: Do not set environment variables
32817         explicitly.
32818         * intl/tst-gettext6.sh: Likewise.
32819         * intl/tst-translit.sh: Likewise.
32820         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32821         $(test-program-prefix-before-env), $(run-program-env) and
32822         $(test-program-prefix-after-env).
32823         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32824         run_program_env and test_program_prefix_after_env arguments.
32825         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32826         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32827         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32828         explicitly with each use of ${test_wrapper_env}.
32829         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32830         $(test-program-prefix-before-env), $(run-program-env) and
32831         $(test-program-prefix-after-env).
32832         * posix/tst-getconf.sh: Do not set environment variables
32833         explicitly.
32834         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32835         run_program_env and test_program_prefix_after_env arguments.
32836         * stdio-common/tst-printf.sh: Do not set environment variables
32837         explicitly.
32838         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32839         $(test-program-prefix-before-env), $(run-program-env) and
32840         $(test-program-prefix-after-env).
32841         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32842         run_program_env and test_program_prefix_after_env arguments.
32843         Split $test calls into $test_pre and $test.
32844         * timezone/Makefile (build-testdata): Use
32845         $(built-program-cmd-before-env), $(run-program-env) and
32846         $(built-program-cmd-after-env).
32848 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32850         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32851         strlen for non SHARED builds.
32853 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32855         * nptl/allocatestack.c (check_list): Inlined function...
32856         (__reclaim_stacks): ... here.
32858 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32860         [BZ #15698]
32861         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32862         memory overrun.
32864 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32866         * Rules (make-test-out): Include
32867         LOCPATH=$(common-objpfx)localedata in default environment.
32868         * debug/Makefile (tst-chk1-ENV): Remove variable.
32869         (tst-chk2-ENV): Likewise.
32870         (tst-chk3-ENV): Likewise.
32871         (tst-chk4-ENV): Likewise.
32872         (tst-chk5-ENV): Likewise.
32873         (tst-chk6-ENV): Likewise.
32874         (tst-lfschk1-ENV): Likewise.
32875         (tst-lfschk2-ENV): Likewise.
32876         (tst-lfschk3-ENV): Likewise.
32877         (tst-lfschk4-ENV): Likewise.
32878         (tst-lfschk5-ENV): Likewise.
32879         (tst-lfschk6-ENV): Likewise.
32880         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32881         (tst-iconv7-ENV): Likewise.
32882         * intl/Makefile (LOCPATH-ENV): Likewise.
32883         (tst-codeset-ENV): Likewise.
32884         (tst-gettext3-ENV): Likewise.
32885         (tst-gettext5-ENV): Likewise.
32886         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32887         (tst-fopenloc-ENV): Likewise.
32888         (tst-fgetws-ENV): Remove variable.
32889         (tst-ungetwc1-ENV): Likewise.
32890         (tst-ungetwc2-ENV): Likewise.
32891         (bug-ungetwc2-ENV): Likewise.
32892         (tst-swscanf-ENV): Likewise.
32893         (bug-ftell-ENV): Likewise.
32894         (tst-fgetwc-ENV): Likewise.
32895         (tst-fseek-ENV): Likewise.
32896         (tst-ftell-partial-wide-ENV): Likewise.
32897         (tst-ftell-active-handler-ENV): Likewise.
32898         (tst-ftell-append-ENV): Likewise.
32899         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32900         (tst-regexloc-ENV): Likewise.
32901         (bug-regex1-ENV): Likewise.
32902         (tst-regex-ENV): Likewise.
32903         (tst-regex2-ENV): Likewise.
32904         (bug-regex5-ENV): Likewise.
32905         (bug-regex6-ENV): Likewise.
32906         (bug-regex17-ENV): Likewise.
32907         (bug-regex18-ENV): Likewise.
32908         (bug-regex19-ENV): Likewise.
32909         (bug-regex20-ENV): Likewise.
32910         (bug-regex22-ENV): Likewise.
32911         (bug-regex23-ENV): Likewise.
32912         (bug-regex25-ENV): Likewise.
32913         (bug-regex26-ENV): Likewise.
32914         (bug-regex30-ENV): Likewise.
32915         (bug-regex32-ENV): Likewise.
32916         (bug-regex33-ENV): Likewise.
32917         (bug-regex34-ENV): Likewise.
32918         (bug-regex35-ENV): Likewise.
32919         (tst-rxspencer-ENV): Likewise.
32920         (tst-rxspencer-no-utf8-ENV): Likewise.
32921         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32922         (tst-sscanf-ENV): Likewise.
32923         (tst-swprintf-ENV): Likewise.
32924         (tst-swscanf-ENV): Likewise.
32925         (test-vfprintf-ENV): Likewise.
32926         (scanf13-ENV): Likewise.
32927         (bug14-ENV): Likewise.
32928         (tst-grouping-ENV): Likewise.
32929         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32930         (tst-strtod3-ENV): Likewise.
32931         (tst-strtod4-ENV): Likewise.
32932         (tst-strtod5-ENV): Likewise.
32933         (testmb2-ENV): Likewise./
32934         * string/Makefile (tst-strxfrm-ENV): Likewise.
32935         (tst-strxfrm2-ENV): Likewise.
32936         (bug-strcoll1-ENV): Likewise.
32937         (test-strcasecmp-ENV): Likewise.
32938         (test-strncasecmp-ENV): Likewise.
32939         * time/Makefile (tst-strptime-ENV): Likewise.
32940         (tst-ftime_l-ENV): Likewise.
32941         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32942         (tst-mbrtowc-ENV): Likewise.
32943         (tst-wcrtomb-ENV): Likewise.
32944         (tst-mbrtowc2-ENV): Likewise.
32945         (tst-c16c32-1-ENV): Likewise.
32946         (tst-mbsnrtowcs-ENV): Likewise.
32948 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32950         * manual/resource.texi (How to get information about the memory
32951         subsystem?): Fix typo.
32952         Reported by Peon de la Parra Ivan <peon@keba.com>
32954 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32956         [BZ #16882]
32957         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32958         (pthread_spin_lock): Branch out of spin loop to proper location.
32959         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32960         (pthread_spin_lock): Likewise.
32962         * nptl/tst-spin4.c: New test.
32963         * nptl/Makefile (tests): Add tst-spin4.
32965 2014-06-03  Andreas Schwab  <schwab@suse.de>
32967         [BZ #15946]
32968         * resolv/res_send.c (send_dg): Reload file descriptor after
32969         calling reopen.
32971 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32973         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32975 2014-06-03  Richard Henderson  <rth@redhat.com>
32977         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32978         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32979         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32980         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32981         in the SAVE_PID block.
32982         (__libc_vfork): New alias.
32983         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32985         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32986         child in registers, not on the stack.  Remove RESET_PID conditionals.
32987         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32989 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32991         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32993 2014-06-03  Wilco  <wdijkstr@arm.com>
32995         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32996         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32997         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32998         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32999         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33000         Likewise.
33002 2014-06-03  Wilco  <wdijkstr@arm.com>
33004         * sysdeps/aarch64/fpu/math_private.h
33005         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33006         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33007         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33008         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33009         Fix declarations.
33011 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33013         * crypt/crypt-private.h: Include ufc-crypt.h.
33014         (__b64_from_24bit): Declare extern.
33015         * crypt/crypt_util.c(__b64_from_24bit): New function.
33016         (b64t): New static const variable.
33017         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33018         (b64t): Remove variable.
33019         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33020         * crypt/sha256-crypt.c: Include crypt-private.h.
33021         (b64t): Remove variable.
33022         (__sha256_crypt_r): Remove b64_from_24bit and replace
33023         with __b64_from_24bit.
33024         * crypt/sha512-crypt.c: Likewise.
33026 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33028         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33029         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33030         Label the code __libc_vfork rather than __vfork.
33031         [!NOT_IN_libc] (vfork): Define as weak alias.
33032         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33033         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33034         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33036 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33038         * malloc/malloc.c (malloc_info): Fix format specifier for
33039         n_mmaps.
33041 2014-06-02  Wilco  <wdijkstr@arm.com>
33043         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33044         FPCR write.
33046 2014-06-02  Wilco  <wdijkstr@arm.com>
33048         [BZ #17009]
33049         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33050         Rewrite to reduce FPCR/FPSR accesses.
33052 2014-06-01  David S. Miller  <davem@davemloft.net>
33054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33056 2014-05-31  David S. Miller  <davem@davemloft.net>
33058         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33059         to occur in round to nearest mode when |x| >= 2.0
33061 2014-05-30  Richard Henderson  <rth@twiddle.net>
33063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33064         (PSEUDO_RET_NOERRNO): Remove.
33065         (ret): Don't redefine.
33066         (ret_NOERRNO): Define in terms of ret.
33067         (ret_ERRVAL): Likewise.
33069         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33070         use of PSEUDO_RET; perform the error check directly.
33072 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33074         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33075         with __int128_t.
33077 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33079         * malloc/malloc (malloc_info): Fix formatting.
33081 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33082             Roland McGrath  <roland@hack.frob.com>
33084         * malloc/malloc (malloc_info): Also print mmapped statistics.
33086 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33088         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33089         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33091 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33093         * malloc/malloc.c (malloc_info): Inline mi_arena.
33095 2014-05-29  Richard Henderson  <rth@twiddle.net>
33097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33098         Remove comma before expanding ASM_ARGS_##nr.
33099         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33100         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33101         of ASM_ARGS_##nr.
33102         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33103         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33104         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33105         (ASM_ARGS_1): Add leading comma.
33107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33108         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33109         to __errno_location.
33110         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33111         Remove the expected plt for __errno_location.
33113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33114         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33115         call to __read_tp.
33117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33118         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33119         it and break it down.
33120         (DOCARGS_0, DOCARGS_1): Do nothing.
33121         (DOCARGS_2): Update to store into the new stack frame.
33122         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33123         (UNDOCARGS_1): Update to restore from the new stack frame.
33124         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33125         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33128         (SINGLE_THREAD_P): New parameter for result regno.
33129         (PSEUDO): Update to match; use cbz instead of beq.
33131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33132         Use ENTRY to define the _nocancel entry point.  Share the syscall
33133         and syscall error check paths with the cancel path.
33134         (PSEUDO_END): New.
33136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33137         whitespace; tabs before and after asm mnemonics.
33139 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33141         [BZ #15132]
33142         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33143         Call fstat64 or stat64 internally, depending on arguments passed.
33144         Replace stat buffer argument with file descriptor argument.
33145         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33146         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33147         Pass fd to __internal_statvfs instead of calling fstat64.
33148         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33149         Pass fd to __internal_statvfs64 instead of calling fstat64.
33150         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33151         Pass -1 to __internal_statvfs instead of calling stat64.
33152         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33153         Pass -1 to __internal_statvfs64 instead of calling stat64.
33155 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33157         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33158         that was previously under [RESET_PID].
33159         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33161         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33162         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33164 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33166         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33168         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33169         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33171 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33173         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33175 2014-05-27  Andreas Schwab  <schwab@suse.de>
33177         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33178         TLS_INIT_TP macro.
33179         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33180         * elf/rtld.c (init_tls, dl_main): Likewise.
33181         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33182         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33183         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33184         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33185         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33186         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33187         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33188         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33189         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33190         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33191         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33192         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33193         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33194         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33195         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33196         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33197         * sysdeps/generic/tls.h: Update description.
33199 2014-05-27  Will Newton  <will.newton@linaro.org>
33201         [BZ #16990]
33202         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33203         and restore r2 rather than just restoring.
33205 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33207         [BZ #16724]
33208         * libio/tst-ftell-append.c: New test case.
33209         * libio/Makefile (tests): Add test case.
33210         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33211         append mode.
33212         * libio/wfileops.c (do_ftell_wide): Likewise.
33214 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33218         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33219         ...
33220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33222         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33223         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33225         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33226         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33229         Moved ...
33230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33232         Moved ...
33233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33234         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33235         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33236         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33237         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33238         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33239         ...
33240         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33241         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33242         Moved ...
33243         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33244         here.
33245         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33246         ...
33247         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33248         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33249         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33251         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33252         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33253         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33254         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33257         merge into ...
33258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33260         ...
33261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33263         ...
33264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33266         Moved ...
33267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33268         here.
33269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33270         Moved ...
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33273         Moved ...
33274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33277         conditional [RESET_PID].
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33280         removed.
33281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33282         removed.
33284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33285         <tcb-offsets.h>.
33286         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33287         (__libc_vfork): New strong alias.
33288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33289         removed.
33290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33291         Removed.
33293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33294         <tcb-offsets.h>.
33295         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33296         (__libc_vfork): New strong alias.
33297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33298         removed.
33299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33300         removed.
33302 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33304         * malloc/malloc.c (mi_arena): New function.
33305         (malloc_info): Remove nested function mi_arena. Call non-nosted
33306         function mi_arena.
33308 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33310         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33311         by insrwi.
33312         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33313         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33314         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33315         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33316         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33317         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33318         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33320 2014-05-26  Andreas Schwab  <schwab@suse.de>
33322         [BZ #16984]
33323         * locale/programs/repertoire.c (repertoire_read): Add slash
33324         between I18NPATH element and file name.
33325         * locale/programs/locfile.c (locfile_read): Likewise.
33327 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33329         * nptl/pthread_mutexattr_settype.c
33330         (__pthread_mutexattr_settype):
33331         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33333 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33335         * nptl/tst-mutex5 (do_test):
33336         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33340         * benchtests/README: Document 'init' directive.
33341         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33342         BENCH_INIT.
33343         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33344         (parse_file): Recognize 'init' directive.
33346 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33348         [BZ #16796]
33349         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33350         alignment of struct pthread.
33352 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33354         [BZ #16878]
33355         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33356         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33357         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33358         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33360 2014-05-25  Richard Henderson  <rth@twiddle.net>
33362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33363         (SINGLE_THREAD_P_PIC): Remove.
33364         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33365         (SINGLE_THREAD_P_PIC): Remove.
33367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33368         branch to syscall error ...
33369         (PSEUDO): ... here.
33370         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33371         from __local_syscall_error to .Lsyscall_error.
33372         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33373         (SYSCALL_ERROR): Update label name.
33375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33376         Do not use DOARGS/UNDOARGS.
33377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33378         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33379         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33380         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33381         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33384         block comment.
33386         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33387         define if !NOT_IN_libc.
33388         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33389         define with non-default symbol versions.
33391 2014-05-23  Richard Henderson  <rth@twiddle.net>
33393         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33394         (vfork, __vfork): Define via compat_symbol.
33396         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33397         [!HAVE_IFUNC] (vfork_compat): Remove.
33398         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33400 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33402         [BZ #16978]
33403         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33404         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33405         variable.
33407 2014-05-23  Richard Henderson  <rth@twiddle.net>
33409         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33410         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33411         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33412         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33414         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33415         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33416         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33417         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33418         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33419         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33420         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33421         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33422         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33423         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33424         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33425         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33426         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33427         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33428         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33429         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33430         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33431         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33432         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33433         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33434         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33435         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33436         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33437         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33438         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33439         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33440         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33441         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33442         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33443         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33444         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33445         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33446         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33447         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33448         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33449         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33450         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33451         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33452         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33453         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33454         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33455         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33456         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33457         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33458         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33459         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33461         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33463         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33464         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33465         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33466         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33467         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33469         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33471         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33472         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33473         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33474         before exiting on error.
33475         (__libc_vfork): New strong alias.
33476         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33477         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33479         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33480         that was previously under [RESET_PID].
33481         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33483         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33485 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33487         [BZ #16977]
33488         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33489         value when x - 1 is zero.
33490         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33491         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33492         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33493         0.0L for an argument of 1.0L.
33494         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33495         Likewise.
33496         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33497         value when x - 1 is zero.
33498         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33499         * sysdeps/i386/fpu/libm-test-ulps: Update.
33500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33502 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33504         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33505         alphasort and versionsort.
33507 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33509         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33510         macro.
33511         [copysignf]: Likewise.
33513 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33515         * crypt/md5-crypt.c: Fix formatting.
33517 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33519         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33520         (b64_from_24bit): New function.
33522 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33524         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33525         libc_hidden_builtin_def to ifunc.
33526         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33527         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33529 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33531         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33532         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33534 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33536         * nscd/Depend (linuxthreads): Remove.
33537         (nptl): Add.
33538         * resolv/Depend (linuxthreads): Remove.
33539         * rt/Depend (linuxthreads): Remove.
33541         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33542         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33543         $(common-objpfx)elf/.
33544         (link-libc-before-gnulib): Likewise.
33545         (elfobjdir): Remove variable.
33546         * Makefile (install): Use $(elf-objpfx) instead of
33547         $(common-objpfx)elf/.
33548         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33549         $(elfobjdir)/.
33550         (link-libc-deps): Likewise.
33551         ($(common-objpfx)libc.so): Likewise.
33552         ($(common-objpfx)linkobj/libc.so): Likewise.
33553         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33554         instead of $(common-objpfx)elf/.
33555         (symbolic-link-list): Likewise.
33556         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33557         [$(cross-compiling) = no]: Likewise.
33558         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33559         $(elfobjdir)/.
33560         (static-gnulib-arch): Likewise.
33561         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33562         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33563         $(common-objpfx)elf/.
33565 2014-05-21  Richard Henderson  <rth@redhat.com>
33567         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33568         (SINGLE_THREAD_P): Use the correct width load.  Fold
33569         into the ldr offset.
33571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33572         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33574 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33576         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33577         (libgcc_s_resume): Use __attribute_used__.
33578         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33579         Likewise.
33581 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33583         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33584         optimization when used with float constants.
33586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33588 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33590         [BZ #16915]
33591         * locale/nl_langinfo_l.c: Make direct reference to every
33592         _nl_current_CATEGORY symbol.
33593         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33594         (tests-static): Add tst-langinfo-static.
33595         (tests-special): Add tst-langinfo-static.out.
33596         ($(objpfx)tst-langinfo.out): Redirect output.
33597         ($(objpfx)tst-langinfo-static.out): New.
33598         * localedata/tst-langinfo.sh: Send output to stdout.
33599         * localedata/tst-langinfo-static.c: New file.
33601         [BZ #16965]
33602         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33603         when the shift amount is modulo the limb size.
33605 2014-05-20  Richard Henderson  <rth@redhat.com>
33607         [BZ #16967]
33608         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33609         Change type of sa_flags from unsigned int to int.
33611         [BZ #16966]
33612         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33614         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33616 2014-05-20  Will Newton  <will.newton@linaro.org>
33618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33619         Test the return value of the system call in the nocancel case.
33621 2014-05-20  Will Newton  <will.newton@linaro.org>
33622             Yvan Roux  <yvan.roux@linaro.org>
33624         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33625         #include of asm/ptrace.h.
33626         (PTRACE_GET_THREAD_AREA): Remove #undef.
33627         (PTRACE_GETHBPREGS): Likewise.
33628         (PTRACE_SETHBPREGS): Likewise.
33629         (struct user_regs_struct): New structure.
33630         (struct user_fpsimd_struct): New structure.
33631         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33632         #include of asm/ptrace.h and second #include of sys/user.h.
33633         (PTRACE_GET_THREAD_AREA): Remove #undef.
33634         (PTRACE_GETHBPREGS): Likewise.
33635         (PTRACE_SETHBPREGS): Likewise.
33636         (ELF_NGREG): Use new struct user_regs_struct.
33637         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33639 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33641         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33642         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33644 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33646         [BZ #16958]
33647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33648         membar to avoid block loads/stores to overlap previous stores.
33650 2014-05-17  Richard Henderson  <rth@redhat.com>
33652         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33653         Create the __##syscall_name##_nocancel entry point.
33654         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33655         Remove; let the sysdep-cancel.h code create it.
33657 2014-05-17  David S. Miller  <davem@davemloft.net>
33659         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33660         Protect with __USE_GNU.
33661         (TIOCSET_TEMPT): Likewise.
33662         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33663         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33664         these are already provided in bits/ioctl-types.h
33666 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33668         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33669         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33671         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33672         Use wait4 regardless of [__NR_waitpid].
33674 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33676         PR libgcc/60166
33677         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33678         (_FP_NANSIGN_Q): Set the quiet bit.
33680 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33682         * benchtests/Makefile
33683         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33684         not $(common-objpfx)math/libm.so.
33685         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33686         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33687         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33688         $(common-objpfx)dlfcn/libdl.so.
33689         ($(objpfx)tst-audit8): Depend on $(libm), not
33690         $(common-objpfx)math/libm.so.
33691         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33692         not $(common-objpfx)dlfcn/libdl.so.
33693         * math/Makefile
33694         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33695         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33696         [$(build-shared) = yes].
33697         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33698         $(common-objpfx)nptl/libpthread.so.
33699         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33700         $(common-objpfx)math/libm.so$(libm.so-version) or
33701         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33702         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33703         $(common-objpfx)dlfcn/libdl.so.
33704         * setjmp/Makefile (link-libm): Remove variable.
33705         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33706         * stdio-common/Makefile (link-libm): Remove variable.
33707         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33708         * stdlib/Makefile (link-libm): Remove variable.
33709         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33710         ($(objpfx)tst-strtod-round): Likewise.
33711         ($(objpfx)tst-tininess): Likewise.
33712         ($(objpfx)tst-strtod-underflow): Likewise.
33713         ($(objpfx)tst-strtod6): Likewise.
33714         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33715         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33716         $(common-objpfx)dlfcn/libdl.so.
33718 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33720         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33721         BSD terminal modes definitions.
33723 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33725         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33726         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33728         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33729         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33730         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33731         Don't do #include_next.
33732         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33733         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33734         Don't do #include_next.
33735         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33736         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33737         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33738         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33740 2014-05-16  Allan McRae  <allan@archlinux.org>
33742         * po/sv.po: Update Swedish translation from translation project.
33744         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33745         in sed expression.
33747 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33749         [BZ #16917]
33750         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33751         errno if the TIOCGPTN ioctl fails with an error different than
33752         EINVAL.
33753         * login/tst-ptsname.c: New file.
33754         * login/Makefile (tests): Add tst-ptsname.
33756         [BZ #16943]
33757         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33758         and prlimit64.
33760 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33762         [BZ #16849]
33763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33764         herrno to return EAI_AGAIN.
33766 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33768         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33769         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33770         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33771         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33772         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33773         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33774         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33775         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33777         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33778         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33779         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33780         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33781         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33782         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33783         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33784         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33785         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33786         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33787         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33788         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33789         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33790         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33791         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33792         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33793         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33794         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33795         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33796         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33797         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33799         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33801         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33803         Moved ...
33804         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33806         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33808         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33810         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33812         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33816         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33818         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33820         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33822         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33824         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33826         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33828         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33830         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33832         Moved ...
33833         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33835         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33837         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33839         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33841         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33843         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33845         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33847         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33849         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33851         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33853         Moved ...
33854         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33856         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33858         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33859         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33860         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33861         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33862         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33863         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33864         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33865         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33866         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33867         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33868         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33869         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33870         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33871         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33872         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33873         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33874         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33875         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33876         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33877         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33878         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33879         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33880         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33881         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33883         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33884         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33885         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33886         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33887         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33888         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33890         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33891         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33893         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33894         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33895         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33897         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33899         Moved ...
33900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33902         Moved ...
33903         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33905         Moved ...
33906         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33908         Moved ...
33909         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33910         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33911         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33913         Moved ...
33914         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33915         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33916         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33918         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33919         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33920         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33922         Moved ...
33923         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33927         ... here.
33928         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33929         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33930         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33931         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33935         ... here.
33936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33937         Moved ...
33938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33939         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33940         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33942         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33944         Moved ...
33945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33947         Moved ...
33948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33950         Moved ...
33951         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33953         Moved ...
33954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33955         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33956         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33958         Moved ...
33959         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33960         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33961         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33964         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33965         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33967         Moved ...
33968         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33970         Moved ...
33971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33972         ... here.
33973         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33974         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33975         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33976         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33978         Moved ...
33979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33980         ... here.
33981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33982         Moved ...
33983         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33984         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33985         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33986         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33987         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33988         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33991         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33993         Moved ...
33994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33996         Moved ...
33997         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33999         Moved ...
34000         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34002         Moved ...
34003         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34004         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34005         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34006         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34007         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34009         Moved ...
34010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34011         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34012         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34015         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34016         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34018         Moved ...
34019         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34021         Moved ...
34022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34023         ... here.
34024         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34025         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34026         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34027         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34028         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34029         Moved ...
34030         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34031         ... here.
34032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34033         Moved ...
34034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34035         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34036         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34037         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34038         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34039         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34040         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34041         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34042         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34043         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34044         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34046         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34047         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34049         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34050         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34052         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34053         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34054         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34055         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34056         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34057         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34058         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34059         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34060         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34061         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34063         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34065         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34066         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34068         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34070         Moved ...
34071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34075         Moved ...
34076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34080         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34084         Moved ...
34085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34087         Moved ...
34088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34094         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34095         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34096         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34097         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34098         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34099         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34100         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34101         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34102         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34103         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34104         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34106         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34107         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34108         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34109         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34110         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34112         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34113         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34114         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34115         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34116         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34117         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34118         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34119         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34120         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34121         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34126         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34127         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34128         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34129         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34131         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34133         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34134         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34135         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34136         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34137         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34138         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34139         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34141         Update #include.
34142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34143         Likewise.
34144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34145         Likewise.
34146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34147         Likewise.
34148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34149         Likewise.
34150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34151         Likewise.
34152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34153         Likewise.
34154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34155         Likewise.
34156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34157         Likewise.
34158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34159         Likewise.
34160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34165         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34166         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34167         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34168         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34169         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34170         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34171         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34172         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34173         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34174         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34177         that was previously under [RESET_PID].
34178         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34179         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34180         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34182         * sysdeps/i386/nptl/Implies: New file.
34183         * sysdeps/x86_64/nptl/Implies: New file.
34184         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34185         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34186         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34187         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34189         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34191         (__libc_vfork): New strong alias.
34192         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34193         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34195         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34197         (__libc_vfork): New strong alias.
34198         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34199         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34201         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34202         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34203         (__libc_vfork): New strong alias.
34204         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34205         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34206         * nptl/pt-vfork.c: New file.
34207         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34208         (libpthread: GLIBC_2.20): New version set (empty).
34210 2014-05-14  Will Newton  <will.newton@linaro.org>
34212         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34213         rather than #if.
34215 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34217         [BZ #16564]
34218         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34219         arguments with exponent 65 or above.
34220         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34221         arguments 0x1p113L or above.
34222         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34223         to arguments 0x1p107L or above.
34224         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34225         positive arguments with exponent 65 or above.
34226         * math/auto-libm-test-in: Add more tests of log1p.
34227         * math/auto-libm-test-out: Regenerated.
34229         [BZ #16928]
34230         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34231         non-finite arguments is +0.
34232         * math/s_cacosf.c (__cacosf): Likewise.
34233         * math/s_cacosl.c (__cacosl): Likewise.
34234         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34235         * sysdeps/i386/fpu/libm-test-ulps: Update.
34236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34238         [BZ #16927]
34239         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34240         value.
34241         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34242         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34243         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34244         for explicit high bit of mantissa when testing for argument equal
34245         to 1.
34246         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34247         * sysdeps/i386/fpu/libm-test-ulps: Update.
34248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34250         [BZ #16516]
34251         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34252         (__erf): Scale by 16 instead of 8 in potentially underflowing
34253         case.  Ensure exception if result actually underflows.
34254         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34255         (__erff): Scale by 16 instead of 8 in potentially underflowing
34256         case.  Ensure exception if result actually underflows.
34257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34258         (efx8): Remove variable.
34259         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34260         case.  Ensure exception if result actually underflows.
34261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34262         (efx8): Remove variable.
34263         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34264         case.  Ensure exception if result actually underflows.
34265         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34266         (efx8): Remove variable.
34267         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34268         case.  Ensure exception if result actually underflows.
34269         * math/auto-libm-test-in: Add more tests of erf.
34270         * math/auto-libm-test-out: Regenerated.
34272 2014-05-14  Andreas Schwab  <schwab@suse.de>
34274         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34275         Remove code conditionalized on USE___THREAD.
34277         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34278         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34279         not definedness.
34281 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34284         Define unconditionally.
34285         (__ASSUME_O_CLOEXEC): Likewise.
34286         (__ASSUME_SOCK_CLOEXEC): Likewise.
34287         (__ASSUME_IN_NONBLOCK): Likewise.
34288         (__ASSUME_PIPE2): Likewise.
34289         (__ASSUME_EVENTFD2): Likewise.
34290         (__ASSUME_SIGNALFD4): Likewise.
34291         (__ASSUME_DUP3): Likewise.
34292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34293         (__ASSUME_DUP3): Do not define.
34294         (__ASSUME_EVENTFD2): Likewise.
34295         (__ASSUME_IN_NONBLOCK): Likewise.
34296         (__ASSUME_O_CLOEXEC): Likewise.
34297         (__ASSUME_PIPE2): Likewise.
34298         (__ASSUME_SIGNALFD4): Likewise.
34299         (__ASSUME_SOCK_CLOEXEC): Likewise.
34300         (__ASSUME_UTIMES): Undefine.
34301         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34302         (__ASSUME_UTIMES): Do not define.
34303         (__ASSUME_O_CLOEXEC): Likewise.
34304         (__ASSUME_SOCK_CLOEXEC): Likewise.
34305         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34306         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34307         0x020621].
34308         (__ASSUME_PIPE2): Likewise.
34309         (__ASSUME_EVENTFD2): Likewise.
34310         (__ASSUME_SIGNALFD4): Likewise.
34311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34312         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34313         Do not define.
34314         (__ASSUME_EVENTFD2): Likewise.
34315         (__ASSUME_SIGNALFD4): Likewise.
34316         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34317         (__ASSUME_32BITUIDS): Likewise.
34318         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34319         (__ASSUME_IPC64): Likewise.
34320         (__ASSUME_ST_INO_64_BIT): Likewise.
34321         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34322         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34323         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34324         (__ASSUME_UTIMES): Do not define.
34325         (__ASSUME_PSELECT): Likewise.
34326         (__ASSUME_PPOLL): Likewise.
34327         (__ASSUME_O_CLOEXEC): Likewise.
34328         (__ASSUME_SOCK_CLOEXEC): Likewise.
34329         (__ASSUME_IN_NONBLOCK): Likewise.
34330         (__ASSUME_PIPE2): Likewise.
34331         (__ASSUME_EVENTFD2): Likewise.
34332         (__ASSUME_SIGNALFD4): Likewise.
34333         (__ASSUME_DUP3): Likewise.
34334         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34335         (__ASSUME_UTIMES): Likewise.
34336         (__ASSUME_O_CLOEXEC): Likewise.
34337         (__ASSUME_SOCK_CLOEXEC): Likewise.
34338         (__ASSUME_IN_NONBLOCK): Likewise.
34339         (__ASSUME_PIPE2): Likewise.
34340         (__ASSUME_EVENTFD2): Likewise.
34341         (__ASSUME_SIGNALFD4): Likewise.
34342         (__ASSUME_DUP3): Likewise.
34343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34344         (__ASSUME_UTIMES): Likewise.
34345         (__ASSUME_O_CLOEXEC): Likewise.
34346         (__ASSUME_SOCK_CLOEXEC): Likewise.
34347         (__ASSUME_IN_NONBLOCK): Likewise.
34348         (__ASSUME_PIPE2): Likewise.
34349         (__ASSUME_EVENTFD2): Likewise.
34350         (__ASSUME_SIGNALFD4): Likewise.
34351         (__ASSUME_DUP3): Likewise.
34352         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34353         Likewise.
34354         (__ASSUME_UTIMES): Likewise.
34355         (__ASSUME_EVENTFD2): Likewise.
34356         (__ASSUME_SIGNALFD4): Likewise.
34357         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34358         (__ASSUME_O_CLOEXEC): Likewise.
34359         (__ASSUME_SOCK_CLOEXEC): Likewise.
34360         (__ASSUME_IN_NONBLOCK): Likewise.
34361         (__ASSUME_PIPE2): Likewise.
34362         (__ASSUME_EVENTFD2): Likewise.
34363         (__ASSUME_SIGNALFD4): Likewise.
34364         (__ASSUME_DUP3): Likewise.
34365         (__ASSUME_UTIMES): Undefine.
34367         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34368         feclearexcept.  Remove symbol versioning code.
34369         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34370         symbol versioning code.
34371         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34372         symbol versioning code.
34373         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34374         feupdateenv.  Remove symbol versioning code.
34375         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34376         fegetexceptflag.  Remove symbol versioning code.
34377         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34378         fesetexceptflag.  Remove symbol versioning code.
34379         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34380         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34381         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34382         (__posix_fadvise64_l32): Remove prototype.
34383         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34384         code.
34386 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34389         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34390         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34391         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34393 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34395         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34396         current working directory
34398 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34400         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34401         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34402         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34403         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34404         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34405         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34406         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34407         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34408         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34409         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34410         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34411         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34412         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34413         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34414         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34415         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34416         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34417         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34418         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34419         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34420         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34421         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34422         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34423         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34424         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34425         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34426         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34427         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34428         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34429         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34430         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34431         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34432         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34433         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34434         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34435         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34436         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34437         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34438         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34439         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34440         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34441         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34443         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34444         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34446         * sysdeps/unix/sysv/linux/arm/Makefile
34447         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34448         Add rt-aeabi_unwind_cpp_pr1.
34449         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34450         Add nptl-aeabi_unwind_cpp_pr1.
34451         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34452         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34453         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34454         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34455         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34456         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34458         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34459         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34460         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34461         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34463         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34464         Deconditionalize the code that was previously under [RESET_PID].
34465         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34467         * sysdeps/generic/exit-thread.h: New file.
34468         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34469         * include/unistd.h (__exit_thread): Remove declaration.
34470         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34471         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34472         * csu/libc-start.c: Include <exit-thread.h>.
34473         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34474         * nptl/pthread_create.c: Include <exit-thread.h>.
34475         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34476         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34477         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34478         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34479         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34480         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34481         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34482         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34483         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34484         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34485         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34486         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34487         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34488         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34489         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34490         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34491         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34493 2014-05-13  Andreas Schwab  <schwab@suse.de>
34495         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34497 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34499         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34500         (__ASSUME_UTIMES): Do not condition on kernel version.
34501         (__ASSUME_PSELECT): Define unconditionally.
34502         (__ASSUME_PPOLL): Likewise.
34503         (__ASSUME_ATFCTS): Likewise.
34504         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34505         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34506         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34507         (__ASSUME_UTIMENSAT): Define unconditionally.
34508         (__ASSUME_PRIVATE_FUTEX): Likewise.
34509         (__ASSUME_FALLOCATE): Likewise.
34510         (__ASSUME_O_CLOEXEC): Likewise.
34511         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34512         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34513         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34514         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34515         (__ASSUME_IN_NONBLOCK): Likewise.
34516         (__ASSUME_PIPE2): Likewise.
34517         (__ASSUME_EVENTFD2): Likewise.
34518         (__ASSUME_SIGNALFD4): Likewise.
34519         (__ASSUME_DUP3): Likewise.
34520         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34521         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34522         (__ASSUME_AT_RANDOM): Likewise.
34523         (__ASSUME_PREADV): Likewise.
34524         (__ASSUME_PWRITEV): Likewise.
34525         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34526         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34527         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34529         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34531         (__ASSUME_O_CLOEXEC): Define unconditionally.
34532         (__ASSUME_PSELECT): Do not undefine conditionally.
34533         (__ASSUME_PPOLL): Likewise.
34534         (__ASSUME_ATFCTS): Likewise.
34535         (__ASSUME_SET_ROBUST_LIST): Likewise.
34536         (__ASSUME_UTIMENSAT): Likewise.
34537         (__ASSUME_FDATASYNC): Define unconditionally.
34538         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34539         (__ASSUME_SIGFRAME_V2): Likewise.
34540         )__ASSUME_EVENTFD2): Likewise.
34541         (__ASSUME_SIGNALFD4): Likewise.
34542         (__ASSUME_PSELECT): Do not undefine conditionally.
34543         (__ASSUME_PPOLL): Likewise.
34544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34545         (__ASSUME_PSELECT): Define unconditionally.
34546         (__ASSUME_PPOLL): Likewise.
34547         (__ASSUME_O_CLOEXEC): Likewise.
34548         (__ASSUME_SOCK_CLOEXEC): Likewise.
34549         (__ASSUME_IN_NONBLOCK): Likewise.
34550         (__ASSUME_PIPE2): Likewise.
34551         (__ASSUME_EVENTFD2): Likewise.
34552         (__ASSUME_SIGNALFD4): Likewise.
34553         (__ASSUME_DUP3): Likewise.
34554         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34555         (__ASSUME_O_CLOEXEC): Likewise.
34556         (__ASSUME_SOCK_CLOEXEC): Likewise.
34557         (__ASSUME_IN_NONBLOCK): Likewise.
34558         (__ASSUME_PIPE2): Likewise.
34559         (__ASSUME_EVENTFD2): Likewise.
34560         (__ASSUME_SIGNALFD4): Likewise.
34561         (__ASSUME_DUP3): Likewise.
34562         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34563         (__ASSUME_EVENTFD2): Likewise.
34564         (__ASSUME_SIGNALFD4): Likewise.
34565         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34567 2014-05-12  Andreas Schwab  <schwab@suse.de>
34569         [BZ #16932]
34570         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34571         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34572         than maximum RPC packet size.
34573         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34574         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34575         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34576         (_nss_nis_getservbyport_r): Likewise.
34578 2014-05-12  Will Newton  <will.newton@linaro.org>
34580         * malloc/Makefile (tests): Add tst-mallopt.
34581         * malloc/tst-mallopt.c: New file.
34583 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34585         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34586         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34588 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34590         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34591         (tst-tlsmod6.so): Likewise.
34593 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34595         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34597 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34599         [BZ #16064]
34600         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34601         and <dl-procinfo.h>.
34602         (__fegetenv): Save SSE state in envp->__eip if supported.
34603         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34604         envp->__eip if supported.
34605         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34606         and <dl-procinfo.h>.
34607         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34608         __data_offset and __data_selector in environment to 0.  Set SSE
34609         state if supported.
34610         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34611         test-fenv-sse.
34612         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34613         -mfpmath=sse.
34614         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34616 2014-05-09  Will Newton  <will.newton@linaro.org>
34618         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34619         and libc_relro_required for ARM.
34620         * sysdeps/arm/preconfigure: Regenerate.
34622 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34623             Stefan Liebler  <stli@linux.vnet.ibm.com>
34625         * config.make.in (enable-lock-elision): New Makefile variable.
34626         * configure.ac: Likewise.
34627         * configure: Regenerate.
34628         * sysdeps/s390/configure.ac:
34629         Add check for gcc transactions support.
34630         * sysdeps/s390/configure: Regenerate.
34631         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34632         Build elision files if enabled.
34633         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34634         Add lock elision support for s390.
34635         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34636         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34637         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34638         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34639         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34640         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34642         Likewise.
34643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34644         Likewise.
34645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34646         Likewise.
34647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34648         Likewise.
34649         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34650         (__lll_timedlock_elision, __lll_lock_elision)
34651         (__lll_unlock_elision, __lll_trylock_elision)
34652         (lll_timedlock_elision, lll_lock_elision)
34653         (lll_unlock_elision, lll_trylock_elision): Add.
34654         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34655         (pthread_mutex_t): Add lock elision support for s390.
34657 2014-05-14  Wilco  <wdijkstr@arm.com>
34659         * sysdeps/arm/fclrexcpt.c: Cleanup.
34660         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34661         * sysdeps/arm/feenablxcpt.c: Cleanup.
34662         * sysdeps/arm/fegetenv.c: Cleanup.
34663         * sysdeps/arm/fegetexcept.c: Cleanup.
34664         * sysdeps/arm/fegetround.c: Cleanup.
34665         * sysdeps/arm/feholdexcpt.c: Cleanup.
34666         * sysdeps/arm/fesetenv.c: Cleanup.
34667         * sysdeps/arm/fesetround.c: Cleanup.
34668         * sysdeps/arm/feupdateenv.c: Cleanup.
34669         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34670         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34671         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34672         * sysdeps/arm/ftestexcept.c: Cleanup.
34673         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34674         * sysdeps/arm/setfpucw.c: Cleanup.
34676 2014-05-09  Will Newton  <will.newton@linaro.org>
34678         * sysdeps/arm/armv7/strcmp.S: New file.
34679         * NEWS: Mention addition of ARMv7 optimized strcmp.
34681 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34683         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34684         look for %.ac rather than %.in.
34686         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34687         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34688         * sysdeps/mach/hurd/configure: Regenerated.
34689         * sysdeps/unix/sysv/linux/configure: Regenerated.
34691         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34693 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34695         [BZ# 16922]
34696         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34697         (LONG_SUB): Ditto.
34698         (PTR_SUB): Ditto.
34700 2014-05-07  Andreas Schwab  <schwab@suse.de>
34702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34703         when skipping over non-matching result from nscd.
34705 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34707         [BZ #16876]
34708         * nptl/sockperf.c (client): Check socket return value.
34710         [BZ #16877]
34711         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34712         nscd security class.
34714 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34716         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34717         * sysdeps/arm/unwind.h: ... here.
34719 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34721         [BZ# 16916]
34722         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34723         Define.
34725 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34727         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34728         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34729         multiarch strncpy for PPC64.
34730         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34731         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34733         multiarch optimizations.
34734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34735         (__libc_ifunc_impl_list): Likewise.
34736         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34737         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34738         multiarch stpncpy for PPC64.
34739         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34740         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34742 2014-05-06  Andreas Schwab  <schwab@suse.de>
34744         [BZ #16912]
34745         * gmon/mcount.c (_MCOUNT_DECL): Use
34746         atomic_compare_and_exchange_bool_acq instead of
34747         catomic_compare_and_exchange_bool_acq.
34749 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34751         * elf/Makefile (others, install-bin): Remove pldd.
34752         (pldd-modules): Variable removed.
34753         ($(objpfx)pldd): Target removed.
34754         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34755         (others, install-bin): Append pldd here.
34756         ($(objpfx)pldd): New target.
34758         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34759         to 0, so the first #if test emitted later doesn't see it undefined.
34760         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34761         * sysdeps/gnu/errlist.c: Regenerated.
34763 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34766         [libc_hidden_builtin_def]: Define to empty value.
34767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34768         [libc_hidden_builtin_def]: Likewise.
34769         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34770         [libc_hidden_builtin_def]: Likewise.
34771         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34772         [libc_hidden_builtin_def]: Likewise.
34773         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34774         __redirect_memcpy and define ifunc as default hidden symbol.
34775         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34776         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34778 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34780         * locale/iso-4217.def: Reintroduce XDR currency.
34782 2014-05-04  Allan McRae  <allan@archlinux.org>
34784         * po/eo.po: Update Esperanto translation from translation project.
34786 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34788         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34789         and FEATURE_INDEX_MAX to 1.
34790         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34792 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34794         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34795         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34796         * iconvdata/big5.c (ONE_DIRECTION): Define.
34797         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34798         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34799         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34800         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34801         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34802         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34803         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34804         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34805         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34806         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34807         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34808         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34809         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34810         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34811         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34812         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34813         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34814         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34815         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34816         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34817         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34818         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34819         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34820         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34821         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34822         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34823         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34824         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34825         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34826         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34827         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34828         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34829         * iconvdata/johab.c (ONE_DIRECTION): Define.
34830         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34831         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34832         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34833         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34834         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34835         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34836         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34837         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34838         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34839         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34841 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34843         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34844         (_IO_JUMPS_OFFSET): Define to 0.
34846         * nptl/sysdeps/pthread/bits/libc-lock.h
34847         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34848         (__libc_lock_define_initialized_recursive): Always define using
34849         initializer.  Modern compilers treat uninitialized (implicit zero) and
34850         explicit zero initializers the same (i.e. put the datum in bss).
34852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34854         * nscd/nscd-client.h: Include <string.h>.
34856 2014-05-01  David S. Miller  <davem@davemloft.net>
34858         [BZ #16885]
34859         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34860         multiple zero bytes exist at the end of a string.
34861         Reported by Aurelien Jarno <aurelien@aurel32.net>
34863         * string/test-strcmp.c (check): Add explicit test for situations where
34864         there are multiple zero bytes after the first.
34866 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34868         [BZ #16890]
34869         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34870         when compiling wprintf.
34871         * stdio-common/tstdiomisc.c (t3): New function.
34872         (main): Call it.
34874 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34876         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34877         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34878         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34879         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34881 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34883         * stdlib/longlong.h: Updated from GCC.
34885 2014-05-01  Will Newton  <will.newton@linaro.org>
34886             Bernard Ogden  <bernie.ogden@linaro.org>
34888         * NEWS: Update fixed bug list.
34890         [BZ #15119]
34891         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34893 2014-04-30  David S. Miller  <davem@davemloft.net>
34895         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34896         (libc_feholdexcept_setround_sparc_ctx): New function.
34897         (libc_fesetenv_sparc_ctx): Likewise.
34898         (libc_feupdateenv_sparc_ctx): Likewise.
34899         (libc_feholdsetround_sparc_ctx): Likewise.
34900         (libc_feholdexcept_setround_ctx): Define.
34901         (libc_feholdexcept_setroundf_ctx): Likewise.
34902         (libc_feholdexcept_setroundl_ctx): Likewise.
34903         (libc_fesetenv_ctx): Likewise.
34904         (libc_fesetenvf_ctx): Likewise.
34905         (libc_fesetenvl_ctx): Likewise.
34906         (libc_feupdateenv_ctx): Likewise.
34907         (libc_feupdateenvf_ctx): Likewise.
34908         (libc_feupdateenvl_ctx): Likewise.
34909         (libc_feresetround_ctx): Likewise.
34910         (libc_feresetroundf_ctx): Likewise.
34911         (libc_feresetroundl_ctx): Likewise.
34912         (libc_feholdsetround_ctx): Likewise.
34913         (libc_feholdsetroundf_ctx): Likewise.
34914         (libc_feholdsetroundl_ctx): Likewise.
34916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34917         with __USE_GNU instead of XOPEN cpp guards.
34919         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34920         0.
34922         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34923         with XOPEN cpp guards.
34925 2014-04-30  Julian Brown  <julian@codesourcery.com>
34927         [BZ #16888]
34928         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34929         handling.
34931 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34933         [BZ #9894]
34934         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34935         Change to 2.6.32.
34936         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34937         * sysdeps/unix/sysv/linux/configure: Regenerated.
34938         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34939         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34940         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34941         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34942         * README: Update reference to required Linux kernel version.
34943         * manual/install.texi (Linux): Update reference to required Linux
34944         kernel headers version.
34945         * INSTALL: Regenerated.
34947         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34948         header inclusion.
34949         [POSIX] (limits.h): Likewise.
34950         [POSIX] (math.h): Likewise.
34951         [POSIX] (sys/wait.h): Likewise.
34952         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34953         function.
34954         [POSIX] (stddef.h): Do not allow header inclusion.
34956 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34958         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34960 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34962         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34963         Return immediately after lll_futex_wake.
34965 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34967         [BZ #16791]
34968         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34969         structure.
34970         (datahead_init_pos): Call datahead_init_common early.
34971         (datahead_init_neg): Likewise.
34973         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34974         datahead_init_neg): New functions.
34975         * nscd/aicache.c (addhstaiX): Use them.
34976         * nscd/grpcache.c (cache_addgr): Likewise.
34977         * nscd/hstcache.c (cache_addhst): Likewise.
34978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34979         * nscd/netgroupcache.c (do_notfound): Likewise.
34980         (addgetnetgrentX): Likewise.
34981         (addinnetgrX): Likewise.
34982         * nscd/pwdcache.c (cache_addpw): Likewise.
34983         * nscd/servicescache.c (cache_addserv): Likewise.
34985 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34986             Atsushi Onoe  <atsushi@onoe.org>
34988         [BZ #14308]
34989         [BZ #12994]
34990         [BZ #13651]
34991         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34992         one response is valid.
34993         * resolv/res_send.c (send_dg): Check for validity of other
34994         response if the current response is a referral.
34996 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34998         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35000 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35002         [BZ #16823]
35003         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35004         Always divide by positive zero when computing -Inf result.
35005         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35006         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35008 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35010         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35011         FPSCR if value do not change.
35012         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35013         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35014         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35015         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35016         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35017         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35018         function.
35020 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35022         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35023         * sysdeps/unix/sysv/linux/hppa: Move directory from
35024         ports/systeps/unix/sysv/linux/hppa.
35025         * README: Update listing for hppa-*-linux-gnu.
35027 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35029         [BZ #16754]
35030         * manual/stdio.texi (Hook functions): Fix types of stream hook
35031         functions.
35032         [BZ #16854]
35033         * socket/sys/socket.h: Fix typo in comment.
35035 2014-04-28  Wilco  <wdijkstr@arm.com>
35037         * sysdeps/arm/fenv_private.h: New file.
35038         * sysdeps/arm/math_private.h: New file.
35039         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35041 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35043         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35044         with __int128_t.
35045         (La_x86_64_retval): Likewise.
35047 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35049         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35050         fpsr if value didn't change.
35051         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35052         to fpcr if value didn't change.
35053         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35054         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35055         fpsr or fpcr if value didn't change.
35056         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35057         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35058         fpcr if value didn't change.
35059         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35060         to fpsr if value didn't change.
35062 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35064         * nptl/tst-sem3.c: Use test-skeleton.c
35065         (main): Rename to do_test.  Use return instead of
35066         exit.
35067         * nptl/tst-sem4.c: Use test-skeleton.c
35068         (main): Rename to do_test.
35070 2014-04-22  David S. Miller  <davem@davemloft.net>
35072         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35073         (struct sigaction): New struct member __glibc_reserved0, change
35074         type of sa_flags to int.
35076 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35078         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35079         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35081 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35083         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35084         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35086 2014-04-22  Will Newton  <will.newton@linaro.org>
35087             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35089         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35090         (__longjmp): Add longjmp and longjmp_target SystemTap
35091         probes.
35092         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35093         (__sigsetjmp): Add setjmp SystemTap probe.
35095 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35097         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35098         match manual order.
35100 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35102         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35104         * sysdeps/powerpc/fpu/fenv_private.h
35105         (libc_feholdexcept_setroundl_ctx): Define to
35106         libc_feholdexcept_setround_ppc_ctx.
35107         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35108         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35109         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35110         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35112 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35114         * sysdeps/aarch64/math-tests.h: New file.
35116 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35118         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35119         New.
35120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35121         Check and set bit_AVX2_Usable.
35122         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35123         macro.
35124         (bit_AVX2): Likewise.
35125         (index_AVX2_Usable): Likewise.
35126         (CPUID_AVX2): Likewise.
35127         (HAS_AVX2): Likewise.
35129 2014-04-17  Will Newton  <will.newton@linaro.org>
35131         * manual/setjmp.texi (System V contexts): Add note that
35132         calling setcontext on a context created by a call to a
35133         signal handler is undefined.  Update text to note that
35134         setcontext from a signal handler is possible but not
35135         recommended.
35137         [BZ #16629]
35138         * stdlib/tst-setcontext.c: Include signal.h.
35139         (main): Check that the signal stack before and
35140         after swapcontext is the same.
35142         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35143         Re-implement to restore registers in user code and avoid
35144         rt_sigreturn system call.
35146 2014-04-17  Wilco  <wdijkstr@arm.com>
35148         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35149         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35150         * math/test-fenv.c: Skip exception trap tests on targets which only
35151         support non-stop mode.
35153 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35154             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35156         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35157         (libc_feholdsetround_aarch64_ctx)
35158         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35159         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35160         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35161         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35162         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35163         (libc_feresetround_noexl_ctx): Define.
35165 2014-04-16  Richard Henderson  <rth@redhat.com>
35167         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35169         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35170         unwind tables.
35172         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35173         const from the non-libc, non-ldso copy.
35175         * sysdeps/alpha/libm-test-ulps: Regenerate.
35177 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35178             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35180         * sysdeps/aarch64/fpu/math_private.h: New file.
35182 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35184         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35186 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35188         [BZ #16275]
35189         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35190         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35192         Intel MPX bound registers before _dl_profile_fixup.
35193         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35194         registers after _dl_profile_fixup.  Save and restore bound
35195         registers bnd0/bnd1 when calling _dl_call_pltexit.
35196         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35197         (LR_BND_OFFSET): Likewise.
35198         (LRV_BND0_OFFSET): Likewise.
35199         (LRV_BND1_OFFSET): Likewise.
35201 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35203         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35204         to...
35205         * sysdeps/mach/hurd/i386/tls.h: ... here.
35206         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35207         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35208         fields.
35210 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35212         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35214 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35216         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35218 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35220         [BZ #14770]
35221         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35222         * sysdeps/s390/configure: Regenerate.
35224         [BZ #16824]
35225         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35226         Set round-to-nearest internally to reduce error accumulation.
35228 2014-04-16  Alan Modra  <amodra@gmail.com>
35230         [BZ #16740]
35231         [BZ #16619]
35232         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35233         * math/libm-test.inc (frexp_test_data): Add tests.
35234         * NEWS: Update fixed bug list.
35236 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35238         * benchtests/Makefile: Depend on libraries in build directory.
35239         (bench-math): Separate out math tests.
35240         (bench-pthread): Separate out pthread tests.
35241         (bench): Include math and pthread tests.
35243 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35245         [BZ #16831]
35246         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35247         _dl_debug_initialize.
35249         * configure.ac: Remove SELinux header check.
35250         * configure: Regenerate.
35251         * nscd/selinux.c (perms): Array of const char* to permission names.
35252         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35253         default policy. Call string_to_security_class and string_to_av_perm to
35254         translate strings. Enforce default policy and call avs_has_perm with
35255         results of translated strings.
35257 2014-04-13  David S. Miller  <davem@davemloft.net>
35259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35261 2014-04-12  Allan McRae  <allan@archlinux.org>
35263         [BZ #16838]
35264         * manual/string.texi (Collation Functions): Fix qsort argument
35265         order in example.
35266         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35268 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35270         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35271         Make the test a no-op if there are no exceptions defined.
35273 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35275         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35276         enable-hardcoded-path-in-tests
35278 2014-04-11  Will Newton  <will.newton@linaro.org>
35280         * benchtests/Makefile (extra-objs): Add json-lib.o.
35281         (bench-func): Tidy up JSON output.
35282         * benchtests/bench-skeleton.c: Include json-lib.h.
35283         (main): Use JSON library functions to do output of
35284         benchmark results.
35285         * benchtests/bench-timing-type.c (main): Output the
35286         timing type simply, leaving formatting to the user.
35287         * benchtests/json-lib.c: New file.
35288         * benchtests/json-lib.h: Likewise.
35290 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35292         [BZ #15215]
35293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35294         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35295         memory barriers.  Add comments.
35296         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35297         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35298         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35299         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35300         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35301         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35303 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35305         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35306         * sysdeps/s390/s390-64/configure.ac: ... this ...
35307         * sysdeps/s390/configure.ac: ... to here.
35308         * sysdeps/s390/s390-32/configure: Delete file.
35309         * sysdeps/s390/s390-64/configure: Delete file.
35310         * sysdeps/s390/configure: Regenerate.
35312 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35314         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35316 2014-04-11  Will Newton  <will.newton@linaro.org>
35318         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35319         to zero if it is not defined elsewhere.  (mtrim): Test
35320         the value of MALLOC_DEBUG with #if rather than #ifdef.
35322 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35324         * benchtests/pthread_once-inputs: New file.
35325         * benchtests/pthread_once-source.c: New file.
35326         * benchtests/README: Update documentation.
35328 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35329             H.J. Lu  <hongjiu.lu@intel.com>
35331         [BZ #16275]
35332         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35333         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35334         * sysdeps/x86_64/configure: Regenerated.
35335         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35336         macro.
35337         (REGISTER_SAVE_RAX): Likewise.
35338         (REGISTER_SAVE_RCX): Likewise.
35339         (REGISTER_SAVE_RDX): Likewise.
35340         (REGISTER_SAVE_RSI): Likewise.
35341         (REGISTER_SAVE_RDI): Likewise.
35342         (REGISTER_SAVE_R8): Likewise.
35343         (REGISTER_SAVE_R9): Likewise.
35344         (REGISTER_SAVE_BND0): Likewise.
35345         (REGISTER_SAVE_BND1): Likewise.
35346         (REGISTER_SAVE_BND2): Likewise.
35347         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35348         bound registers when calling _dl_fixup.
35350 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35352         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35353         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35354         of its definition.
35355         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35356         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35357         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35358         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35359         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35360         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35361         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35363 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35365         [BZ #15514]
35366         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35367         pathconf(_PC_NAME_MAX).
35369 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35371         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35372         Remove macro usage.
35373         (__PTHREAD_SPINS): Move definition to ...
35374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35375         (__PTHREAD_SPINS): ... here.
35376         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35377         (__PTHREAD_SPIN): Likewise.
35378         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35379         (__PTHREAD_SPIN): Likewise.
35380         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35381         (__PTHREAD_SPIN): Likewise.
35382         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35383         (__PTHREAD_SPIN): Likewise.
35384         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35385         (__PTHREAD_SPIN): Likewise.
35386         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35387         (__PTHREAD_SPIN): Likewise.
35388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35389         (__PTHREAD_SPIN): Likewise.
35390         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35391         (__PTHREAD_SPIN): Likewise.
35392         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35393         (__PTHREAD_SPIN): Likewise.
35394         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35395         (__PTHREAD_SPIN): Likewise.
35396         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35397         (__PTHREAD_SPIN): Likewise.
35398         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35399         (__PTHREAD_SPIN): Likewise.
35401         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35402         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35403         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35404         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35405         imply folder.
35406         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35407         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35408         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35409         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35410         correct imply path.
35411         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35412         strlen symbol for non multi-arch builds.
35413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35414         missing hidden_def and weak_alias.
35416 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35418         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35420 2014-04-07  Will Newton  <will.newton@linaro.org>
35422         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35423         and contents.  [!_LIBC] Remove #ifndef and contents.
35424         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35425         * string/memccpy.c (__memccpy): Use ANSI prototype.
35426         * string/memfrob.c (memfrob): Likewise.
35427         * string/strcoll.c (STRCOLL): Likewise.
35428         * string/strlen.c (strlen): Likewise.
35429         * string/strtok.c (STRTOK): Likewise.
35430         * string/strcat.c: Remove unused #include of memcopy.h.
35431         (strcat): Use ANSI prototype.
35432         * string/strchr.c: Remove unused #include of memcopy.h.
35433         (strchr): Use ANSI prototype.
35434         * string/strcmp.c: Remove unused #include of memcopy.h.
35435         (strcmp): Use ANSI prototype.
35436         * string/strcpy.c: Remove unused #include of memcopy.h.
35437         (strcpy): Use ANSI prototype.
35439 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35441         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35442         * config.make.in (config-extra-cppflags): Set it from
35443         libc_extra_cppflags.
35444         * configure.ac (libc_extra_cflags): Make it accumulate over
35445         configure fragments.
35446         (libc_extra_cppflags): New flag.
35447         * configure. Regenerate.
35448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35449         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35450         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35453         [BZ #16815]
35454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35455         result for FE_DOWNWARD rounding mode.
35456         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35457         Likewise.
35458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35460 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35462         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35463         in function argument name.
35465 2014-04-03  David Svoboda  <svoboda@cert.org>
35467         [BZ #5666]
35468         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35469         explicitly.
35471 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35473         * elf/dl-unmap-segments.h: New file.
35474         * sysdeps/generic/ldsodefs.h
35475         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35476         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35477         * elf/dl-fptr.c: Likewise.
35478         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35479         * sysdeps/aarch64/tlsdesc.c: Likewise.
35480         * sysdeps/arm/tlsdesc.c: Likewise.
35481         * sysdeps/i386/tlsdesc.c: Likewise.
35482         * sysdeps/tile/dl-runtime.c: Likewise.
35483         * sysdeps/x86_64/tlsdesc.c: Likewise.
35484         * elf/dl-load.h: New file.
35485         * elf/dl-load.c: Include it.
35486         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35487         Macros moved to dl-load.h.
35488         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35489         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35490         Use _dl_unmap_segments in place of __munmap.
35491         Break out segment-mapping loop into ...
35492         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35494 2014-04-03  Will Newton  <will.newton@linaro.org>
35496         * elf/dl-lookup.c (do_lookup_x): Remove comment
35497         referring to nested function and move variable
35498         declarations down to before first use.
35500 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35502         [BZ #16799]
35503         [BZ #16800]
35504         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35505         with 0 numerator.
35506         * math/s_catanf.c (__catanf): Likewise.
35507         * math/s_catanh.c (__catanh): Likewise.
35508         * math/s_catanhf.c (__catanhf): Likewise.
35509         * math/s_catanhl.c (__catanhl): Likewise.
35510         * math/s_catanl.c (__catanl): Likewise.
35511         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35512         by positive zero when computing -Inf result.
35513         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35514         (catanh_test): Likewise.
35515         * sysdeps/i386/fpu/libm-test-ulps: Update.
35516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35518         [BZ #16789]
35519         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35520         instead of using underflowing value in computing result.
35521         * math/s_clog10.c (__clog10): Likewise.
35522         * math/s_clog10f.c (__clog10f): Likewise.
35523         * math/s_clog10l.c (__clog10l): Likewise.
35524         * math/s_clogf.c (__clogf): Likewise.
35525         * math/s_clogl.c (__clogl): Likewise.
35526         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35527         (clog10_test): Likewise.
35528         * sysdeps/i386/fpu/libm-test-ulps: Update.
35529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35531 2014-04-02  Alan Modra  <amodra@gmail.com>
35533         [BZ #16739]
35534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35535         output when value is near a power of two.  Use int64_t for lx and
35536         remove casts.  Use decimal rather than hex exponent constants.
35537         Don't use long double multiplication when double will suffice.
35538         * math/libm-test.inc (nextafter_test_data): Add tests.
35539         * NEWS: Add 16739 and 16786 to bug list.
35541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35543         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35545 2014-04-01  Will Newton  <will.newton@linaro.org>
35547         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35548         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35550 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35552         [BZ #13347]
35553         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35554         * nptl/tst-setuid2.c: New file.
35555         * nptl/Makefile (xtests): Add tst-setuid2.
35557 2014-04-01  Alan Modra  <amodra@gmail.com>
35559         [BZ #16786]
35560         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35562 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35564         [BZ #6803]
35565         [BZ #6804]
35566         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35567         set errno as appropriate.
35568         * math/w_scalbf.c (__scalbf): Likewise.
35569         * math/w_scalbl.c (__scalbl): Likewise.
35570         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35571         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35572         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35573         Add more NaN tests.
35575         [BZ #16349]
35576         * math/w_atan2.c: Include <errno.h>.
35577         (__atan2): Set errno for result underflowing to zero.
35578         * math/w_atan2f.c: Include <errno.h>.
35579         (__atan2f): Set errno for result underflowing to zero.
35580         * math/w_atan2l.c: Include <errno.h>.
35581         (__atan2l): Set errno for result underflowing to zero.
35582         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35583         tests.
35584         * math/auto-libm-test-out: Regenerated.
35586 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35588         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35589         Encode instruction correctly in little endian.
35590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35591         Likewise.
35592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35593         Likewise.
35594         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35595         Likewise.
35596         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35597         Likewise.
35599 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35601         [BZ #9894]
35602         * sysdeps/unix/sysv/linux/kernel-features.h
35603         [__sparc__ && !__arch64__ && !__sparc_v9__]
35604         (__ASSUME_SET_ROBUST_LIST): Do not define.
35605         [__sparc__ && !__arch64__ && !__sparc_v9__]
35606         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35607         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35608         Likewise.
35609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35610         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35611         (__ASSUME_REQUEUE_PI): Likewise.
35612         (__ASSUME_SET_ROBUST_LIST): Likewise.
35613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35614         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35615         Undefine.
35616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35617         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35618         Likewise.
35619         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35620         Likewise.
35621         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35622         Likewise.
35623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35624         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35625         Undefine.
35626         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35627         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35628         Likewise.
35630         [BZ #16648]
35631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35633         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35635 2014-03-31  Will Newton  <will.newton@linaro.org>
35637         * benchtests/Makefile (bench): Add ffs and ffsll to list
35638         of tests.
35639         * benchtests/ffs-inputs: New file.
35640         * benchtests/ffsll-inputs: Likewise.
35642 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35644         [BZ #16770]
35645         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35646         too large before casting to int.
35647         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35648         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35649         * math/libm-test.inc (scalb_test_data): Add more tests.
35651 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35653         * benchtests/Makefile (DETAILED_OPT): New make option.
35654         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35655         set.
35656         * benchtests/bench-skeleton.c: Include stdbool.h.
35657         (main): Store and print timings per input.
35658         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35659         member to each argument value.
35660         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35661         (_print_arg_data): Initialize per-input timing to 0.
35663         * benchtests/Makefile (timing-type): New binary.
35664         (bench-clean): Also remove bench-timing-type.
35665         (bench): New target for timing-type.
35666         (bench-func): Print output in JSON format.
35667         * benchtests/bench-skeleton.c (main): Print output in JSON
35668         format.
35669         * benchtests/bench-timing-type.c: New file.
35670         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35671         (TIMING_PRINT_STATS): Remove.
35672         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35673         name separately.
35675         * benchtests/bench-modf.c: Remove.
35676         * benchtests/modf-inputs: New inputs file.
35678 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35680         [BZ #16362]
35681         * math/s_clog10.c (M_PI_LOG10E): New macro.
35682         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35683         imaginary parts are 0.
35684         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35685         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35686         imaginary parts are 0.
35687         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35688         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35689         imaginary parts are 0.
35690         * math/libm-test.inc (clog10_test_data): Update expected results
35691         for when real and imaginary parts are 0.
35693 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35695         * elf/dl-load.c: Finish conversion of __builtin_expect into
35696         __glibc_{un}likely.
35698 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35700         [BZ #16348]
35701         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35702         1+x for argument with exponent below -67.
35703         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35704         Likewise.
35705         * math/auto-libm-test-in: Add more tests of exp.
35706         * math/auto-libm-test-out: Regenerated.
35708 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35710         [BZ #16759]
35711         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35712         (nscd_getnetgrent): Use it.
35714         [BZ #16760]
35715         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35716         of stpcpy.
35718 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35720         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35721         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35722         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35723         (lll_robust_unlock): Remove out of line section. Use cfi
35724         intrinsics.
35725         (LLL_STUB_UNWIND_INFO*): Remove.
35726         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35727         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35728         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35729         (lll_robust_unlock): Remove out of line section. Use cfi
35730         intrinsics.
35731         (LLL_STUB_UNWIND_INFO*): Remove.
35733 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35735         [BZ #16758]
35736         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35737         blank values.
35739 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35741         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35743 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35745         [BZ #16198]
35746         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35747         fnstenv.
35748         * math/test-fenv-preserve.c: New file.
35749         * math/Makefile (tests): Add test-fenv-preserve.
35751 2014-03-26  Will Newton <will.newton@linaro.org>
35753         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35755 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35757         * scripts/versionlist.awk: Partition the version sets and emit all
35758         GLIBC_* (sorted) before all others (sorted).
35760 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35762         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35763         GLIBC_2.2.5 version.
35765 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35767         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35768         calls.
35770         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35771         previous change.
35773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35775 2014-03-25  Andreas Schwab  <schwab@suse.de>
35777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35778         label to be used after in6ailist is initialized.
35780 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35782         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35783         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35785 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35787         [BZ #16357]
35788         [BZ #16599]
35789         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35790         min_plus_half.
35791         (fp_formats): Update initializers.
35792         (init_fp_formats): Initialize new field.
35793         (output_for_one_input_case): Allow underflow for results up to
35794         min_plus_half.
35795         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35796         * math/auto-libm-test-in: Don't mark some underflows from asin and
35797         atanh as spurious.
35798         * math/auto-libm-test-out: Regenerated.
35799         * sysdeps/i386/fpu/libm-test-ulps: Update.
35800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35802 2014-03-25  Andreas Schwab  <schwab@suse.de>
35804         * libio/Makefile (tst-ftell-partial-wide-ENV)
35805         (tst-ftell-active-handler-ENV): Define.
35807 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35809         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35811 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35813         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35815 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35817         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35818         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35819         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35821 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35823         [BZ #16634]
35824         * elf/dl-load.c (open_verify): Add mode parameter.
35825         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35826         (open_path): Change from boolean 'secure' to complete flag 'mode'
35827         (_dl_map_object): Adjust.
35828         * elf/Makefile (tests): Add tst-dlopen-aout.
35829         * elf/tst-dlopen-aout.c: New test.
35831 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35833         [BZ #16714]
35834         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35835         (struct stat): Rename member pad0 to __glibc_reserved0.
35837         [BZ #16712]
35838         * sysdeps/s390/s390-32/bits/wordsize.h
35839         (__WORDSIZE32_SIZE_ULONG): New define.
35840         * sysdeps/s390/s390-64/bits/wordsize.h
35841         (__WORDSIZE32_SIZE_ULONG): Likewise.
35842         * sysdeps/generic/stdint.h (SIZE_MAX):
35843         Define as UL if __WORDSIZE32_SIZE_ULONG.
35845         [BZ #16713]
35846         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35847         (__glibc_reserved0): New variable.
35848         (sa_flags): Change type to int.
35850         * posix/Makefile (before-compile): Use += before-compile instead
35851         of a :=.
35853         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35854         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35856 2014-03-20  Andreas Schwab  <schwab@suse.de>
35858         [BZ #16743]
35859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35860         non-matching result from nscd.
35862 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35864         * scripts/bench.py: Moved to ...
35865         * benchtests/scripts/bench.py: ... here.
35866         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35868 2014-03-24  Andreas Schwab  <schwab@suse.de>
35870         [BZ #16002]
35871         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35872         alloca_account and account alloca use for struct in6ailist.
35874 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35876         [BZ #16284]
35877         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35878         rounding mode to recompute results that overflow to infinity or
35879         underflow to zero.
35880         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35881         bug 16284.
35882         * math/auto-libm-test-out: Regenerated.
35883         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35884         (ccosh_test): Likewise.
35885         (csin_test_data): Use plus_oflow.
35886         (csin_test): Use ALL_RM_TEST.
35887         (csinh_test_data): Use plus_oflow.
35888         (csinh_test): Use ALL_RM_TEST.
35889         * sysdeps/i386/fpu/libm-test-ulps: Update.
35890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35892 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35894         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35895         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35896         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35898         [BZ #16731]
35899         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35900         when x - 1 is zero.
35901         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35902         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35903         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35905         argument is 1.
35906         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35907         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35908         zero.
35909         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35910         * sysdeps/i386/fpu/libm-test-ulps: Update.
35911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35913 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35915         * scripts/bench.pl: Remove file.
35916         * scripts/bench.py: New benchmark script.
35917         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35918         * benchtests/README: Mention python dependency.
35919         * scripts/pylintrc: New file.
35920         * scripts/pylint: New file.
35922         * bits/mathdef.h: Use #ifdef instead of #if.
35923         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35924         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35925         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35926         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35927         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35928         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35930 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35931             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35933         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35935         and strpbrk-ppc64 objects.
35936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35937         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35938         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35939         multiarch strpbrk for POWER7.
35940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35941         multiarch strpbrk for PPC64.
35942         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35943         ifunc selector.
35944         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35945         strpbrk for POWER7.
35947 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35949         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35950         (atan_test): Likewise.
35951         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35952         (atanh_test): Use ALL_RM_TEST.
35953         (atan2_test_data): Likewise.
35954         (cabs_test): Likewise.
35955         (cacosh_test): Likewise.
35956         (carg_test): Likewise.
35957         (casin_test): Likewise.
35958         (casinh_test): Likewise.
35959         (cbrt_test): Likewise.
35960         (csqrt_test): Likewise.
35961         (erf_test): Likewise.
35962         (erfc_test): Likewise.
35963         (pow10_test): Likewise.
35964         (exp2_test): Likewise.
35965         (hypot_test): Likewise.
35966         (j0_test): Likewise.
35967         (j1_test): Likewise.
35968         (lgamma_test): Likewise.
35969         (gamma_test): Likewise.
35970         (sincos_test): Likewise.
35971         (tanh_test): Likewise.
35972         (y0_test): Likewise.
35973         (y1_test): Likewise.
35974         * sysdeps/i386/fpu/libm-test-ulps: Update.
35975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35977 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35979         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35981         and strcspn-ppc64 objects.
35982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35983         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35984         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35985         multiarch strcspn for POWER7.
35986         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35987         multiarch strcspn for PPC64.
35988         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35989         ifunc selector.
35990         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35991         strcspn for POWER7.
35993 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35995         * math/gen-libm-test.pl (generate_testfile): Expect only function
35996         name as argument to AUTO_TESTS_* and pass results for all rounding
35997         modes to parse_args.
35998         (parse_auto_input): Separate inputs of automatic tests from
35999         outputs before storing in %auto_tests.
36000         * math/libm-test.inc (acos_test_data): Update call to
36001         AUTO_TESTS_f_f.
36002         (acos_test): Use ALL_RM_TEST.
36003         (acos_tonearest_test_data): Remove.
36004         (acos_test_tonearest): Likewise.
36005         (acos_towardzero_test_data): Likewise.
36006         (acos_test_towardzero): Likewise.
36007         (acos_downward_test_data): Likewise.
36008         (acos_test_downward): Likewise.
36009         (acos_upward_test_data): Likewise.
36010         (acos_test_upward): Likewise.
36011         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36012         (asin_test_data): Likewise.
36013         (asin_test): Use ALL_RM_TEST.
36014         (asin_tonearest_test_data): Remove.
36015         (asin_test_tonearest): Likewise.
36016         (asin_towardzero_test_data): Likewise.
36017         (asin_test_towardzero): Likewise.
36018         (asin_downward_test_data): Likewise.
36019         (asin_test_downward): Likewise.
36020         (asin_upward_test_data): Likewise.
36021         (asin_test_upward): Likewise.
36022         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36023         (atan_test_data): Likewise.
36024         (atanh_test_data): Likewise.
36025         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36026         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36027         (carg_test_data): Likewise.
36028         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36029         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36030         (ccosh_test_data): Likewise.
36031         (cexp_test_data): Likewise.
36032         (clog_test_data): Likewise.
36033         (clog10_test_data): Likewise.
36034         (cos_test_data): Update call to AUTO_TESTS_f_f.
36035         (cos_test): Use ALL_RM_TEST.
36036         (cos_tonearest_test_data): Remove.
36037         (cos_test_tonearest): Likewise.
36038         (cos_towardzero_test_data): Likewise.
36039         (cos_test_towardzero): Likewise.
36040         (cos_downward_test_data): Likewise.
36041         (cos_test_downward): Likewise.
36042         (cos_upward_test_data): Likewise.
36043         (cos_test_upward): Likewise.
36044         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36045         (cosh_test): Use ALL_RM_TEST.
36046         (cosh_tonearest_test_data): Remove.
36047         (cosh_test_tonearest): Likewise.
36048         (cosh_towardzero_test_data): Likewise.
36049         (cosh_test_towardzero): Likewise.
36050         (cosh_downward_test_data): Likewise.
36051         (cosh_test_downward): Likewise.
36052         (cosh_upward_test_data): Likewise.
36053         (cosh_test_upward): Likewise.
36054         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36055         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36056         (ctan_test_data): Likewise.
36057         (ctan_test): Use ALL_RM_TEST.
36058         (ctan_tonearest_test_data): Remove.
36059         (ctan_test_tonearest): Likewise.
36060         (ctan_towardzero_test_data): Likewise.
36061         (ctan_test_towardzero): Likewise.
36062         (ctan_downward_test_data): Likewise.
36063         (ctan_test_downward): Likewise.
36064         (ctan_upward_test_data): Likewise.
36065         (ctan_test_upward): Likewise.
36066         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36067         (ctanh_test): Use ALL_RM_TEST.
36068         (ctanh_tonearest_test_data): Remove.
36069         (ctanh_test_tonearest): Likewise.
36070         (ctanh_towardzero_test_data): Likewise.
36071         (ctanh_test_towardzero): Likewise.
36072         (ctanh_downward_test_data): Likewise.
36073         (ctanh_test_downward): Likewise.
36074         (ctanh_upward_test_data): Likewise.
36075         (ctanh_test_upward): Likewise.
36076         (erf_test_data): Update call to AUTO_TESTS_f_f.
36077         (erfc_test_data): Likewise.
36078         (exp_test_data): Likewise.
36079         (exp_test): Use ALL_RM_TEST.
36080         (exp_tonearest_test_data): Remove.
36081         (exp_test_tonearest): Likewise.
36082         (exp_towardzero_test_data): Likewise.
36083         (exp_test_towardzero): Likewise.
36084         (exp_downward_test_data): Likewise.
36085         (exp_test_downward): Likewise.
36086         (exp_upward_test_data): Likewise.
36087         (exp_test_upward): Likewise.
36088         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36089         (exp10_test): Use ALL_RM_TEST.
36090         (exp10_tonearest_test_data): Remove.
36091         (exp10_test_tonearest): Likewise.
36092         (exp10_towardzero_test_data): Likewise.
36093         (exp10_test_towardzero): Likewise.
36094         (exp10_downward_test_data): Likewise.
36095         (exp10_test_downward): Likewise.
36096         (exp10_upward_test_data): Likewise.
36097         (exp10_test_upward): Likewise.
36098         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36099         (expm1_test_data): Likewise.
36100         (expm1_test): Use ALL_RM_TEST.
36101         (expm1_tonearest_test_data): Remove.
36102         (expm1_test_tonearest): Likewise.
36103         (expm1_towardzero_test_data): Likewise.
36104         (expm1_test_towardzero): Likewise.
36105         (expm1_downward_test_data): Likewise.
36106         (expm1_test_downward): Likewise.
36107         (expm1_upward_test_data): Likewise.
36108         (expm1_test_upward): Likewise.
36109         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36110         (fma_test): Use ALL_RM_TEST.
36111         (fma_towardzero_test_data): Remove.
36112         (fma_test_towardzero): Likewise.
36113         (fma_downward_test_data): Likewise.
36114         (fma_test_downward): Likewise.
36115         (fma_upward_test_data): Likewise.
36116         (fma_test_upward): Likewise.
36117         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36118         (j0_test_data): Update call to AUTO_TESTS_f_f.
36119         (j1_test_data): Likewise.
36120         (jn_test_data): Update call to AUTO_TESTS_if_f.
36121         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36122         (log_test_data): Update call to AUTO_TESTS_f_f.
36123         (log10_test_data): Likewise.
36124         (log1p_test_data): Likewise.
36125         (log2_test_data): Likewise.
36126         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36127         (pow_tonearest_test_data): Likewise.
36128         (sin_test_data): Update call to AUTO_TESTS_f_f.
36129         (sin_test): Use ALL_RM_TEST.
36130         (sin_tonearest_test_data): Remove.
36131         (sin_test_tonearest): Likewise.
36132         (sin_towardzero_test_data): Likewise.
36133         (sin_test_towardzero): Likewise.
36134         (sin_downward_test_data): Likewise.
36135         (sin_test_downward): Likewise.
36136         (sin_upward_test_data): Likewise.
36137         (sin_test_upward): Likewise.
36138         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36139         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36140         (sinh_test): Use ALL_RM_TEST.
36141         (sinh_tonearest_test_data): Remove.
36142         (sinh_test_tonearest): Likewise.
36143         (sinh_towardzero_test_data): Likewise.
36144         (sinh_test_towardzero): Likewise.
36145         (sinh_downward_test_data): Likewise.
36146         (sinh_test_downward): Likewise.
36147         (sinh_upward_test_data): Likewise.
36148         (sinh_test_upward): Likewise.
36149         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36150         (sqrt_test): Use ALL_RM_TEST.
36151         (sqrt_tonearest_test_data): Remove.
36152         (sqrt_test_tonearest): Likewise.
36153         (sqrt_towardzero_test_data): Likewise.
36154         (sqrt_test_towardzero): Likewise.
36155         (sqrt_downward_test_data): Likewise.
36156         (sqrt_test_downward): Likewise.
36157         (sqrt_upward_test_data): Likewise.
36158         (sqrt_test_upward): Likewise.
36159         (tan_test_data): Update call to AUTO_TESTS_f_f.
36160         (tan_test): Use ALL_RM_TEST.
36161         (tan_tonearest_test_data): Remove.
36162         (tan_test_tonearest): Likewise.
36163         (tan_towardzero_test_data): Likewise.
36164         (tan_test_towardzero): Likewise.
36165         (tan_downward_test_data): Likewise.
36166         (tan_test_downward): Likewise.
36167         (tan_upward_test_data): Likewise.
36168         (tan_test_upward): Likewise.
36169         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36170         (tgamma_test_data): Likewise.
36171         (y0_test_data): Likewise.
36172         (y1_test_data): Likewise.
36173         (yn_test_data): Update call to AUTO_TESTS_if_f.
36174         (main): Do not call removed functions.
36176 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36178         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36179         (ldexp_test_data): Remove.
36180         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36181         scalbn_test_data.
36182         (scalb_test): Use ALL_RM_TEST.
36184 2014-03-19  Andreas Schwab  <schwab@suse.de>
36186         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36188 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36190         [BZ #16649]
36191         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36192         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36193         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36194         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36195         (__ASSUME_PREADV): Undefine.
36196         (__ASSUME_PWRITEV): Likewise.
36198 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36200         * bits/mman-linux.h: Add comment about non-Linux use.
36201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36202         bits/mman-linux.h resting place.
36204         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36205         * bits/mman-linux.h: ... here.
36207 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36209         * conform/conformtest.pl: Add standard definition when calling C
36210         preprocessor on data files.
36211         (checknamespace): Remove unused variable.
36213 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36215         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36216         minus_oflow, plus_uflow and minus_uflow in expected results.
36217         * math/libm-test.inc (scalbn_test_data): Add more tests of
36218         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36219         minus_uflow.
36220         (scalbn_test): Use ALL_RM_TEST.
36221         (scalbln_test_data): Add more tests of negative arguments.  Use
36222         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36223         (scalbln_test): Use ALL_RM_TEST.
36225 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36227         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36229 2014-03-18  Will Newton  <will.newton@linaro.org>
36231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36232         inaccurate comment.
36234 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36236         * Makerules [!subdir] (check-abi): Exit with error status if a
36237         test failed.
36239 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36241         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36242         for rint.  Include results for all rounding modes.
36243         (nearbyint_test): Use ALL_RM_TEST.
36244         (rint_test_data): Include all tests used for nearbyint.
36246 2014-03-17  Will Newton  <will.newton@linaro.org>
36248         * nptl/sysdeps/pthread/pthread.h: Revert previous
36249         change.
36251         * sysdeps/generic/ldsodefs.h: Revert previous
36252         change.
36254         * libio/genops.c: Revert previous change.
36255         * libio/libioP.h: Likewise.
36256         * stdio-common/vfprintf.c: Likewise.
36258         * sysdeps/generic/math_private.h: Revert previous
36259         change.
36261         * sysdeps/generic/math_private.h: Check whether
36262         HAVE_RM_CTX is defined with #ifdef rather
36263         than #if.
36265         * argp/argp-fmtstream.h: Check whether
36266         __STRICT_ANSI__ is defined with #ifdef rather
36267         than #if.
36268         * argp/argp.h: Likewise.
36270         * libio/genops.c: Check whether
36271         _IO_JUMPS_OFFSET is defined with #ifdef rather
36272         than #if.
36273         * libio/libioP.h: Likewise.
36274         * stdio-common/vfprintf.c: Likewise.
36276         * sysdeps/generic/ldsodefs.h: Check whether
36277         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36278         than #if.
36280         * nptl/sysdeps/pthread/pthread.h: Check
36281         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36282         its value.
36284 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36286         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36287         setting O_APPEND.
36288         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36289         test case.
36291         [BZ #16680]
36292         * libio/fileops.c (_IO_file_open): Seek to end of file but
36293         don't cache the offset.
36294         (get_file_offset): Remove function.
36295         (do_ftell): Use cached offset when available.
36296         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36297         don't cache the offset.
36298         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36299         case.
36300         (do_one_test): Call it.
36301         (do_ftell_test): Fix up expected old offset for a+ mode.
36302         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36303         available.
36305         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36306         up test status with function return status.
36307         (do_write_test): Likewise.
36308         (do_append_test): Likewise.
36310         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36311         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36312         Remove.
36314 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36316         * math/gen-libm-test.pl (parse_args): Handle results specified for
36317         each rounding mode separately.
36318         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36319         tests and results from lrint_tonearest_test_data,
36320         lrint_towardzero_test_data, lrint_downward_test_data and
36321         lrint_upward_test_data.
36322         (lrint_test): Use ALL_RM_TEST.
36323         (lrint_tonearest_test_data): Remove.
36324         (lrint_test_tonearest): Likewise.
36325         (lrint_towardzero_test_data): Likewise.
36326         (lrint_test_towardzero): Likewise.
36327         (lrint_downward_test_data): Likewise.
36328         (lrint_test_downward): Likewise.
36329         (lrint_upward_test_data): Likewise.
36330         (lrint_test_upward): Likewise.
36331         (llrint_test_data): Merge in per-rounding-mode tests and results
36332         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36333         llrint_downward_test_data and llrint_upward_test_data.
36334         (llrint_test): Use ALL_RM_TEST.
36335         (llrint_tonearest_test_data): Remove.
36336         (llrint_test_tonearest): Likewise.
36337         (llrint_towardzero_test_data): Likewise.
36338         (llrint_test_towardzero): Likewise.
36339         (llrint_downward_test_data): Likewise.
36340         (llrint_test_downward): Likewise.
36341         (llrint_upward_test_data): Likewise.
36342         (llrint_test_upward): Likewise.
36343         (rint_test_data): Merge in per-rounding-mode tests and results
36344         from rint_tonearest_test_data, rint_towardzero_test_data,
36345         rint_downward_test_data and rint_upward_test_data.  Add
36346         per-rounding-mode results for tests not in those arrays.
36347         (rint_test): Use ALL_RM_TEST.
36348         (rint_tonearest_test_data): Remove.
36349         (rint_test_tonearest): Likewise.
36350         (rint_towardzero_test_data): Likewise.
36351         (rint_test_towardzero): Likewise.
36352         (rint_downward_test_data): Likewise.
36353         (rint_test_downward): Likewise.
36354         (rint_upward_test_data): Likewise.
36355         (rint_test_upward): Likewise.
36356         (main): Don't call removed functions.
36358 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36360         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36361         "Compiled on ..." crapola.  It is anti-useful.
36363 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36365         * scripts/evaluate-test.sh: Handle fourth argument to determine
36366         whether test run should stop on failure.
36367         * Makeconfig (stop-on-test-failure): New variable.
36368         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36369         $(stop-on-test-failure).
36370         * Makefile (tests): Give a summary of results from testing and
36371         exit with failure status if they include an ERROR or FAIL.
36372         (xtests): Likewise.
36373         * manual/install.texi (Configuring and compiling): Mention
36374         stop-on-test-failure=y.
36375         * INSTALL: Regenerated.
36377 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36379         * scripts/versionlist.awk: New file.
36380         * Makerules [$(build-shared) = yes]
36381         (postclean-generated): Add Versions.def, not Versions.def.v and
36382         Versions.def.v.i.
36383         ($(common-objpfx)Versions.def.v.i): Target removed.
36384         ($(common-objpfx)Versions.def): New target.
36385         ($(common-objpfx)Versions.all): Depend on that rather that
36386         $(common-objpfx)Versions.def.v.
36387         * Versions.def: File removed.
36389         * Makeconfig (+gccwarn): Add -Wundef.
36390         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36391         a dl-sysdep.h breaking its contract.
36392         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36393         * include/stackinfo.h: New file.
36394         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36395         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36396         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36397         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36398         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36399         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36400         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36401         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36402         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36403         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36404         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36405         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36406         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36407         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36408         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36410 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36412         [BZ #16707]
36413         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36414         implementation.
36415         * math/libm-test.inc (round_test_data): Add more tests.
36417         [BZ #16706]
36418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36419         implementation.
36420         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36422         [BZ #16701]
36423         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36424         implementation.
36425         * math/libm-test.inc (ceil_test_data): Add more tests.
36427         * math/libm-test.inc (trunc_test_data): Add more tests related to
36428         BZ#16414.
36430 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36432         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36433         with #if rather than #ifdef.
36434         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36436 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36438         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36439         first.  Disable AVX-512 GCC support if assembler doesn't support
36440         it.
36441         * sysdeps/x86_64/configure: Regenerated.
36443 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36445         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36446         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36447         (__old_pthread_attr_setstack): Likewise.
36448         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36449         [!_STACK_GROWS_DOWN]: Likewise.
36451 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36453         * config.make.in (have-bash2): Delete.
36454         * configure.ac (libc_cv_have_bash2): Delete.
36455         * configure: Regenerate.
36456         * elf/Makefile (common-ldd-rewrite): Rename to ...
36457         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36458         (sh-ldd-rewrite): Delete.
36459         (bash-ldd-rewrite): Delete.
36460         (have-bash2): Delete checks.
36461         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36462         ldd-rewrite.
36464         * config.make.in (have-ksh): Delete.
36465         (KSH): Delete.
36466         * configure.ac (libc_cv_have_ksh): Delete.
36467         * configure: Regenerate.
36469         * elf/Makefile: Delete $(have-ksh) check.
36470         ($(objpfx)sotruss): Change KSH to BASH.
36471         * elf/sotruss.ksh: Rename to ...
36472         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36473         function style to match POSIX.  Drop ksh vim mode setting.
36475         * manual/time.texi (Specifying the Time Zone with TZ): Change
36476         Tuesday to Thursday.
36478         * debug/tst-longjmp_chk2.c: Update header comment.
36479         (stackoverflow_handler): Add comment.  Call assert on pass value.
36481 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36483         [BZ #16194]
36484         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36485         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36486         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36487         (La_x86_64_vector): Add zmm.
36488         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36489         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36490         ($(objpfx)tst-audit10): New target.
36491         ($(objpfx)tst-audit10.out): Likewise.
36492         (tst-audit10-ENV): New.
36493         (AVX512-CFLAGS): Likewise.
36494         (CFLAGS-tst-audit10.c): Likewise.
36495         (CFLAGS-tst-auditmod10a.c): Likewise.
36496         (CFLAGS-tst-auditmod10b.c): Likewise.
36497         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36498         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36499         * sysdeps/x86_64/configure: Regenerated.
36500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36501         AVX-512 zmm register support.
36502         (_dl_x86_64_save_sse): Likewise.
36503         (_dl_x86_64_restore_sse): Likewise.
36504         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36505         size vector registers.
36506         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36507         (ZMM_SIZE): Likewise.
36508         * sysdeps/x86_64/tst-audit10.c: New file.
36509         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36510         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36512 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36514         * configure.ac (HAVE_EHDR_START): New check.
36515         * configure: Regenerated.
36516         * config.h.in (HAVE_EHDR_START): New #undef.
36517         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36518         assuming the lowest-addressed segment maps the start of the file.
36520 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36522         * INSTALL: Regenerated.
36524 2014-03-13  Will Newton  <will.newton@linaro.org>
36526         * manual/setjmp.texi (System V contexts): Improve
36527         clarity and grammar of documentation.
36529 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36531         [BZ #16381]
36532         * elf/Makefile (tests): Add tst-pie2.
36533         (tests-pie): Add tst-pie2.
36534         * elf/tst-pie2.c: New file.
36535         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36536         for ET_EXEC.
36537         * elf/rtld.c (map_doit): Load executable as lt_executable.
36538         (dl_main): Likewise.
36540 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36542         [BZ #16642]
36543         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36544         (__ASSUME_PSELECT): Undefine.
36546 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36548         [BZ #16689]
36549         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36550         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36551         static build.
36552         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36553         selector for static builds.
36555 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36557         [BZ #16695]
36558         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36559         key in the buffer.
36561 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36563         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36564         IFUNC selector for static builds.
36566 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36568         * sysdeps/mips/math_private.h [__mips_hard_float]
36569         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36570         libc_feresetround_mips_ctx.
36571         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36572         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36573         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36575         [BZ #16677]
36576         * math/s_nextafter.c (__nextafter): Do not return value from
36577         overflowing computation.
36578         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36579         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36580         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36581         Likewise.
36582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36583         Likewise.
36584         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36585         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36587 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36589         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36590         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36591         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36592         the new mov targetting sp.
36594 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36596         [BZ #16683]
36597         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36598         Define it for static builds as well.
36599         (NO_BZERO_IMPL): Likewise.
36601 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36603         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36604         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36605         multiarch strspn for PPC64.
36606         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36607         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36609         (__libc_ifunc_impl_list): Likewise.
36610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36611         multiarch optimizations
36612         * string/strspn.c (strspn): Using macro to redefine symbol name.
36614 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36617         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36618         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36619         multiarch strncat for PPC64.
36620         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36621         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36623         (__libc_ifunc_impl_list): Likewise.
36624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36625         multiarch optimizations
36627 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36629         [BZ #16639]
36630         * nscd/nscd.service: Make service type forking.
36632 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36634         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36635         sign in non default rounding modes.
36636         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36638 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36640         * math/libm-test.inc (ALL_RM_TEST): New macro.
36641         (ceil_test): Use ALL_RM_TEST.
36642         (cimag_test): Likewise.
36643         (conj_test): Likewise.
36644         (copysign_test): Likewise.
36645         (cproj_test): Likewise.
36646         (creal_test): Likewise.
36647         (fabs_test): Likewise.
36648         (floor_test): Likewise.
36649         (fmax_test): Likewise.
36650         (fmin_test): Likewise.
36651         (fmod_test): Likewise.
36652         (fpclassify_test): Likewise.
36653         (frexp_test): Likewise.
36654         (ilogb_test): Likewise.
36655         (isfinite_test): Likewise.
36656         (finite_test): Likewise.
36657         (isgreater_test): Likewise.
36658         (isgreaterequal_test): Likewise.
36659         (isinf_test): Likewise.
36660         (isless_test): Likewise.
36661         (islessequal_test): Likewise.
36662         (islessgreater_test): Likewise.
36663         (isnan_test): Likewise.
36664         (isnormal_test): Likewise.
36665         (issignaling_test): Likewise.
36666         (isunordered_test): Likewise.
36667         (logb_test): Likewise.
36668         (logb_downward_test_data): Remove.
36669         (logb_test_downward): Likewise.
36670         (lround_test): Use ALL_RM_TEST.
36671         (llround_test): Likewise.
36672         (modf_test): Likewise.
36673         (nexttoward_test): Likewise.
36674         (remainder_test): Likewise.
36675         (drem_test): Likewise.
36676         (remainder_tonearest_test_data): Likewise.
36677         (remainder_test_tonearest): Likewise.
36678         (drem_test_tonearest): Likewise.
36679         (remainder_towardzero_test_data): Likewise.
36680         (remainder_test_towardzero): Likewise.
36681         (drem_test_towardzero): Likewise.
36682         (remainder_downward_test_data): Likewise.
36683         (remainder_test_downward): Likewise.
36684         (drem_test_downward): Likewise.
36685         (remainder_upward_test_data): Likewise.
36686         (remainder_test_upward): Likewise.
36687         (drem_test_upward): Likewise.
36688         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36689         (round_test): Use ALL_RM_TEST.
36690         (signbit_test): Likewise.
36691         (trunc_test): Likewise.
36692         (significand_test): Likewise.
36693         (main): Don't call removed functions.
36695 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36697         [BZ #16674]
36698         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36699         || __USE_XOPEN2K8].
36700         (ILL_ILLOPN): Likewise.
36701         (ILL_ILLADR): Likewise.
36702         (ILL_ILLTRP): Likewise.
36703         (ILL_PRVOPC): Likewise.
36704         (ILL_PRVREG): Likewise.
36705         (ILL_COPROC): Likewise.
36706         (ILL_BADSTK): Likewise.
36707         (FPE_INTDIV): Likewise.
36708         (FPE_INTOVF): Likewise.
36709         (FPE_FLTDIV): Likewise.
36710         (FPE_FLTOVF): Likewise.
36711         (FPE_FLTUND): Likewise.
36712         (FPE_FLTRES): Likewise.
36713         (FPE_FLTINV): Likewise.
36714         (FPE_FLTSUB): Likewise.
36715         (SEGV_MAPERR): Likewise.
36716         (SEGV_ACCERR): Likewise.
36717         (BUS_ADRALN): Likewise.
36718         (BUS_ADRERR): Likewise.
36719         (BUS_OBJERR): Likewise.
36720         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36721         (TRAP_TRACE): Likewise.
36722         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36723         __USE_XOPEN2K8].
36724         (CLD_KILLED): Likewise.
36725         (CLD_DUMPED): Likewise.
36726         (CLD_TRAPPED): Likewise.
36727         (CLD_STOPPED): Likewise.
36728         (CLD_CONTINUED): Likewise.
36729         (POLL_IN): Likewise.
36730         (POLL_OUT): Likewise.
36731         (POLL_MSG): Likewise.
36732         (POLL_ERR): Likewise.
36733         (POLL_PRI): Likewise.
36734         (POLL_HUP): Likewise.
36735         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36736         Likewise.
36737         (ILL_ILLOPN): Likewise.
36738         (ILL_ILLADR): Likewise.
36739         (ILL_ILLTRP): Likewise.
36740         (ILL_PRVOPC): Likewise.
36741         (ILL_PRVREG): Likewise.
36742         (ILL_COPROC): Likewise.
36743         (ILL_BADSTK): Likewise.
36744         (FPE_INTDIV): Likewise.
36745         (FPE_INTOVF): Likewise.
36746         (FPE_FLTDIV): Likewise.
36747         (FPE_FLTOVF): Likewise.
36748         (FPE_FLTUND): Likewise.
36749         (FPE_FLTRES): Likewise.
36750         (FPE_FLTINV): Likewise.
36751         (FPE_FLTSUB): Likewise.
36752         (SEGV_MAPERR): Likewise.
36753         (SEGV_ACCERR): Likewise.
36754         (BUS_ADRALN): Likewise.
36755         (BUS_ADRERR): Likewise.
36756         (BUS_OBJERR): Likewise.
36757         (BUS_MCEERR_AR): Likewise.
36758         (BUS_MCEERR_AO): Likewise.
36759         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36760         (TRAP_TRACE): Likewise.
36761         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36762         __USE_XOPEN2K8].
36763         (CLD_KILLED): Likewise.
36764         (CLD_DUMPED): Likewise.
36765         (CLD_TRAPPED): Likewise.
36766         (CLD_STOPPED): Likewise.
36767         (CLD_CONTINUED): Likewise.
36768         (POLL_IN): Likewise.
36769         (POLL_OUT): Likewise.
36770         (POLL_MSG): Likewise.
36771         (POLL_ERR): Likewise.
36772         (POLL_PRI): Likewise.
36773         (POLL_HUP): Likewise.
36774         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36775         (ILL_ILLOPN): Likewise.
36776         (ILL_ILLADR): Likewise.
36777         (ILL_ILLTRP): Likewise.
36778         (ILL_PRVOPC): Likewise.
36779         (ILL_PRVREG): Likewise.
36780         (ILL_COPROC): Likewise.
36781         (ILL_BADSTK): Likewise.
36782         (FPE_INTDIV): Likewise.
36783         (FPE_INTOVF): Likewise.
36784         (FPE_FLTDIV): Likewise.
36785         (FPE_FLTOVF): Likewise.
36786         (FPE_FLTUND): Likewise.
36787         (FPE_FLTRES): Likewise.
36788         (FPE_FLTINV): Likewise.
36789         (FPE_FLTSUB): Likewise.
36790         (SEGV_MAPERR): Likewise.
36791         (SEGV_ACCERR): Likewise.
36792         (BUS_ADRALN): Likewise.
36793         (BUS_ADRERR): Likewise.
36794         (BUS_OBJERR): Likewise.
36795         (BUS_MCEERR_AR): Likewise.
36796         (BUS_MCEERR_AO): Likewise.
36797         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36798         (TRAP_TRACE): Likewise.
36799         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36800         __USE_XOPEN2K8].
36801         (CLD_KILLED): Likewise.
36802         (CLD_DUMPED): Likewise.
36803         (CLD_TRAPPED): Likewise.
36804         (CLD_STOPPED): Likewise.
36805         (CLD_CONTINUED): Likewise.
36806         (POLL_IN): Likewise.
36807         (POLL_OUT): Likewise.
36808         (POLL_MSG): Likewise.
36809         (POLL_ERR): Likewise.
36810         (POLL_PRI): Likewise.
36811         (POLL_HUP): Likewise.
36812         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36813         Likewise.
36814         (ILL_ILLOPN): Likewise.
36815         (ILL_ILLADR): Likewise.
36816         (ILL_ILLTRP): Likewise.
36817         (ILL_PRVOPC): Likewise.
36818         (ILL_PRVREG): Likewise.
36819         (ILL_COPROC): Likewise.
36820         (ILL_BADSTK): Likewise.
36821         (ILL_BADIADDR): Likewise.
36822         (ILL_BREAK): Likewise.
36823         (FPE_INTDIV): Likewise.
36824         (FPE_INTOVF): Likewise.
36825         (FPE_FLTDIV): Likewise.
36826         (FPE_FLTOVF): Likewise.
36827         (FPE_FLTUND): Likewise.
36828         (FPE_FLTRES): Likewise.
36829         (FPE_FLTINV): Likewise.
36830         (FPE_FLTSUB): Likewise.
36831         (FPE_DECOVF): Likewise.
36832         (FPE_DECDIV): Likewise.
36833         (FPE_DECERR): Likewise.
36834         (FPE_INVASC): Likewise.
36835         (FPE_INVDEC): Likewise.
36836         (SEGV_MAPERR): Likewise.
36837         (SEGV_ACCERR): Likewise.
36838         (SEGV_PSTKOVF): Likewise.
36839         (BUS_ADRALN): Likewise.
36840         (BUS_ADRERR): Likewise.
36841         (BUS_OBJERR): Likewise.
36842         (BUS_MCEERR_AR): Likewise.
36843         (BUS_MCEERR_AO): Likewise.
36844         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36845         (TRAP_TRACE): Likewise.
36846         (TRAP_BRANCH): Likewise.
36847         (TRAP_HWBKPT): Likewise.
36848         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36849         __USE_XOPEN2K8].
36850         (CLD_KILLED): Likewise.
36851         (CLD_DUMPED): Likewise.
36852         (CLD_TRAPPED): Likewise.
36853         (CLD_STOPPED): Likewise.
36854         (CLD_CONTINUED): Likewise.
36855         (POLL_IN): Likewise.
36856         (POLL_OUT): Likewise.
36857         (POLL_MSG): Likewise.
36858         (POLL_ERR): Likewise.
36859         (POLL_PRI): Likewise.
36860         (POLL_HUP): Likewise.
36861         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36862         (ILL_ILLOPN): Likewise.
36863         (ILL_ILLADR): Likewise.
36864         (ILL_ILLTRP): Likewise.
36865         (ILL_PRVOPC): Likewise.
36866         (ILL_PRVREG): Likewise.
36867         (ILL_COPROC): Likewise.
36868         (ILL_BADSTK): Likewise.
36869         (FPE_INTDIV): Likewise.
36870         (FPE_INTOVF): Likewise.
36871         (FPE_FLTDIV): Likewise.
36872         (FPE_FLTOVF): Likewise.
36873         (FPE_FLTUND): Likewise.
36874         (FPE_FLTRES): Likewise.
36875         (FPE_FLTINV): Likewise.
36876         (FPE_FLTSUB): Likewise.
36877         (SEGV_MAPERR): Likewise.
36878         (SEGV_ACCERR): Likewise.
36879         (BUS_ADRALN): Likewise.
36880         (BUS_ADRERR): Likewise.
36881         (BUS_OBJERR): Likewise.
36882         (BUS_MCEERR_AR): Likewise.
36883         (BUS_MCEERR_AO): Likewise.
36884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36885         (TRAP_TRACE): Likewise.
36886         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36887         __USE_XOPEN2K8].
36888         (CLD_KILLED): Likewise.
36889         (CLD_DUMPED): Likewise.
36890         (CLD_TRAPPED): Likewise.
36891         (CLD_STOPPED): Likewise.
36892         (CLD_CONTINUED): Likewise.
36893         (POLL_IN): Likewise.
36894         (POLL_OUT): Likewise.
36895         (POLL_MSG): Likewise.
36896         (POLL_ERR): Likewise.
36897         (POLL_PRI): Likewise.
36898         (POLL_HUP): Likewise.
36899         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36900         (ILL_ILLOPN): Likewise.
36901         (ILL_ILLADR): Likewise.
36902         (ILL_ILLTRP): Likewise.
36903         (ILL_PRVOPC): Likewise.
36904         (ILL_PRVREG): Likewise.
36905         (ILL_COPROC): Likewise.
36906         (ILL_BADSTK): Likewise.
36907         (FPE_INTDIV): Likewise.
36908         (FPE_INTOVF): Likewise.
36909         (FPE_FLTDIV): Likewise.
36910         (FPE_FLTOVF): Likewise.
36911         (FPE_FLTUND): Likewise.
36912         (FPE_FLTRES): Likewise.
36913         (FPE_FLTINV): Likewise.
36914         (FPE_FLTSUB): Likewise.
36915         (SEGV_MAPERR): Likewise.
36916         (SEGV_ACCERR): Likewise.
36917         (BUS_ADRALN): Likewise.
36918         (BUS_ADRERR): Likewise.
36919         (BUS_OBJERR): Likewise.
36920         (BUS_MCEERR_AR): Likewise.
36921         (BUS_MCEERR_AO): Likewise.
36922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36923         (TRAP_TRACE): Likewise.
36924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36925         __USE_XOPEN2K8].
36926         (CLD_KILLED): Likewise.
36927         (CLD_DUMPED): Likewise.
36928         (CLD_TRAPPED): Likewise.
36929         (CLD_STOPPED): Likewise.
36930         (CLD_CONTINUED): Likewise.
36931         (POLL_IN): Likewise.
36932         (POLL_OUT): Likewise.
36933         (POLL_MSG): Likewise.
36934         (POLL_ERR): Likewise.
36935         (POLL_PRI): Likewise.
36936         (POLL_HUP): Likewise.
36937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36938         (ILL_ILLOPN): Likewise.
36939         (ILL_ILLADR): Likewise.
36940         (ILL_ILLTRP): Likewise.
36941         (ILL_PRVOPC): Likewise.
36942         (ILL_PRVREG): Likewise.
36943         (ILL_COPROC): Likewise.
36944         (ILL_BADSTK): Likewise.
36945         (FPE_INTDIV): Likewise.
36946         (FPE_INTOVF): Likewise.
36947         (FPE_FLTDIV): Likewise.
36948         (FPE_FLTOVF): Likewise.
36949         (FPE_FLTUND): Likewise.
36950         (FPE_FLTRES): Likewise.
36951         (FPE_FLTINV): Likewise.
36952         (FPE_FLTSUB): Likewise.
36953         (SEGV_MAPERR): Likewise.
36954         (SEGV_ACCERR): Likewise.
36955         (BUS_ADRALN): Likewise.
36956         (BUS_ADRERR): Likewise.
36957         (BUS_OBJERR): Likewise.
36958         (BUS_MCEERR_AR): Likewise.
36959         (BUS_MCEERR_AO): Likewise.
36960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36961         (TRAP_TRACE): Likewise.
36962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36963         __USE_XOPEN2K8].
36964         (CLD_KILLED): Likewise.
36965         (CLD_DUMPED): Likewise.
36966         (CLD_TRAPPED): Likewise.
36967         (CLD_STOPPED): Likewise.
36968         (CLD_CONTINUED): Likewise.
36969         (POLL_IN): Likewise.
36970         (POLL_OUT): Likewise.
36971         (POLL_MSG): Likewise.
36972         (POLL_ERR): Likewise.
36973         (POLL_PRI): Likewise.
36974         (POLL_HUP): Likewise.
36975         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36976         (ILL_ILLOPN): Likewise.
36977         (ILL_ILLADR): Likewise.
36978         (ILL_ILLTRP): Likewise.
36979         (ILL_PRVOPC): Likewise.
36980         (ILL_PRVREG): Likewise.
36981         (ILL_COPROC): Likewise.
36982         (ILL_BADSTK): Likewise.
36983         (ILL_DBLFLT): Likewise.
36984         (ILL_HARDWALL): Likewise.
36985         (FPE_INTDIV): Likewise.
36986         (FPE_INTOVF): Likewise.
36987         (FPE_FLTDIV): Likewise.
36988         (FPE_FLTOVF): Likewise.
36989         (FPE_FLTUND): Likewise.
36990         (FPE_FLTRES): Likewise.
36991         (FPE_FLTINV): Likewise.
36992         (FPE_FLTSUB): Likewise.
36993         (SEGV_MAPERR): Likewise.
36994         (SEGV_ACCERR): Likewise.
36995         (BUS_ADRALN): Likewise.
36996         (BUS_ADRERR): Likewise.
36997         (BUS_OBJERR): Likewise.
36998         (BUS_MCEERR_AR): Likewise.
36999         (BUS_MCEERR_AO): Likewise.
37000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37001         (TRAP_TRACE): Likewise.
37002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37003         __USE_XOPEN2K8].
37004         (CLD_KILLED): Likewise.
37005         (CLD_DUMPED): Likewise.
37006         (CLD_TRAPPED): Likewise.
37007         (CLD_STOPPED): Likewise.
37008         (CLD_CONTINUED): Likewise.
37009         (POLL_IN): Likewise.
37010         (POLL_OUT): Likewise.
37011         (POLL_MSG): Likewise.
37012         (POLL_ERR): Likewise.
37013         (POLL_PRI): Likewise.
37014         (POLL_HUP): Likewise.
37015         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37016         (ILL_ILLOPN): Likewise.
37017         (ILL_ILLADR): Likewise.
37018         (ILL_ILLTRP): Likewise.
37019         (ILL_PRVOPC): Likewise.
37020         (ILL_PRVREG): Likewise.
37021         (ILL_COPROC): Likewise.
37022         (ILL_BADSTK): Likewise.
37023         (FPE_INTDIV): Likewise.
37024         (FPE_INTOVF): Likewise.
37025         (FPE_FLTDIV): Likewise.
37026         (FPE_FLTOVF): Likewise.
37027         (FPE_FLTUND): Likewise.
37028         (FPE_FLTRES): Likewise.
37029         (FPE_FLTINV): Likewise.
37030         (FPE_FLTSUB): Likewise.
37031         (SEGV_MAPERR): Likewise.
37032         (SEGV_ACCERR): Likewise.
37033         (BUS_ADRALN): Likewise.
37034         (BUS_ADRERR): Likewise.
37035         (BUS_OBJERR): Likewise.
37036         (BUS_MCEERR_AR): Likewise.
37037         (BUS_MCEERR_AO): Likewise.
37038         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37039         (TRAP_TRACE): Likewise.
37040         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37041         __USE_XOPEN2K8].
37042         (CLD_KILLED): Likewise.
37043         (CLD_DUMPED): Likewise.
37044         (CLD_TRAPPED): Likewise.
37045         (CLD_STOPPED): Likewise.
37046         (CLD_CONTINUED): Likewise.
37047         (POLL_IN): Likewise.
37048         (POLL_OUT): Likewise.
37049         (POLL_MSG): Likewise.
37050         (POLL_ERR): Likewise.
37051         (POLL_PRI): Likewise.
37052         (POLL_HUP): Likewise.
37053         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37054         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37056         [BZ #16670]
37057         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37058         before #include of <time.h>.
37059         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37060         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37061         (test-xfail-UNIX98/sched.h/conform): Likewise.
37063 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37065         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37066         error absence of trapping exception support.
37067         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37069 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37071         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37072         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37073         * timezone/Makefile (testdata): Move definition above include of
37074         Rules.
37075         (test-zones): New variable.
37076         (tests-special): Add zone files.
37077         (build-testdata): Use $(evaluate-test).
37079         * elf/Makefile (tests-special): Rename tests to end with .out.
37080         ($(objpfx)noload-mem): Likewise.
37081         ($(objpfx)tst-leaks1-mem): Likewise.
37082         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37083         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37084         $(objpfx)test-iconvconfig.out.
37085         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37086         set -e inside subshell and redirect output to file.
37087         * iconvdata/Makefile (generated): Rename tests to end with .out.
37088         Correct type.
37089         (tests-special): Rename tests to end with .out.
37090         ($(objpfx)mtrace-tst-loading): Likewise.
37091         * intl/Makefile (generated): Likewise.
37092         (tests-special): Likewise.
37093         ($(objpfx)mtrace-tst-gettext): Likewise.
37094         * misc/Makefile (generated): Likewise.
37095         (tests-special): Likewise.
37096         ($(objpfx)tst-error1-mem): Likewise.
37097         * nptl/Makefile (tests-special): Likewise.
37098         ($(objpfx)tst-stack3-mem): Likewise.
37099         (generated): Likewise.
37100         * posix/Makefile (generated): Likewise.
37101         (tests-special): Likewise.
37102         (xtests-special): Likewise.
37103         ($(objpfx)tst-fnmatch-mem): Likewise.
37104         ($(objpfx)bug-regex2-mem): Likewise.
37105         ($(objpfx)bug-regex14-mem): Likewise.
37106         ($(objpfx)bug-regex21-mem): Likewise.
37107         ($(objpfx)bug-regex31-mem): Likewise.
37108         ($(objpfx)tst-vfork3-mem): Likewise.
37109         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37110         ($(objpfx)tst-pcre-mem): Likewise.
37111         ($(objpfx)tst-boost-mem): Likewise.
37112         ($(objpfx)bug-ga2-mem): Likewise.
37113         ($(objpfx)bug-glob2-mem): Likewise.
37114         * resolv/Makefile (generate): Likewise.
37115         (tests-special): Likewise.
37116         (xtests-special): Likewise.
37117         (generated): Likewise.
37118         ($(objpfx)mtrace-tst-leaks): Likewise.
37119         ($(objpfx)mtrace-tst-leaks2): Likewise.
37121         * scripts/merge-test-results.sh: New file.
37122         * Makefile (tests-special-notdir): New variable.
37123         (tests): Run merge-test-results.sh.
37124         (xtests): Likewise.
37125         * Rules (tests-special-notdir): New variable.
37126         (xtests-special-notdir): Likewise.
37127         (tests): Run merge-test-results.sh
37128         (xtests): Likewise.
37130         * Makeconfig (test-xfail-name): New variable.
37131         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37132         compute variable name for expected failures.
37133         * conform/Makefile (conformtest-headers-data): New variable.
37134         (conformtest-standards): Likewise.
37135         (conformtest-headers-ISO): Likewise.
37136         (conformtest-headers-ISO99): Likewise.
37137         (conformtest-headers-ISO11): Likewise.
37138         (conformtest-headers-POSIX): Likewise.
37139         (conformtest-headers-XPG3): Likewise.
37140         (conformtest-headers-XPG4): Likewise.
37141         (conformtest-headers-UNIX98): Likewise.
37142         (conformtest-headers-XOPEN2K): Likewise.
37143         (conformtest-headers-POSIX2008): Likewise.
37144         (conformtest-headers-XOPEN2K8): Likewise.
37145         (conformtest-header-list-base): Likewise.
37146         (conformtest-header-list-tests): Likewise.
37147         (conformtest-header-base): Likewise.
37148         (conformtest-header-tests): Likewise.
37149         (tests-special): Add $(conformtest-header-list-tests).  If
37150         [$(fast-check) && !$(cross-compiling)], add
37151         $(conformtest-header-tests) instead of
37152         $(objpfx)run-conformtest.out.
37153         (generated): Add $(conformtest-header-list-base).  If
37154         [$(fast-check) && !$(cross-compiling)], add
37155         $(conformtest-header-base).  Remove previous setting.
37156         ($(conformtest-header-list-tests)): New target.
37157         (test-xfail-run-conformtest): Remove variable.
37158         ($(objpfx)run-conformtest.out): Remove target.
37159         (test-xfail-ISO11/complex.h/conform): New variable.
37160         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37161         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37162         (test-xfail-XPG3/varargs.h/conform): Likewise.
37163         (test-xfail-XPG4/varargs.h/conform): Likewise.
37164         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37165         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37166         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37167         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37168         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37169         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37170         (test-xfail-XPG3/ftw.h/conform): Likewise.
37171         (test-xfail-XPG3/grp.h/conform): Likewise.
37172         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37173         (test-xfail-XPG3/limits.h/conform): Likewise.
37174         (test-xfail-XPG3/pwd.h/conform): Likewise.
37175         (test-xfail-XPG3/search.h/conform): Likewise.
37176         (test-xfail-XPG3/signal.h/conform): Likewise.
37177         (test-xfail-XPG3/stdio.h/conform): Likewise.
37178         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37179         (test-xfail-XPG3/string.h/conform): Likewise.
37180         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37181         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37182         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37183         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37184         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37185         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37186         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37187         (test-xfail-XPG3/termios.h/conform): Likewise.
37188         (test-xfail-XPG3/time.h/conform): Likewise.
37189         (test-xfail-XPG3/unistd.h/conform): Likewise.
37190         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37191         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37192         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37193         (test-xfail-XPG4/netdb.h/conform): Likewise.
37194         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37195         (test-xfail-XPG4/signal.h/conform): Likewise.
37196         (test-xfail-XPG4/stdio.h/conform): Likewise.
37197         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37198         (test-xfail-XPG4/stropts.h/conform): Likewise.
37199         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37200         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37201         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37202         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37203         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37204         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37205         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37206         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37207         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37208         (test-xfail-XPG4/termios.h/conform): Likewise.
37209         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37210         (test-xfail-XPG4/unistd.h/conform): Likewise.
37211         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37212         (test-xfail-POSIX/sched.h/conform): Likewise.
37213         (test-xfail-POSIX/signal.h/conform): Likewise.
37214         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37215         (test-xfail-POSIX/tar.h/conform): Likewise.
37216         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37217         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37218         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37219         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37220         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37221         (test-xfail-UNIX98/sched.h/conform): Likewise.
37222         (test-xfail-UNIX98/signal.h/conform): Likewise.
37223         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37224         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37225         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37226         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37227         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37228         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37229         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37230         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37231         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37232         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37233         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37234         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37235         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37236         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37237         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37238         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37239         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37240         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37241         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37242         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37243         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37244         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37245         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37246         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37247         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37248         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37249         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37250         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37251         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37252         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37253         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37254         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37255         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37256         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37257         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37258         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37259         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37260         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37261         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37262         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37263         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37264         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37265         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37266         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37267         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37268         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37269         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37270         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37271         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37272         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37273         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37274         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37275         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37276         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37277         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37278         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37279         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37280         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37281         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37282         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37283         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37284         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37285         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37286         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37287         (conformtest-cc-flags): Likewise.
37288         ($(conformtest-header-tests): New target.
37289         * conform/check-header-lists.sh: New file.
37290         * conform/run-conformtest.sh: Remove.
37292         * conform/conformtest.pl: Allow ' and \ in values given for
37293         constants.
37294         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37295         inclusion.
37296         [POSIX] (sys/types.h): Likewise.
37297         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37298         inclusion.
37299         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37300         inclusion.
37301         * conform/data/signal.h-data (SIGIO): Remove expectation.
37302         [XPG3] (SIGBUS): Do not expect.
37303         [POSIX || XPG3] (SIGPOLL): Likewise.
37304         [POSIX || XPG3] (SIGPROF): Likewise.
37305         [POSIX || XPG3] (SIGSYS): Likewise.
37306         [XPG3] (SIGTRAP): Likewise.
37307         [POSIX || XPG3] (SIGURG): Likewise.
37308         [POSIX || XPG3] (SIGVTALRM): Likewise.
37309         [POSIX || XPG3] (SIGXCPU): Likewise.
37310         [POSIX || XPG3] (SIGXFSZ): Likewise.
37311         [POSIX] (SA_SIGINFO): Expect.
37312         [XPG3] (siginfo_t): Do not expect type or contents.
37313         [POSIX] (si_pid): Do not expect element.
37314         [POSIX] (si_uid): Likewise.
37315         [POSIX] (si_addr): Likewise.
37316         [POSIX] (si_status): Likewise.
37317         [POSIX] (si_band): Likewise.
37318         [XPG4] (si_value): Likewise.
37319         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37320         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37321         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37322         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37323         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37324         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37325         [POSIX || XPG3] (ILL_COPROC): Likewise.
37326         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37327         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37328         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37329         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37330         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37331         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37332         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37333         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37334         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37335         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37336         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37337         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37338         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37339         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37340         [POSIX || XPG3] (CLD_EXITED): Likewise.
37341         [POSIX || XPG3] (CLD_KILLED): Likewise.
37342         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37343         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37344         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37345         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37346         [POSIX || XPG3] (POLL_IN): Likewise.
37347         [POSIX || XPG3] (POLL_OUT): Likewise.
37348         [POSIX || XPG3] (POLL_MSG): Likewise.
37349         [POSIX || XPG3] (POLL_ERR): Likewise.
37350         [POSIX || XPG3] (POLL_PRI): Likewise.
37351         [POSIX || XPG3] (POLL_HUP): Likewise.
37352         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37353         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37354         (SIG*): Do not allow.
37355         [XPG3] (si_*): Likewise.
37356         [XPG3] (SI_*): Likewise.
37357         [XPG3 || XPG4] (sigev_*): Likewise.
37358         [XPG3 || XPG4] (SIGEV_*): Likewise.
37359         [XPG3 || XPG4] (sival_*): Likewise.
37360         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37361         [POSIX || XPG3] (BUS_*): Likewise.
37362         [POSIX || XPG3] (CLD_*): Likewise.
37363         [POSIX || XPG3] (FPE_*): Likewise.
37364         [POSIX || XPG3] (ILL_*): Likewise.
37365         [POSIX || XPG3] (POLL_*): Likewise.
37366         [POSIX || XPG3] (SEGV_*): Likewise.
37367         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37368         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37369         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37370         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37371         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37372         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37373         Specify type and value.
37374         (TVERSLEN): Likewise.
37375         (REGTYPE): Likewise.
37376         (AREGTYPE): Likewise.
37377         (LNKTYPE): Likewise.
37378         (SYMTYPE): Likewise.
37379         (CHRTYPE): Likewise.
37380         (BLKTYPE): Likewise.
37381         (DIRTYPE): Likewise.
37382         (FIFOTYPE): Likewise.
37383         (CONTTYPE): Likewise.
37384         (TSUID): Likewise.
37385         (TSGID): Likewise.
37386         (TSVTX): Likewise.
37387         (TUREAD): Likewise.
37388         (TUWRITE): Likewise.
37389         (TUEXEC): Likewise.
37390         (TGREAD): Likewise.
37391         (TGWRITE): Likewise.
37392         (TGEXEC): Likewise.
37393         (TOREAD): Likewise.
37394         (TOWRITE): Likewise.
37395         (TOEXEC): Likewise.
37396         [POSIX] (TSVTX): Expect constant.
37398 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37400         * Makefile (tests): Change dependencies to ....
37401         (tests-special): ... additions to this variable.
37402         (tests): Depend on $(tests-special).
37403         * Makerules (check-abi-list): New variable.
37404         (check-abi): Depend on $(check-abi-list).
37405         [$(subdir) = elf] (tests-special): Add
37406         $(objpfx)check-abi-libc.out.
37407         [$(build-shared) = yes && subdir] (tests-special): Add
37408         $(check-abi-list).
37409         [$(build-shared) = yes && subdir] (tests): Do not depend on
37410         check-abi.
37411         * Rules (tests): Depend on $(tests-special).
37412         (xtests): Depend on $(xtests-special).
37413         * catgets/Makefile (tests): Change dependencies to ....
37414         (tests-special): ... additions to this variable.
37415         * conform/Makefile (tests): Change dependencies to ....
37416         (tests-special): ... additions to this variable.
37417         * elf/Makefile (tests): Change dependencies to ....
37418         (tests-special): ... additions to this variable.
37419         * grp/Makefile (tests): Change dependencies to ....
37420         (tests-special): ... additions to this variable.
37421         * iconv/Makefile (xtests): Change dependencies to ....
37422         (xtests-special): ... additions to this variable.
37423         * iconvdata/Makefile (tests): Change dependencies to ....
37424         (tests-special): ... additions to this variable.
37425         * intl/Makefile (tests): Change dependencies to ....
37426         (tests-special): ... additions to this variable.  Also add
37427         $(objpfx)tst-gettext.out.
37428         * io/Makefile (tests): Change dependencies to ....
37429         (tests-special): ... additions to this variable.
37430         * libio/Makefile (tests): Change dependencies to ....
37431         (tests-special): ... additions to this variable.
37432         * malloc/Makefile (tests): Change dependencies to ....
37433         (tests-special): ... additions to this variable.
37434         * misc/Makefile (tests): Change dependencies to ....
37435         (tests-special): ... additions to this variable.
37436         * nptl/Makefile (tests): Change dependencies to ....
37437         (tests-special): ... additions to this variable.
37438         * nptl_db/Makefile (tests): Change dependencies to ....
37439         (tests-special): ... additions to this variable.
37440         * posix/Makefile (tests): Change dependencies to ....
37441         (tests-special): ... additions to this variable.
37442         (xtests): Change dependencies to ....
37443         (xtests-special): ... additions to this variable.
37444         * resolv/Makefile (tests): Change dependencies to ....
37445         (tests-special): ... additions to this variable.
37446         (xtests): Change dependencies to ....
37447         (xtests-special): ... additions to this variable.
37448         * stdio-common/Makefile (tests): Change dependencies to ....
37449         (tests-special): ... additions to this variable.
37450         (do-tst-unbputc): Remove target.
37451         (do-tst-printf): Likewise.
37452         * stdlib/Makefile (tests): Change dependencies to ....
37453         (tests-special): ... additions to this variable.
37454         * string/Makefile (tests): Change dependencies to ....
37455         (tests-special): ... additions to this variable.
37456         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37457         (tests-special): ... additions to this variable.
37459         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37460         whole file.
37461         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37462         whole file.
37463         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37464         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37466         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37467         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37468         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37469         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37470         * conform/data/libgen.h-data [XPG3]: Likewise.
37471         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37472         * conform/data/ndbm.h-data [XPG3]: Likewise.
37473         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37474         * conform/data/netdb.h-data [XPG3]: Likewise.
37475         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37476         * conform/data/poll.h-data [XPG3]: Likewise.
37477         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37478         * conform/data/strings.h-data [XPG3]: Likewise.
37479         * conform/data/stropts.h-data [XPG3]: Likewise.
37480         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37481         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37482         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37483         Likewise.
37484         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37485         * conform/data/sys/time.h-data [XPG3]: Likewise.
37486         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37487         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37488         * conform/data/sys/un.h-data [XPG3]: Likewise.
37489         * conform/data/syslog.h-data [XPG3]: Likewise.
37490         * conform/data/ucontext.h-data [XPG3]: Likewise.
37491         * conform/data/utmpx.h-data [XPG3]: Likewise.
37492         * conform/data/varargs.h-data [UNIX98]: Enable file.
37494         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37496         * math/libm-test.inc (struct test_f_f_data): Move expected results
37497         into structure for each rounding mode.
37498         (struct test_ff_f_data): Likewise.
37499         (struct test_ff_f_data_nexttoward): Likewise.
37500         (struct test_fi_f_data): Likewise.
37501         (struct test_fl_f_data): Likewise.
37502         (struct test_if_f_data): Likewise.
37503         (struct test_fff_f_data): Likewise.
37504         (struct test_c_f_data): Likewise.
37505         (struct test_f_f1_data): Likewise.
37506         (struct test_fF_f1_data): Likewise.
37507         (struct test_ffI_f1_data): Likewise.
37508         (struct test_c_c_data): Likewise.
37509         (struct test_cc_c_data): Likewise.
37510         (struct test_f_i_data): Likewise.
37511         (struct test_ff_i_data): Likewise.
37512         (struct test_f_l_data): Likewise.
37513         (struct test_f_L_data): Likewise.
37514         (struct test_fFF_11_data): Likewise.
37515         (RM_): New macro.
37516         (RM_FE_DOWNWARD): Likewise.
37517         (RM_FE_TONEAREST): Likewise.
37518         (RM_FE_TOWARDZERO): Likewise.
37519         (RM_FE_UPWARD): Likewise.
37520         (RUN_TEST_LOOP_f_f): Update references to expected results.
37521         (RUN_TEST_LOOP_2_f): Likewise.
37522         (RUN_TEST_LOOP_fff_f): Likewise.
37523         (RUN_TEST_LOOP_c_f): Likewise.
37524         (RUN_TEST_LOOP_f_f1): Likewise.
37525         (RUN_TEST_LOOP_fF_f1): Likewise.
37526         (RUN_TEST_LOOP_fI_f1): Likewise.
37527         (RUN_TEST_LOOP_ffI_f1): Likewise.
37528         (RUN_TEST_LOOP_c_c): Likewise.
37529         (RUN_TEST_LOOP_cc_c): Likewise.
37530         (RUN_TEST_LOOP_f_i): Likewise.
37531         (RUN_TEST_LOOP_f_i_tg): Likewise.
37532         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37533         (RUN_TEST_LOOP_f_b): Likewise.
37534         (RUN_TEST_LOOP_f_b_tg): Likewise.
37535         (RUN_TEST_LOOP_f_l): Likewise.
37536         (RUN_TEST_LOOP_f_L): Likewise.
37537         (RUN_TEST_LOOP_fFF_11): Likewise.
37538         * math/gen-libm-test.pl (parse_args): Output four copies of
37539         expected results for each test.
37541         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37542         (__ASSUME_UTIMES): Remove.
37543         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37544         (__ASSUME_UTIMES): Likewise.
37546         * math/gen-auto-libm-tests.c: Update comment on output format.
37547         (output_for_one_input_case): Generate before-rounding and
37548         after-rounding information as conditions on output flags not
37549         floating-point format.
37550         * math/auto-libm-test-out: Regenerated.
37551         * math/gen-libm-test.pl (cond_value): New function.
37552         (or_cond_value): Use cond_value.
37553         (generate_testfile): Handle conditional exceptions.
37555 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37557         * math/libm-test.inc (max_valid_error): New variable.
37558         (init_max_error): Take new argument specifying whether function
37559         results are exactly determined.  Set max_valid_error and bound
37560         other variables for errors based on this argument.
37561         (set_max_error): Do not record results above max_valid_error.
37562         (check_float_internal): Only accept errors of up to 0.5ulps if
37563         also at most max_valid_error.
37564         (START): Take new argument EXACT and pass it to init_max_error.
37565         (acos_test): Update call to START.
37566         (acos_test_tonearest): Likewise.
37567         (acos_test_towardzero): Likewise.
37568         (acos_test_downward): Likewise.
37569         (acos_test_upward): Likewise.
37570         (acosh_test): Likewise.
37571         (asin_test): Likewise.
37572         (asin_test_tonearest): Likewise.
37573         (asin_test_towardzero): Likewise.
37574         (asin_test_downward): Likewise.
37575         (asin_test_upward): Likewise.
37576         (asinh_test): Likewise.
37577         (atan_test): Likewise.
37578         (atanh_test): Likewise.
37579         (atan2_test): Likewise.
37580         (cabs_test): Likewise.
37581         (cacos_test): Likewise.
37582         (cacosh_test): Likewise.
37583         (carg_test): Likewise.
37584         (casin_test): Likewise.
37585         (casinh_test): Likewise.
37586         (catan_test): Likewise.
37587         (catanh_test): Likewise.
37588         (cbrt_test): Likewise.
37589         (ccos_test): Likewise.
37590         (ccosh_test): Likewise.
37591         (ceil_test): Likewise.
37592         (cexp_test): Likewise.
37593         (cimag_test): Likewise.
37594         (clog_test): Likewise.
37595         (clog10_test): Likewise.
37596         (conj_test): Likewise.
37597         (copysign_test): Likewise.
37598         (cos_test): Likewise.
37599         (cos_test_tonearest): Likewise.
37600         (cos_test_towardzero): Likewise.
37601         (cos_test_downward): Likewise.
37602         (cos_test_upward): Likewise.
37603         (cosh_test): Likewise.
37604         (cosh_test_tonearest): Likewise.
37605         (cosh_test_towardzero): Likewise.
37606         (cosh_test_downward): Likewise.
37607         (cosh_test_upward): Likewise.
37608         (cpow_test): Likewise.
37609         (cproj_test): Likewise.
37610         (creal_test): Likewise.
37611         (csin_test): Likewise.
37612         (csinh_test): Likewise.
37613         (csqrt_test): Likewise.
37614         (ctan_test): Likewise.
37615         (ctan_test_tonearest): Likewise.
37616         (ctan_test_towardzero): Likewise.
37617         (ctan_test_downward): Likewise.
37618         (ctan_test_upward): Likewise.
37619         (ctanh_test): Likewise.
37620         (ctanh_test_tonearest): Likewise.
37621         (ctanh_test_towardzero): Likewise.
37622         (ctanh_test_downward): Likewise.
37623         (ctanh_test_upward): Likewise.
37624         (erf_test): Likewise.
37625         (erfc_test): Likewise.
37626         (exp_test): Likewise.
37627         (exp_test_tonearest): Likewise.
37628         (exp_test_towardzero): Likewise.
37629         (exp_test_downward): Likewise.
37630         (exp_test_upward): Likewise.
37631         (exp10_test): Likewise.
37632         (exp10_test_tonearest): Likewise.
37633         (exp10_test_towardzero): Likewise.
37634         (exp10_test_downward): Likewise.
37635         (exp10_test_upward): Likewise.
37636         (pow10_test): Likewise.
37637         (exp2_test): Likewise.
37638         (expm1_test): Likewise.
37639         (expm1_test_tonearest): Likewise.
37640         (expm1_test_towardzero): Likewise.
37641         (expm1_test_downward): Likewise.
37642         (expm1_test_upward): Likewise.
37643         (fabs_test): Likewise.
37644         (fdim_test): Likewise.
37645         (floor_test): Likewise.
37646         (fma_test): Likewise.
37647         (fma_test_towardzero): Likewise.
37648         (fma_test_downward): Likewise.
37649         (fma_test_upward): Likewise.
37650         (fmax_test): Likewise.
37651         (fmin_test): Likewise.
37652         (fmod_test): Likewise.
37653         (fpclassify_test): Likewise.
37654         (frexp_test): Likewise.
37655         (hypot_test): Likewise.
37656         (ilogb_test): Likewise.
37657         (isfinite_test): Likewise.
37658         (finite_test): Likewise.
37659         (isgreater_test): Likewise.
37660         (isgreaterequal_test): Likewise.
37661         (isinf_test): Likewise.
37662         (isless_test): Likewise.
37663         (islessequal_test): Likewise.
37664         (islessgreater_test): Likewise.
37665         (isnan_test): Likewise.
37666         (isnormal_test): Likewise.
37667         (issignaling_test): Likewise.
37668         (isunordered_test): Likewise.
37669         (j0_test): Likewise.
37670         (j1_test): Likewise.
37671         (jn_test): Likewise.
37672         (ldexp_test): Likewise.
37673         (lgamma_test): Likewise.
37674         (gamma_test): Likewise.
37675         (lrint_test): Likewise.
37676         (lrint_test_tonearest): Likewise.
37677         (lrint_test_towardzero): Likewise.
37678         (lrint_test_downward): Likewise.
37679         (lrint_test_upward): Likewise.
37680         (llrint_test): Likewise.
37681         (llrint_test_tonearest): Likewise.
37682         (llrint_test_towardzero): Likewise.
37683         (llrint_test_downward): Likewise.
37684         (llrint_test_upward): Likewise.
37685         (log_test): Likewise.
37686         (log10_test): Likewise.
37687         (log1p_test): Likewise.
37688         (log2_test): Likewise.
37689         (logb_test): Likewise.
37690         (logb_test_downward): Likewise.
37691         (lround_test): Likewise.
37692         (llround_test): Likewise.
37693         (modf_test): Likewise.
37694         (nearbyint_test): Likewise.
37695         (nextafter_test): Likewise.
37696         (nexttoward_test): Likewise.
37697         (pow_test): Likewise.
37698         (pow_test_tonearest): Likewise.
37699         (pow_test_towardzero): Likewise.
37700         (pow_test_downward): Likewise.
37701         (pow_test_upward): Likewise.
37702         (remainder_test): Likewise.
37703         (drem_test): Likewise.
37704         (remainder_test_tonearest): Likewise.
37705         (drem_test_tonearest): Likewise.
37706         (remainder_test_towardzero): Likewise.
37707         (drem_test_towardzero): Likewise.
37708         (remainder_test_downward): Likewise.
37709         (drem_test_downward): Likewise.
37710         (remainder_test_upward): Likewise.
37711         (drem_test_upward): Likewise.
37712         (remquo_test): Likewise.
37713         (rint_test): Likewise.
37714         (rint_test_tonearest): Likewise.
37715         (rint_test_towardzero): Likewise.
37716         (rint_test_downward): Likewise.
37717         (rint_test_upward): Likewise.
37718         (round_test): Likewise.
37719         (scalb_test): Likewise.
37720         (scalbn_test): Likewise.
37721         (scalbln_test): Likewise.
37722         (signbit_test): Likewise.
37723         (sin_test): Likewise.
37724         (sin_test_tonearest): Likewise.
37725         (sin_test_towardzero): Likewise.
37726         (sin_test_downward): Likewise.
37727         (sin_test_upward): Likewise.
37728         (sincos_test): Likewise.
37729         (sinh_test): Likewise.
37730         (sinh_test_tonearest): Likewise.
37731         (sinh_test_towardzero): Likewise.
37732         (sinh_test_downward): Likewise.
37733         (sinh_test_upward): Likewise.
37734         (sqrt_test): Likewise.
37735         (sqrt_test_tonearest): Likewise.
37736         (sqrt_test_towardzero): Likewise.
37737         (sqrt_test_downward): Likewise.
37738         (sqrt_test_upward): Likewise.
37739         (tan_test): Likewise.
37740         (tan_test_tonearest): Likewise.
37741         (tan_test_towardzero): Likewise.
37742         (tan_test_downward): Likewise.
37743         (tan_test_upward): Likewise.
37744         (tanh_test): Likewise.
37745         (tgamma_test): Likewise.
37746         (trunc_test): Likewise.
37747         (y0_test): Likewise.
37748         (y1_test): Likewise.
37749         (yn_test): Likewise.
37750         (significand_test): Likewise.
37752         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37753         individual tests in comment.
37754         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37755         (prev_max_error): New variable.
37756         (prev_real_max_error): Likewise.
37757         (prev_imag_max_error): Likewise.
37758         (compare_ulp_data): Don't refer to test names in comment.
37759         (find_test_ulps): Remove function.
37760         (find_function_ulps): Likewise.
37761         (find_complex_function_ulps): Likewise.
37762         (init_max_error): Take function name as argument.  Look up ulps
37763         for that function.
37764         (print_ulps): Remove function.
37765         (print_max_error): Use prev_max_error instead of calling
37766         find_function_ulps.
37767         (print_complex_max_error): Use prev_real_max_error and
37768         prev_imag_max_error instead of calling find_complex_function_ulps.
37769         (check_float_internal): Take max_ulp parameter instead of calling
37770         find_test_ulps.  Don't call print_ulps.
37771         (check_float): Update call to check_float_internal.
37772         (check_complex): Update calls to check_float_internal.
37773         (START): Pass argument to init_max_error.
37774         * math/gen-libm-test.pl (%results): Don't include "kind"
37775         information.
37776         (parse_ulps): Don't handle ulps of individual tests.
37777         (print_ulps_file): Likewise.
37778         (output_ulps): Likewise.
37779         * math/README.libm-test: Update.
37780         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37781         individual tests.
37782         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37783         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37784         * sysdeps/arm/libm-test-ulps: Likewise.
37785         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37786         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37787         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37788         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37789         * sysdeps/microblaze/libm-test-ulps: Likewise.
37790         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37791         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37792         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37793         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37795         * sysdeps/sh/libm-test-ulps: Likewise.
37796         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37797         * sysdeps/tile/libm-test-ulps: Likewise.
37798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37800 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37802         * math/libm-test.inc (print_complex_max_error): Check separately
37803         whether real and imaginary errors are within allowed range and
37804         pass 0 to print_complex_function_ulps instead of value within
37805         allowed range.
37807 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37809         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37810         formatting.
37811         (get_handles_fopen): Likewise.
37812         (do_write_test): Likewise.
37814         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37816         * libio/fileops.c (do_ftell): Use cached offset when
37817         available.
37818         * libio/iofwide.c (do_ftell_wide): Likewise.
37819         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37820         _IO_file_attach.
37821         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37823         [BZ #16532]
37824         * libio/libioP.h (get_file_offset): New function.
37825         * libio/fileops.c (get_file_offset): Likewise.
37826         (do_ftell): Likewise.
37827         (_IO_new_file_seekoff): Split out ftell logic.
37828         * libio/wfileops.c (do_ftell_wide): Likewise.
37829         (_IO_wfile_seekoff): Split out ftell logic.
37830         * libio/tst-ftell-active-handler.c: New test case.
37831         * libio/Makefile (tests): Add it.
37833 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37835         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37836         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37838 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37840         [BZ #16639]
37841         * nscd/connections.c (nscd_init): Call do_exit.
37842         (start_threads): Call do_exit and notify_parent.
37843         (begin_drop_privileges): Call do_exit.
37844         (finish_drop_privileges): Likewise.
37845         * nscd/selinux.c (preserve_capabilities): Likewise.
37846         (install_real_capabilities): Likewise.
37847         (nscd_selinux_enabled): Likewise.
37848         (avc_create_thread): Likewise.
37849         (avc_alloc_lock): Likewise.
37850         (nscd_avc_init): Likewise.
37851         * nscd/nscd.c (parent_fd): New static variable.
37852         (main): Create a pipe between parent and child processes.
37853         Skip closing parent_fd.
37854         (monitor_child): New function.
37855         (do_exit): Likewise.
37856         (notify_parent): Likewise.
37857         * nscd/nscd.h (notify_parent): Likewise.
37858         (do_exit): Likewise.
37860 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37862         * malloc/malloc.c (__libc_calloc): Revert last change.
37864 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37868 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37870         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37872         implementation.
37873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37874         (__libc_ifunc_impl_list): Likewise.
37875         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37876         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37877         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37878         * string/strrchr.c: Define STRRCHR.
37880 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37882         * benchtest/bench-strtok.c (simple_strtok): Delete.
37883         (strtok_string): Use as benchmark.
37884         * string/strtok (STRTOK): New macro.
37886 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37888         * manual/threads.texi: Add header and standard comments to all
37889         functions.
37891         * elf/dl-lookup.c (check_match): New function.
37892         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37893         (do_lookup_x): Remove nested function check_match. Use non-nested
37894         function check_match.
37896 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37898         * csu/Makefile (generated, before-compile): Use += rather than =.
37899         * catgets/Makefile (generated, generated-dirs): Likewise.
37900         * debug/Makefile (generated): Likewise.
37901         * dlfcn/Makefile (generated): Likewise.
37902         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37903         * iconvdata/Makefile (before-compile, generated): Likewise.
37904         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37905         * libio/Makefile (generated): Likewise.
37906         * malloc/Makefile (generated): Likewise.
37907         * manual/Makefile (generated, generated-dirs): Likewise.
37908         * misc/Makefile (generated): Likewise.
37909         * posix/Makefile (generated): Likewise.
37910         * resolv/Makefile (generated): Likewise.
37911         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37912         * timezone/Makefile (generated, generated-dirs): Likewise.
37914         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37916 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37919         power8 implementation.
37920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37921         file: POWER8 llround ifunc implementation.
37922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37923         (__lllround): Add POWER8 implementation.
37924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37925         POWER8 llround implementation.
37927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37928         power8 implementation.
37929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37930         file: POWER8 llrint ifunc implementation.
37931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37932         Add POWER8 implementation.
37933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37934         POWER8 llrint implementation.
37936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37937         power8 implementation.
37938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37939         file: POWER8 finite ifunc implementation.
37940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37941         Add POWER8 implementation.
37942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37943         Likewise.
37944         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37945         POWER8 finite implementation.
37946         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37949         power8 implementation.
37950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37951         file: POWER8 isinf ifunc implementation.
37952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37953         POWER8 implementation.
37954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37955         Likewise.
37956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37957         isinf implementation.
37958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37960         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37961         (INIT_ARCH): Add hwcap2 initialization.
37962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37963         power8 implementation.
37964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37965         file: POWER8 isnan ifunc implementation.
37966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37967         POWER8 implementation.
37968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37969         Likewise.
37970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37971         isnan implementation.
37972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37974 2014-02-27  Joey Ye  <joey.ye@arm.com>
37976         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37977         (_FP_NANFRAC_Q): Set to zero.
37979 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37981         [BZ #16623]
37982         * math/auto-libm-test-in: New test inputs.
37983         * math/auto-libm-test-out: Regenerate.
37984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37985         and DA.
37986         (__cos): Likewise.
37987         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37989 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37991         * scripts/evaluate-test.sh: Take new argument indicating whether
37992         failure is expected.
37993         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37994         indicating whether failure is expected.
37995         * conform/Makefile (test-xfail-run-conformtest): New variable.
37996         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37997         level.
37998         * posix/Makefile (test-xfail-annexc): New variable.
37999         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38001 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38003         * argp/Makefile: Include Makeconfig immediately after defining
38004         subdir.
38005         * assert/Makefile: Likewise.
38006         * benchtests/Makefile: Likewise.
38007         * catgets/Makefile: Likewise.
38008         * conform/Makefile: Likewise.
38009         * crypt/Makefile: Likewise.
38010         * csu/Makefile: Likewise.
38011         (all): Remove target.
38012         * ctype/Makefile: Include Makeconfig immediately after defining
38013         subdir.
38014         * debug/Makefile: Likewise.
38015         * dirent/Makefile: Likewise.
38016         * dlfcn/Makefile: Likewise.
38017         * gmon/Makefile: Likewise.
38018         * gnulib/Makefile: Likewise.
38019         * grp/Makefile: Likewise.
38020         * gshadow/Makefile: Likewise.
38021         * hesiod/Makefile: Likewise.
38022         * hurd/Makefile: Likewise.
38023         (all): Remove target.
38024         * iconvdata/Makefile: Include Makeconfig immediately after
38025         defining subdir.
38026         * inet/Makefile: Likewise.
38027         * intl/Makefile: Likewise.
38028         * io/Makefile: Likewise.
38029         * libio/Makefile: Likewise.
38030         (all): Remove target.
38031         * locale/Makefile: Include Makeconfig immediately after defining
38032         subdir.
38033         * login/Makefile: Likewise.
38034         * mach/Makefile: Likewise.
38035         (all): Remove target.
38036         * malloc/Makefile: Include Makeconfig immediately after defining
38037         subdir.
38038         (all): Remove target.
38039         * manual/Makefile: Include Makeconfig immediately after defining
38040         subdir.
38041         * math/Makefile: Likewise.
38042         * misc/Makefile: Likewise.
38043         * nis/Makefile: Likewise.
38044         * nss/Makefile: Likewise.
38045         * po/Makefile: Likewise.
38046         (all): Remove target.
38047         * posix/Makefile: Include Makeconfig immediately after defining
38048         subdir.
38049         * pwd/Makefile: Likewise.
38050         * resolv/Makefile: Likewise.
38051         * resource/Makefile: Likewise.
38052         * rt/Makefile: Likewise.
38053         * setjmp/Makefile: Likewise.
38054         * shadow/Makefile: Likewise.
38055         * signal/Makefile: Likewise.
38056         * socket/Makefile: Likewise.
38057         * soft-fp/Makefile: Likewise.
38058         * stdio-common/Makefile: Likewise.
38059         * stdlib/Makefile: Likewise.
38060         * streams/Makefile: Likewise.
38061         * string/Makefile: Likewise.
38062         * sunrpc/Makefile: Likewise.
38063         (all): Remove target.
38064         * sysvipc/Makefile: Include Makeconfig immediately after defining
38065         subdir.
38066         * termios/Makefile: Likewise.
38067         * time/Makefile: Likewise.
38068         * timezone/Makefile: Likewise.
38069         (all): Remove target.
38070         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38071         subdir.
38072         * wctype/Makefile: Likewise.
38074 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38076         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38077         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38078         (libc_feholdexcept_setround_mips): Ditto.
38079         (libc_feholdsetround): New.
38080         (libc_feholdsetroundf): New.
38081         (libc_feholdsetroundl): New.
38082         (libc_feupdateenv_test_mips): New.
38083         (libc_feupdateenv_test): New.
38084         (libc_feupdateenv_testf): New.
38085         (libc_feupdateenv_testl): New.
38086         (libc_feresetround): New.
38087         (libc_feresetroundf): New.
38088         (libc_feresetroundl): New.
38089         (libc_fetestexcept_mips): New.
38090         (libc_fetestexcept): New.
38091         (libc_fetestexceptf): New.
38092         (libc_fetestexceptl): New.
38093         (HAVE_RM_CTX): New.
38094         (libc_feholdexcept_setround_mips_ctx): New.
38095         (libc_feholdexcept_setround_ctx): New.
38096         (libc_feholdexcept_setroundf_ctx): New.
38097         (libc_feholdexcept_setroundl_ctx): New.
38098         (libc_fesetenv_mips_ctx): New.
38099         (libc_fesetenv_ctx): New.
38100         (libc_fesetenv_ctxf): New.
38101         (libc_fesetenv_ctxl): New.
38102         (libc_feupdateenv_mips_ctx): New.
38103         (libc_feupdateenv_ctx): New.
38104         (libc_feupdateenvf_ctx): New.
38105         (libc_feupdateenvl_ctx): New.
38106         (libc_feholdsetround_mips_ctx): New.
38107         (libc_feholdsetround_ctx): New.
38108         (libc_feholdsetroundf_ctx): New.
38109         (libc_feholdsetroundl_ctx): New.
38110         (libc_feresetround_mips_ctx): New.
38111         (libc_feresetround_ctx): New.
38112         (libc_feresetroundf_ctx): New.
38113         (libc_feresetroundl_ctx): New.
38115 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38117         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38119         * manual/ipc.texi: New file.
38120         * manual/Makefile (chapters): Add ipc.
38121         * manual/job.texi: Add "Inter-Process Communication" to next.
38122         * manual/process.texi: Add "Inter-Process Communication" to prev.
38124 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38128 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38130         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38132         * manual/arith.texi: Fix spaces after sentences.
38133         * manual/charset.texi: Likewise.
38134         * manual/errno.texi: Likewise.
38135         * manual/install.texi: Likewise.
38136         * manual/llio.texi: Likewise.
38137         * manual/locale.texi: Likewise.
38138         * manual/maint.texi: Likewise.
38139         * manual/math.texi: Likewise.
38140         * manual/memory.texi: Likewise.
38141         * manual/message.texi: Likewise.
38142         * manual/probes.texi: Likewise.
38143         * manual/resource.texi: Likewise.
38144         * manual/signal.texi: Likewise.
38145         * manual/socket.texi: Likewise.
38146         * manual/stdio.texi: Likewise.
38147         * manual/string.texi: Likewise.
38148         * manual/time.texi: Likewise.
38149         * manual/users.texi: Likewise.
38151 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38153         [BZ #16632]
38154         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38155         _DEFAULT_SOURCE is defined.
38157 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38158             Carlos O'Donell  <carlos@redhat.com>
38160         [BZ #16613]
38161         * elf/dl-tls.c (_dl_count_modids): New function.
38162         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38163         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38164         audit library and increment generation counter.
38165         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38166         * elf/tst-audit9.c: New file.
38167         * elf/tst-auditmod9a.c: New file.
38168         * elf/tst-auditmod9b.c: New file.
38169         * elf/Makefile: Add rules to build and run tst-audit9.
38171 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38173         [BZ #15347]
38174         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38176 2014-02-25  Will Newton  <will.newton@linaro.org>
38178         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38179         (__longjmp): Restore sp and lr before restoring callee
38180         saved registers.  Add longjmp and longjmp_target
38181         SystemTap probe point.
38182         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38183         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38184         Define to zero to match jmpbuf layout.
38185         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38186         (__sigsetjmp): Save sp and lr before saving callee
38187         saved registers.  Add setjmp SystemTap probe point.
38189 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38193 2014-02-24  Andreas Schwab  <schwab@suse.de>
38195         [BZ #15804]
38196         * elf/pldd.c (wait_for_ptrace_stop): New function.
38197         (main): Call it after attaching.
38199 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38201         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38202         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38203         Versions files is now verboten.
38204         * hurd/Versions (libc: GLIBC_2.0):
38205         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38206         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38207         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38208         * mach/Versions: Likewise.
38210         * csu/Versions: Remove unused %include.
38211         * resolv/Versions: Likewise.
38213 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38215         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38216         ($(objpfx)check-local-headers.out): Likewise.
38217         ($(objpfx)begin-end-check.out): Likewise.
38218         * Makerules (check-abi-%.out): Likewise.
38219         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38220         ($(objpfx)test2.cat): Likewise.
38221         ($(objpfx)de/libc.cat): Likewise.
38222         ($(objpfx)test-gencat.out): Likewise.
38223         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38224         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38225         ($(objpfx)noload-mem): Likewise.
38226         ($(objpfx)tst-pathopt.out): Likewise.
38227         ($(objpfx)tst-rtld-load-self.out): Likewise.
38228         ($(objpfx)tst-array1-cmp.out): Likewise.
38229         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38230         ($(objpfx)tst-array2-cmp.out): Likewise.
38231         ($(objpfx)tst-array3-cmp.out): Likewise.
38232         ($(objpfx)tst-array4-cmp.out): Likewise.
38233         ($(objpfx)tst-array5-cmp.out): Likewise.
38234         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38235         ($(objpfx)check-textrel.out): Likewise.
38236         ($(objpfx)check-execstack.out): Likewise.
38237         ($(objpfx)check-localplt.out): Likewise.
38238         ($(objpfx)order2-cmp.out): Likewise.
38239         ($(objpfx)tst-leaks1-mem): Likewise.
38240         ($(objpfx)tst-leaks1-static-mem): Likewise.
38241         ($(objpfx)tst-initorder-cmp.out): Likewise.
38242         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38243         ($(objpfx)tst-unused-dep.out): Likewise.
38244         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38245         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38246         * iconv/Makefile (test-iconvconfig): Likewise.
38247         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38248         ($(objpfx)iconv-test.out): Likewise.
38249         ($(objpfx)tst-tables.out): Likewise.
38250         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38251         ($(objpfx)tst-gettext.out): Likewise.
38252         ($(objpfx)tst-translit.out): Likewise.
38253         ($(objpfx)tst-gettext2.out): Likewise.
38254         ($(objpfx)tst-gettext4.out): Likewise.
38255         ($(objpfx)tst-gettext6.out): Likewise.
38256         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38257         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38258         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38259         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38260         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38261         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38262         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38263         ($(objpfx)wordexp-tst.out): Likewise.
38264         ($(objpfx)annexc.out): Likewise.
38265         ($(objpfx)tst-fnmatch-mem): Likewise.
38266         ($(objpfx)bug-regex2-mem): Likewise.
38267         ($(objpfx)bug-regex14-mem): Likewise.
38268         ($(objpfx)bug-regex21-mem): Likewise.
38269         ($(objpfx)bug-regex31-mem): Likewise.
38270         ($(objpfx)tst-vfork3-mem): Likewise.
38271         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38272         ($(objpfx)tst-pcre-mem): Likewise.
38273         ($(objpfx)tst-boost-mem): Likewise.
38274         ($(objpfx)tst-getconf.out): Likewise.
38275         ($(objpfx)bug-ga2-mem): Likewise.
38276         ($(objpfx)bug-glob2-mem): Likewise.
38277         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38278         ($(objpfx)mtrace-tst-leaks2): Likewise.
38279         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38280         ($(objpfx)tst-printf.out): Likewise.
38281         ($(objpfx)tst-setvbuf1.out): Likewise.
38282         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38283         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38284         ($(objpfx)tst-fmtmsg.out): Likewise.
38285         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38286         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38288         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38289         * bits/sigaction.h [__USE_MISC]: Likewise.
38290         * bits/waitstatus.h: Update #endif comments.
38291         * ctype/ctype.h: Likewise.
38292         * dirent/dirent.h: Likewise.
38293         [__USE_MISC]: Remove redundant conditionals.
38294         * grp/grp.h: Update #endif comments.
38295         [__USE_GNU]: Remove redundant conditionals.
38296         [__USE_MISC]: Likewise.
38297         * inet/netinet/in.h [__USE_GNU]: Likewise.
38298         * io/sys/stat.h [__USE_MISC]: Likewise.
38299         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38300         * libio/bits/stdio.h: Update #endif comments.
38301         [__USE_MISC]: Remove redundant conditionals.
38302         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38303         * libio/stdio.h: Update #endif comments.
38304         [__USE_MISC]: Remove redundant conditionals.
38305         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38306         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38307         * math/math.h: Update #else and #endif comments.
38308         [__USE_MISC]: Remove redundant conditionals.
38309         * misc/sys/uio.h: Update #endif comments.
38310         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38311         * posix/glob.h [__USE_MISC]: Likewise.
38312         * posix/sys/types.h: Update #endif comments.
38313         [__USE_MISC]: Remove redundant conditionals.
38314         * posix/sys/wait.h: Update #endif comments.
38315         [__USE_MISC]: Remove redundant conditionals.
38316         * posix/unistd.h: Update #endif comments.
38317         [__USE_MISC]: Remove redundant conditionals.
38318         * pwd/pwd.h [__USE_GNU]: Likewise.
38319         [__USE_MISC]: Likewise.
38320         * resolv/netdb.h [__USE_GNU]: Likewise.
38321         * signal/signal.h: Update #endif comments.
38322         [__USE_MISC]: Remove redundant conditionals.
38323         * stdlib/stdlib.h: Update #else and #endif comments.
38324         [__USE_MISC]: Remove redundant conditionals.
38325         [__USE_GNU]: Likewise.
38326         * string/bits/string2.h [__USE_MISC]: Likewise.
38327         * string/string.h: Update #endif comments.
38328         [__USE_MISC]: Remove redundant conditionals.
38329         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38330         Likewise.
38331         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38332         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38333         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38334         Likewise.
38335         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38336         Likewise.
38337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38338         comments.
38339         [__USE_MISC]: Remove redundant conditionals.
38340         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38341         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38342         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38343         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38344         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38345         Likewise.
38346         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38347         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38348         Likewise.
38349         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38350         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38351         Likewise.
38352         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38353         Likewise.
38354         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38355         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38356         Likewise.
38357         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38358         Likewise.
38359         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38360         * sysdeps/x86/bits/string.h: Update #endif comments.
38361         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38362         conditionals.
38363         * time/sys/time.h: Update #endif comments.
38364         * time/time.h: Likewise.
38365         [__USE_MISC]: Remove redundant conditionals.
38367 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38369         [BZ #16600]
38370         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38372 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38374         * Versions.def (librt): Add GLIBC_2.17.
38376 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38378         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38379         synonym for _SYS_AUXV_H to allow direct inclusion.
38380         * sysdeps/sparc/bits/hwcap.h: Likewise.
38381         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38382         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38383         * sysdeps/sparc/sysdep.h: Likewise.
38385 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38387         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38389 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38391         * benchtests/bench-strrchr.c: Print length instead of position.
38393 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38395         [BZ #16611]
38396         * sysdeps/unix/sysv/linux/kernel-features.h
38397         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38398         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38399         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38400         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38401         Likewise.
38402         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38403         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38404         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38405         (__ASSUME_SENDMMSG): Define instead of using previous
38406         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38408         (__ASSUME_SENDMMSG_SYSCALL): Define.
38409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38410         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38411         Likewise.
38412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38413         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38414         Likewise.
38415         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38417         Likewise.
38418         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38419         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38420         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38421         [__ASSUME_SENDMMSG]: Change conditionals to
38422         [__ASSUME_SENDMMSG_SOCKETCALL].
38423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38424         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38425         Define.
38426         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38427         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38428         Likewise.
38429         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38430         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38431         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38432         [!__ASSUME_SENDMMSG]: Change conditional to
38433         [!__ASSUME_SENDMMSG_SOCKETCALL].
38434         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38435         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38436         Define.
38438         [BZ #16610]
38439         * sysdeps/unix/sysv/linux/kernel-features.h
38440         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38441         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38442         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38443         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38444         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38445         [__i386__ || __sparc__]
38446         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38447         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38448         (__ASSUME_RECVMMSG): Define instead of using previous
38449         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38451         (__ASSUME_RECVMMSG_SYSCALL): Define.
38452         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38454         Likewise.
38455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38457         Likewise.
38458         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38460         Likewise.
38461         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38462         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38463         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38464         [__ASSUME_RECVMMSG]: Change condition to
38465         [__ASSUME_RECVMMSG_SOCKETCALL].
38466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38468         Define.
38469         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38470         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38472         Likewise.
38473         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38474         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38475         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38476         [!__ASSUME_RECVMMSG]: Change condition to
38477         [!__ASSUME_RECVMMSG_SOCKETCALL].
38478         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38479         (__ASSUME_RECVMMSG_SYSCALL): Define.
38481         [BZ #16609]
38482         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38483         __powerpc__ || __s390__ || __sh__ || __sparc__]
38484         (__ASSUME_SOCKETCALL): Define.
38485         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38486         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38487         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38488         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38489         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38490         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38491         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38492         (__ASSUME_ACCEPT4): Define instead of using previous
38493         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38494         __powerpc__ || __sparc__ || __s390__)] condition.
38495         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38496         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38497         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38498         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38499         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38500         [!__ASSUME_ACCEPT4]: Change condition to
38501         [!__ASSUME_ACCEPT4_SOCKETCALL].
38502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38503         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38504         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38506         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38507         __ASSUME_ACCEPT4_SYSCALL.
38508         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38509         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38510         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38511         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38512         __ASSUME_ACCEPT4_SYSCALL.
38513         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38514         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38515         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38516         [__ASSUME_ACCEPT4]: Change condition to
38517         [__ASSUME_ACCEPT4_SOCKETCALL].
38518         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38519         (__ASSUME_SOCKETCALL): Define.
38520         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38521         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38522         (__ASSUME_SOCKETCALL): Define.
38523         (__ASSUME_ACCEPT4): Remove.
38524         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38525         Define.
38526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38527         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38528         Likewise.
38529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38530         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38532         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38533         macro.
38534         (HWCAP_ARM_LPAE): Likewise.
38535         (HWCAP_ARM_EVTSTRM): Likewise.
38536         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38537         Add vpfd32, lpae and evtstrm.
38538         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38539         Increase to 22.
38541 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38543         * math/auto-libm-test-in: Add tests of clog10.
38544         * math/auto-libm-test-out: Regenerated.
38545         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38546         * sysdeps/i386/fpu/libm-test-ulps: Update.
38547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38549 2014-02-18  Andreas Schwab  <schwab@suse.de>
38551         [BZ #16574]
38552         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38553         Store non-zero if the second buffer was newly allocated.
38554         (send_dg): Likewise.
38555         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38556         to send_vc and send_dg.
38557         (res_nsend): Pass NULL for ansp2_malloced.
38558         * resolv/res_query.c (__libc_res_nquery): Add parameter
38559         answerp2_malloced and pass it down to __libc_res_nsend.
38560         (res_nquery): Pass additional NULL to __libc_res_nquery.
38561         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38562         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38563         second answer buffer if answerp2_malloced was set.
38564         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38565         (__libc_res_nquerydomain): Add parameter
38566         answerp2_malloced and pass it down to __libc_res_nquery.
38567         (res_nquerydomain): Pass additional NULL to
38568         __libc_res_nquerydomain.
38569         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38570         additional NULL to __libc_res_nsend and __libc_res_nquery.
38571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38572         additional NULL to __libc_res_nsearch.
38573         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38574         parameter of __libc_res_nsearch to check for separately allocated
38575         second buffer.
38576         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38577         __libc_res_nquery.
38578         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38579         additional NULL to __libc_res_nquery.
38580         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38581         __libc_res_nsearch.
38582         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38583         * include/resolv.h: Update prototypes of __libc_res_nquery,
38584         __libc_res_nsearch, __libc_res_nsend.
38586 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38588         * math/auto-libm-test-in: Add tests of fma.
38589         * math/auto-libm-test-out: Regenerated.
38590         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38591         (fma_towardzero_test_data): Likewise.
38592         (fma_downward_test_data): Likewise.
38593         (fma_upward_test_data): Likewise.
38594         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38595         mpc_mode.
38596         (rounding_modes): Add values for new field.
38597         (func_calc_method): Add value mpfr_fff_f.
38598         (func_calc_desc): Add mpfr_fff_f union field.
38599         (test_function): Add field exact_args.
38600         (FUNC): Add macro argument EXACT_ARGS.
38601         (FUNC_mpfr_f_f): Update call to FUNC.
38602         (FUNC_mpfr_f_f): Likewise.
38603         (FUNC_mpfr_ff_f): Likewise.
38604         (FUNC_mpfr_if_f): Likewise.
38605         (FUNC_mpc_c_f): Likewise.
38606         (FUNC_mpc_c_c): Likewise.
38607         (test_functions): Add fma.  Update calls to FUNC.
38608         (handle_input_arg): Add argument exact_args.
38609         (add_test): Update call to handle_input_arg.
38610         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38611         (output_for_one_input_case): Update call to calc_generic_results.
38612         Recalculate exact zero results in each rounding mode.
38614         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38615         non-negative before setting low bit.
38616         * math/auto-libm-test-in: Mark one asin test possibly having
38617         spurious underflow.
38618         * math/auto-libm-test-out: Regenerated.
38619         * sysdeps/i386/fpu/libm-test-ulps: Update.
38620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38622 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38624         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38625         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38626         ports/sysdeps/unix/sysv/linux/microblaze.
38627         * README: Add missing listing for microblaze*-*-linux-gnu.
38629 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38632         duplicate code
38634 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38636         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38637         * sysdeps/unix/sysv/linux/ia64: Move directory from
38638         ports/sysdeps/unix/sysv/linux/ia64.
38639         * README: Update listing for ia64-*-linux-gnu.
38641 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38642             Joseph Myers  <joseph@codesourcery.com>
38644         * Makeconfig (test-name): New variable.
38645         (evaluate-test): Likewise.
38646         * Makerules (do-test-clean): Remove .test-result files.
38647         (common-mostlyclean): Likewise.
38648         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38649         * scripts/evaluate-test.sh: New file.
38651 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38653         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38654         separate $(objpfx)tst-fopenloc-cmp.out and
38655         $(objpfx)tst-fopenloc-mem.out targets.
38656         (tests): Update dependencies.
38657         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38658         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38659         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38660         (tst-rxspencer-no-utf8-ARGS): New variable.
38661         (tst-rxspencer-no-utf8-ENV): Likewise.
38662         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38663         instead of $(objpfx)tst-rxspencer-mem.
38664         ($(objpfx)tst-rxspencer-mem): Change target to
38665         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38666         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38667         * posix/tst-rxspencer-no-utf8.c: New file.
38669         * elf/Makefile ($(objpfx)order.out): Remove rule.
38670         [$(run-built-tests) = yes] (tests): Depend on
38671         $(objpfx)order-cmp.out.
38672         ($(objpfx)order-cmp.out): New rule.
38673         [$(run-built-tests) = yes] (tests): Depend on
38674         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38675         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38676         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38677         $(objpfx)tst-array5-static-cmp.out.
38678         ($(objpfx)tst-array1.out): Remove rule.
38679         ($(objpfx)tst-array1-cmp.out): New rule.
38680         ($(objpfx)tst-array1-static.out): Remove rule.
38681         ($(objpfx)tst-array1-static-cmp.out): New rule.
38682         ($(objpfx)tst-array2.out): Remove rule.
38683         ($(objpfx)tst-array2-cmp.out): New rule.
38684         ($(objpfx)tst-array3.out): Remove rule.
38685         ($(objpfx)tst-array3-cmp.out): New rule.
38686         ($(objpfx)tst-array4.out): Remove rule.
38687         ($(objpfx)tst-array4-cmp.out): New rule.
38688         ($(objpfx)tst-array5.out): Remove rule.
38689         ($(objpfx)tst-array5-cmp.out): New rule.
38690         ($(objpfx)tst-array5-static.out): Remove rule.
38691         ($(objpfx)tst-array5-static-cmp.out): New rule.
38692         [$(run-built-tests) = yes] (tests): Depend on
38693         $(objpfx)order2-cmp.out.
38694         ($(objpfx)order2.out): Remove rule.
38695         ($(objpfx)order2-cmp.out): New rule.
38696         ($(objpfx)tst-initorder.out): Remove rule.
38697         [$(run-built-tests) = yes] (tests): Depend on
38698         $(objpfx)tst-initorder-cmp.out.
38699         ($(objpfx)tst-initorder-cmp.out): New rule.
38700         ($(objpfx)tst-initorder2.out): Remove rule.
38701         [$(run-built-tests) = yes] (tests): Depend on
38702         $(objpfx)tst-initorder2-cmp.out.
38703         ($(objpfx)tst-initorder2-cmp.out): New rule.
38704         [$(run-built-tests) = yes] (tests): Depend on
38705         $(objpfx)tst-unused-dep-cmp.out.
38706         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38707         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38708         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38709         on $(objpfx)tst-setvbuf1-cmp.out.
38710         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38711         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38712         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38713         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38714         ($(objpfx)tst-svc.out): Remove rule.
38715         ($(objpfx)tst-svc-cmp.out): New rule.
38717 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38719         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38720         * ctype/ctype.h [__USE_MISC]: Likewise.
38721         * dirent/dirent.h [__USE_MISC]: Likewise.
38722         * grp/grp.h [__USE_MISC]: Likewise.
38723         * io/fcntl.h [__USE_MISC]: Likewise.
38724         * io/sys/stat.h [__USE_MISC]: Likewise.
38725         * libio/stdio.h [__USE_MISC]: Likewise.
38726         * posix/unistd.h [__USE_MISC]: Likewise.
38727         * pwd/pwd.h [__USE_MISC]: Likewise.
38728         * stdlib.h [__USE_MISC]: Likewise.
38729         * string/bits/string2.h [__USE_MISC]: Likewise.
38730         * string/string.h [__USE_MISC]: Likewise.
38731         * time/time.h [__USE_MISC]: Likewise.
38733 2014-02-13  Andreas Schwab  <schwab@suse.de>
38735         [BZ #16574]
38736         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38737         second answer buffer if it was separately allocated.
38739 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38741         * sysdeps/mips/math-tests.h: Include <features.h>.
38742         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38743         (ROUNDING_TESTS_long_double): Do not define.
38744         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38745         (EXCEPTION_TESTS_long_double): Likewise.
38746         * sysdeps/mips/mips64/libm-test-ulps: Update.
38748         * include/features.h (__USE_BSD): Remove macro definitions.
38749         (__USE_SVID): Likewise.
38750         (_BSD_SOURCE): Likewise.
38751         (_SVID_SOURCE): Likewise.
38752         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38753         from definition of _DEFAULT_SOURCE.
38754         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38755         [_DEFAULT_SOURCE].
38756         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38757         * bits/mman.h [__USE_BSD]: Likewise.
38758         * bits/termios.h [__USE_BSD]: Likewise.
38759         * bits/waitstatus.h [__USE_BSD]: Likewise.
38760         * ctype/ctype.h [__USE_SVID]: Likewise.
38761         * dirent/dirent.h [__USE_BSD]: Likewise.
38762         * grp/grp.h [__USE_SVID]: Likewise.
38763         [__USE_BSD]: Likewise.
38764         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38765         * io/fcntl.h [__USE_BSD]: Likewise.
38766         * io/ftw.h [__USE_BSD]: Likewise.
38767         * io/sys/stat.h [__USE_BSD]: Likewise.
38768         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38769         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38770         * libio/stdio.h [__USE_SVID]: Likewise.
38771         [__USE_BSD]: Likewise.
38772         * math/math.h [__USE_SVID]: Likewise.
38773         [__USE_BSD]: Likewise.
38774         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38775         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38776         * misc/search.h [__USE_SVID]: Likewise.
38777         * misc/sys/mman.h [__USE_BSD]: Likewise.
38778         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38779         * misc/sys/uio.h [__USE_BSD]: Likewise.
38780         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38781         * posix/glob.h [__USE_BSD]: Likewise.
38782         * posix/regex.h [__USE_BSD]: Likewise.
38783         * posix/sys/types.h [__USE_BSD]: Likewise.
38784         [__USE_SVID]: Likewise.
38785         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38786         * posix/sys/wait.h [__USE_BSD]: Likewise.
38787         [__USE_SVID]: Likewise.
38788         * posix/unistd.h [__USE_BSD]: Likewise.
38789         [__USE_SVID]: Likewise.
38790         * pwd/pwd.h [__USE_SVID]: Likewise.
38791         * resolv/netdb.h [__USE_BSD]: Likewise.
38792         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38793         * signal/signal.h [__USE_BSD]: Likewise.
38794         [__USE_SVID]: Likewise.
38795         * socket/sys/socket.h [__USE_BSD]: Likewise.
38796         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38797         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38798         [__USE_SVID]: Likewise.
38799         * string/bits/string2.h [__USE_BSD]: Likewise.
38800         [__USE_SVID]: Likewise.
38801         * string/bits/string3.h [__USE_BSD]: Likewise.
38802         * string/endian.h [__USE_BSD]: Likewise.
38803         * string/string.h [__USE_SVID]: Likewise.
38804         [__USE_BSD]: Likewise.
38805         * string/strings.h [__USE_BSD]: Likewise.
38806         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38807         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38808         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38809         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38810         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38811         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38812         Likewise.
38813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38814         Likewise.
38815         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38816         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38817         Likewise.
38818         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38819         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38820         Likewise.
38821         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38822         Likewise.
38823         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38824         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38825         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38826         Likewise.
38827         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38828         Likewise.
38829         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38830         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38831         * termios/termios.h [__USE_BSD]: Likewise.
38832         * time/sys/time.h [__USE_BSD]: Likewise.
38833         * time/time.h [__USE_BSD]: Likewise.
38834         [__USE_SVID]: Likewise.
38836         * Makefile (subdir_targets): Remove subdir_lint.out.
38838         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38839         (do-tst-printf): Likewise.
38840         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38841         $(objpfx)tst-printf.out.
38843         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38845         * Makerules (check-abi-%): Change target to
38846         $(objpfx)check-abi-%.out.
38847         (check-abi target): Update dependencies.
38848         (check-abi-pattern variable): Redirect output of diff to $@.
38849         (check-abi variable): Likewise.
38850         * elf/Makefile (check-abi): Update dependencies.
38852         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38853         unused.
38854         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38855         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38856         subnormal range.
38857         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38858         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38859         value has largest subnormal exponent.
38860         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38861         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38862         * sysdeps/aarch64/soft-fp/sfp-machine.h
38863         (_FP_TININESS_AFTER_ROUNDING): New macro.
38864         * sysdeps/alpha/soft-fp/sfp-machine.h
38865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38866         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38867         Likewise.
38868         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38870         * sysdeps/mips/soft-fp/sfp-machine.h
38871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38872         * sysdeps/powerpc/soft-fp/sfp-machine.h
38873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38874         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38875         Likewise.
38876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38877         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38880         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38881         Likewise.
38883 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38885         [BZ #16545]
38886         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38887         model 1.
38889 2014-02-12  Richard Henderson  <rth@redhat.com>
38891         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38892         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38893         * sysdeps/unix/sysv/linux/alpha: Move directory from
38894         ports/sysdeps/unix/sysv/linux/alpha.
38895         * README: Update listing for alpha-*-linux-gnu.
38897 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38899         * include/features.h: Update comment documenting feature test
38900         macros.
38901         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38902         _DEFAULT_SOURCE.
38903         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38904         (_SVID_SOURCE): Likewise.
38905         (_DEFAULT_SOURCE): Update description of default features.
38906         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38907         with _GNU_SOURCE.
38908         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38909         (S_ISVTX): Likewise.
38910         * manual/math.texi (Mathematical Constants): Likewise.
38911         * manual/signal.texi (Interrupted Primitives): Likewise.
38912         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38913         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38914         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38915         Don't refer to _SVID_SOURCE in warning text.
38917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38919         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38920         already defined.
38921         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38922         * sysdeps/mips/dl-lookup.c: Remove.
38923         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38925 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38927         [BZ #16447]
38928         * math/auto-libm-test-in: Add testcase for expl.
38929         * math/auto-libm-test-out: Regenerate.
38930         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38931         calculation of unsafe.
38932         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38934 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38936         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38937         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38938         ports/sysdeps/unix/sysv/linux/aarch64.
38939         * README: Update listing for aarch64*-*-linux-gnu.
38941 2014-02-11  Will Newton  <will.newton@linaro.org>
38943         * manual/probes.texi (Mathematical Function Probes): Use
38944         "triggered" instead of "hit".
38946         * manual/probes.texi (Internal Probes): Add documentation
38947         of setjmp, longjmp and longjmp_target probes.
38949         * include/stap-probe.h: Add comment about probe argument
38950         format.
38952         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38953         definition.  (tr_where, tr_freehook, tr_mallochook,
38954         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38956 2014-02-11  David S. Miller  <davem@davemloft.net>
38958         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38959         processing int_tests.
38961 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38963         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38964         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38965         * sysdeps/unix/sysv/linux/mips: Move directory from
38966         ports/sysdeps/unix/sysv/linux/mips.
38967         * README: Update listing for mips-*-linux-gnu and
38968         mips64-*-linux-gnu.
38970 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38972         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38973         * sysdeps/unix/sysv/linux/m68k: Move directory from
38974         ports/sysdeps/unix/sysv/linux/m68k.
38975         * README: Update listing for m68k-*-linux-gnu.
38977 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38979         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38980         * sysdeps/unix/sysv/linux/generic: Move directory from
38981         ports/sysdeps/unix/sysv/linux/generic.
38982         * sysdeps/unix/sysv/linux/tile: Move directory from
38983         ports/sysdeps/unix/sysv/linux/tile.
38984         * README: Update listing for tile*-*-linux-gnu.
38986 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38988         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38989         __builtin_expect.
38990         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38991         * catgets/open_catalog.c (__open_catalog): Likewise.
38992         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38993         * debug/confstr_chk.c: Likewise.
38994         * debug/fread_chk.c (__fread_chk): Likewise.
38995         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38996         * debug/getgroups_chk.c: Likewise.
38997         * debug/mbsnrtowcs_chk.c: Likewise.
38998         * debug/mbsrtowcs_chk.c: Likewise.
38999         * debug/mbstowcs_chk.c: Likewise.
39000         * debug/memcpy_chk.c: Likewise.
39001         * debug/memmove_chk.c: Likewise.
39002         * debug/mempcpy_chk.c: Likewise.
39003         * debug/memset_chk.c: Likewise.
39004         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39005         * debug/strcat_chk.c (__strcat_chk): Likewise.
39006         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39007         * debug/strncat_chk.c (__strncat_chk): Likewise.
39008         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39009         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39010         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39011         * debug/wcpncpy_chk.c: Likewise.
39012         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39013         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39014         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39015         * debug/wcsncpy_chk.c: Likewise.
39016         * debug/wcsnrtombs_chk.c: Likewise.
39017         * debug/wcsrtombs_chk.c: Likewise.
39018         * debug/wcstombs_chk.c: Likewise.
39019         * debug/wmemcpy_chk.c: Likewise.
39020         * debug/wmemmove_chk.c: Likewise.
39021         * debug/wmempcpy_chk.c: Likewise.
39022         * debug/wmemset_chk.c: Likewise.
39023         * dirent/scandirat.c (SCANDIRAT): Likewise.
39024         * dlfcn/dladdr1.c (dladdr1): Likewise.
39025         * dlfcn/dladdr.c (dladdr): Likewise.
39026         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39027         * dlfcn/dlerror.c (__dlerror): Likewise.
39028         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39029         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39030         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39031         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39032         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39033         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39034         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39035         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39036         Likewise.
39037         * elf/dl-conflict.c: Likewise.
39038         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39039         * elf/dl-dst.h: Likewise.
39040         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39041         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39042         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39043         * elf/dl-init.c (call_init, _dl_init): Likewise.
39044         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39045         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39046         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39047         Likewise.
39048         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39049         Likewise.
39050         * elf/dl-minimal.c (__libc_memalign): Likewise.
39051         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39052         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39053         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39054         * elf/dl-sym.c (do_sym): Likewise.
39055         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39056         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39057         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39058         * elf/dl-writev.h (_dl_writev): Likewise.
39059         * elf/ldconfig.c (search_dir): Likewise.
39060         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39061         (dl_main): Likewise.
39062         * elf/setup-vdso.h (setup_vdso): Likewise.
39063         * grp/compat-initgroups.c (compat_call): Likewise.
39064         * grp/fgetgrent.c (fgetgrent): Likewise.
39065         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39066         * grp/putgrent.c (putgrent): Likewise.
39067         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39068         Likewise.
39069         * hurd/hurdinit.c: Likewise.
39070         * iconvdata/8bit-gap.c (struct): Likewise.
39071         * iconvdata/ansi_x3.110.c : Likewise.
39072         * iconvdata/big5.c : Likewise.
39073         * iconvdata/big5hkscs.c : Likewise.
39074         * iconvdata/cp1255.c: Likewise.
39075         * iconvdata/cp1258.c : Likewise.
39076         * iconvdata/cp932.c : Likewise.
39077         * iconvdata/euc-cn.c: Likewise.
39078         * iconvdata/euc-jisx0213.c : Likewise.
39079         * iconvdata/euc-jp.c: Likewise.
39080         * iconvdata/euc-jp-ms.c : Likewise.
39081         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39082         * iconvdata/gb18030.c : Likewise.
39083         * iconvdata/gbbig5.c (const): Likewise.
39084         * iconvdata/gbgbk.c: Likewise.
39085         * iconvdata/gbk.c : Likewise.
39086         * iconvdata/ibm1364.c : Likewise.
39087         * iconvdata/ibm930.c : Likewise.
39088         * iconvdata/ibm932.c: Likewise.
39089         * iconvdata/ibm933.c : Likewise.
39090         * iconvdata/ibm935.c : Likewise.
39091         * iconvdata/ibm937.c : Likewise.
39092         * iconvdata/ibm939.c : Likewise.
39093         * iconvdata/ibm943.c: Likewise.
39094         * iconvdata/iso_11548-1.c: Likewise.
39095         * iconvdata/iso-2022-cn.c : Likewise.
39096         * iconvdata/iso-2022-cn-ext.c : Likewise.
39097         * iconvdata/iso-2022-jp-3.c: Likewise.
39098         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39099         * iconvdata/iso-2022-kr.c : Likewise.
39100         * iconvdata/iso646.c (gconv_end): Likewise.
39101         * iconvdata/iso_6937-2.c : Likewise.
39102         * iconvdata/iso_6937.c : Likewise.
39103         * iconvdata/iso8859-1.c: Likewise.
39104         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39105         * iconvdata/shift_jisx0213.c : Likewise.
39106         * iconvdata/sjis.c : Likewise.
39107         * iconvdata/t.61.c : Likewise.
39108         * iconvdata/tcvn5712-1.c : Likewise.
39109         * iconvdata/tscii.c: Likewise.
39110         * iconvdata/uhc.c : Likewise.
39111         * iconvdata/unicode.c (gconv_end): Likewise.
39112         * iconvdata/utf-16.c (gconv_end): Likewise.
39113         * iconvdata/utf-32.c (gconv_end): Likewise.
39114         * iconvdata/utf-7.c (base64): Likewise.
39115         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39116         * iconv/gconv_close.c (__gconv_close): Likewise.
39117         * iconv/gconv_open.c (__gconv_open): Likewise.
39118         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39119         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39120         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39121         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39122         (ucs4le_internal_loop_single): Likewise.
39123         * iconv/iconv.c (iconv): Likewise.
39124         * iconv/iconv_close.c: Likewise.
39125         * iconv/loop.c (SINGLE): Likewise.
39126         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39127         * include/atomic.h: Likewise.
39128         * inet/inet6_option.c (option_alloc): Likewise.
39129         * intl/bindtextdom.c (set_binding_values): Likewise.
39130         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39131         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39132         * intl/localealias.c (read_alias_file): Likewise.
39133         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39134         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39135         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39136         * libio/fmemopen.c (fmemopen): Likewise.
39137         * libio/iofgets.c (_IO_fgets): Likewise.
39138         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39139         * libio/iofgetws.c (fgetws): Likewise.
39140         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39141         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39142         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39143         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39144         * locale/findlocale.c (_nl_find_locale): Likewise.
39145         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39146         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39147         Likewise.
39148         * locale/setlocale.c (setlocale): Likewise.
39149         * login/programs/pt_chown.c (main): Likewise.
39150         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39151         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39152         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39153         (mmap, mmap64, mremap, munmap): Likewise.
39154         * math/e_exp2l.c: Likewise.
39155         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39156         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39157         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39158         * math/s_catan.c (__catan): Likewise.
39159         * math/s_catanf.c (__catanf): Likewise.
39160         * math/s_catanh.c (__catanh): Likewise.
39161         * math/s_catanhf.c (__catanhf): Likewise.
39162         * math/s_catanhl.c (__catanhl): Likewise.
39163         * math/s_catanl.c (__catanl): Likewise.
39164         * math/s_ccosh.c (__ccosh): Likewise.
39165         * math/s_ccoshf.c (__ccoshf): Likewise.
39166         * math/s_ccoshl.c (__ccoshl): Likewise.
39167         * math/s_cexp.c (__cexp): Likewise.
39168         * math/s_cexpf.c (__cexpf): Likewise.
39169         * math/s_cexpl.c (__cexpl): Likewise.
39170         * math/s_clog10.c (__clog10): Likewise.
39171         * math/s_clog10f.c (__clog10f): Likewise.
39172         * math/s_clog10l.c (__clog10l): Likewise.
39173         * math/s_clog.c (__clog): Likewise.
39174         * math/s_clogf.c (__clogf): Likewise.
39175         * math/s_clogl.c (__clogl): Likewise.
39176         * math/s_csin.c (__csin): Likewise.
39177         * math/s_csinf.c (__csinf): Likewise.
39178         * math/s_csinh.c (__csinh): Likewise.
39179         * math/s_csinhf.c (__csinhf): Likewise.
39180         * math/s_csinhl.c (__csinhl): Likewise.
39181         * math/s_csinl.c (__csinl): Likewise.
39182         * math/s_csqrt.c (__csqrt): Likewise.
39183         * math/s_csqrtf.c (__csqrtf): Likewise.
39184         * math/s_csqrtl.c (__csqrtl): Likewise.
39185         * math/s_ctan.c (__ctan): Likewise.
39186         * math/s_ctanf.c (__ctanf): Likewise.
39187         * math/s_ctanh.c (__ctanh): Likewise.
39188         * math/s_ctanhf.c (__ctanhf): Likewise.
39189         * math/s_ctanhl.c (__ctanhl): Likewise.
39190         * math/s_ctanl.c (__ctanl): Likewise.
39191         * math/w_pow.c: Likewise.
39192         * math/w_powf.c: Likewise.
39193         * math/w_powl.c: Likewise.
39194         * math/w_scalb.c (sysv_scalb): Likewise.
39195         * math/w_scalbf.c (sysv_scalbf): Likewise.
39196         * math/w_scalbl.c (sysv_scalbl): Likewise.
39197         * misc/error.c (error_tail): Likewise.
39198         * misc/pselect.c (__pselect): Likewise.
39199         * nis/nis_callback.c (__nis_create_callback): Likewise.
39200         * nis/nis_call.c (__nisfind_server): Likewise.
39201         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39202         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39203         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39204         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39205         * nis/nis_lookup.c (nis_lookup): Likewise.
39206         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39207         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39208         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39209         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39210         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39211         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39212         * nis/nss_compat/compat-initgroups.c (add_group)
39213         (internal_getgrent_r): Likewise.
39214         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39215         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39216         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39217         (internal_getspnam_r): Likewise.
39218         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39219         (_nss_nis_getaliasbyname_r): Likewise.
39220         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39221         (_nss_nis_getntohost_r): Likewise.
39222         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39223         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39224         (_nss_nis_getgrgid_r): Likewise.
39225         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39226         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39227         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39228         (_nss_nis_gethostbyname4_r): Likewise.
39229         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39230         (initgroups_netid): Likewise.
39231         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39232         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39233         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39234         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39235         (_nss_nis_getprotobynumber_r): Likewise.
39236         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39237         (_nss_nis_getsecretkey): Likewise.
39238         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39239         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39240         (_nss_nis_getpwuid_r): Likewise.
39241         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39242         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39243         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39244         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39245         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39246         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39247         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39248         Likewise.
39249         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39250         (_nss_nisplus_getntohost_r): Likewise.
39251         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39252         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39253         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39254         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39255         Likewise.
39256         * nis/nss_nisplus/nisplus-initgroups.c
39257         (_nss_nisplus_initgroups_dyn): Likewise.
39258         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39259         (_nss_nisplus_getnetbyaddr_r): Likewise.
39260         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39261         (_nss_nisplus_getprotobynumber_r): Likewise.
39262         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39263         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39264         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39265         Likewise.
39266         * nis/nss_nisplus/nisplus-service.c
39267         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39268         (_nss_nisplus_getservbyport_r): Likewise.
39269         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39270         (_nss_nisplus_getspnam_r): Likewise.
39271         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39272         Likewise.
39273         * nscd/aicache.c (addhstaiX): Likewise.
39274         * nscd/cache.c (cache_search, prune_cache): Likewise.
39275         * nscd/connections.c (register_traced_file, send_ro_fd)
39276         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39277         (main_loop_epoll): Likewise.
39278         * nscd/grpcache.c (addgrbyX): Likewise.
39279         * nscd/hstcache.c (addhstbyX): Likewise.
39280         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39281         * nscd/mem.c (gc, mempool_alloc): Likewise.
39282         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39283         (addinnetgrX): Likewise.
39284         * nscd/nscd-client.h (__nscd_acquire_maplock)
39285         (__nscd_drop_map_ref): Likewise.
39286         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39287         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39288         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39289         Likewise.
39290         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39291         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39292         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39293         (__nscd_get_map_ref): Likewise.
39294         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39295         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39296         Likewise.
39297         * nscd/pwdcache.c (addpwbyX): Likewise.
39298         * nscd/selinux.c (preserve_capabilities): Likewise.
39299         * nscd/servicescache.c (addservbyX): Likewise.
39300         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39301         * posix/fnmatch.c (fnmatch): Likewise.
39302         * posix/getopt.c (_getopt_internal_r): Likewise.
39303         * posix/glob.c (glob, glob_in_dir): Likewise.
39304         * posix/wordexp.c (exec_comm_child): Likewise.
39305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39306         (getanswer_r, gaih_getanswer_slice): Likewise.
39307         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39308         * resolv/res_init.c: Likewise.
39309         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39310         * resolv/res_query.c (__libc_res_nquery): Likewise.
39311         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39312         Likewise.
39313         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39314         * stdio-common/perror.c (perror): Likewise.
39315         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39316         * stdio-common/tmpnam.c (tmpnam): Likewise.
39317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39318         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39319         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39320         Likewise.
39321         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39322         * stdlib/putenv.c (putenv): Likewise.
39323         * stdlib/setenv.c (__add_to_environ): Likewise.
39324         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39325         * stdlib/strtol_l.c (INTERNAL): Likewise.
39326         * string/memmem.c (memmem): Likewise.
39327         * string/strerror.c (strerror): Likewise.
39328         * string/strnlen.c (__strnlen): Likewise.
39329         * string/test-memmem.c (simple_memmem): Likewise.
39330         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39331         * sunrpc/pm_getport.c (__get_socket): Likewise.
39332         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39333         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39334         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39335         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39336         Likewise.
39337         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39338         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39339         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39340         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39341         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39342         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39343         Likewise.
39344         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39345         Likewise.
39346         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39347         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39348         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39349         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39350         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39352         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39353         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39354         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39355         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39356         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39357         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39358         Likewise.
39359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39360         Likewise.
39361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39362         Likewise.
39363         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39367         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39368         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39369         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39373         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39375         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39376         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39378         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39379         Likewise.
39380         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39381         Likewise.
39382         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39383         Likewise.
39384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39385         Likewise.
39386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39388         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39389         Likewise.
39390         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39391         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39392         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39393         * sysdeps/posix/sleep.c: Likewise.
39394         * sysdeps/posix/tempname.c: Likewise.
39395         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39396         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39397         Likewise.
39398         * sysdeps/powerpc/powerpc32/dl-machine.h
39399         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39400         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39402         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39403         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39404         Likewise.
39405         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39407         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39409         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39410         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39411         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39412         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39413         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39414         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39416         (elf_machine_lazy_rel): Likewise.
39417         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39419         (elf_machine_lazy_rel): Likewise.
39420         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39421         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39422         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39423         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39424         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39425         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39426         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39428         Likewise.
39429         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39430         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39431         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39432         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39433         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39434         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39435         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39436         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39437         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39438         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39439         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39440         Likewise.
39441         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39442         (__posix_fallocate64_l64): Likewise.
39443         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39444         (posix_fallocate): Likewise.
39445         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39446         Likewise.
39447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39448         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39449         (getifaddrs_internal): Likewise.
39450         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39451         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39452         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39453         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39454         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39455         (__posix_fallocate64_l64): Likewise.
39456         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39457         Likewise.
39458         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39459         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39460         (__get_clockfreq): Likewise.
39461         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39462         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39463         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39466         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39467         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39468         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39469         Likewise.
39470         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39471         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39472         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39473         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39474         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39475         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39476         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39477         Likewise.
39478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39479         (posix_fallocate): Likewise.
39480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39481         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39482         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39483         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39484         (elf_machine_rela, elf_machine_rela_relative)
39485         (elf_machine_lazy_rel): Likewise.
39486         * time/asctime.c (asctime_internal): Likewise.
39487         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39488         * time/tzset.c (__tzset_parse_tz): Likewise.
39489         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39490         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39491         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39492         * wcsmbs/wcsmbsload.h: Likewise.
39494         [BZ #15894]
39495         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39497         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39498         (arena_get2): Remove THREAD_STATS conditionals.
39499         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39500         (__malloc_stats, int): Likewise.
39502 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39504         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39505         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39507         * manual/setjmp.texi: Fix typos/grammar errors.
39509         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39510         Only return early when n is <= 0.  Delete unused return statement.
39512         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39513         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39514         * debug/tst-longjmp_chk3.c: New file.
39516         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39517         (test_main): Replace code with set_fortify_handler call.
39518         * debug/test-strcpy_chk.c: Likewise.
39519         * debug/tst-chk1.c: Likewise.
39520         * debug/tst-longjmp_chk.c: Likewise.
39521         * test-skeleton.c: Include fcntl.h & paths.h
39522         (set_fortify_handler): Define.
39524         * debug/tst-longjmp_chk.c: Add header comment and include
39525         ../test-skeleton.c.
39526         (do_test): Mark static.
39527         (TEST_FUNCTION): Define.
39529         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39530         (IP_PMTUDISC_INTERFACE): Likewise.
39531         (IP_MULTICAST_IF): Likewise.
39532         (IP_MULTICAST_TTL): Likewise.
39533         (IP_MULTICAST_LOOP): Likewise.
39534         (IP_ADD_MEMBERSHIP): Likewise.
39535         (IP_DROP_MEMBERSHIP): Likewise.
39536         (IP_UNBLOCK_SOURCE): Likewise.
39537         (IP_BLOCK_SOURCE): Likewise.
39538         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39539         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39540         (IP_MSFILTER): Likewise.
39541         (MCAST_JOIN_GROUP): Likewise.
39542         (MCAST_BLOCK_SOURCE): Likewise.
39543         (MCAST_UNBLOCK_SOURCE): Likewise.
39544         (MCAST_LEAVE_GROUP): Likewise.
39545         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39546         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39547         (MCAST_MSFILTER): Likewise.
39548         (IP_MULTICAST_ALL): Likewise.
39549         (IP_UNICAST_IF): Likewise.
39551         * timezone/Makefile: Delete $(have-ksh) check.
39552         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39553         * timezone/tzselect.ksh: Add +x mode bits.
39555         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39556         (ANON_INODE_FS_MAGIC): Likewise.
39557         (BDEVFS_MAGIC): Likewise.
39558         (BINFMTFS_MAGIC): Likewise.
39559         (BTRFS_TEST_MAGIC): Likewise.
39560         (CRAMFS_MAGIC_WEND): Likewise.
39561         (DEBUGFS_MAGIC): Likewise.
39562         (ECRYPTFS_SUPER_MAGIC): Likewise.
39563         (EXT3_SUPER_MAGIC): Likewise.
39564         (EXT4_SUPER_MAGIC): Likewise.
39565         (FUTEXFS_SUPER_MAGIC): Likewise.
39566         (HOSTFS_SUPER_MAGIC): Likewise.
39567         (HUGETLBFS_MAGIC): Likewise.
39568         (MINIX3_SUPER_MAGIC): Likewise.
39569         (MTD_INODE_FS_MAGIC): Likewise.
39570         (NILFS_SUPER_MAGIC): Likewise.
39571         (OPENPROM_SUPER_MAGIC): Likewise.
39572         (PIPEFS_MAGIC): Likewise.
39573         (PSTOREFS_MAGIC): Likewise.
39574         (QNX6_SUPER_MAGIC): Likewise.
39575         (RAMFS_MAGIC): Likewise.
39576         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39577         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39578         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39579         (SECURITYFS_MAGIC): Likewise.
39580         (SELINUX_MAGIC): Likewise.
39581         (SMACK_MAGIC): Likewise.
39582         (SOCKFS_MAGIC): Likewise.
39583         (SQUASHFS_MAGIC): Likewise.
39584         (STACK_END_MAGIC): Likewise.
39585         (TMPFS_MAGIC): Likewise.
39586         (USBDEVICE_SUPER_MAGIC): Likewise.
39587         (V9FS_MAGIC): Likewise.
39588         (XENFS_SUPER_MAGIC): Likewise.
39589         (CRAMFS_MAGIC): Fix typo in comment.
39590         (EXT2_SUPER_MAGIC): Update comment.
39591         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39593 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39595         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39596         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39597         * sysdeps/unix/sysv/linux/arm: Move directory from
39598         ports/sysdeps/unix/sysv/linux/arm.
39599         * README: Update listing for arm-*-linux-gnueabi.
39601         * README: Remove mention of am33.
39603 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39605         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39606         than the comma operator, to avoid "rhs of comma has no effect"
39607         compiler warnings.
39608         (__sigfillset, __sigandset, __sigorset): Likewise.
39609         * include/signal.h (__sigemptyset): Likewise.
39610         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39612 2014-02-07  Allan McRae  <allan@archlinux.org>
39614         * version.h (RELEASE): Set to "development".
39615         (VERSION): Set to "2.19.90"
39616         * NEWS: Add 2.20 section.
39618 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39620         [BZ #16529]
39621         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39623 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39625         * manual/contrib.texi: Update entry for Carlos O'Donell,
39626         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39628 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39630         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39632         * sysdeps/unix/sysv/linux/kernel-features.h
39633         [__LINUX_KERNEL_VERSION >= 0x020621]
39634         (__ASSUME_PROC_PID_TASK_COMM): Define.
39636 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39638         [BZ #16398]
39639         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39640         conversion when destination buffer does not have enough space.
39641         * libio/tst-ftell-partial-wide.c: New test case.
39642         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39644         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39645         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39646         Leonard and Allan McRae.
39648 2014-02-04  David S. Miller  <davem@davemloft.net>
39650         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39651         32-bit.
39653 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39656         New file
39657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39658         New file
39659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39660         New file.
39661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39662         New file.
39663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39664         New file.
39665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39666         New file.
39667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39668         New file.
39669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39670         New file.
39671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39672         New file.
39673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39674         New file.
39675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39676         New file.
39677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39678         New file.
39679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39680         New file.
39682 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39684         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39685         * shlib-versions: Likewise.
39687 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39690         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39691         (abilist-pattern): New variable, set to %-le.abilist.
39693         * Makerules (abilist-pattern): New variable.
39694         (vpath): Use $(abilist-pattern) in place of %.abilist.
39695         (check-abi-% pattern rule): Likewise.
39696         (check-abi, update-abi): Likewise.
39698 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39702 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39704         * manual/startup.texi: Add next, previous, and top entries for
39705         the `Program Arguments' and `Environment Variables' nodes.
39707 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39709         * manual/macros.texi: Add comments before MTASC-safety macros.
39711         * manual/users.texi: Document MTASC-safety properties.
39713         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39714         (pthread_getspecific, pthread_setspecific): Format with
39715         @deftypefun, and add @safety note.
39716         * manual/signal.texi: Move comments that analyze the above
39717         functions to their home place.
39719 2014-02-03  Allan McRae  <allan@archlinux.org>
39721         * po/sl.po: Update Slovenian translation from translation project.
39723 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39725         * manual/time.texi (timegm): Add missing blank after @c.
39726         Reported by Joseph Myers <joseph@codesourcery.com>.
39728 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39730         * manual/check-safety.sh: New.
39731         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39733         * manual/terminal.texi: Document MTASC-safety properties.
39735         * manual/filesys.texi: Document MTASC-safety properties.
39737         * manual/errno.texi: Document MTASC-safety properties.
39739         * manual/intro.texi: Document safety identifiers and
39740         conditionals.
39742         * manual/string.texi (wcstok): Fix prototype.
39743         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39745         * manual/time.texi: Document MTASC-safety properties.
39747         * manual/string.texi: Document MTASC-safety properties.
39749         * manual/threads.texi: Document MTASC-safety properties.
39751         * manual/stdio.texi: Document MTASC-safety properties.
39753         * manual/syslog.texi: Document MTASC-safety properties.
39755         * manual/sysinfo.texi: Document MTASC-safety properties.
39757         * manual/startup.texi: Document MTASC-safety properties.
39759         * manual/socket.texi: Document MTASC-safety properties.
39761         * manual/signal.texi: Document MTASC-safety properties.
39763 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39765         * manual/setjmp.texi: Document MTASC-safety properties.
39767         * manual/search.texi: Document MTASC-safety properties.
39769         * manual/resource.texi: Document MTASC-safety properties.
39771         * manual/process.texi: Document MTASC-safety properties.
39773         * manual/platform.texi: Document MTASC-safety properties.
39775         * manual/pipe.texi: Document MTASC-safety properties.
39777         * manual/pattern.texi: Document MTASC-safety properties.
39779         * manual/message.texi: Document MTASC-safety properties.
39781         [BZ #12751]
39782         * manual/memory.texi: Document MTASC-safety properties.
39784         * manual/math.texi: Document MTASC-safety properties.
39786         * manual/locale.texi: Document MTASC-safety properties.
39788         * manual/llio.texi: Document MTASC-safety properties.
39790         * manual/libdl.texi: New.
39792         * manual/lang.texi: Document MTASC-safety properties.
39794         * manual/job.texi: Document MTASC-safety properties.
39796         * manual/getopt.texi: Document MTASC-safety properties.
39798         * manual/ctype.texi: Document MTASC-safety properties.
39800 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39802         [BZ #16046]
39803         * csu/libc-tls.c (static_map): Remove variable.
39804         (__libc_setup_tls): Use main executable's link map for TLS data.
39805         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39806         casing for LM_ID_BASE and GL(dl_nns).
39807         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39808         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39809         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39810         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39811         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39812         member.
39813         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39814         l_phnum members.
39816 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39818         * manual/debug.texi: Document MTASC-safety properties.
39820 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39822         [BZ #16510]
39823         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39824         of __x86_64__ when disabling x87 inline functions.
39826 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39828         * manual/charset.texi: Document MTASC-safety properties.
39830         * manual/crypt.texi: Document MTASC-safety properties.
39832         * manual/conf.texi: Document MTASC-safety properties.
39834         * manual/arith.texi: Document MTASC-safety properties.
39836         * manual/argp.texi: Document MTASC-safety properties.
39838         * manual/macros.texi: Introduce macros to document multi
39839         thread, asynchronous signal and asynchronous cancellation
39840         safety properties.
39841         * manual/intro.texi: Introduce the properties themselves.
39843 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39845         * sysdeps/sh/sh4/Makefile: New file.
39847 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39849         * math/gen-libm-test.pl ($srcdir): New variable.
39850         ($auto_input): Use it.
39852 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39854         [BZ #16506]
39855         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39856         access beyond array bounds when parsing netgroups file.
39858         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39859         the old buffer before realloc.
39861 2014-01-27  Allan McRae  <allan@archlinux.org>
39863         * po/fr.po: Update French translation from translation project.
39865 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39867         * sysdeps/sh/libm-test-ulps: Regenerate.
39869 2014-01-24  David S. Miller  <davem@davemloft.net>
39871         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39873 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39875         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39876         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39878 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39880         [BZ #16474]
39881         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39882         string pointers after reallocation.
39884 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39886         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39887         __SH4A__ instead of __SH_FPU_ANY__.
39889 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39891         * sysdeps/sh/fpu_control.h: New file.
39892         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39893         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39894         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39895         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39896         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39897         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39898         * sysdeps/sh/sys/ucontext.h: Remove.
39899         * sysdeps/sh/sys: Remove directory.
39901 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39903         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39904         s390/sys/ucontext.h.
39905         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39906         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39908 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39910         [BZ #15605]
39911         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39913 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39915         [BZ#16431]
39916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39917         Adjust the vDSO correctly for internal calls.
39918         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39920 2014-01-20  Allan McRae  <allan@archlinux.org>
39922         * po/ca.po: Update Catalan translation from translation project.
39924 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39926         * sysdeps/s390/sotruss-lib.c: New file.
39928 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39930         [BZ#16430]
39931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39932         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39933         local calls issues by not having a PLT stub required for IFUNC calls.
39934         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39936 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39938         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39939         * math/test-fpucw-static.c: Likewise.
39941 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39943         [BZ #16453]
39944         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39946 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39948         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39949         implementation for powerpc.
39951 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39953         [BZ #14782]
39954         * sysdeps/posix/system.c (__libc_system): Do not enable
39955         asynchronous cancellation.
39957 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39959         [BZ #16427]
39960         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39961         handling only for numbers special also in the IEEE case.
39963 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39967 2014-01-11  Allan McRae  <allan@archlinux.org>
39969         * po/bg.po: Update Bulgarian translation from translation project.
39971         * po/de.po: Update German translation from translation project.
39973 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39975         * sysdeps/generic/gcc-compat.h: New file.
39977 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39979         * benchtests/asin-inputs: Correct slow inputs.
39980         * benchtests/acos-inputs: Likewise.
39982 2014-01-10  Allan McRae  <allan@archlinux.org>
39984         * po:sv.po: Update Swedish translation from translation project.
39986         * po/vi.po: Update Vietnamese translation from translation project.
39988         * po/eo.po: Update Esperanto translation from translation project.
39990         * po/cs.po: Update Czech translation from translation project.
39992         * po/nl.po: Update Dutch translation from translation project.
39994         * po/pl.po: Update Polish translation from translation project.
39996         * po/ru.po: Update Russian translation from translation project.
39998         * po/uk.po: Update Ukrainian translation from translation project.
40000 2014-01-08  Brooks Moses  <bmoses@google.com>
40002         * elf/dl-load.c: Fix comment typo.
40004 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40006         * po/header.pot: Rename to...
40007         * po/pot.header: ... this.
40008         * po/Makefile: Use pot.header.
40010 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40011             Maxim Kuvyrkov  <maxim@kugelworks.com>
40013         [BZ #16394]
40014         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40015         SRC and DEST against LEN.
40017 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40019         [BZ #16414]
40020         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40021         implementation.
40022         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40024 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40028 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40030         [BZ #16408]
40031         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40032         for large positive arguments.
40034 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40038         * math/auto-libm-test-in: Mark various tests with
40039         xfail-rounding:ldbl-128ibm.
40040         * math/auto-libm-test-out: Regenerated.
40042         [BZ #16407]
40043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40044         Increase overflow threshold.
40046 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40048         [BZ #14286]
40049         * stdio-common/vfprintf.c: Check for integer overflow.
40051 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40053         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40054         the first argument and return value of __tls_get_addr_internal.
40056 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40058         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40059         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40061 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40063         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40064         * sysdeps/s390/rtld-global-offsets.sym: New file.
40065         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40066         GLIBC_2.19 symbol.
40067         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40068         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40069         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40070         ... this.
40071         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40072         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40073         ... this.
40074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40075         Regenerate.
40076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40077         Regenerate.
40078         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40079         halfs of GPRs for high_gprs contexts.
40080         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40081         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40082         field.
40083         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40084         uc_flags field.
40085         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40086         64 bit versions:
40087         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40088         for high GPRs (uc_high_gprs) and for future extensions
40089         (__reserved).
40090         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40091         for future extensions (__reserved).
40092         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40093         64 bit versions:
40094         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40095         SC_HIGHGPRS offset definition.
40096         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40097         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40099         * Versions.def: Add GLIBC_2.19 for libpthread.
40100         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40101         siglongjmp for libpthread with GLIBC_2.19 symver.
40102         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40103         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40104         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40105         * sysdeps/s390/__longjmp.c: New file.
40106         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40107         * sysdeps/s390/longjmp.c: New file.
40108         * sysdeps/s390/setjmp.S: New file.
40109         * sysdeps/s390/sigjmp.S: New file.
40110         * sysdeps/s390/v1-longjmp.c: New file.
40111         * sysdeps/s390/v1-setjmp.h: New file.
40112         * sysdeps/s390/v1-sigjmp.c: New file.
40113         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40114         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40115         GLIBC_2.19 version.
40116         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40117         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40118         versioned symbols for ____longjmp_chk.
40119         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40120         Likewise.
40121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40122         Regenerate.
40123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40124         Regenerate.
40125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40126         Regenerate.
40127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40128         Regenerate.
40129         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40130         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40131         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40132         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40133         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40134         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40135         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40136         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40137         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40138         * sysdeps/s390/rtld-__longjmp.c: New file.
40139         * sysdeps/s390/rtld-setjmp.S: New file.
40141 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40143         [BZ #16400]
40144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40145         Return -__logl (x) for small positive arguments without evaluating
40146         a polynomial.
40148 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40150         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40151         Rename to ...
40152         (__ptrace_peeksiginfo_args): ... this.
40153         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40155         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40157 2014-01-06  Allan McRae  <allan@archlinux.org>
40159         * inet/netinet/in.h: Fix typo in comment.
40161 2014-01-05  Andreas Jaeger  <aj@suse.de>
40163         * sysdeps/i386/fpu/libm-test-ulps: Update.
40165 2014-01-05  Allan McRae  <allan@archlinux.org>
40167         * po/libc.pot: Regenerated.
40169         * malloc/memusagestat.c: Fix gettext call formatting.
40171 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40173         * nscd/nscd.c: Improve usage() output.
40175 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40177         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40178         * sysdeps/unix/sysv/linux/configure: Regenerated.
40179         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40180         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40182 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40184         [BZ #16390]
40185         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40186         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40188 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40191         extra tokens at end of #undef directive.
40192         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40193         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40194         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40196 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40198         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40200         * math/auto-libm-test-in: Mark various tests with
40201         xfail-rounding:ldbl-128ibm.
40202         * math/auto-libm-test-out: Regenerated.
40204 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40206         [BZ #16386]
40207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40208         numbers with subnormal high part when calculating exponent.
40210         [BZ #16385]
40211         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40212         fabs.
40214         [BZ #16384]
40215         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40216         M_LN2l.
40217         (__ieee754_acoshl): Use __log1pl not __log1p.
40219 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40221         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40222         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40223         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40224         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40225         (reused_arena, arena_get2): Convert to GNU style.
40226         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40227         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40228         (memalign_check, __malloc_set_state): Likewise.
40229         * malloc/mallocbug.c (main): Likewise.
40230         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40231         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40232         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40233         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40234         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40235         (__posix_memalign, malloc_info): Likewise.
40236         * malloc/malloc.h: Likewise.
40237         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40238         (mallochook, memalignhook, reallochook, mabort): Likewise.
40239         * malloc/mcheck.h: Likewise.
40240         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40241         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40242         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40243         * malloc/morecore.c (__default_morecore): Likewise.
40244         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40245         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40246         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40247         (print_and_abort): Likewise.
40248         * malloc/obstack.h: Likewise.
40249         * malloc/set-freeres.c (__libc_freeres): Likewise.
40250         * malloc/tst-mallocstate.c (main): Likewise.
40251         * malloc/tst-mtrace.c (main): Likewise.
40252         * malloc/tst-realloc.c (do_test): Likewise.
40254 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40256         [BZ #16366]
40257         * nscd/netgroupcache.c (do_notfound): New function.
40258         (addgetnetgrentX): Use it.
40260         [BZ # 16365]
40261         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40262         NSS_STATUS_NOTFOUND.
40264 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40266         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40269 2014-01-01  Allan McRae  <allan@archlinux.org>
40271         * scripts/update-copyrights: Update configure input file suffix.
40273         * NEWS: Update copyright year.
40274         * catgets/gencat.c: Likewise.
40275         * csu/version.c: Likewise.
40276         * debug/catchsegv.sh: Likewise.
40277         * debug/pcprofiledump.c: Likewise.
40278         * debug/xtrace.sh: Likewise.
40279         * elf/ldconfig.c: Likewise.
40280         * elf/ldd.bash.in: Likewise.
40281         * elf/pldd.c: Likewise.
40282         * elf/sotruss.ksh: Likewise.
40283         * elf/sprof.c: Likewise.
40284         * iconv/iconv_prog.c: Likewise.
40285         * iconv/iconvconfig.c: Likewise.
40286         * locale/programs/locale.c: Likewise.
40287         * locale/programs/localedef.c: Likewise.
40288         * login/programs/pt_chown.c: Likewise.
40289         * malloc/memusage.sh: Likewise.
40290         * malloc/memusagestat.c: Likewise.
40291         * malloc/mtrace.pl: Likewise.
40292         * manual/libc.texinfo: Likewise.
40293         * nscd/nscd.c: Likewise.
40294         * nss/getent.c: Likewise.
40295         * nss/makedb.c: Likewise.
40296         * posix/getconf.c: Likewise.
40297         * scripts/test-installation.pl: Likewise.
40299         * All files with FSF copyright notices: Update copyright dates
40300         using scripts/update-copyrights.
40301         * intl/plural.c: Regenerated.
40302         * locale/programs/charmap-kw.h: Likewise.
40303         * locale/programs/locfile-kw.h: Likewise.
40305 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40307         * sysdeps/unix/sysv/linux/configure: Regenerated.
40308         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40309         the linux/fanotify.h header.
40310         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40311         HAVE_LINUX_FANOTIFY_H is defined.
40313 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40315         * benchtests/cos-inputs: New inputs.
40316         * benchtests/sin-inputs: Likewise.
40318         * benchtests/atan-inputs: New inputs. Fix name of multiple
40319         precision fallback inputs.
40321         * benchtests/atanh-inputs: New inputs.
40322         * benchtests/tanh-inputs: Likewise.
40324         * benchtests/acosh-inputs: New inputs.
40325         * benchtests/asinh-inputs: Likewise.
40327         * benchtests/cosh-inputs: New inputs.
40328         * benchtests/sinh-inputs: Likewise.
40330         * benchtests/acos-inputs: Add more inputs.
40331         * benchtests/asin-inputs: Likewise.
40333 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40335         [BZ #16375]
40336         * manual/arith.texi: Fix spelling.
40337         * manual/charset.texi: Likewise.
40338         * manual/errno.texi: Likewise.
40339         * manual/filesys.texi: Likewise.
40340         * manual/lang.texi: Likewise.
40341         * manual/llio.texi: Likewise.
40342         * manual/locale.texi: Likewise.
40343         * manual/message.texi: Likewise.
40344         * manual/resource.texi: Likewise.
40345         * manual/search.texi: Likewise.
40346         * manual/setjmp.texi: Likewise.
40347         * manual/stdio.texi: Likewise.
40348         * manual/string.texi: Likewise.
40349         * manual/sysinfo.texi: Likewise.
40350         * manual/time.texi: Likewise.
40352 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40354         * po/sl.po: New file.
40356 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40358         * .gitignore: Add core/.gdbinit/.gdb_history.
40360 2013-12-27  Allan McRae  <allan@archlinux.org>
40362         [BZ #16369]
40363         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40364         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40366 2013-12-24  Brooks Moses  <bmoses@google.com>
40368         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40369         all compilers that claim C++98 compliance, not just GCC.
40370         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40371         Likewise.
40373 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40375         * NEWS: Restore accidentally deleted bug-fix entries.
40377 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40378             Ondřej Bílka  <neleai@seznam.cz>
40380         [BZ #15073]
40381         * malloc/malloc.c (_int_free): Perform sanity check only if we
40382         have_lock.
40384 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40386         [BZ #12986]
40387         * manual/stdio.texi (String Input Conversions): Clarify that character
40388         classes are not supported.
40390 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40394 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40396         [BZ #16337]
40397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40398         Calculate results for small negative arguments directly rather
40399         than using reflection formula with special underflow handling.
40401         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40402         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40403         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40404         (fchflags): Likewise.
40405         (revoke): Likewise.
40406         (setlogin): Likewise.
40407         (sigaltstack): Likewise.
40408         (wait4): Likewise.
40409         (sigblock): Remove.
40410         (sigsetmask): Likewise.
40411         (wait3): Likewise.
40412         (waitpid): Likewise.
40413         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40414         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40415         file.
40416         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40417         * sysdeps/unix/bsd/Makefile: ... here.
40418         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40419         * sysdeps/unix/bsd/Versions: ... here.
40420         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40421         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40422         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40423         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40424         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40425         * sysdeps/unix/bsd/sigblock.c: ... here.
40426         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40427         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40428         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40429         * sysdeps/unix/bsd/sigvec.c: ... here.
40430         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40431         * sysdeps/unix/bsd/tcdrain.c: ... here.
40432         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40433         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40434         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40435         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40436         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40437         * sysdeps/unix/bsd/wait.c: ... here.
40438         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40439         * sysdeps/unix/bsd/wait3.c: ... here.
40440         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40441         * sysdeps/unix/bsd/waitpid.c: ... here.
40443 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40445         [BZ #16356]
40446         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40447         round-to-nearest for [!USE_AS_EXPM1L].
40448         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40449         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40450         more tests of exp and exp10.  Expect some exp10 tests to miss
40451         exceptions or fail in directed rounding modes.
40452         * math/auto-libm-test-out: Regenerated.
40453         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40454         (exp10_test_tonearest): New function.
40455         (exp10_towardzero_test_data): New array.
40456         (exp10_test_towardzero): New function.
40457         (exp10_downward_test_data): New array.
40458         (exp10_test_downward): New function.
40459         (exp10_upward_test_data): New array.
40460         (exp10_test_upward): New function.
40461         (main): Call the new functions.
40462         * sysdeps/i386/fpu/libm-test-ulps: Update.
40463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40465 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40467         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40468         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40469         * math/auto-libm-test-out: Regenerated.
40470         * math/libm-test.inc (acosh_test_data): Add more tests.
40471         (atanh_test_data): Likewise.
40472         (ceil_test_data): Likewise.
40473         (copysign_test_data): Likewise.
40474         * sysdeps/i386/fpu/libm-test-ulps: Update.
40475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40477         * timezone/checktab.awk: Update from tzcode 2013i.
40478         * timezone/private.h: Likewise.
40479         * timezone/scheck.c: Likewise.
40480         * timezone/tzfile.h: Likewise.
40481         * timezone/tzselect.ksh: Likewise.
40482         * timezone/zdump.c: Likewise.
40483         * timezone/zic.c: Likewise.
40485         * math/auto-libm-test-in: Add tests of cpow.
40486         * math/auto-libm-test-out: Regenerated.
40487         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40489         mpc_cc_c.
40490         (func_calc_desc): Add mpc_cc_c union field.
40491         (test_functions): Add cpow.
40492         (special_fill_2pi): New function.
40493         (special_real_inputs): Add 2pi.
40494         (calc_generic_results): Handle mpc_cc_c.
40495         * sysdeps/i386/fpu/libm-test-ulps: Update.
40496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40498         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40499         csqrt, ctan and ctanh.
40500         * math/auto-libm-test-out: Regenerated.
40501         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40502         (TEST_COND_x86): Likewise.
40503         (ccos_test_data): Use AUTO_TESTS_c_c.
40504         (ccosh_test_data): Likewise.
40505         (cexp_test_data): Likewise.
40506         (clog_test_data): Likewise.
40507         (csqrt_test_data): Likewise.
40508         (ctan_test_data): Likewise.
40509         (ctan_tonearest_test_data): Likewise.
40510         (ctan_towardzero_test_data): Likewise.
40511         (ctan_downward_test_data): Likewise.
40512         (ctan_upward_test_data): Likewise.
40513         (ctanh_test_data): Likewise.
40514         (ctanh_tonearest_test_data): Likewise.
40515         (ctanh_towardzero_test_data): Likewise.
40516         (ctanh_downward_test_data): Likewise.
40517         (ctanh_upward_test_data): Likewise.
40518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40519         mpc_c_c.
40520         (func_calc_desc): Add mpc_c_c union field.
40521         (FUNC_mpc_c_c): New macro.
40522         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40523         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40524         ctanh.
40525         (special_fill_min_subnorm_p120): New function.
40526         (special_real_inputs): Add min_subnorm_p120.
40527         (calc_generic_results): Handle mpc_c_c.
40528         * sysdeps/i386/fpu/libm-test-ulps: Update.
40529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40531 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40533         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40534         (do_sin_slow): New functions.
40535         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40536         (cslow2, csloww1, csloww2): Use the new functions.
40538         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40539         Use M to change sign of result instead of X.  Assume X is
40540         positive.
40541         (csloww1): Likewise.
40542         (__sin): Adjust.
40543         (__cos): Adjust.
40545         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40546         arguments A and DA.
40547         (__sin): Adjust.
40548         (__cos): Likewise.
40550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40551         (__cos): Likewise.
40552         (sloww1): Don't adjust sign of DX.
40553         (csloww1): Likewise.
40554         (sloww2): Use X directly and don't adjust sign of DX.
40555         (csloww2): Likewise.
40557 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40559         * math/auto-libm-test-in: Add tests of cabs and carg.
40560         * math/auto-libm-test-out: Regenerated.
40561         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40562         (carg_test_data): Likewise.
40563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40564         mpc_c_f.
40565         (func_calc_desc): Add mpc_c_f union field.
40566         (test_functions): Add cabs and carg.
40567         (calc_generic_results): Handle mpc_c_f.
40569         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40570         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40571         as a macro and a compat symbol.
40572         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40573         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40574         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40575         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40576         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40578         not use .hidden.
40579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40580         Likewise.
40581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40582         Likewise.
40583         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40584         Likewise.
40585         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40586         Likewise.
40587         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40588         Likewise.
40589         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40590         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40591         from GLIBC_2.3.2.
40593 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40597 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40599         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40600         trailing whitespace removed.
40601         * scripts/config.guess: Update to version 2013-11-29.
40602         * scripts/config.sub: Update to version 2013-10-01.
40604         * math/auto-libm-test-in: Add tests of sincos.
40605         * math/auto-libm-test-out: Regenerated.
40606         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40608         mpfr_f_11.
40609         (func_calc_desc): Add mpfr_f_11 union field.
40610         (test_functions): Add sincos.
40611         (calc_generic_results): Handle mpfr_f_11.
40612         * sysdeps/i386/fpu/libm-test-ulps: Update.
40613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40615 2013-12-19  Andreas Schwab  <schwab@suse.de>
40617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40618         CALL_MCOUNT.
40619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40620         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40621         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40623 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40625         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40626         * sysdeps/i386/fpu/libm-test-ulps: Update.
40627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40629         [BZ #16293]
40630         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40631         round-to-nearest mode when using frndint.
40632         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40633         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40635         Likewise.
40636         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40637         sinh test to fail.
40638         * math/auto-libm-test-out: Regenerated.
40639         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40640         (TEST_COND_x86): Likewise.
40641         (expm1_tonearest_test_data): New array.
40642         (expm1_test_tonearest): New function.
40643         (expm1_towardzero_test_data): New array.
40644         (expm1_test_towardzero): New function.
40645         (expm1_downward_test_data): New array.
40646         (expm1_test_downward): New function.
40647         (expm1_upward_test_data): New array.
40648         (expm1_test_upward): New function.
40649         (main): Run the new test functions.
40650         * sysdeps/i386/fpu/libm-test-ulps: Update.
40651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40653         * include/features.h: Update comment documenting feature test
40654         macros.  Mention _DEFAULT_SOURCE in comment.
40655         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40656         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40657         _BSD_SOURCE and _SVID_SOURCE.
40658         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40659         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40660         !_SVID_SOURCE]: Likewise.
40661         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40662         (__USE_POSIX_IMPLICITLY): Define.
40663         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40664         (_POSIX_SOURCE): Undefine and redefine.
40665         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40666         (_POSIX_C_SOURCE): Likewise.
40667         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40668         (Feature Test Macros): Update documentation of default features.
40670 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40672         * benchtests/Makefile: Add bench-strtok.
40673         * benchtests/bench-strtok.c: New file: strtok benchtest.
40675 2013-12-19  Allan McRae  <allan@archlinux.org>
40677         * manual/install.texi: Suppress menu for plain text output.
40678         * INSTALL: Regenerated.
40680 2013-12-18  Brooks Moses  <bmoses@google.com>
40682         [BZ #15846]
40683         * misc/getauxval.c: Include errno.h.
40684         (__getauxval): Set errno to ENOENT if the requested type is not
40685         found.
40686         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40687         don't declare with __attribute_const__.
40688         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40689         * manual/startup.texi: Document that getauxval sets errno.
40691 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40693         * math/auto-libm-test-in: Add tests of jn and yn.
40694         * math/auto-libm-test-out: Regenerated.
40695         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40696         (yn_test_data): Likewise.
40697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40698         mpfr_if_f.
40699         (func_calc_desc): Add mpfr_if_f union field.
40700         (FUNC_mpfr_if_f): New macro.
40701         (test_functions): Add jn and yn.
40702         (calc_generic_results): Assert type of second input for
40703         mpfr_ff_f.  Handle mpfr_if_f.
40704         (output_for_one_input_case): Disable all checking for arguments
40705         fitting floating-point types in case of an integer argument.
40706         * sysdeps/i386/fpu/libm-test-ulps: Update.
40707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40710         Don't expect fegetround reference in libm.so.
40712 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40714         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40715         $(config-cflags-nofma).
40717 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40719         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40720         * math/auto-libm-test-out: Regenerated.
40722         [BZ #16338]
40723         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40724         to determine exponent and adjust argument to have exponent of -1.
40725         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40726         log2.
40727         * math/auto-libm-test-out: Regenerated.
40728         * sysdeps/i386/fpu/libm-test-ulps: Update.
40729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40731 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40733         * manual/probes.texi: Remove cases when per-thread arenas are
40734         disabled.
40736 2013-12-18  Andreas Schwab  <schwab@suse.de>
40738         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40739         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40740         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40741         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40742         * sysdeps/i386/i686/multiarch/Makefile: Update.
40743         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40745 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40747         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40748         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40750 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40752         [BZ #15968]
40753         Support TZ transition times < 00:00:00.
40754         This is needed for version-3 tz-format files; it supports time
40755         stamps past 2037 for America/Godthab (the only entry in the tz
40756         database for which this change is relevant).
40757         * manual/time.texi (TZ Variable): Document transition times
40758         from -167:59:59 through -00:00:01.
40759         * time/tzset.c (tz_rule): Time of day is now signed.
40760         (__tzset_parse_tz): Parse negative time of day.
40762         Document TZ transition times >= 25:00:00.
40763         * manual/time.texi (TZ Variable): Document transition times from
40764         25:00:00 through 167:59:59.  These are already supported, and this
40765         support will help with version-3 tz-format files.
40767         * manual/time.texi (TZ Variable): Modernize North America example
40768         to reflect current (i.e., 2007-and-later) daylight saving rules.
40770         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40772 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40774         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40775         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40778         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40779         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40780         * sysdeps/unix/bsd/clock.c: Likewise.
40781         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40782         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40783         * sysdeps/unix/bsd/init-posix.c: Likewise.
40784         * sysdeps/unix/bsd/poll.c: Likewise.
40785         * sysdeps/unix/bsd/ptsname.c: Likewise.
40786         * sysdeps/unix/bsd/seekdir.c: Likewise.
40787         * sysdeps/unix/bsd/setegid.c: Likewise.
40788         * sysdeps/unix/bsd/seteuid.c: Likewise.
40789         * sysdeps/unix/bsd/setgid.c: Likewise.
40790         * sysdeps/unix/bsd/setrgid.c: Likewise.
40791         * sysdeps/unix/bsd/setruid.c: Likewise.
40792         * sysdeps/unix/bsd/setsid.c: Likewise.
40793         * sysdeps/unix/bsd/setuid.c: Likewise.
40794         * sysdeps/unix/bsd/sigaction.c: Likewise.
40795         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40796         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40797         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40798         * sysdeps/unix/bsd/telldir.c: Likewise.
40799         * sysdeps/unix/bsd/times.c: Likewise.
40800         * sysdeps/unix/bsd/usleep.c: Likewise.
40802         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40803         ($(objpfx)libbsd-compat.a): Remove rule.
40805         * include/features.h (__FAVOR_BSD): Do not define.
40806         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40807         features conflicting with POSIX.
40808         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40809         (_BSD_SOURCE): Remove description of not being a subset of other
40810         feature test macros.
40811         * manual/job.texi (getpgrp): Do not document BSD version.
40812         (getpgid): Do not document by reference to BSD getpgrp.
40813         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40814         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40815         * signal/signal.h [__FAVOR_BSD]: Likewise.
40816         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40817         instead of making contents conditional on [__FAVOR_BSD].
40818         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40820 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40826         [BZ #16314]
40827         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40828         values below 2**-450, not 2**-500.
40829         * math/auto-libm-test-in: Don't allow spurious underflow from
40830         hypot.
40831         * math/auto-libm-test-out: Regenerated.
40833         [BZ #16316]
40834         [BZ #16330]
40835         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40836         values of ha and hb and sort them after adjusting subnormal
40837         arguments.
40838         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40839         Likewise.
40840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40841         values of ea and eb and sort them after adjusting subnormal
40842         arguments.
40843         * math/auto-libm-test-in: Do not expect some hypot tests of
40844         subnormals to fail.  Add more hypot tests.
40845         * math/auto-libm-test-out: Regenerated.
40847 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40849         [BZ #13304]
40850         * sysdeps/sh/s_fma.c: New file.
40851         * sysdeps/sh/s_fmaf.c: New file.
40852         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40853         version.
40854         * sysdeps/sh/Implies: Add sh/soft-fp.
40856 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40858         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40859         level of indirection to members `objname', `errstring', `malloced'.
40860         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40861         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40862         it as the __longjmp argument (just pass 1 instead).
40863         (_dl_catch_error): Initialize C with argument pointers and address of
40864         volatile local ERRCODE rather than copying values out of C at return.
40866 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40868         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40869         * math/auto-libm-test-out: Regenerated.
40870         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40871         (hypot_test_data): Likewise.
40872         (pow_test_data): Likewise.
40873         (pow_tonearest_test_data): Likewise.
40874         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40875         mpfr_ff_f.
40876         (func_calc_desc): Add mpfr_ff_f union field.
40877         (FUNC_mpfr_ff_f): New macro.
40878         (test_functions): Add atan2, hypot and pow.
40879         (special_fill_min): New function.
40880         (special_fill_minus_min): Likewise.
40881         (special_fill_min_subnorm): Likewise.
40882         (special_fill_minus_min_subnorm): Likewise.
40883         (special_real_inputs): Add min, -min, min_subnorm and
40884         -min_subnorm.
40885         (calc_generic_results): Handle mpfr_ff_f.
40886         * sysdeps/i386/fpu/libm-test-ulps: Update.
40887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40889 2013-12-16  Will Newton  <will.newton@linaro.org>
40891         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40892         (Aligned Memory Blocks): Add documentation for aligned_alloc
40893         and suggest it as an alternative to posix_memalign.
40894         (Hooks for Malloc): Document __memalign_hook is also called
40895         for aligned_alloc.  (Summary of Malloc): Add summary for
40896         aligned alloc.  Document __memalign_hook is also called
40897         for aligned_alloc.
40899 2013-12-16  Will Newton  <will.newton@linaro.org>
40901         * manual/memory.texi (Malloc Examples): Clarify default
40902         alignment documentation.  Suggest posix_memalign rather
40903         than memalign or valloc.
40904         (Aligned Memory Blocks): Remove suggestion to use memalign
40905         or valloc.  Remove obsolete comment about BSD.
40906         Document memalign errno values and mark the function obsolete.
40907         Document posix_memalign returned error codes.  Mark valloc
40908         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40909         called for posix_memalign and valloc.
40910         (Summary of Malloc): Add posix_memalign to function summary.
40911         __memalign_hook is also called for posix_memalign and valloc.
40913 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40915         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40916         TAYLOR_SIN.
40917         (__sin): Adjust.
40918         (__cos): Likewise.
40919         (sloww): Use mynumber union.  Expand ternary operator into
40920         if-else statements.
40921         (cslow): use mynumber union.
40923 2013-12-16  Allan McRae  <allan@archlinux.org>
40925         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40926         * configure: Regenerated.
40928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40930         [BZ #14120]
40931         * configure.ac: Added --enable-maintainer-mode. Check for
40932         autoconf when enabled.
40933         * configure: Regenerated.
40935         * nscd/nscd.service: New file.
40936         * nscd/nscd.tmpfiles: New file.
40938 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40940         [BZ #12100]
40941         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40942         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40943         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40944         (strstr): Add __strstr_sse2_unaligned ifunc.
40945         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40946         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40947         (strcasestr): Remove __strcasestr_sse42 ifunc.
40948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40952 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40954         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40955         * sysdeps/sh/bits/fenv.h: ... here.
40956         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40958 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40960         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40963         hypotf multiarch implementations.
40964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40967         multiarch hypot for PPC64.
40968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40969         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40971         multiarch hypotf for PPC64.
40973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40974         modff multiarch implementations.
40975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40978         multiarch modf for PPC64.
40979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40982         multiarch modff for PPC64.
40984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40985         and logl multiarch implementations.
40986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40989         multiarch logb for PPC64.
40990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40993         multiarch logb for PPC64.
40994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40997         multiarch logb for PPC64.
40999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41000         isinff multiarch implementation.
41001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41002         file.
41003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41005         multiarch isinf for PPC64.
41006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41007         file.
41008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41009         multiarch isinff for PPC64.
41011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41012         finitef multiarch implementation.
41013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41014         file.
41015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41017         multiarch finite for PPC64.
41018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41019         file.
41020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41021         multiarch finitef for PPC64.
41023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41024         lrint multiarch implementation.
41025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41026         file.
41027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41029         multiarch llrint for PPC64.
41030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41031         multiarch lrint for PPC64.
41033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41034         copysignf multiarch implementation.
41035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41036         file.
41037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41038         file.
41039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41040         multiarch copysign for PPC64.
41041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41042         multiarch copysignf for PPC64.
41044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41045         multiarch implementation.
41046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41047         file.
41048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41049         file.
41050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41051         file.
41052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41053         file.
41054         multiarch llround for PPC64.
41055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41056         multiarch trunc for PPC64.
41057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41058         multiarch truncf for PPC64.
41060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41061         multiarch implementation.
41062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41063         file.
41064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41065         file.
41066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41067         file.
41068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41069         file.
41070         multiarch llround for PPC64.
41071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41072         multiarch round for PPC64.
41073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41074         multiarch roundf for PPC64.
41076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41077         multiarch implementation.
41078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41079         file.
41080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41081         file.
41082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41083         file.
41084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41085         file.
41086         multiarch llround for PPC64.
41087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41088         multiarch floor for PPC64.
41089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41090         multiarch floorf for PPC64.
41092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41093         multiarch implementation.
41094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41095         file.
41096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41097         file.
41098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41099         file.
41100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41101         file.
41102         multiarch llround for PPC64.
41103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41104         multiarch ceil for PPC64.
41105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41106         multiarch ceilf for PPC64.
41108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41109         multiarch implementation.
41110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41111         file.
41112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41113         file.
41114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41115         file.
41116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41117         multiarch llround for PPC64.
41118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41119         multiarch lround for PPC64.
41121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41122         multiarch implementation.
41123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41126         file.
41127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41130         multiarch isnan for PPC64.
41131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41132         multiarch isnanf for PPC64.
41134         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41135         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41136         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41137         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41138         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41141         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41147         multiarch implementations.
41148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41149         (__libc_ifunc_impl_list): Likewise.
41150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41152         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41153         multiarch stpcpy for PPC64.
41155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41156         multiarch implementations.
41157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41158         (__libc_ifunc_impl_list): Likewise.
41159         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41160         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41161         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41162         multiarch strcpy for PPC64.
41164         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41165         redefine function name.
41166         (_wordcopy_fwd_dest_aligned): Likewise.
41167         (_wordcopy_bwd_aligned): Likewise.
41168         (_wordcopy_bwd_dest_aligned): Likewise.
41169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41170         multiarch implementations.
41171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41172         (__libc_ifunc_impl_list): Likewise.
41173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41174         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41175         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41176         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41177         multiarch wcscpy for PPC64.
41179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41180         multiarch implementations.
41181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41182         (__libc_ifunc_impl_list): Likewise.
41183         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41184         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41185         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41186         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41187         multiarch wcscpy for PPC64.
41189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41190         multiarch implementations.
41191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41192         (__libc_ifunc_impl_list): Likewise.
41193         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41194         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41195         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41196         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41197         multiarch wcsrchr for PPC64.
41199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41200         multiarch implementations.
41201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41202         (__libc_ifunc_impl_list): Likewise.
41203         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41204         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41205         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41206         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41207         multiarch wcschr for PPC64.
41209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41210         multiarch implementations.
41211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41212         (__libc_ifunc_impl_list): Likewise.
41213         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41214         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41215         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41216         multiarch strchrnul for PPC64.
41218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41219         implementations.
41220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41221         (__libc_ifunc_impl_list): Likewise.
41222         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41223         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41224         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41225         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41226         strchr for PPC64.
41228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41229         implementations.
41230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41231         (__libc_ifunc_impl_list): Likewise.
41232         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41233         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41234         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41235         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41236         strncmp for PPC64.
41238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41239         multiarch implementations.
41240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41241         (__libc_ifunc_impl_list): Likewise.
41242         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41243         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41244         strncasecmp for PPC64.
41245         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41246         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41247         multiarch strncasecmp_l for PPC64.
41249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41250         multiarch implementations.
41251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41252         (__libc_ifunc_impl_list): Likewise.
41253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41255         multiarch strcasecmp for PPC64.
41256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41257         file.
41258         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41259         multiarch strcasecmp_l for PPC64.
41261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41262         implementations.
41263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41264         (__libc_ifunc_impl_list): Likewise.
41265         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41266         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41267         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41268         strnlen for PPC64.
41270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41271         implementations.
41272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41273         (__libc_ifunc_impl_list): Likewise.
41274         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41275         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41276         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41277         strlen for PPC64.
41279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41280         implementations.
41281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41282         (__libc_ifunc_impl_list): Likewise.
41283         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41284         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41285         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41286         rawmemrchr for PPC64.
41288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41289         implementation.
41290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41291         (__libc_ifunc_impl_list): Likewise.
41292         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41293         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41294         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41295         memrchr for PPC64.
41297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41298         implementation.
41299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41300         (__libc_ifunc_impl_list): Likewise.
41301         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41302         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41303         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41304         memchr for PPC64.
41306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41307         implementation.
41308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41309         (__libc_ifunc_impl_list): Likewise.
41310         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41311         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41312         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41313         mempcpy for PPC64.
41315         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41316         avoid cretion of __bzero symbol.
41317         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41318         Likewise.
41319         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41320         Likewise.
41321         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41322         Likewise.
41323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41324         multiarch implementations.
41325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41326         (__libc_ifunc_impl_list): Likewise.
41327         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41328         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41329         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41330         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41331         bzero for PPC32.
41332         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41333         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41334         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41335         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41336         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41337         memset for PPC64.
41338         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41340         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41342         implementations.
41343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41344         (__libc_ifunc_impl_list): Likewise.
41345         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41346         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41347         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41348         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41349         memcmp for PPC64.
41351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41352         multiarch for POWER/PPC64.
41353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41354         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41356         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41357         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41358         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41359         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41360         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41361         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41362         memcpy for PPC64.
41364         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41365         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41366         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41367         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41368         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41369         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41370         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41371         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41372         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41373         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41374         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41375         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41376         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41377         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41378         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41387 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41389         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41391 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41393         * benchtests/Makefile (bench): Add exp2 and log2.
41394         (LDLIBS-bench-exp2): Add -lm.
41395         (LDLIBS-bench-log2): Likewise.
41396         * benchtests/exp2-inputs: New inputs file.
41397         * benchtests/log2-inputs: New inputs file.
41398         * benchtests/log-inputs: Add new inputs.
41399         * benchtests/tan-inputs: Likewise.
41401 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41403         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41404         definition...
41405         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41406         (csloww2): ... from here.
41408         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41409         instead of structures.
41410         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41411         (POLYNOMIAL): Likewise.
41412         (TAYLOR_SLOW): Likewise.
41413         (__sin): Likewise.
41414         (__cos): Likewise.
41415         (slow1): Likewise.
41416         (slow2): Likewise.
41417         (sloww): Likewise.
41418         (sloww1); Likewise.
41419         (sloww2): Likewise.
41420         (bsloww1): Likewise.
41421         (bsloww2): Likewise.
41422         (cslow2): Likewise.
41423         (csloww): Likewise.
41424         (csloww1): Likewise.
41425         (csloww2): Likewise.
41427 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41429         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41430         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41431         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41432         * malloc/hooks.c (realloc_check): Likewise.
41434         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41435         * malloc/arena.c: Remove PER_THREAD conditional.
41436         [!PER_THREAD]: Remove code.
41437         (ptmalloc_unlock_all2): Likewise.
41438         (ptmalloc_init): Likewise.
41439         (_int_new_arena): Likewise.
41440         (arena_get2): Likewise.
41441         * malloc/hooks.c (__malloc_get_state): Likewise.
41442         (__malloc_set_state): Likewise.
41443         * malloc/malloc.c: Likewise.
41444         (struct malloc_state): Likewise.
41445         (struct malloc_par): Likewise.
41446         (__libc_realloc): Likewise.
41447         (__libc_mallopt): Likewise.
41449 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41451         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41453 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41455         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41456         macro to a function.  Check for zero perturb_byte.
41457         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41459         * malloc/malloc.c: (force_reg): Remove.
41460         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41461         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41462         force_reg by atomic_forced_read.
41463         * malloc/arena.c (ptmalloc_init): Likewise.
41464         * malloc/hooks.c (top_check): Likewise.
41466 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41470 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41474 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41476         * math/auto-libm-test-in: Add tests of lgamma.
41477         * math/auto-libm-test-out: Regenerated.
41478         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41479         (M_LOG_2_SQRT_PIl): Likewise.
41480         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41481         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41482         mpfr_f_f1.
41483         (func_calc_desc): Add mpfr_f_f1 union field.
41484         (ARGS1): New macro.
41485         (ARGS2): Likewise.
41486         (ARGS3): Likewise.
41487         (ARGS4): Likewise.
41488         (RET1): Likewise.
41489         (RET2): Likewise.
41490         (CALC): Likewise.
41491         (FUNC): Likewise.
41492         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41493         (test_functions): Add lgamma.
41494         (calc_generic_results): Handle mpfr_f_f1.
41495         * sysdeps/i386/fpu/libm-test-ulps: Update.
41496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41498 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41500         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41501         __mpn_add_n for PowerPC64/POWER7.
41502         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41503         __mpn_sub_n for PowerPC64/POWER7.
41505         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41506         __mpn_addmul_1 for PowerPC64.
41507         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41508         __mpn_submul_1 for PowerPC64.
41509         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41510         for PowerPC64.
41511         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41512         for PowerPC64.
41514 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41516         [BZ #15089]
41517         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41519 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41521         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41523         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41524         add multiarch folders.
41525         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41526         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41527         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41528         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41529         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41530         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41531         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41532         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41533         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41534         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41535         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41544         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41546         New file.
41547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41548         New file.
41549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41550         multiarch __ieee754_hypot for PowerPC32.
41551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41552         New file.
41553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41554         New file.
41555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41556         multiarch __ieee754_hypotf for PowerPC32.
41558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41559         long_double_symbol only if __logbl is defined.
41560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41561         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41562         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41563         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41565         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41566         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41567         path for implementation.
41568         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41569         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41571         logb, and logbl multiarch implementations for PowerPC32.
41572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41573         file.
41574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41575         file.
41576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41577         multiarch logb for PowerPC32.
41578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41579         file.
41580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41581         file.
41582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41583         multiarch logbf for PowerPC32.
41584         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41586         file.
41587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41588         multiarch logbl implementation for PowerPC32.
41590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41591         and modff multiarch implementations.
41592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41593         New file.
41594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41595         New file.
41596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41597         multiarch modf for PowerPC32.
41598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41599         New file.
41600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41601         New file.
41602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41603         multiarch modff for PowerPC32.
41605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41606         and lrintf multiarch implementations.
41607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41608         New file.
41609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41610         New file.
41611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41612         multiarch lrint for PowerPC32.
41613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41614         file: multiarch lrintf for PowerPC32.
41616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41617         and lroundf multiarch implementations.
41618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41619         New file.
41620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41621         New file.
41622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41623         New file.
41624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41625         multiarch lround for PowerPC32.
41626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41627         file: multiarch lroundf for PowerPC32.
41629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41630         copysign and copysignf multiarch implementations.
41631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41632         New file.
41633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41634         New file.
41635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41636         file: multiarch copysign for PowerPC32.
41637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41638         file: multiarch copysignf for PowerPC32.
41640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41641         and truncf multiarch implementations.
41642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41643         New file.
41644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41645         file.
41646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41647         multiarch trunc for PowerPC32.
41648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41649         New file.
41650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41651         New file.
41652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41653         multiarch truncf for PowerPC32.
41655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41656         and roundf multiarch implementations.
41657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41658         New file.
41659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41660         file.
41661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41662         multiarch round for PowerPC32.
41663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41664         New file.
41665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41666         New file.
41667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41668         multiarch roundf for PowerPC32.
41670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41671         and floorf multiarch implementations.
41672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41673         New file.
41674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41675         file.
41676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41677         multiarch floor for PowerPC32.
41678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41679         New file.
41680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41681         New file.
41682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41683         multiarch floorf for PowerPC32.
41685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41686         and ceilf multiarch implementations.
41687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41688         New file.
41689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41690         file.
41691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41692         multiarch ceil for PowerPC32.
41693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41694         New file.
41695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41696         file.
41697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41698         multiarch ceilf for PowerPC32.
41700         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41701         is defined.
41702         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41703         FINITEF is defined.
41704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41705         and finitef multiarch implementations.
41706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41707         New file.
41708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41709         file.
41710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41711         multiarch finite for PowerPC32.
41712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41713         New file.
41714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41715         file: multiarch finitef for PowerPC32.
41717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41718         and isinff multiarch implementations.
41719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41720         file.
41721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41722         file.
41723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41724         multiarch isinf for PowerPC32.
41725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41726         New file.
41727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41728         multiarch isinff for PowerPC32.
41730         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41731         alias when __isnan is defined.
41732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41733         and isnanf multiarch implementations.
41734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41735         file.
41736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41737         file.
41738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41739         file.
41740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41741         file.
41742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41743         multiarch isnan for PowerPC32.
41744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41745         New file.
41746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41747         New file.
41748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41749         multiarch isnanf for PowerPC32.
41751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41752         and sqrtf multiarch implementations.
41753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41754         file.
41755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41756         file.
41757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41758         multiarch sqrt for PowerPC32.
41759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41760         file.
41761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41762         file.
41763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41764         multiarch sqrtf for PowerPC32.
41766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41767         and llroundf multiarch implementations.
41768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41769         New file.
41770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41771         New file.
41772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41773         New file.
41774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41775         file: multiarch llround for PowerPC32.
41776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41777         file: multiarch llroundf for PowerPC32.
41779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41780         multiarch PowerPC32 fpu implementations.
41781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41782         New file.
41783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41784         New file.
41785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41786         multiarch llrint for PowerPC32.
41787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41788         New file.
41789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41790         New file.
41791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41792         file.
41794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41797         file.
41798         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41799         file.
41800         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41801         file.
41802         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41803         multiarch wordcopy for PPC32.
41804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41805         wordcopy objects.
41806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41807         (__libc_ifunc_impl_list): Likewise.
41808         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41809         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41810         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41811         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41812         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41813         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41815         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41817         file.
41818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41819         file.
41820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41821         file.
41822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41823         multiarch wcscpy for PPC32.
41824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41825         multiarch objects.
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41827         (__libc_ifunc_impl_list): Likewise.
41828         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41829         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41830         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41831         sysdeps/powerpc/power6/wcscpy.c.
41833         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41835         file.
41836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41837         file.
41838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41839         file.
41840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41841         multiarch wcsrchr for PPC32.
41842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41843         multiarch objects.
41844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41845         (__libc_ifunc_impl_list): Likewise.
41846         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41847         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41848         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41849         sysdeps/powerpc/power6/wcsrchr.c.
41851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41852         file.
41853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41854         file.
41855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41857         multiarch wcschr for PPc32.
41858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41859         multiarch objects.
41860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41861         (__libc_ifunc_impl_list): Likewise.
41862         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41863         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41864         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41865         sysdeps/powerpc/power6/wcschr.c.
41867         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41869         file.
41870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41871         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41872         file: multiarch strchr for PPC32.
41873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41874         multiarch objects.
41875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41876         (__libc_ifunc_impl_list): Likewise.
41878         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41879         name.
41880         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41881         file.
41882         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41883         file.
41884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41885         multiarch strchrnul for PPC32.
41886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41887         multiarch objects.
41888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41889         (__libc_ifunc_impl_list): Likewise.
41891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41892         file.
41893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41894         multiarch strncasecmp for PPC32.
41895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41896         file.
41897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41898         multiarch strncasecmp_l for PPC32.
41899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41900         strncasecmp multiarch objects.
41901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41902         (__libc_ifunc_impl_list): Likewise.
41904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41905         file.
41906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41907         multiarch strncasecmp for PPC32.
41908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41909         New file.
41910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41911         multiarch strcasecmp_l for PPC32.
41912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41913         multiarch objects.
41914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41915         (__libc_ifunc_impl_list): Likewise.
41917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41918         file.
41919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41920         file.
41921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41922         multiarch strncmp for PPC32.
41923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41924         multiarch objects.
41925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41926         (__libc_ifunc_impl_list): Likewise.
41928         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41929         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41930         file.
41931         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41932         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41934         multiarch objects.
41935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41936         (__libc_ifunc_impl_list): Likewise.
41938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41939         file.
41940         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41941         file.
41942         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41944         multiarch objects.
41945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41946         (__libc_ifunc_impl_list): Likewise.
41948         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41949         file.
41950         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41951         file.
41952         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41953         multiarch rawmemchr for PPC32.
41954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41955         multiarch objects.
41956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41957         (__libc_ifunc_impl_list): Likewise.
41959         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41960         file.
41961         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41962         file.
41963         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41964         file: memrchr multiarch for PPC32.
41965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41966         multiarch objects.
41967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41968         (__libc_ifunc_impl_list): Likewise.
41970         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41971         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41972         file.
41973         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41975         multiarch memchr for PPC32.
41976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41977         multiarch objects.
41978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41979         (__libc_ifunc_impl_list): Likewise.
41981         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41982         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41983         file.
41984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41985         file.
41986         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41987         file: multiarch mempcpy for PPC32.
41988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41989         multiarch objects.
41990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41991         (__libc_ifunc_impl_list): Likewise.
41993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41994         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41995         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41997         multiarch bzero for PPC32.
41998         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41999         file.
42000         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42001         file.
42002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42003         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42004         file: multiarch memset for PPC32.
42005         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42007         memset multiarch objects.
42008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42009         (__libc_ifunc_impl_list): Likewise.
42011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42012         file.
42013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42015         memcmp for PPC32.
42016         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42018         multiarch objects.
42019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42020         (__libc_ifunc_impl_list): Likewise.
42022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42025         file.
42026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42027         file.
42028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42029         file.
42030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42031         multiarch memcpy for PPC32.
42032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42033         multiarch objects.
42034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42035         (__libc_ifunc_impl_list): Likewise.
42037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42038         support multiarch for POWER/PPC32.
42039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42040         Likewise.
42041         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42043         Implies file to make multiarch folder appers before the fpu and
42044         default folder for power4 configuration.
42046 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42048         * scripts/bench.pl: Append volatile keyword to type.
42050 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42052         * sysdeps/sh/sotruss-lib.c: New file.
42053         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42055 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42059 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42061         [BZ #6810]
42062         * math/w_tgamma.c: Include <errno.h>.
42063         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42064         * math/w_tgammaf.c: Include <errno.h>.
42065         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42066         * math/w_tgammal.c: Include <errno.h>.
42067         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42068         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42069         underflow.  Add more tgamma tests.
42070         * math/auto-libm-test-out: Regenerated.
42071         * sysdeps/i386/fpu/libm-test-ulps: Update.
42072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42074         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42075         sin, sinh, tan, tanh, tgamma, y0 and y1.
42076         * math/auto-libm-test-out: Regenerated.
42077         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42078         (TEST_COND_x86): Likewise.
42079         (M_E2l): Remove macro.
42080         (M_E3l): Likewise.
42081         (M_2_SQRT_PIl): Likewise.
42082         (M_SQRT_PIl): Likewise.
42083         (M_1_DIV_El): Likewise.
42084         (log_test_data): Use AUTO_TESTS_f_f.
42085         (log10_test_data): Likewise.
42086         (log1p_test_data): Likewise.
42087         (log2_test_data): Likewise.
42088         (sin_test_data): Likewise.
42089         (sin_tonearest_test_data): Likewise.
42090         (sin_towardzero_test_data): Likewise.
42091         (sin_downward_test_data): Likewise.
42092         (sin_upward_test_data): Likewise.
42093         (sinh_test_data): Likewise.
42094         (sinh_tonearest_test_data): Likewise.
42095         (sinh_towardzero_test_data): Likewise.
42096         (sinh_downward_test_data): Likewise.
42097         (sinh_upward_test_data): Likewise.
42098         (tan_test_data): Likewise.
42099         (tan_tonearest_test_data): Likewise.
42100         (tan_towardzero_test_data): Likewise.
42101         (tan_downward_test_data): Likewise.
42102         (tan_upward_test_data): Likewise.
42103         (tanh_test_data): Likewise.
42104         (tgamma_test_data): Likewise.
42105         (y0_test_data): Likewise.
42106         (y1_test_data): Likewise.
42107         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42108         (special_real_inputs): Add pi/4.
42109         * sysdeps/i386/fpu/libm-test-ulps: Update.
42110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42112 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42114         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42115         "longjmp_target" static probes.
42116         (__longjmp): Rename to __longjmp_symbol.
42117         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42118         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42119         on which longjmp to generate.
42120         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42121         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42122         probe.
42123         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42124         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42125         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42127         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42128         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42130         __longjmp_symbol based on which __longjmp to generate.
42131         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42132         probe.
42133         (setjmp): Rename to setjmp_symbol.
42134         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42135         (_setjmp): Rename to _setjmp_symbol.
42136         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42137         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42138         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42139         which setjmp to generate.
42140         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42141         "longjmp_target" static probes.
42143 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42145         * benchtests/README: Add note about output arguments.
42146         * benchtests/bench-sincos.c: Remove file.
42147         * benchtests/sincos-inputs: New file.
42148         * scripts/bench.pl: Identify output arguments and define
42149         static variables for them.
42151         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42153         [BZ #15941]
42154         * Makefile (INSTALL): Add install-plain.texi as the primary
42155         dependency.
42156         * manual/install-plain.texi: New file.
42157         * manual/install.texi: Include node directive only for
42158         non-plaintext output.
42160 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42162         * stdlib/longlong.h: Update from GCC.
42164         [BZ #6807]
42165         [BZ #15901]
42166         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42167         * math/w_j0f.c (y0f): Likewise.
42168         * math/w_j0l.c (__y0l): Likewise.
42169         * math/w_j1.c (y1): Likewise.
42170         * math/w_j1f.c (y1f): Likewise.
42171         * math/w_j1l.c (__y1l): Likewise.
42172         * math/w_jn.c (yn): Likewise.
42173         * math/w_jnf.c (ynf): Likewise.
42174         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42175         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42176         value for Bessel function domain errors outside _SVID_ mode.
42177         Adjust sign of return value for yn (negative integer, 0).
42178         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42179         by zero in return for negative x and set sign appropriately for
42180         negative n.
42181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42182         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42183         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42184         expectations in error cases.
42185         (y1_test_data): Likewise.
42186         (yn_test_data): Likewise.
42187         * sysdeps/i386/fpu/libm-test-ulps: Update.
42188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42190 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42192         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42193         "64" to "64-v1".  Add "64-v2".
42194         (abi-64-options): Rename to ...
42195         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42196         (abi-64-condition): Rename to ...
42197         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42198         (abi-64-ld-soname): Rename to ...
42199         (abi-64-v1-ld-soname): ... this.
42200         (abi-64-v2-options): Define.
42201         (abi-64-v2-condition): Likewise.
42202         (abi-64-v2-ld-soname): Likewise.
42203         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42209 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42210             Alan Modra  <amodra@gmail.com>
42212         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42213         New versions for use with the ELFv2 ABI.
42214         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42215         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42216         declaration.
42217         (struct La_ppc64v2_retval): Likewise.
42218         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42219         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42220         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42221         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42222         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42223         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42224         Do not save or restore CR.
42225         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42226         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42227         return values for ELFv2 ABI.  Fix location of FPR return registers.
42228         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42229         updated values for _CALL_ELF == 2.
42230         (La_regs, La_retval, int_retval): Likewise.
42232 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42234         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42235         (FRAME_MIN_SIZE_PARM): Likewise.
42236         (FRAME_BACKCHAIN): Likewise.
42237         (FRAME_CR_SAVE): Likewise.
42238         (FRAME_LR_SAVE): Likewise.
42239         (FRAME_TOC_SAVE): Likewise.
42240         (FRAME_PARM_SAVE): Likewise.
42241         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42242         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42243         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42244         (call_mcount_parm_offset): New macro.
42245         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42246         (PROF): Use symbolic stack frame offsets.
42247         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42249         Redefine in terms of FRAME_MIN_SIZE.
42250         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42251         (_dl_profile_resolve): Likewise.  Update comment.
42252         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42253         symbols stack frame offsets.
42254         (__sigsetjmp): Likewise.
42255         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42256         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42257         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42258         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42261         (FRAME_BACKCHAIN): Remove.
42262         (FRAME_CR_SAVE): Likewise.
42263         (FRAME_LR_SAVE): Likewise.
42264         (FRAME_COMPILER_DW): Likewise.
42265         (FRAME_LINKER_DW): Likewise.
42266         (FRAME_TOC_SAVE): Likewise.
42267         (FRAME_PARM_SAVE): Likewise.
42268         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42269         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42270         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42272         (CHECK_SP): Use symbolic stack frame offsets.
42273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42274         zone" instead of caller's parameter save area for temp storage.
42275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42276         Likewise.  Also, use symbolic stack frame offsets.
42277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42278         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42279         our own stack frame instead of the caller's.
42280         (__socket): Use symbolic stack frame offsets.
42282 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42283             Alan Modra  <amodra@gmail.com>
42285         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42286         Define.
42287         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42288         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42289         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42290         New function.
42291         (elf_machine_fixup_plt): Call it.
42292         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42293         reloc arguments.
42294         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42295         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42296         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42297         r2 before calling target.
42299 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42300             Alan Modra  <amodra@gmail.com>
42302         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42303         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42304         versions of macros to support ELFv2 ABI.
42305         (LOCALENTRY): New macro.
42306         (ENTRY, EALIGN): Use it.
42307         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42308         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42309         fall through into ENTRY entry point.
42310         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42311         Only define if _CALL_ELF != 2.
42313         (elf_machine_matches_host): Verify ABI version matches.
42314         (RTLD_START): Use LOCALENTRY.
42315         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42316         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42317         (PLT_ENTRY_WORDS): New macro.
42318         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42319         (elf_machine_runtime_setup): Support ELFv2 ABI.
42320         (elf_machine_fixup_plt): Likewise.
42321         (elf_machine_plt_conflict): Likewise.
42322         (resolve_ifunc): Likewise.
42323         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42324         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42325         Likewise.
42326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42327         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42329         (makecontext): Support ELFv2 ABI.
42330         * elf/elf.h (EF_PPC64_ABI): Define.
42332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42334         * sysdeps/powerpc/powerpc64/sysdep.h
42335         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42336         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42337         (ENTRY) [ASSEMBLER]: ... but instead here ...
42338         (EALIGN) [ASSEMBLER]: ... and here.
42339         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42340         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42341         (ENTRY_2) [!ASSEMBLER]: Use it.
42342         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42343         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42344         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42345         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42346         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42348         Use PPC64_LOAD_FUNCPTR.
42350         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42352 2013-12-04  Alan Modra  <amodra@gmail.com>
42354         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42355         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42356         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42357         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42360         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42361         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42362         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42363         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42364         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42366 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42369         (__makecontext): Fix incorrect CFI when backtracing out of
42370         context created via makecontext.
42371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42372         (__setcontext): Fix incorrect CFI during switch to new context.
42373         (__novec_setcontext): Likewise.
42375 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42377         [BZ #4772]
42378         * time/strptime_l.c (__strptime_internal): Allow modifiers
42379         in strptime.
42380         * time/tst-strptime.c (day_tests): Add testcase.
42382 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42384         * scripts/bench.pl: Skip over blank lines.
42386 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42388         [BZ #926]
42389         * manual/time.texi (Calendar Time): Clarify what timezone functions
42390         use.
42392 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42396 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42398         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42399         implementation.
42400         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42401         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42402         * debug/memset_chk.c (__memset_chk): Likewise.
42403         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42404         * debug/strncpy_chk.c: Likewise.
42406 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42408         [BZ #15268]
42409         [BZ #15425]
42410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42411         (__ieee754_exp): For possibly underflowing results, check size of
42412         result and force underflow exception if required.
42413         * math/auto-libm-test-in: Add more tests of exp.
42414         * math/auto-libm-test-out: Regenerated.
42415         * sysdeps/i386/fpu/libm-test-ulps: Update.
42416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42418         [BZ #16283]
42419         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42420         * math/w_exp2f.c (__exp2f): Likewise.
42421         * math/w_exp2l.c (__exp2l): Likewise.
42422         * math/auto-libm-test-in: Do not allow missing errno on exp2
42423         underflow.
42424         * math/auto-libm-test-out: Regenerated.
42426 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42428         [BZ #16274]
42429         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42430         handle filename validation.
42431         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42432         (do_open): Delete.
42434 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42436         [BZ #6786]
42437         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42438         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42439         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42440         <float.h>.
42441         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42442         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42443         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42445         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42446         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42447         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42448         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42449         Add more erfc tests.
42450         * math/auto-libm-test-out: Regenerated.
42451         * sysdeps/i386/fpu/libm-test-ulps: Update.
42452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42454         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42455         exp2, expm1, j0 and j1.
42456         * math/auto-libm-test-out: Regenerated.
42457         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42458         (erfc_test_data): Likewise.
42459         (exp_test_data): Likewise.
42460         (exp_tonearest_test_data): Likewise.
42461         (exp_towardzero_test_data): Likewise.
42462         (exp_downward_test_data): Likewise.
42463         (exp_upward_test_data): Likewise.
42464         (exp10_test_data): Likewise.
42465         (exp2_test_data): Likewise.
42466         (expm1_test_data): Likewise.
42467         (j0_test_data): Likewise.
42468         (j1_test_data): Likewise.
42469         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42470         (input_flag_type): Add flag_xfail_rounding.
42471         (input_flags): Add xfail-rounding.
42472         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42473         (output_for_one_input_case): Handle flag_xfail_rounding.
42474         * sysdeps/i386/fpu/libm-test-ulps: Update.
42475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42477 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42479         [BZ #16289]
42480         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42481         division by 0.
42483 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42485         [BZ #16195]
42486         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42487         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42488         (STAP_PROBE0): New macro.
42489         (STAP_PROBE1): Likewise.
42490         (STAP_PROBE2): Likewise.
42491         (STAP_PROBE3): Likewise.
42492         (STAP_PROBE4): Likewise.
42494 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42496         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42498 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42500         * benchtests/Makefile (bench): Add sqrt.
42501         (LDLIBS-bench-sqrt): New.
42502         * benchtests/sqrt-input: New.
42504 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42506         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42507         (GAIH_EAI): Likewise.
42508         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42509         (gaih_inet): Likewise.
42510         (getaddrinfo): Don't use GAIH_EAI.
42512         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42513         (struct gaih): Remove definition.
42515 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42517         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42518         Use HERRNOP directly.
42520 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42524 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42526         * math/gen-auto-libm-tests.c (test_functions): Add more
42527         single-argument functions.
42528         (special_fill_pi_2): New function.
42529         (special_fill_minus_pi_2): Likewise.
42530         (special_fill_pi_6): Likewise.
42531         (special_fill_minus_pi_6): Likewise.
42532         (special_fill_pi_3): Likewise.
42533         (special_fill_2pi_3): Likewise.
42534         (special_fill_e): Likewise.
42535         (special_fill_1_e): Likewise.
42536         (special_fill_e_minus_1): Likewise.
42537         (special_real_inputs): Add more special inputs.
42538         (output_for_one_input_case): Do not require ERANGE on underflow to
42539         zero if round-to-nearest result does not underflow to zero, unless
42540         exact results required.
42541         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42542         atan, atanh, cbrt, cos and cosh.
42543         * math/auto-libm-test-out: Regenerated.
42544         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42545         (acos_tonearest_test_data): Likewise.
42546         (acos_towardzero_test_data): Likewise.
42547         (acos_downward_test_data): Likewise.
42548         (acos_upward_test_data): Likewise.
42549         (acosh_test_data): Likewise.
42550         (asin_test_data): Likewise.
42551         (asin_tonearest_test_data): Likewise.
42552         (asin_towardzero_test_data): Likewise.
42553         (asin_upward_test_data): Likewise.
42554         (asinh_test_data): Likewise.
42555         (atan_test_data): Likewise.
42556         (atanh_test_data): Likewise.
42557         (cbrt_test_data): Likewise.
42558         (cos_test_data): Likewise.
42559         (cos_tonearest_test_data): Likewise.
42560         (cos_towardzero_test_data): Likewise.
42561         (cos_downward_test_data): Likewise.
42562         (cos_upward_test_data): Likewise.
42563         (cosh_test_data): Likewise.
42564         (cosh_tonearest_test_data): Likewise.
42565         (cosh_towardzero_test_data): Likewise.
42566         (cosh_downward_test_data): Likewise.
42567         (cosh_upward_test_data): Likewise.
42568         * sysdeps/i386/fpu/libm-test-ulps: Update.
42569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42571 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42573         [BZ #6787]
42574         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42575         * math/w_exp10f.c (__exp10f): Likewise.
42576         * math/w_exp10l.c (__exp10l): Likewise.
42577         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42578         errno settings in existing tests.
42580         [BZ #14032]
42581         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42582         precision control set to double precision.
42583         * sysdeps/i386/fpu/w_sqrt.c: New file.
42584         * math/auto-libm-test-in: Add more tests.
42585         * math/auto-libm-test-out: Update.
42587         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42588         (sqrt_test_tonearest): New function.
42589         (sqrt_towardzero_test_data): New variable.
42590         (sqrt_test_towardzero): New function.
42591         (sqrt_downward_test_data): New variable.
42592         (sqrt_test_downward): New function.
42593         (sqrt_upward_test_data): New variable.
42594         (sqrt_test_upward): New function.
42595         (main): Call the new functions.
42597         * math/gen-auto-libm-tests.c: New file.
42598         * math/auto-libm-test-in: Likewise.
42599         * math/auto-libm-test-out: New generated file.
42600         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42601         variables.
42602         (%beautify): Add generated representations of zero.
42603         (top level): Set $auto_input and call parse_auto_input.
42604         (beautify): Remove trailing "f" from hex float constants.
42605         (parse_args): Handle XFAIL_TEST.
42606         (convert_condition): New function.
42607         (or_value): Likewise.
42608         (or_cond_value): Likewise.
42609         (generate_testfile): Handle AUTO_TESTS_* lines.
42610         (parse_auto_input): New function.
42611         * math/libm-test.inc (XFAIL_TEST): New macro.
42612         (ERRNO_UNCHANGED): Update value.
42613         (ERRNO_EDOM): Likewise.
42614         (ERRNO_ERANGE): Likewise.
42615         (IGNORE_RESULT): Likewise.
42616         (TEST_COND_flt_32): New macro.
42617         (TEST_COND_dbl_64): Likewise.
42618         (TEST_COND_ldbl_96_intel): Likewise.
42619         (TEST_COND_ldbl_96_m68k): Likewise.
42620         (TEST_COND_ldbl_128): Likewise.
42621         (TEST_COND_ldbl_128ibm): Likewise.
42622         (TEST_COND_long32): Likewise.
42623         (TEST_COND_long64): Likewise.
42624         (TEST_COND_before_rounding): Likewise.
42625         (TEST_COND_after_rounding): Likewise.
42626         (enable_test): Handle XFAIL_TEST flag.
42627         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42628         with finite results.
42629         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42630         auto-libm-test-out.
42632 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42633             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42635         [BZ #16214]
42636         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42637         __tls_get_addr_internal instead of __tls_get_offset in order to
42638         avoid GOT pointer dependency.  Make rtld export
42639         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42640         __tls_get_addr since we are a __tls_get_offset platform.
42641         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42642         GOT pointer being set up before.
42643         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42645 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42647         * manual/math.texi (Errors in Math Functions): Document accuracy
42648         goals.
42650         [BZ #15004]
42651         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42652         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42653         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42654         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42655         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42656         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42657         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42658         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42659         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42660         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42661         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42662         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42663         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42664         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42668         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42669         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42670         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42671         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42672         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42673         Likewise.
42674         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42675         Likewise.
42676         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42677         Likewise.
42678         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42679         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42680         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42681         atomic-feupdateenv and flt-rounds.
42682         * sysdeps/powerpc/nofpu/Versions (libc): Add
42683         __atomic_feholdexcept, __atomic_feclearexcept,
42684         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42686         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42687         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42688         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42689         here.
42690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42691         Update.
42693         * manual/arith.texi (FP Exceptions): Document that exceptions may
42694         not be raised when matherr is used.
42695         (Math Error Reporting): Document overflow in directed rounding
42696         modes.  Document that errno may not be set when finite values are
42697         returned on overflow.  Document intent to set errno on underflow
42698         only for underflow to zero.
42700         [BZ #16271]
42701         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42702         round-to-nearest then adjust result for other rounding modes.
42703         * include/fenv.h (fegetround): Use libm_hidden_proto.
42704         * math/fegetround.c (fegetround): Use libm_hidden_def.
42705         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42706         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42707         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42709         Likewise.
42710         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42712         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42713         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42715 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42717         [BZ #16077]
42718         * nss/Versions (libnss_files): Add
42719         _nss_files_gethostbyname3_r.
42720         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42721         New function.
42722         (HOST_DB_LOOKUP): Remove macro.
42723         (_nss_files_gethostbyname_r): Implement function without the
42724         HOST_DB_LOOKUP macro.
42725         (_nss_files_gethostbyname2_r): Likewise.
42727 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42729         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42731 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42733         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42734         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42735         warning.
42737 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42739         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42740         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42741         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42742         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42743         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42744         __fe_nomask_env_priv and attribute_hidden.
42745         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42746         (libc_feupdateenv_test_ppc): Likewise.
42747         (libc_feresetround_ppc): Likewise.
42748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42749         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42750         compat_symbol macro.
42751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42752         (__fe_nomask_env): Likewise.
42753         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42755 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42757         * string/Makefile: Remove ifunc tests.
42758         * string/test-string.h: Define TEST_IFUNC.
42759         * string/test-bcopy-ifunc.c: Remove.
42760         * string/test-bzero-ifunc.c: Likewise.
42761         * string/test-memccpy-ifunc.c: Likewise.
42762         * string/test-memchr-ifunc.c: Likewise.
42763         * string/test-memcmp-ifunc.c: Likewise.
42764         * string/test-memcpy-ifunc.c: Likewise.
42765         * string/test-memmem-ifunc.c: Likewise.
42766         * string/test-memmove-ifunc.c: Likewise.
42767         * string/test-mempcpy-ifunc.c: Likewise.
42768         * string/test-memrchr-ifunc.c: Likewise.
42769         * string/test-memset-ifunc.c: Likewise.
42770         * string/test-rawmemchr-ifunc.c: Likewise.
42771         * string/test-stpcpy-ifunc.c: Likewise.
42772         * string/test-stpncpy-ifunc.c: Likewise.
42773         * string/test-strcasecmp-ifunc.c: Likewise.
42774         * string/test-strcasestr-ifunc.c: Likewise.
42775         * string/test-strcat-ifunc.c: Likewise.
42776         * string/test-strchr-ifunc.c: Likewise.
42777         * string/test-strchrnul-ifunc.c: Likewise.
42778         * string/test-strcmp-ifunc.c: Likewise.
42779         * string/test-strcpy-ifunc.c: Likewise.
42780         * string/test-strcspn-ifunc.c: Likewise.
42781         * string/test-strlen-ifunc.c: Likewise.
42782         * string/test-strncasecmp-ifunc.c: Likewise.
42783         * string/test-strncat-ifunc.c: Likewise.
42784         * string/test-strncmp-ifunc.c: Likewise.
42785         * string/test-strncpy-ifunc.c: Likewise.
42786         * string/test-strnlen-ifunc.c: Likewise.
42787         * string/test-strpbrk-ifunc.c: Likewise.
42788         * string/test-strrchr-ifunc.c: Likewise.
42789         * string/test-strspn-ifunc.c: Likewise.
42790         * string/test-strstr-ifunc.c: Likewise.
42792 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42794         * benchtests/Makefile: Remove ifunc tests.
42795         * benchtests/bench-string.h: Define TEST_IFUNC.
42796         * benchtests/bench-bcopy-ifunc.c: Remove.
42797         * benchtests/bench-bzero-ifunc.c: Likewise.
42798         * benchtests/bench-memccpy-ifunc.c: Likewise.
42799         * benchtests/bench-memchr-ifunc.c: Likewise.
42800         * benchtests/bench-memcmp-ifunc.c: Likewise.
42801         * benchtests/bench-memcpy-ifunc.c: Likewise.
42802         * benchtests/bench-memmem-ifunc.c: Likewise.
42803         * benchtests/bench-memmove-ifunc.c: Likewise.
42804         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42805         * benchtests/bench-memrchr-ifunc.c: Likewise.
42806         * benchtests/bench-memset-ifunc.c: Likewise.
42807         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42808         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42809         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42810         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42811         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42812         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42813         * benchtests/bench-strcat-ifunc.c: Likewise.
42814         * benchtests/bench-strchr-ifunc.c: Likewise.
42815         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42816         * benchtests/bench-strcmp-ifunc.c: Likewise.
42817         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42818         * benchtests/bench-strcpy-ifunc.c: Likewise.
42819         * benchtests/bench-strcspn-ifunc.c: Likewise.
42820         * benchtests/bench-strlen-ifunc.c: Likewise.
42821         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42822         * benchtests/bench-strncat-ifunc.c: Likewise.
42823         * benchtests/bench-strncmp-ifunc.c: Likewise.
42824         * benchtests/bench-strncpy-ifunc.c: Likewise.
42825         * benchtests/bench-strnlen-ifunc.c: Likewise.
42826         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42827         * benchtests/bench-strrchr-ifunc.c: Likewise.
42828         * benchtests/bench-strsep-ifunc.c: Likewise.
42829         * benchtests/bench-strspn-ifunc.c: Likewise.
42830         * benchtests/bench-strstr-ifunc.c: Likewise.
42832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42834         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42836 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42838         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42839         * rt/aio.h: Likewise.
42840         * sysdeps/gnu/bits/utmp.h: Likewise.
42841         * sysdeps/gnu/bits/utmpx.h: Likewise.
42842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42843         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42844         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42845         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42846         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42847         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42848         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42849         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42850         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42851         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42852         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42853         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42854         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42856         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42857         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42858         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42859         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42860         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42861         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42862         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42863         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42864         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42865         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42866         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42868         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42869         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42870         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42871         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42872         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42873         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42874         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42875         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42876         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42877         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42878         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42879         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42880         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42881         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42882         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42883         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42885 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42887         [BZ #16245]
42888         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42889         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42891 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42893         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42894         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42895         Likewise.
42897 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42899         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42900         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42901         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42902         (__fesetround): Remove define.
42903         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42904         rounding and exceptions handling.
42905         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42906         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42907         (__fe_nomask_env): Likewise.
42908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42909         __fegetround instead of fegetround.
42910         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42911         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42913 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42915         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42916         it's there.
42918         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42920 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42922         [BZ #11157]
42923         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42924         (encrypt_r): Likewise.
42925         * malloc/obstack.h (obstack_free): Likewise.
42926         * posix/unistd.h (encrypt): Likewise.
42928 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42930         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42931         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42932         DL_CALL_DT_FINI() that call the functions directly.
42933         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42934         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42935         * elf/dl-fini.c: Likewise.
42937 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42939         * malloc/hooks.c (memalign_check): Add alignment rounding.
42940         * malloc/malloc.c (_mid_memalign): New function.
42941         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42942         Implement by calling _mid_memalign.
42943         * manual/probes.texi (Memory Allocation Probes): Remove
42944         memory_valloc_retry and memory_pvalloc_retry.
42946 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42948         * locale/programs/locarchive.c (open_archive): Add const
42949         qualifier to ARCHIVEFNAME and copy default fname to
42950         DEFAULT_FNAME.
42952         [BZ #15601]
42953         * libio/tst-widetext.input: Rename Oriya to Odia.
42954         * locale/iso-639.def: Likewise.
42956         * manual/probes.texi (Mathematical Function Probes): Add
42957         documentation for sin, cos, asin and acos probes.
42958         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42959         (__sin32): Add slowasin probe.
42960         (__cos32): Add slowacos probe.
42961         (__mpsin): Add slowsin probe.
42962         (__mpcos): Add slowcos probe.
42964 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42966         [BZ #15483]
42967         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42968         thread-local __sim_exceptions_thread and global
42969         __sim_exceptions_global.
42970         (__sim_disabled_exceptions): Change to thread-local
42971         __sim_disabled_exceptions_thread and global
42972         __sim_disabled_exceptions_global.
42973         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42974         and global __sim_round_mode_global.
42975         (__simulate_exceptions): Use thread-local floating-point state and
42976         set global state from it as needed.
42977         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42978         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42979         __sim_round_mode_thread.
42980         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42981         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42982         and global __sim_exceptions_global.
42983         (__sim_disabled_exceptions): Change to thread-local
42984         __sim_disabled_exceptions_thread and global
42985         __sim_disabled_exceptions_global.
42986         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42987         and global __sim_round_mode_global.
42988         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42989         (SIM_SET_GLOBAL): Likewise.
42990         * sysdeps/powerpc/soft-fp/sfp-machine.h
42991         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42992         __sim_round_mode_thread.
42993         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42994         __sim_disabled_exceptions_thread.
42995         (__sim_exceptions): Change to __sim_exceptions_thread.
42996         (__sim_disabled_exceptions): Change to
42997         __sim_disabled_exceptions_thread.
42998         (__sim_round_mode): Change to __sim_round_mode_thread.
42999         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43000         thread-local floating-point state and set global state from it as
43001         needed.
43002         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43003         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43004         (__sim_disabled_exceptions): Remove extern declaration.
43005         (feenableexcept): Use thread-local floating-point state and set
43006         global state from it as needed.
43007         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43008         extern declaration.
43009         (__sim_disabled_exceptions): Likewise.
43010         (__sim_round_mode): Likewise.
43011         (__fegetenv): Use thread-local floating-point state.
43012         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43013         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43014         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43015         floating-point state and set global state from it as needed.
43016         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43017         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43018         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43019         Likewise.
43020         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43021         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43022         Likewise.
43023         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43024         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43025         Use __sim_round_mode_thread.
43026         * math/test-fenv-tls.c: New file.
43027         * math/Makefile (tests): Add test-fenv-tls.
43028         ($(objpfx)test-fenv-tls): Depend on
43029         $(common-objpfx)nptl/libpthread.so.
43031 2013-11-19  Andreas Schwab  <schwab@suse.de>
43033         * locale/programs/locale.c (show_info): Decode wordarray elements.
43034         * locale/categories.def (LC_MONETARY): Add element for
43035         _NL_MONETARY_CRNCYSTR.
43036         * locale/C-monetary.c (conversion_rate): New variable.
43037         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43038         element.
43040 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43042         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43043         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43045 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43047         * elf/Makefile (tst-auxv): New test.
43048         * elf/tst-auxv.c: New
43049         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43051 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43053         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43054         (hidden_proto): Caller changed.
43055         (hidden_tls_proto): New macro.
43056         (libc_hidden_tls_proto): Likewise.
43057         (rtld_hidden_tls_proto): Likewise.
43058         (libm_hidden_tls_proto): Likewise.
43059         (libresolv_hidden_tls_proto): Likewise.
43060         (librt_hidden_tls_proto): Likewise.
43061         (libdl_hidden_tls_proto): Likewise.
43062         (libnss_files_hidden_tls_proto): Likewise.
43063         (libnsl_hidden_tls_proto): Likewise.
43064         (libnss_nisplus_hidden_tls_proto): Likewise.
43065         (libutil_hidden_tls_proto): Likewise.
43067 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43069         [BZ #10253]
43070         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43071         (decompose_rpath): Defer expansion to fillin_rpath.
43072         (_dl_init_paths): Pass linkmap to fillin_rpath.
43074 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43076         * benchtests/Makefile: Add strsep.
43077         * benchtests/bench-strsep.c: New file: strsep benchtest.
43078         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43080 2013-11-18  Andreas Schwab  <schwab@suse.de>
43082         * locale/programs/locale.c (show_info) [case byte]: Check for
43083         '\377' instead of '\177'.
43084         * locale/C-monetary.c (not_available): Always use "\377".
43085         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43086         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43087         detect unavailable sign_posn locale elements.
43088         * locale/localeconv.c (__localeconv): For grouping and
43089         mon_grouping handle "\177" and "\377" like no grouping.
43090         (INT_ELEM): New macro.  Use it to set all numeric members.
43091         * locale/programs/ld-monetary.c (monetary_read)
43092         <tok_mon_grouping>: Normalize single -1 to the empty string.
43093         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43094         Likewise.
43096 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43098         [BZ #16055]
43099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43100         when we match (nil).
43101         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43103 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43105         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43106         (NO_TEST_INLINE): Update value.
43107         (ERRNO_UNCHANGED): Likewise.
43108         (ERRNO_EDOM): Likewise.
43109         (ERRNO_ERANGE): Likewise.
43110         (IGNORE_RESULT): Likewise.
43111         (check_float_internal): Check signs of NaN results if
43112         TEST_NAN_SIGN used.
43113         (check_complex): Pass TEST_NAN_SIGN flag through to second
43114         check_float_internal call.
43115         (copysign_test_data): Add tests with quiet NaNs as second
43116         argument.  Use TEST_NAN_SIGN.
43117         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43118         TEST_NAN_SIGN.
43119         (signbit_test_data): Add tests of quiet NaN argument.
43120         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43122         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43123         $ignore_result.
43124         (parse_args): Handle function results specified as IGNORE.
43125         * math/libm-test.inc (IGNORE_RESULT): New macro.
43126         (check_float_internal): Do not check numerical result if flag
43127         IGNORE_RESULT set.
43128         (check_complex): Pass through IGNORE_RESULT to second
43129         check_float_internal call.
43130         (check_int): Do not check numerical result if flag IGNORE_RESULT
43131         set.
43132         (check_long): Likewise.
43133         (check_bool): Likewise.
43134         (check_longlong): Likewise.
43135         (lrint_test_data): Add tests of infinite and NaN arguments.
43136         (lrint_tonearest_test_data): Likewise.
43137         (lrint_towardzero_test_data): Likewise.
43138         (lrint_downward_test_data): Likewise.
43139         (lrint_upward_test_data): Likewise.
43140         (llrint_test_data): Likewise.
43141         (llrint_tonearest_test_data): Likewise.
43142         (llrint_towardzero_test_data): Likewise.
43143         (llrint_downward_test_data): Likewise.
43144         (llrint_upward_test_data): Likewise.
43145         (lround_test_data): Likewise.
43146         (llround_test_data): Likewise.
43148         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43149         (ERRNO_UNCHANGED): Update value.
43150         (ERRNO_EDOM): Likewise.
43151         (ERRNO_ERANGE): Likewise.
43152         (NO_TEST_INLINE_FLOAT): New macro.
43153         (NO_TEST_INLINE_DOUBLE): Likewise.
43154         (enable_test): New function.
43155         (RUN_TEST_f_f): Check enable_test before running test.
43156         (RUN_TEST_2_f): Likewise.
43157         (RUN_TEST_fff_f): Likewise.
43158         (RUN_TEST_c_f): Likewise.
43159         (RUN_TEST_f_f1): Likewise.
43160         (RUN_TEST_fF_f1): Likewise.
43161         (RUN_TEST_fI_f1): Likewise.
43162         (RUN_TEST_ffI_f1): Likewise.
43163         (RUN_TEST_c_c): Likewise.
43164         (RUN_TEST_cc_c): Likewise.
43165         (RUN_TEST_f_i): Likewise.
43166         (RUN_TEST_f_i_tg): Likewise.
43167         (RUN_TEST_ff_i_tg): Likewise.
43168         (RUN_TEST_f_b): Likewise.
43169         (RUN_TEST_f_b_tg): Likewise.
43170         (RUN_TEST_f_l): Likewise.
43171         (RUN_TEST_f_L): Likewise.
43172         (RUN_TEST_fFF_11): Likewise.
43173         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43174         conditionals.
43175         (cosh_test_data): Likewise.
43176         (exp_test_data): Likewise.
43177         (expm1_test_data): Likewise.
43178         (hypot_test_data): Likewise.
43179         (pow_test_data): Likewise.
43180         (sinh_test_data): Likewise.
43181         (tanh_test_data): Likewise.
43182         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43183         flags argument.
43185         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43186         tests with quiet NaN input and output.
43187         (acosh_test_data): Likewise.
43188         (asin_test_data): Likewise.
43189         (asinh_test_data): Likewise.
43190         (atan_test_data): Likewise.
43191         (atanh_test_data): Likewise.
43192         (atan2_test_data): Likewise.
43193         (cbrt_test_data): Likewise.
43194         (cos_test_data): Likewise.
43195         (cosh_test_data): Likewise.
43196         (erf_test_data): Likewise.
43197         (erfc_test_data): Likewise.
43198         (exp_test_data): Likewise.
43199         (exp10_test_data): Likewise.
43200         (exp2_test_data): Likewise.
43201         (expm1_test_data): Likewise.
43202         (hypot_test_data): Likewise.
43203         (j0_test_data): Likewise.
43204         (j1_test_data): Likewise.
43205         (jn_test_data): Likewise.
43206         (lgamma_test_data): Likewise.
43207         (log_test_data): Likewise.
43208         (log10_test_data): Likewise.
43209         (log1p_test_data): Likewise.
43210         (log2_test_data): Likewise.
43211         (pow_test_data): Likewise.
43212         (scalb_test_data): Likewise.
43213         (sin_test_data): Likewise.
43214         (sincos_test_data): Likewise.
43215         (sinh_test_data): Likewise.
43216         (tan_test_data): Likewise.
43217         (tanh_test_data): Likewise.
43218         (tgamma_test_data): Likewise.
43219         (y0_test_data): Likewise.
43220         (y1_test_data): Likewise.
43221         (yn_test_data): Likewise.
43223         [BZ #16167]
43224         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43225         argument being NaN and avoid computations with second argument in
43226         that case.
43227         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43228         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43229         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43231 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43233         * locale/iso-639.def: Add Chitwani Tharu (the).
43235 2013-11-14  Andreas Schwab  <schwab@suse.de>
43237         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43238         word instead of empty string.
43240 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43243         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43245         (__fe_nomask_env): Likewise.
43247 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43249         * benchtests/bench-timing.h: Include time.h.
43251 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43253         [BZ #15997]
43254         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43255         to 3.4.0 for x32.
43256         * sysdeps/unix/sysv/linux/configure: Regenerated.
43258 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43260         [BZ #16151]
43261         * stdlib/strtod_l.c (round_and_return): Do not consider
43262         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43263         exponent one less than half the least subnormal exponent.
43264         * stdlib/test-strtod-round-data: Add more tests.
43265         * stdlib/tst-strtod-round.c (tests): Regenerated.
43267 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43269         [BZ #14143]
43270         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43271         (__fe_mask_env): Likewise.
43272         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43273         libm_hidden_proto and add function prototype.
43274         (__fe_mask_env): Add function prototype.
43275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43276         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43278         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43280         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43282 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43284         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43285         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43287 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43289         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43290         of htab_find_slot().
43292 2013-11-11  David S. Miller  <davem@davemloft.net>
43294         [BZ #16150]
43295         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43296         symbol in the non-vis3 case in static builds.
43297         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43298         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43299         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43300         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43302 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43304         [BZ #387]
43305         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43306         it is empty.
43308 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43310         * benchtests/Makefile: Add bench-strtod.
43311         * benchtests/bench-strtod.c: New file: strtod benchtest
43313 2013-11-11  Andreas Schwab  <schwab@suse.de>
43315         [BZ #16153]
43316         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43317         terminating NUL in key length.
43319 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43321         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43322         Add artificial ODP entry for vDSO symbol for PPC64.
43323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43324         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43326 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43328         [BZ #15374]
43329         * nss/getent.c (services_keys): Recognize services starting with digit.
43331 2013-11-06  David S. Miller  <davem@davemloft.net>
43333         [BZ #15985]
43334         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43335         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43337 2013-11-06  Will Newton  <will.newton@linaro.org>
43339         * manual/memory.texi (Malloc Examples): Remove register
43340         keyword from examples.
43342 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43344         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43346 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43348         [BZ #6981]
43349         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43350         depending on [__GCC_IEC_559 > 0].
43351         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43352         depending on [__GCC_IEC_559_COMPLEX > 0].
43354 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43356         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43357         to iso-639.def.
43359 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43361         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43363 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43365         [BZ #16112]
43366         * malloc/malloc (malloc_info): Do not handle first bin as
43367         special case.
43369 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43371         * locale/iso-639.def: Add Central Nahuatl (nhn).
43373 2013-11-01  Bruno Haible  <bruno@clisp.org>
43375         [BZ #7003]
43376         * manual/math.texi (BSD Random): Specify range upper bound as
43377         in POSIX.
43379 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43381         * locale/iso-639.def: Add Meadow Mari (mhr).
43383 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43385         [BZ #14752], [BZ #15763]
43386         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43387         Validate name.
43388         * rt/tst_shm.c: Add test for escaping directory.
43390 2013-10-31  Andreas Schwab  <schwab@suse.de>
43392         [BZ #15917]
43393         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43394         followed by 'x' as part of digit sequence.
43395         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43397 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43399         [BZ #16037]
43400         * configure.ac: allow GNU Make 4.0 and greater.
43401         * configure: Regenerated.
43403 2013-10-30  Will Newton  <will.newton@linaro.org>
43405         [BZ #16038]
43406         * malloc/hooks.c (memalign_check): Limit alignment to the
43407         maximum representable power of two.
43408         * malloc/malloc.c (__libc_memalign): Likewise.
43409         * malloc/tst-memalign.c (do_test): Add test for very
43410         large alignment values.
43411         * malloc/tst-posix_memalign.c (do_test): Likewise.
43413 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43415         [BZ #11087]
43416         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43417         (munmap_chunk): Likewise.
43418         (mremap_chunk): Likewise.
43420 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43422         [BZ #15799]
43423         * stdlib/div.c (div): Remove obsolete code.
43424         * stdlib/ldiv.c (ldiv): Likewise.
43425         * stdlib/lldiv.c (lldiv): Likewise.
43427 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43429         [BZ #16071]
43430         * nss/nss_files/files-XXX.c (get_contents_ret): New
43431         enumerator.
43432         (get_contents): New function.
43433         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43435 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43437         * configure.in: Moved to ...
43438         * configure.ac: ... here. Change reference to configure.in
43439         to configure.ac.
43440         * sysdeps/arm/preconfigure.ac: ... here.
43441         configure.in to configure.ac.
43442         * sysdeps/gnu/configure.in: Moved to ...
43443         * sysdeps/gnu/configure.ac: ... here.
43444         * sysdeps/i386/configure.in: Moved to ...
43445         * sysdeps/i386/configure.ac: ... here.
43446         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43447         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43448         * sysdeps/mach/configure.in: Moved to ...
43449         * sysdeps/mach/configure.ac: ... here.
43450         * sysdeps/mach/hurd/configure.in: Moved to ...
43451         * sysdeps/mach/hurd/configure.ac: ... here.
43452         * sysdeps/powerpc/configure.in: Moved to ...
43453         * sysdeps/powerpc/configure.ac: ... here.
43454         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43455         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43456         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43457         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43458         * sysdeps/s390/s390-32/configure.in: Moved to ...
43459         * sysdeps/s390/s390-32/configure.ac: ... here.
43460         * sysdeps/s390/s390-64/configure.in: Moved to ...
43461         * sysdeps/s390/s390-64/configure.ac: ... here.
43462         * sysdeps/sh/configure.in: Moved to ...
43463         * sysdeps/sh/configure.ac: ... here.
43464         * sysdeps/sparc/configure.in: Moved to ...
43465         * sysdeps/sparc/configure.ac: ... here.
43466         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43467         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43468         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43469         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43470         * sysdeps/x86_64/configure.in: Moved to ...
43471         * sysdeps/x86_64/configure.ac: ... here.
43472         * sysdeps/x86_64/preconfigure.in: Moved to ...
43473         * sysdeps/x86_64/preconfigure.ac: ... here.
43474         * aclocal.m4: Change reference to configure.in to configure.ac.
43475         * config.h.in: Likewise.
43476         * manual/install.texi: Likewise.
43477         * manual/maint.texi: Likewise.
43478         * Makefile: Likewise.
43479         * malloc/Makefile: Likewise.
43480         * nscd/Makefile: Likewise.
43481         * Makeconfig: Change reference to configure.in and
43482         preconfigure.in to configure.ac and preconfigure.ac
43483         respectively.
43484         * INSTALL: Regenerated.
43485         * configure: Likewise.
43486         * sysdeps/gnu/configure: Likewise.
43487         * sysdeps/i386/configure: Likewise.
43488         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43489         * sysdeps/mach/configure: Likewise.
43490         * sysdeps/mach/hurd/configure: Likewise.
43491         * sysdeps/powerpc/configure: Likewise.
43492         * sysdeps/powerpc/powerpc32/configure: Likewise.
43493         * sysdeps/powerpc/powerpc64/configure: Likewise.
43494         * sysdeps/s390/s390-32/configure: Likewise.
43495         * sysdeps/s390/s390-64/configure: Likewise.
43496         * sysdeps/sh/configure: Likewise.
43497         * sysdeps/sparc/configure: Likewise.
43498         * sysdeps/unix/sysv/linux/configure: Likewise.
43499         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43500         * sysdeps/x86_64/configure: Likewise.
43501         * sysdeps/x86_64/preconfigure: Likewise.
43503 2013-10-29  Andreas Schwab  <schwab@suse.de>
43505         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43507 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43509         * benchtests/pow-inputs: Add new inputs.
43511         * benchtests/exp-inputs: Add new inputs.
43513         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43514         conditional check for return value.
43515         (__cos32): Likewise.
43517 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43519         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43520         to provide a boost for large inputs with word alignment.
43521         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43522         implementation based on optimized PPC64 strcpy.
43523         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43524         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43525         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43526         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43528 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43530         [BZ #2801]
43531         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43533 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43535         [BZ #14876]
43536         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43537         * time/tst-strptime.c (day_tests): Add testcase.
43539 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43541         [BZ #14029]
43542         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43544 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43546         [BZ #16074]
43547         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43548         MAP_FAILED on error.
43550 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43552         [BZ #16072]
43553         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43554         heap for large requests.
43556 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43558         [BZ #9954]
43559         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43560         result if the result has no associated interface.
43561         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43562         interface for all 127.X.Y.Z addresses.
43564 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43566         * locale/iso-639.def: Add Ligurian (lij)
43568 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43570         [BZ #15825]
43571         * sunrpc/rpc_main.c: Document rpcgen -5.
43573 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43575         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43577 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43579         [BZ #10278]
43580         * posix/glob.c: Match only directories when trailing slash is present.
43581         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43582         (main): Add testcase.
43584 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43586         [BZ #15670]
43587         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43589 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43591         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43592         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43593         AUTH_DES and cindex for FIPS 140-2.
43594         (DES Encryption): Add cindex FIPS 46-3.
43596         * locale/locarchive.h (struct locarhandle): Add fname.
43597         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43598         if an optional argument was specified to --list-archive,
43599         otherwise NULL.
43600         * locale/programs/locarchive.c (show_archive_content): Take new
43601         argument fname and pass it via ah.fname to open_archive.
43602         * locale/programs/localedef.h: Update decl.
43603         (open_archive): If AH->fname is non-null, open that file
43604         rather than the default file name, and don't ignore ENOENT.
43605         (create_archive): Set AH.fname to NULL.
43606         (delete_locales_from_archive): Likewise.
43607         (add_locales_to_archive): Likewise.
43608         * locale/programs/locfile.c (write_all_categories): Likewise.
43610 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43611             Aldy Hernandez  <aldyh@redhat.com>
43613         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43614         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43615         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43616         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43617         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43618         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43619         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43620         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43621         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43622         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43623         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43624         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43625         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43626         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43628         Likewise.
43629         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43630         Likewise.
43631         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43632         Likewise.
43633         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43634         Likewise.
43635         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43636         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43637         Likewise.
43638         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43639         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43640         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43641         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43642         Likewise.
43643         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43644         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43645         * sysdeps/powerpc/preconfigure: Likewise.
43646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43647         Likewise.
43648         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43649         Replace contents of file by #include of <fenv_libc.h>.
43650         * sysdeps/powerpc/soft-fp/sfp-machine.h
43651         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43652         and <sys/prctl.h>.
43653         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43661         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43662         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43663         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43666         Allow copysignl PLT reference to be missing.
43668 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43669             Joseph Myers  <joseph@codesourcery.com
43671         [BZ #15948]
43672         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43673         single character.
43674         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43676 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43678         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43679         * elf/tst-tls1.c: Likewise.
43680         * elf/tst-tls10.h: Likewise.
43681         * elf/tst-tls14.c: Likewise.
43682         * elf/tst-tls2.c: Likewise.
43683         * elf/tst-tls3.c: Likewise.
43684         * elf/tst-tls4.c: Likewise.
43685         * elf/tst-tls5.c: Likewise.
43686         * elf/tst-tls6.c: Likewise.
43687         * elf/tst-tls7.c: Likewise.
43688         * elf/tst-tls8.c: Likewise.
43689         * elf/tst-tls9.c: Likewise.
43690         * elf/tst-tlsmod1.c: Likewise.
43691         * elf/tst-tlsmod13.c: Likewise.
43692         * elf/tst-tlsmod13a.c: Likewise.
43693         * elf/tst-tlsmod14a.c: Likewise.
43694         * elf/tst-tlsmod16a.c: Likewise.
43695         * elf/tst-tlsmod16b.c: Likewise.
43696         * elf/tst-tlsmod2.c: Likewise.
43697         * elf/tst-tlsmod3.c: Likewise.
43698         * elf/tst-tlsmod4.c: Likewise.
43699         * elf/tst-tlsmod5.c: Likewise.
43700         * elf/tst-tlsmod6.c: Likewise.
43702 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43704         [BZ #12486]
43705         * malloc/malloc.c: remove checks for statistics.
43707 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43709         [BZ #15277]
43710         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43711         * inet/tst-network.c: Add testcase.
43713 2013-10-17  Andreas Schwab  <schwab@suse.de>
43715         [BZ #15218]
43716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43717         to determine canonical name.
43719 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43721         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43722         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43724         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43726         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43727         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43728         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43729         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43730         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43731         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43732         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43733         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43734         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43736         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43739         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43740         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43744         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43745         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43746         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43747         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43748         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43749         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43750         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43751         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43753         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43754         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43757         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43758         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43759         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43761         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43762         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43763         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43764         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43765         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43766         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43767         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43768         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43769         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43770         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43771         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43772         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43773         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43774         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43776         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43778         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43780 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43782         [BZ #16041]
43783         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43784         make result into a quiet NaN.
43786 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43788         * soft-fp/adddf3.c: Fix horizontal whitespace.
43789         * soft-fp/addsf3.c: Likewise.
43790         * soft-fp/addtf3.c: Likewise.
43791         * soft-fp/divdf3.c: Likewise.
43792         * soft-fp/divsf3.c: Likewise.
43793         * soft-fp/divtf3.c: Likewise.
43794         * soft-fp/double.h: Likewise.
43795         * soft-fp/eqdf2.c: Likewise.
43796         * soft-fp/eqsf2.c: Likewise.
43797         * soft-fp/eqtf2.c: Likewise.
43798         * soft-fp/extenddftf2.c: Likewise.
43799         * soft-fp/extended.h: Likewise.
43800         * soft-fp/extendsfdf2.c: Likewise.
43801         * soft-fp/extendsftf2.c: Likewise.
43802         * soft-fp/extendxftf2.c: Likewise.
43803         * soft-fp/fixdfdi.c: Likewise.
43804         * soft-fp/fixdfsi.c: Likewise.
43805         * soft-fp/fixdfti.c: Likewise.
43806         * soft-fp/fixsfdi.c: Likewise.
43807         * soft-fp/fixsfsi.c: Likewise.
43808         * soft-fp/fixsfti.c: Likewise.
43809         * soft-fp/fixtfdi.c: Likewise.
43810         * soft-fp/fixtfsi.c: Likewise.
43811         * soft-fp/fixtfti.c: Likewise.
43812         * soft-fp/fixunsdfdi.c: Likewise.
43813         * soft-fp/fixunsdfsi.c: Likewise.
43814         * soft-fp/fixunsdfti.c: Likewise.
43815         * soft-fp/fixunssfdi.c: Likewise.
43816         * soft-fp/fixunssfsi.c: Likewise.
43817         * soft-fp/fixunssfti.c: Likewise.
43818         * soft-fp/fixunstfdi.c: Likewise.
43819         * soft-fp/fixunstfsi.c: Likewise.
43820         * soft-fp/fixunstfti.c: Likewise.
43821         * soft-fp/floatdidf.c: Likewise.
43822         * soft-fp/floatdisf.c: Likewise.
43823         * soft-fp/floatditf.c: Likewise.
43824         * soft-fp/floatsidf.c: Likewise.
43825         * soft-fp/floatsisf.c: Likewise.
43826         * soft-fp/floatsitf.c: Likewise.
43827         * soft-fp/floattidf.c: Likewise.
43828         * soft-fp/floattisf.c: Likewise.
43829         * soft-fp/floattitf.c: Likewise.
43830         * soft-fp/floatundidf.c: Likewise.
43831         * soft-fp/floatundisf.c: Likewise.
43832         * soft-fp/floatunditf.c: Likewise.
43833         * soft-fp/floatunsidf.c: Likewise.
43834         * soft-fp/floatunsisf.c: Likewise.
43835         * soft-fp/floatunsitf.c: Likewise.
43836         * soft-fp/floatuntidf.c: Likewise.
43837         * soft-fp/floatuntisf.c: Likewise.
43838         * soft-fp/floatuntitf.c: Likewise.
43839         * soft-fp/fmadf4.c: Likewise.
43840         * soft-fp/fmasf4.c: Likewise.
43841         * soft-fp/fmatf4.c: Likewise.
43842         * soft-fp/gedf2.c: Likewise.
43843         * soft-fp/gesf2.c: Likewise.
43844         * soft-fp/getf2.c: Likewise.
43845         * soft-fp/ledf2.c: Likewise.
43846         * soft-fp/lesf2.c: Likewise.
43847         * soft-fp/letf2.c: Likewise.
43848         * soft-fp/muldf3.c: Likewise.
43849         * soft-fp/mulsf3.c: Likewise.
43850         * soft-fp/multf3.c: Likewise.
43851         * soft-fp/negdf2.c: Likewise.
43852         * soft-fp/negsf2.c: Likewise.
43853         * soft-fp/negtf2.c: Likewise.
43854         * soft-fp/op-1.h: Likewise.
43855         * soft-fp/op-2.h: Likewise.
43856         * soft-fp/op-4.h: Likewise.
43857         * soft-fp/op-8.h: Likewise.
43858         * soft-fp/op-common.h: Likewise.
43859         * soft-fp/quad.h: Likewise.
43860         * soft-fp/single.h: Likewise.
43861         * soft-fp/soft-fp.h: Likewise.
43862         * soft-fp/sqrtdf2.c: Likewise.
43863         * soft-fp/sqrtsf2.c: Likewise.
43864         * soft-fp/sqrttf2.c: Likewise.
43865         * soft-fp/subdf3.c: Likewise.
43866         * soft-fp/subsf3.c: Likewise.
43867         * soft-fp/subtf3.c: Likewise.
43868         * soft-fp/truncdfsf2.c: Likewise.
43869         * soft-fp/trunctfdf2.c: Likewise.
43870         * soft-fp/trunctfsf2.c: Likewise.
43871         * soft-fp/trunctfxf2.c: Likewise.
43872         * soft-fp/unorddf2.c: Likewise.
43873         * soft-fp/unordsf2.c: Likewise.
43874         * soft-fp/unordtf2.c: Likewise.
43876 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43878         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43879         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43881 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43883         * elf/dl-libc.c: Clear initfini list after freeing.
43885 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43887         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43888         * soft-fp/addsf3.c: Likewise.
43889         * soft-fp/addtf3.c: Likewise.
43890         * soft-fp/divdf3.c: Likewise.
43891         * soft-fp/divsf3.c: Likewise.
43892         * soft-fp/divtf3.c: Likewise.
43893         * soft-fp/double.h: Likewise.
43894         * soft-fp/eqdf2.c: Likewise.
43895         * soft-fp/eqsf2.c: Likewise.
43896         * soft-fp/eqtf2.c: Likewise.
43897         * soft-fp/extenddftf2.c: Likewise.
43898         * soft-fp/extended.h: Likewise.
43899         * soft-fp/extendsfdf2.c: Likewise.
43900         * soft-fp/extendsftf2.c: Likewise.
43901         * soft-fp/extendxftf2.c: Likewise.
43902         * soft-fp/fixdfdi.c: Likewise.
43903         * soft-fp/fixdfsi.c: Likewise.
43904         * soft-fp/fixdfti.c: Likewise.
43905         * soft-fp/fixsfdi.c: Likewise.
43906         * soft-fp/fixsfsi.c: Likewise.
43907         * soft-fp/fixsfti.c: Likewise.
43908         * soft-fp/fixtfdi.c: Likewise.
43909         * soft-fp/fixtfsi.c: Likewise.
43910         * soft-fp/fixtfti.c: Likewise.
43911         * soft-fp/fixunsdfdi.c: Likewise.
43912         * soft-fp/fixunsdfsi.c: Likewise.
43913         * soft-fp/fixunsdfti.c: Likewise.
43914         * soft-fp/fixunssfdi.c: Likewise.
43915         * soft-fp/fixunssfsi.c: Likewise.
43916         * soft-fp/fixunssfti.c: Likewise.
43917         * soft-fp/fixunstfdi.c: Likewise.
43918         * soft-fp/fixunstfsi.c: Likewise.
43919         * soft-fp/fixunstfti.c: Likewise.
43920         * soft-fp/floatdidf.c: Likewise.
43921         * soft-fp/floatdisf.c: Likewise.
43922         * soft-fp/floatditf.c: Likewise.
43923         * soft-fp/floatsidf.c: Likewise.
43924         * soft-fp/floatsisf.c: Likewise.
43925         * soft-fp/floatsitf.c: Likewise.
43926         * soft-fp/floattidf.c: Likewise.
43927         * soft-fp/floattisf.c: Likewise.
43928         * soft-fp/floattitf.c: Likewise.
43929         * soft-fp/floatundidf.c: Likewise.
43930         * soft-fp/floatundisf.c: Likewise.
43931         * soft-fp/floatunsidf.c: Likewise.
43932         * soft-fp/floatunsisf.c: Likewise.
43933         * soft-fp/floatuntidf.c: Likewise.
43934         * soft-fp/floatuntisf.c: Likewise.
43935         * soft-fp/floatuntitf.c: Likewise.
43936         * soft-fp/fmadf4.c: Likewise.
43937         * soft-fp/fmasf4.c: Likewise.
43938         * soft-fp/fmatf4.c: Likewise.
43939         * soft-fp/gedf2.c: Likewise.
43940         * soft-fp/gesf2.c: Likewise.
43941         * soft-fp/getf2.c: Likewise.
43942         * soft-fp/ledf2.c: Likewise.
43943         * soft-fp/lesf2.c: Likewise.
43944         * soft-fp/letf2.c: Likewise.
43945         * soft-fp/muldf3.c: Likewise.
43946         * soft-fp/mulsf3.c: Likewise.
43947         * soft-fp/multf3.c: Likewise.
43948         * soft-fp/negdf2.c: Likewise.
43949         * soft-fp/negsf2.c: Likewise.
43950         * soft-fp/negtf2.c: Likewise.
43951         * soft-fp/op-1.h: Likewise.
43952         * soft-fp/op-2.h: Likewise.
43953         * soft-fp/op-4.h: Likewise.
43954         * soft-fp/op-8.h: Likewise.
43955         * soft-fp/op-common.h: Likewise.
43956         * soft-fp/quad.h: Likewise.
43957         * soft-fp/single.h: Likewise.
43958         * soft-fp/soft-fp.h: Likewise.
43959         * soft-fp/sqrtdf2.c: Likewise.
43960         * soft-fp/sqrtsf2.c: Likewise.
43961         * soft-fp/sqrttf2.c: Likewise.
43962         * soft-fp/subdf3.c: Likewise.
43963         * soft-fp/subsf3.c: Likewise.
43964         * soft-fp/subtf3.c: Likewise.
43965         * soft-fp/truncdfsf2.c: Likewise.
43966         * soft-fp/trunctfdf2.c: Likewise.
43967         * soft-fp/trunctfsf2.c: Likewise.
43968         * soft-fp/trunctfxf2.c: Likewise.
43969         * soft-fp/unorddf2.c: Likewise.
43970         * soft-fp/unordsf2.c: Likewise.
43971         * soft-fp/unordtf2.c: Likewise.
43973 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43975         [BZ #15672]
43976         * misc/error.c (error_tail): Fix possible buffer overflow.
43978 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43980         [BZ #13028]
43981         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43982         address.
43984 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43986         [BZ #832]
43987         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43988         testing pipefail option.
43990 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43992         * soft-fp/double.h: Indent preprocessor directives inside #if.
43993         * soft-fp/extended.h: Likewise.
43994         * soft-fp/op-2.h: Likewise.
43995         * soft-fp/op-4.h: Likewise.
43996         * soft-fp/op-common.h: Likewise.
43997         * soft-fp/quad.h: Likewise.
43998         * soft-fp/single.h: Likewise.
43999         * soft-fp/soft-fp.h: Likewise.
44001 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44003         * iconv/iconv_prog.c: Fix typos.
44004         * stdio-common/psiginfo-data.h: Likewise.
44006 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44008         [BZ #15764]
44009         * locale/setlocale.c: Fix typo.
44011 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44013         [BZ #16036]
44014         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44015         signaling NaN arguments.
44016         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44017         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44019         [BZ #14910]
44020         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44021         unordered operands.
44022         * soft-fp/gesf2.c (__gesf2): Likewise.
44023         * soft-fp/getf2.c (__getf2): Likewise.
44024         * soft-fp/ledf2.c (__ledf2): Likewise.
44025         * soft-fp/lesf2.c (__lesf2): Likewise.
44026         * soft-fp/letf2.c (__letf2): Likewise.
44028         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44029         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44030         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44031         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44032         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44033         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44034         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44035         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44036         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44037         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44038         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44039         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44040         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44041         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44042         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44043         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44044         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44045         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44046         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44047         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44048         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44049         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44050         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44051         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44052         * soft-fp/floattidf.c (__floattidf): Likewise.
44053         * soft-fp/floattisf.c (__floattisf): Likewise.
44054         * soft-fp/floattitf.c (__floattitf): Likewise.
44055         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44056         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44057         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44058         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44059         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44060         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44061         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44062         * soft-fp/gesf2.c (__gesf2): Likewise.
44063         * soft-fp/getf2.c (__getf2): Likewise.
44064         * soft-fp/ledf2.c (__ledf2): Likewise.
44065         * soft-fp/lesf2.c (__lesf2): Likewise.
44066         * soft-fp/letf2.c (__letf2): Likewise.
44068         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44069         Undefine and redefine.
44070         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44071         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44072         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44073         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44074         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44075         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44076         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44077         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44078         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44079         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44080         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44081         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44082         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44083         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44084         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44086         [BZ #16032]
44087         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44088         without decrementing exponent if mantissa >= that for the
44089         denominator, not >.
44090         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44091         denominator, not >.  Decrement exponent in < case instead of
44092         incrementing in >= case.
44093         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44094         without decrementing exponent if mantissa >= that for the
44095         denominator, not >.
44097         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44098         computing saturated result for unsigned overflow.
44100 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44101             Jeff Law  <law@redhat.com>
44103         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44104         (atan2Mp): Add systemtap probe marker.
44105         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44106         (__ieee754_log): Add systemtap probe marker.
44107         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44108         (atanMp): Add systemtap probe marker.
44109         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44110         (tanMp): Add systemtap probe marker.
44111         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44112         (__slowexp): Add systemtap probe marker.
44113         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44114         (__slowpow): Add systemtap probe marker.
44115         * manual/probes.texi: Document probes.
44117 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44119         [BZ #15362]
44120         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44121         written.
44122         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44123         written.
44124         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44125         written to buffer but not flushed.
44126         * libio/iofwrite_u.c:  Likewise.
44127         * libio/iopadn.c:  Return bytes returned even if EOF was
44128         encountered.
44129         * libio/iowpadn.c:  Likewise.
44130         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44131         if _IO_padn does not write the whole buffer.
44132         [!COMPILE_WPRINTF] (PAD): Likewise.
44134 2013-10-10  David S. Miller  <davem@davemloft.net>
44136         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44137         directory block.
44139 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44141         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44142         instead of FSF address.
44143         * soft-fp/fixdfti.c: Likewise.
44144         * soft-fp/fixsfti.c: Likewise.
44145         * soft-fp/fixtfti.c: Likewise.
44146         * soft-fp/fixunsdfti.c: Likewise.
44147         * soft-fp/fixunssfti.c: Likewise.
44148         * soft-fp/fixunstfti.c: Likewise.
44149         * soft-fp/floattidf.c: Likewise.
44150         * soft-fp/floattisf.c: Likewise.
44151         * soft-fp/floattitf.c: Likewise.
44152         * soft-fp/floatuntidf.c: Likewise.
44153         * soft-fp/floatuntisf.c: Likewise.
44154         * soft-fp/floatuntitf.c: Likewise.
44155         * soft-fp/trunctfxf2.c: Likewise.
44157         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44158         * soft-fp/fixdfti.c: Likewise.
44159         * soft-fp/fixsfti.c: Likewise.
44160         * soft-fp/fixtfti.c: Likewise.
44161         * soft-fp/fixunsdfti.c: Likewise.
44162         * soft-fp/fixunssfti.c: Likewise.
44163         * soft-fp/fixunstfti.c: Likewise.
44164         * soft-fp/floattidf.c: Likewise.
44165         * soft-fp/floattisf.c: Likewise.
44166         * soft-fp/floattitf.c: Likewise.
44167         * soft-fp/floatuntidf.c: Likewise.
44168         * soft-fp/floatuntisf.c: Likewise.
44169         * soft-fp/floatuntitf.c: Likewise.
44170         * soft-fp/trunctfxf2.c: Likewise.
44172 2013-10-10  David S. Miller  <davem@davemloft.net>
44174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44176 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44178         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44179         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44180         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44181         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44182         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44183         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44184         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44187         for NaNs before doing comparisons on argument.
44188         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44189         Likewise.
44191 2013-10-10  Will Newton  <will.newton@linaro.org>
44193         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44194         passed to _int_memalign does not overflow.
44196 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44198         * scripts/bench.pl: Add include-sources directive.
44199         * benchtests/README: Update documentation.
44201 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44203         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44204         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44205         instead of FP_INIT_ROUNDMODE.
44206         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44207         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44209         [BZ #16034]
44210         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44211         copy class of input value.
44212         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44213         not handle exceptions.
44214         * soft-fp/negsf2.c (__negsf2): Likewise.
44215         * soft-fp/negtf2.c (__negtf2): Likewise.
44216         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44218 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44220         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44221         semicolon.  From Linux kernel.
44223 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44225         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44227 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44229         [BZ #156]
44230         * manual/socket.texi: Added statement about buffer
44231         for gethostbyname2_r.
44233 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44235         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44236         Use .p2align directive instead, throughout.
44237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44238         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44239         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44242         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44243         * sysdeps/x86_64/strchr.S: Likewise.
44244         * sysdeps/x86_64/strrchr.S: Likewise.
44246 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44248         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44250         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44252         * sysdeps/generic/math_private.h (__mpsin1): Remove
44253         declaration.
44254         (__mpcos1): Likewise.
44255         (__mpsin): New argument __range_reduce.
44256         (__mpcos): Likewise.
44257         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44258         (slow): Use __mpsin and __mpcos.
44259         (slow1): Likewise.
44260         (slow2): Likewise.
44261         (sloww): Likewise.
44262         (sloww1): Likewise.
44263         (sloww2): Likewise.
44264         (bsloww): Likewise.
44265         (bsloww1): Likewise.
44266         (bsloww2): Likewise.
44267         (cslow2): Likewise.
44268         (csloww): Likewise.
44269         (csloww1): Likewise.
44270         (csloww2): Likewise.
44271         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44272         range_reduce.  Merge in __mpsin1.
44273         (__mpcos): Likewise.
44274         (__mpsin1): Remove.
44275         (__mpcos1): Likewise.
44277 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44279         * locale/loadlocale.c (_nl_intern_locale_data): Use
44280         LOCFILE_ALIGNED_P.
44281         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44282         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44283         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44284         obstack data is appropriately aligned.
44285         (obstack_int32_grow_fast): Likewise.
44286         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44287         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44288         (add_locale_uint32_array): Likewise.
44290 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44292         * benchtests/Makefile: Remove ARGLIST and RET variables.
44293         ($(objpfx)bench-%.c): Pass only function name to the script.
44294         * benchtests/README: Update documentation.
44295         * benchtests/acos-inputs: Add new directives.
44296         * benchtests/acosh-inputs: Likewise.
44297         * benchtests/asin-inputs: Likewise.
44298         * benchtests/asinh-inputs: Likewise.
44299         * benchtests/atan-inputs: Likewise.
44300         * benchtests/atanh-inputs: Likewise.
44301         * benchtests/cos-inputs: Likewise.
44302         * benchtests/cosh-inputs: Likewise.
44303         * benchtests/exp-inputs: Likewise.
44304         * benchtests/log-inputs: Likewise.
44305         * benchtests/pow-inputs: Likewise.
44306         * benchtests/rint-inputs: Likewise.
44307         * benchtests/sin-inputs: Likewise.
44308         * benchtests/sinh-inputs: Likewise.
44309         * benchtests/tan-inputs: Likewise.
44310         * benchtests/tanh-inputs: Likewise.
44311         * scripts/bench.pl: Add support for new directives.
44313 2013-10-07  Alan Modra  <amodra@gmail.com>
44315         * README: Fix careless merge.
44317 2013-10-05  Alan Modra  <amodra@gmail.com>
44319         * NEWS: Mention powerpc64le support and bugs fixed.
44320         * README: Both big-endian and little-endian powerpc64 supported.
44322 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44324         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44325         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44326         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44327         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44329 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44331         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44332         match prototype.
44334 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44336         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44337         Move -mhard-float appending from
44338         ports/sysdeps/powerpc/powerpc32/Makefile.
44339         [$(with-fp) = yes] (ASFLAGS): Likewise.
44340         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44341         * sysdeps/powerpc/nofpu: Move directory from
44342         ports/sysdeps/powerpc/nofpu.
44343         * sysdeps/powerpc/soft-fp: Move directory from
44344         ports/sysdeps/powerpc/soft-fp.
44345         * sysdeps/powerpc/powerpc32/405: Move directory from
44346         ports/sysdeps/powerpc/powerpc32/405.
44347         * sysdeps/powerpc/powerpc32/440: Move directory from
44348         ports/sysdeps/powerpc/powerpc32/440.
44349         * sysdeps/powerpc/powerpc32/464: Move directory from
44350         ports/sysdeps/powerpc/powerpc32/464.
44351         * sysdeps/powerpc/powerpc32/476: Move directory from
44352         ports/sysdeps/powerpc/powerpc32/476.
44353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44360         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44362         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44363         * README: Update for powerpc-*-linux-gnu software floating point
44364         support in libc.
44366         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44367         case to powerpc/powerpc32*.
44368         * sysdeps/unix/sysv/linux/configure: Regenerated.
44370         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44371         (_FPU_MASK_OM): Define as 0x04.
44372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44374         0x00c10080.
44375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44376         0x0000003c.
44377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44380         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44381         getcontext_e500.
44382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44383         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44384         setcontext_e500.
44385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44386         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44387         and setcontext_e500.
44389 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44391         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44393 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44395         * manual/threads.texi (Default Thread Attributes): Fix typo.
44397 2013-10-04  Will Newton  <will.newton@linaro.org>
44399         * malloc/Makefile: Add tst-memalign.
44400         * malloc/tst-memalign.c: New file.
44402         * malloc/tst-posix_memalign.c: Add comments.
44403         (do_test): Add comments and call free on all potentially
44404         allocated pointers. Add space after cast.
44406         * malloc/tst-pvalloc.c: Add comments.
44407         (do_test): Add comments and call free on all potentially
44408         allocated pointers. Remove duplicate check for NULL pointer.
44409         Add space after cast.
44411         * malloc/tst-valloc.c: Add comments.
44412         (do_test): Add comments and call free on all potentially
44413         allocated pointers. Remove duplicate check for NULL pointer.
44414         Add space after cast.
44416 2013-10-04  Alan Modra  <amodra@gmail.com>
44418         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44419         Use stdint types in rather than __attribute__((mode())).
44420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44422 2013-10-04  Alan Modra  <amodra@gmail.com>
44424         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44425         Correct handling of unaligned relocs for little-endian.
44426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44428 2013-10-04  Alan Modra  <amodra@gmail.com>
44430         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44431         * configure: Regenerate.
44432         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44433         * shlib-versions: Likewise.
44435 2013-10-04  Alan Modra  <amodra@gmail.com>
44437         * string/tester.c (test_memrchr): Increment reported test cycle.
44439 2013-10-04  Alan Modra  <amodra@gmail.com>
44441         * string/test-memcpy.c (do_one_test): When reporting errors, print
44442         string address and don't overrun end of string.
44444 2013-10-04  Alan Modra  <amodra@gmail.com>
44446         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44447         insrdi.  Make better use of reg selection to speed exit slightly.
44448         Schedule entry path a little better.  Remove useless "are we done"
44449         checks on entry to main loop.  Handle wrapping around zero address.
44450         Correct main loop count.  Handle single left-over word from main
44451         loop inline rather than by using loop_small.  Remove extra word
44452         case in loop_small caused by wrong loop count.  Add little-endian
44453         support.
44454         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44456         cache hint.
44457         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44458         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44459         support.  Avoid rlwimi.
44460         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44462 2013-10-04  Alan Modra  <amodra@gmail.com>
44464         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44465         insrdi.  Formatting.
44466         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44467         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44468         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44469         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44470         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44471         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44473 2013-10-04  Alan Modra  <amodra@gmail.com>
44475         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44477         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44478         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44479         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44480         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44482         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44483         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44484         use of regs.  Use power7 mtocrf.  Tidy function tails.
44486 2013-10-04  Alan Modra  <amodra@gmail.com>
44488         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44489         Formatting.  Consistently use rXXX register defines or rN defines.
44490         Use early exit labels that avoid restoring unused non-volatile regs.
44491         Make cr field use more consistent with rWORDn compares.  Rename
44492         regs used as shift registers for unaligned loop, using rN defines
44493         for short lifetime/multiple use regs.
44494         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44496         addi 1,1,64 to pop stack frame.  Simplify return value code.
44497         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44499 2013-10-04  Alan Modra  <amodra@gmail.com>
44501         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44502         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44503         rather than rlwimi.
44504         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44505         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44506         little-endian support.  Correct typos.
44507         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44508         rather than rlwimi.
44509         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44510         in loop and entry code to keep "and." results.
44511         (strchr): Add little-endian support.  Comment.  Move cntlzd
44512         earlier in tail.
44513         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44515 2013-10-04  Alan Modra  <amodra@gmail.com>
44517         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44518         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44519         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44520         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44522 2013-10-04  Alan Modra  <amodra@gmail.com>
44524         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44525         (rTMP): Define as r11.
44526         (strcmp): Add little-endian support.  Optimise tail.
44527         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44529         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44533         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44535 2013-10-04  Alan Modra  <amodra@gmail.com>
44537         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44538         little-endian support.  Remove unnecessary "are we done" tests.
44539         Handle "s" wrapping around zero and extremely large "size".
44540         Correct main loop count.  Handle single left-over word from main
44541         loop inline rather than by using small_loop.  Correct comments.
44542         Delete "zero" tail, use "end_max" instead.
44543         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44545 2013-10-04  Alan Modra  <amodra@gmail.com>
44547         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44548         support.  Don't branch over align.
44549         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44550         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44551         support.  Rearrange tmp reg use to suit.  Comment.
44552         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44554 2013-10-04  Alan Modra  <amodra@gmail.com>
44556         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44558 2013-10-04  Alan Modra  <amodra@gmail.com>
44560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44561         conditional form of branch and link when obtaining pc.
44562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44564 2013-10-04  Alan Modra  <amodra@gmail.com>
44566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44567         HIWORD/LOWORD.
44568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44571 2013-10-04  Alan Modra  <amodra@gmail.com>
44573         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44574         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44575         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44576         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44577         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44578         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44579         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44580         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44581         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44582         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44585             Alistair Popple <alistair@ozlabs.au.ibm.com>
44586             Alan Modra <amodra@gmail.com>
44588         [BZ #15723]
44589         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44590         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44591         _dl_hwcap access for little-endian.
44592         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44593         destroy vmx regs when saving unaligned.
44594         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44595         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44596         destroy vmx regs when saving unaligned.
44598 2013-10-04  Alan Modra  <amodra@gmail.com>
44600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44601         Don't use a union to pack hi/low value.
44603 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44605         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44606         for little-endian.
44607         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44609         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44610         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44611         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44613 2013-10-04  Alan Modra  <amodra@gmail.com>
44615         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44616         constants to usual value for .cst8 section, and remove redundant
44617         high address load.
44618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44619         constant for 0x1p52.  Load little-endian words of double from
44620         correct stack offsets.
44622 2013-10-04  Alan Modra  <amodra@gmail.com>
44624         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44625         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44626         words of double from correct stack offsets.
44627         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44628         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44629         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44632         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44633         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44634         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44635         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44636         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44637         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44638         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44639         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44640         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44641         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44642         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44643         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44645 2013-10-04  Alan Modra  <amodra@gmail.com>
44647         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44648         64-bit int/double union.
44649         (_FPU_SETCW): Likewise.
44650         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44651         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44653 2013-10-04  Alan Modra  <amodra@gmail.com>
44655         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44656         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44658 2013-10-04  Alan Modra  <amodra@gmail.com>
44660         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44661         use vector int constants.
44662         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44664 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44666         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44667         array with long long.
44668         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44669         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44670         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44671         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44672         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44673         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44674         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44675         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44676         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44677         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44678         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44679         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44680         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44682 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44684         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44685         (__signbit): Likewise.  Correct for little-endian.
44686         (__signbitl): Call __signbit.
44687         (lrint): Correct for little-endian.
44688         (lrintf): Call lrint.
44690 2013-10-04  Alan Modra  <amodra@gmail.com>
44692         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44693         union 32-bit int array member with 64-bit int array.
44694         (t515, tm256): Double rather than long double.
44695         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44697 2013-10-04  Alan Modra  <amodra@gmail.com>
44699         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44700         Delete.
44701         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44703         version of math_ldbl.h.
44705 2013-10-04  Alan Modra  <amodra@gmail.com>
44707         [BZ #15734], [BZ #15735]
44708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44709         all uses of ieee875 long double macros and unions.  Simplify test
44710         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44711         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44712         normalize after ldbl_extract_mantissa, and don't add hidden bit
44713         already handled.  Don't treat low word of ieee854 mantissa like
44714         low word of IBM long double and mask off bit when testing for
44715         zero.
44716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44717         all uses of ieee875 long double macros and unions.  Simplify tests
44718         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44719         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44720         two1022, instead use their values.  Recognise that tests for large
44721         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44722         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44723         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44724         test for 0.0L and nan.  Correct negation.
44725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44726         ieee875 long double macros and unions.  Correct output for large
44727         magnitude x.  Correct absolute value calculation.
44728         (__erfcl): Likewise.
44729         * math/libm-test.inc: Add tests for errors discovered in IBM long
44730         double versions of fmodl, remainderl, erfl and erfcl.
44732 2013-10-04  Alan Modra  <amodra@gmail.com>
44734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44735         all uses of ieee854 long double macros and unions.  Simplify tests
44736         for long doubles that are fully specified by the high double.
44737         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44738         Likewise.
44739         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44740         Remove dead code too.
44741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44742         (__ieee754_ynl): Likewise.
44743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44744         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44746         Remove dead code too.
44747         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44748         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44749         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44750         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44751         Simplify.
44752         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44753         Simplify.
44754         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44755         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44757         Comment on variable precision.
44758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44759         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44760         Likewise.
44761         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44763         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44764         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44765         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44767 2013-10-04  Alan Modra  <amodra@gmail.com>
44769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44770         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44771         all uses of ieee854 long double macros and unions.
44772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44773         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44775         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44776         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44777         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44778         Likewise.
44779         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44780         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44781         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44782         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44783         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44784         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44785         Simplify sign and nan test too.
44786         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44787         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44788         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44789         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44790         Likewise.
44791         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44792         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44793         Likewise.
44794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44795         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44796         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44797         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44801 2013-10-04  Alan Modra  <amodra@gmail.com>
44803         * stdio-common/printf_size.c (__printf_size): Don't use
44804         union ieee854_long_double in fpnum union.
44805         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44806         signbit macro to retrieve sign from long double.
44807         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44808         retrieve sign from long double.
44809         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44810         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44811         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44812         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44813         * math/test-misc.c (main): Don't use union ieee854_long_double.
44815 2013-10-04  Alan Modra  <amodra@gmail.com>
44817         [BZ #15680]
44818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44820         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44821         calculation.  Remove unnecessary test for denormal exponent.
44822         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44823         Correct handling of denormals.  Avoid undefined shift behaviour.
44824         Correct normalisation of low mantissa when low double is denormal.
44825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44826         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44827         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44828         Correct normalisation of low mantissa.  Test for overflow of high
44829         mantissa and normalise.
44830         (ldbl_nearbyint): Use more readable constant for two52.
44831         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44832         (__mpn_construct_long_double): Fix test for overflow of high
44833         mantissa and correct normalisation.  Avoid undefined shift.
44835 2013-10-04  Alan Modra  <amodra@gmail.com>
44837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44838         (union ibm_extended_long_double): Define as an array of ieee754_double.
44839         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44840         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44841         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44842         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44844         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44846         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44847         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44848         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44849         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44851 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44853         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44854         page size instead of calling getpagesize.
44856         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44857         (LOCFILE_ALIGN_MASK): Likewise.
44858         (LOCFILE_ALIGN_UP): Likewise.
44859         (LOCFILE_ALIGNED_P): Likewise.
44860         * locale/programs/ld-collate.c (collate_output): Use the new
44861         macros instead of __alignof__ (int32_t).
44862         * locale/weight.h (findidx): Likewise.
44864 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44866         [BZ #431]
44867         * manual/string.texi: Fix strncat and wcsncat.
44869 2013-10-03  Brooks Moses  <bmoses@google.com>
44871         [BZ #15915]
44872         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44873         * Makerules: ...here, and adjust associated comments.
44875 2013-10-02  Will Newton  <will.newton@linaro.org>
44877         * malloc/Makefile: Add tst-pvalloc.
44878         * malloc/tst-pvalloc.c: New file.
44880 2013-10-02  Will Newton  <will.newton@linaro.org>
44882         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44883         improve test coverage.
44885 2013-10-02  Will Newton  <will.newton@linaro.org>
44887         * malloc/Makefile: Add tst-posix_memalign.
44888         * malloc/tst-posix_memalign.c: New file.
44890 2013-10-01  Eric Blake  <eblake@redhat.com>
44892         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44893         Use __THROWNL rather than __THROW on static functions.
44895 2013-09-30  Petr Machata  <pmachata@redhat.com>
44897         * elf/elf.h (R_AARCH64_ABS16): New macro.
44898         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44899         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44900         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44901         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44902         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44903         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44904         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44905         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44906         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44907         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44908         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44909         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44910         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44911         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44912         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44913         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44914         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44915         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44916         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44917         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44918         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44919         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44920         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44921         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44922         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44923         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44924         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44925         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44926         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44927         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44928         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44929         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44930         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44931         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44932         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44933         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44934         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44935         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44936         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44937         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44938         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44939         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44940         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44941         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44942         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44943         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44944         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44945         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44946         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44947         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44948         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44949         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44950         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44951         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44952         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44953         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44954         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44955         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44956         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44957         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44958         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44959         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44960         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44961         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44962         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44963         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44964         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44965         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44966         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44967         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44968         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44969         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44970         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44971         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44972         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44973         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44974         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44975         (R_AARCH64_TLSDESC_LDR): Likewise.
44976         (R_AARCH64_TLSDESC_ADD): Likewise.
44977         (R_AARCH64_TLSDESC_CALL): Likewise.
44979 2013-09-30  Andreas Schwab  <schwab@suse.de>
44981         [BZ #15048]
44982         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44983         the nss database lookup.
44984         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44987 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44989         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44991 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44993         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44994         ${Bash-specific parameter/pattern/string} parameter expansion.
44995         * sysdeps/unix/make-syscalls.sh: Likewise.
44997 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44999         * sysdeps/sh/stackguard-macros.h: New file.
45001 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45005         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45006         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45007         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45008         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45010 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45012         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45013         Fix thread ID register.
45015 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45017         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45018         [POSIX || UNIX98]: Require rather than permitting all symbols from
45019         <time.h>.
45020         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45021         element of struct sched_param.
45022         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45023         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45024         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45025         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45026         constant.
45028 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45030         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45031         argument calculation.
45033 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45035         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45036         Expect macro.
45037         [POSIX] (pthread_attr_t): Do not require type.
45038         [POSIX] (pthread_cond_t): Likewise.
45039         [POSIX] (pthread_condattr_t): Likewise.
45040         [POSIX] (pthread_key_t): Likewise.
45041         [POSIX] (pthread_mutex_t): Likewise.
45042         [POSIX] (pthread_mutexattr_t): Likewise.
45043         [POSIX] (pthread_once_t): Likewise.
45044         [POSIX] (pthread_t): Likewise.
45045         [POSIX-based standards] (pthread_atfork): Expect function.
45047 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45048             Richard Sandiford  <richard@codesourcery.com>
45050         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45051         (swap_endianness_p): New extern variable.
45052         (set_big_endian): New inline function.
45053         (maybe_swap_uint32): Likewise.
45054         (maybe_swap_uint32_array): Likewise.
45055         (maybe_swap_uint32_obstack): Likewise.
45056         * locale/programs/locfile.c: Include <stdbool.h>.
45057         (swap_endianness_p): New variable.
45058         (add_locale_uint32): Call maybe_swap_uint32.
45059         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45060         (write_locale_data): Call maybe_swap_uint32_array.
45061         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45062         maybe_swap_uint32.
45063         (obstack_int32_grow_fast): Likewise.
45064         (output_weightwc): Call maybe_swap_uint32_obstack.
45065         (collate_output): Likewise.
45066         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45067         (OPT_LITTLE_ENDIAN): Likewise.
45068         (options): Add --little-endian and --big-endian options.
45069         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45070         * locale/programs/locarchive.c: Include "locfile.h".
45071         (GET): New macro.
45072         (SET): Likewise.
45073         (INC): Likewise.
45074         (create_archive): Use the new macros to access fields of
45075         structures directly mapped from or written to locale archives.
45076         (oldlocrecentcmp): Likewise.
45077         (enlarge_archive): Likewise.
45078         (insert_name): Likewise.
45079         (add_alias): Likewise.
45080         (add_locale): Likewise.
45081         (delete_locales_from_archive): Likewise.
45082         (show_archive_content): Likewise.
45083         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45084         locale data.
45086 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45088         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45089         http://www.gnu.org/doc/freemanuals.texi.
45090         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45092 2013-09-24  Will Newton  <will.newton@linaro.org>
45094         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45095         macro.
45097 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45099         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45100         unsigned char.
45102 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45104         * manual/threads.texi (POSIX Threads): Fix a typo.
45106 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45108         [BZ #14547]
45109         * string/tst-strcoll-overflow.c: New test case.
45110         * string/Makefile (xtests): Add tst-strcoll-overflow.
45111         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45112         cache if string sizes may cause integer overflow.
45114         [BZ #14547]
45115         * string/strcoll_l.c (coll_seq): New members rule, idx,
45116         save_idx and back_us.
45117         (get_next_seq_nocache): New function.
45118         (do_compare_nocache): New function.
45119         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45120         when malloc fails.
45122 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45124         [BZ #15754]
45125         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45126         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45127         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45129         [BZ #15754]
45130         * elf/Makefile (tests): Add tst-ptrguard1.
45131         (tests-static): Add tst-ptrguard1-static.
45132         (tst-ptrguard1-ARGS): Define.
45133         (tst-ptrguard1-static-ARGS): Define.
45134         * elf/tst-ptrguard1.c: New file.
45135         * elf/tst-ptrguard1-static.c: New file.
45136         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45137         * sysdeps/i386/stackguard-macros.h: Likewise.
45138         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45139         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45140         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45141         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45142         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45143         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45145 2013-09-23  Hector Marco  <hecmargi@upv.es>
45146             Ismael Ripoll  <iripoll@disca.upv.es>
45147             Carlos O'Donell  <carlos@redhat.com>
45149         [BZ #15754]
45150         * sysdeps/generic/stackguard-macros.h: Define
45151         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45152         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45153         Define __pointer_chk_guard_local.
45154         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45155         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45157 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45159         [BZ #15859]
45160         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45162 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45164         * include/string.h (__ffs): Declare as hidden.
45165         * string/ffs.c (__ffs): Define as hidden.
45166         * sysdeps/i386/ffs.c (__ffs): Likewise.
45167         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45168         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45169         * sysdeps/s390/ffs.c (__ffs): Likewise.
45170         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45172 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45174         * NEWS: Mention malloc probes.
45176         * malloc/arena.c (new_heap): New memory_heap_new probe.
45177         (grow_heap): New memory_heap_more probe.
45178         (shrink_heap): New memory_heap_less probe.
45179         (heap_trim): New memory_heap_free probe.
45180         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45181         (systrim): New memory_sbrk_less probe.
45182         * manual/probes.texi: Document them.
45184         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45185         * manual/probes.texi: Document it.
45187         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45188         (__libc_realloc): Add memory_realloc_retry probe.
45189         (__libc_memalign): Add memory_memalign_retry probe.
45190         (__libc_valloc): Add memory_valloc_retry probe.
45191         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45192         (__libc_calloc): Add memory_calloc_retry probe.
45193         * manual/probes.texi: Document them.
45195         * malloc/arena.c (get_free_list): Add probe
45196         memory_arena_reuse_free_list.
45197         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45198         and memory_arena_reuse.
45199         (arena_get2) [!PER_THREAD]: Likewise.
45200         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45201         memory_arena_reuse_realloc.
45202         * manual/probes.texi: Document them.
45204         * malloc/malloc.c (__libc_free): Add
45205         memory_mallopt_free_dyn_thresholds probe.
45206         (__libc_mallopt): Add multiple memory_mallopt probes.
45207         * manual/probes.texi: Document them.
45209         * malloc/malloc.c: Include stap-probe.h.
45210         (__libc_mallopt): Add memory_mallopt probe.
45211         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45212         * manual/probes.texi: New.
45213         * manual/Makefile (chapters): Add probes.
45214         * manual/threads.texi: Set next node.
45216 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45218         [BZ #15963, #13985]
45219         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45220         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45221         Add `Chinese' to `nan' entry name.
45223 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45225         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45226         (POLYNOMIAL): Likewise.
45227         (TAYLOR_SINCOS): Likewise.
45228         (TAYLOR_SLOW): Likewise.
45229         (__sin): Use TAYLOR_SINCOS.
45230         (__cos): Likewise.
45231         (slow): Use TAYLOR_SLOW.
45232         (sloww): Likewise.
45233         (bsloww): Likewise.
45234         (csloww): Likewise.
45236 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45238         * stdlib/strtod_l.c: Fix buffer overrun.
45240 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45242         * benchtests/Makefile (bench): Add sincos.
45243         * benchtests/bench-sincos.c: New file.
45245         * math/libm-test.inc (cos_test_data): New test inputs.
45246         (sin_test_data): Likewise.
45248         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45249         macro.
45250         (__sin): Use it.
45251         (__cos): Likewise.
45252         (slow1): Likewise.
45253         (slow2): Likewise.
45254         (sloww1): Likewise.
45255         (sloww2): Likewise.
45256         (bsloww1): Likewise.
45257         (bsloww2): Likewise.
45258         (cslow2): Likewise.
45259         (csloww1): Likewise.
45260         (csloww2): Likewise.
45262         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45263         function.
45264         (__sin): Use it.
45265         (__cos): Likewise.
45267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45268         gotos.
45269         (__cos): Likewise.
45271 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45273         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45274         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45275         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45276         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45277         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45278         * elf/cache.c (print_entry): Handle the new cache flags.
45280 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45281             Aldy Hernandez  <aldyh@redhat.com>
45283         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45284         Change condition to [_SOFT_FLOAT].
45285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45297         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45300         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45301         declaration.
45303 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45305         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45306         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45307         (__longjmp): Use LOAD_GP to load saved GPRs.
45308         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45309         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45310         (__sigsetjmp): Use SAVE_GP to save GPRs.
45312         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45313         Do not append -msoft-float.
45314         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45316 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45318         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45320 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45322         [BZ #15966]
45323         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45324         (_FPU_GETCW): Use initial "__" on variable and field names but not
45325         on macro parameter name.
45326         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45327         parentheses around reference to macro parameter.
45329 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45331         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45332         prototype.
45333         (ctype_startup): Use uint32_t in cast and sizeof for
45334         ctype->charnames.
45336 2013-09-11  Jia Liu  <proljc@gmail.com>
45338         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45339         __daddr_t_defined.
45340         [__FreeBSD__]: Likewise.
45342 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45345         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45346         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45347         (strchr): Remove __strchr_sse42 ifunc selection.
45348         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45349         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45351 2013-09-11  Will Newton  <will.newton@linaro.org>
45353         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45354         parameter to RES. Remove hardcoded 1000 value.
45355         * benchtests/bench-skeleton.c (main): Pass RES parameter
45356         to TIMING_INIT and multiply result by 1000.
45358 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45362 2013-09-11  Andreas Schwab  <schwab@suse.de>
45364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45365         if not defined.
45366         (O_TMPFILE) [__USE_GNU]: Define.
45367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45368         Define.
45370 2013-09-11  Will Newton  <will.newton@linaro.org>
45372         [BZ #15857]
45373         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45374         does not overflow.
45376 2013-09-11  Will Newton  <will.newton@linaro.org>
45378         [BZ #15856]
45379         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45380         does not overflow.
45382 2013-09-11  Will Newton  <will.newton@linaro.org>
45384         [BZ #15855]
45385         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45386         does not overflow.
45388 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45390         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45391         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45393         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45394         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45396 2013-09-10  Allan McRae  <allan@archlinux.org>
45398         [BZ #15748]
45399         * manual/arith.texi (Parsing of Floats): Clarify
45400         cross-reference.
45402         [BZ #15849]
45403         * manual/install.texi (Running make install): Mention
45404         --enable-pt-chown.
45405         * INSTALL: Regenerated.
45407 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45409         * csu/init-first.c (_init): Remove the !SHARED condition around
45410         FPU control word initialization.
45411         * elf/dl-support.c (_dl_fpu_control): New variable.
45412         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45413         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45414         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45415         * math/test-fpucw-static.c: New file.
45416         * math/test-fpucw-ieee.c: New file.
45417         * math/test-fpucw-ieee-static.c: New file.
45418         * math/Makefile (tests): Add `test-fpucw-ieee' and
45419         `$(tests-static)'.
45420         (tests-static): New variable.
45421         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45422         dependency to...
45423         [($(build-shared),yes)]
45424         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45425         ... this.
45426         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45427         New dependency.
45429 2013-09-09  Allan McRae  <allan@archlinux.org>
45431         [BZ #15939]
45432         * manual/string.texi (Collation Functions): Fix typo in
45433         strcoll example.
45434         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45436         [BZ #15893]
45437         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45439         [BZ #15892]
45440         * libio/memstream.c (open_memstream): Fix memory leak.
45441         * libio/wmemstream.c (open_wmemstream): Likewise.
45443         [BZ #15895]
45444         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45446 2013-09-09  Will Newton  <will.newton@linaro.org>
45448         * malloc/Makefile: Add tst-realloc to tests.
45449         * malloc/tst-realloc.c: New file.
45451 2013-09-09  Allan McRae  <allan@archlinux.org>
45453         [BZ #15844]
45454         * COPYING: Update from GNU website to fix FSF address.
45455         * COPYING.LIB: Likewise.
45457 2013-09-06  David S. Miller  <davem@davemloft.net>
45459         * po/zh_TW.po: Update Chinese (traditional) translation from
45460         translation project.
45462 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45463             Joseph Myers  <joseph@codesourcery.com>
45465         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45466         "localeinfo.h".
45467         (obstack_chunk_alloc): New macro.
45468         (obstack_chunk_free): Likewise.
45469         (record_offset): New function.
45470         (init_locale_data): Likewise.
45471         (align_locale_data): Likewise.
45472         (add_locale_empty): Likewise.
45473         (add_locale_raw_data): Likewise.
45474         (add_locale_raw_obstack): Likewise.
45475         (add_locale_string): Likewise.
45476         (add_locale_wstring): Likewise.
45477         (add_locale_uint32): Likewise.
45478         (add_locale_uint32_array): Likewise.
45479         (add_locale_char): Likewise.
45480         (start_locale_structure): Likewise.
45481         (end_locale_structure): Likewise.
45482         (start_locale_prelude): Likewise.
45483         (end_locale_prelude): Likewise.
45484         (write_locale_data): Take locale_file structure rather than an
45485         iovec.
45486         * locale/programs/locfile.h: Include "obstack.h".
45487         (struct locale_file): Change to store locale file contents instead
45488         of header.
45489         (init_locale_data): New prototype.
45490         (align_locale_data): Likewise.
45491         (add_locale_empty): Likewise.
45492         (add_locale_raw_data): Likewise.
45493         (add_locale_raw_obstack): Likewise.
45494         (add_locale_string): Likewise.
45495         (add_locale_wstring): Likewise.
45496         (add_locale_uint32): Likewise.
45497         (add_locale_uint32_array): Likewise.
45498         (add_locale_char): Likewise.
45499         (start_locale_structure): Likewise.
45500         (end_locale_structure): Likewise.
45501         (start_locale_prelude): Likewise.
45502         (end_locale_prelude): Likewise.
45503         (write_locale_data): Update prototype.
45504         * locale/programs/3level.h (struct TABLE): Remove result field.
45505         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45506         Use new locale_file interface.
45507         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45508         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45509         * locale/programs/ld-address.c (address_output): Use new
45510         locale_file interface.
45511         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45512         NO_ADD_LOCALE.
45513         (collate_finish): Don't call collseq_table_finalize.
45514         (collate_output): Use new locale_file interface.
45515         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45516         in file.
45517         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45518         (TABLE): Move defines earlier in file.
45519         (ELEMENT): Likewise.
45520         (DEFAULT): Likewise.
45521         (wctrans_table_add): Move macro and inline function earlier in
45522         file.
45523         (struct wctype_table): Move type earlier in file.
45524         (add_locale_wctype_table): New static prototype.
45525         (struct locale_ctype_t): Use logical types instead of struct iovec
45526         pointers for members.
45527         (ctype_output): Use new locale_file interface.
45528         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45529         new locale_file interface.
45530         (allocate_arrays): Update for use of new locale_file interface.
45531         * locale/programs/ld-identification.c (identification_output): Use
45532         new locale_file interface.
45533         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45534         * locale/programs/ld-messages.c (messages_output): Likewise.
45535         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45536         * locale/programs/ld-name.c (name_output): Likewise.
45537         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45538         * locale/programs/ld-paper.c (paper_output): Likewise.
45539         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45540         * locale/programs/ld-time.c (time_output): Likewise.
45542 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45544         * benchtests/Makefile: Add memrchr benchmark.
45545         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45546         benchmark as memrchr.
45547         * benchtests/bench-memrchr-ifunc.c: New file.
45548         * benchtests/bench-memrchr.c: New file.
45550 2013-09-06   Will Newton  <will.newton@linaro.org>
45552         * benchtests/Makefile (string-bench): Add memcpy.
45554 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45555             Cong Wang  <amwang@redhat.com>
45557         [BZ #15850]
45558         * sysdeps/unix/sysv/linux/bits/in.h
45559         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45560         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45561         before __USE_KERNEL_IPV6_DEFS uses.
45562         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45563         IPPROTO_BEETPH.
45564         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45565         sockaddr_in6, or ipv6_mreq.
45567 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45569         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45570         memory access for final bytes in some large inputs.
45571         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45573 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45575         * string/test-memrchr.c: New file.
45576         * string/test-memrchr-ifunc.c: New file.
45577         * string/Makefile: Add new memrchr testcase.
45579 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45581         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45582         fanotify_init returns EPERM.
45584 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45586         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45587         errors.
45588         (top level): Treat second token from macro or constant entries for
45589         allowed headers as allowed.
45590         * include/complex.h: Condition internal declarations on
45591         [!_ISOMAC].
45592         * include/fenv.h: Condition include of <stdbool.h> and internal
45593         declarations on [!_ISOMAC].
45595 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45597         [BZ #15923]
45598         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45600 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45602         * configure.in (--enable-versioning): Remove configure option.
45603         (libc_cv_asm_symver_directive): Remove configure test.
45604         (libc_cv_ld_version_script_option): Likewise.
45605         (VERSIONING): Remove variable and AC_SUBST.
45606         (DO_VERSIONING): Remove AC_DEFINE.
45607         * configure: Regenerated.
45608         * config.h.in (DO_VERSIONING): Remove macro.
45609         * Makerules [$(versioning) = yes]: Change conditionals to
45610         [$(build-shared) = yes].
45611         * config.make.in (versioning): Remove variable.
45612         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45613         [$(build-shared) = yes].
45614         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45615         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45616         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45617         [$(build-shared) = yes].
45618         * extra-lib.mk [$(versioning) = yes]: Likewise.
45619         * hurd/Makefile [$(versioning) = yes]: Likewise.
45620         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45621         [SHARED].
45622         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45623         [SHARED].
45624         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45625         [SHARED && !NO_HIDDEN].
45626         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45627         [SHARED].
45628         [SHARED && DO_VERSIONING]: Likewise..
45629         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45630         [$(build-shared) = yes].
45631         * manual/install.texi (--disable-versioning): Remove
45632         documentation.
45633         * INSTALL: Regenerated.
45634         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45635         to [SHARED].
45636         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45637         [$(build-shared) = yes].
45638         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45639         * sysdeps/i386/i686/multiarch/strstr-c.c
45640         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45641         [SHARED && !NO_HIDDEN].
45642         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45643         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45644         * sysdeps/powerpc/powerpc32/dl-machine.c
45645         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45646         * sysdeps/powerpc/powerpc32/sysdep.h
45647         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45648         to [SHARED && PIC && !NO_HIDDEN].
45649         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45650         conditional to [SHARED].
45652 2013-09-04   Will Newton  <will.newton@linaro.org>
45654         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45655         * benchtests/bench-string.h: Include bench-timing.h instead
45656         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45657         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45658         call to HP_TIMING_DIFF_INIT.
45659         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45660         instead of hp-timing.h macros.
45661         * benchtests/bench-memchr.c: Likewise.
45662         * benchtests/bench-memcmp.c: Likewise.
45663         * benchtests/bench-memcpy.c: Likewise.
45664         * benchtests/bench-memmem.c: Likewise.
45665         * benchtests/bench-memmove.c: Likewise.
45666         * benchtests/bench-memset.c: Likewise.
45667         * benchtests/bench-rawmemchr.c: Likewise.
45668         * benchtests/bench-strcasecmp.c: Likewise.
45669         * benchtests/bench-strcasestr.c: Likewise.
45670         * benchtests/bench-strcat.c: Likewise.
45671         * benchtests/bench-strchr.c: Likewise.
45672         * benchtests/bench-strcmp.c: Likewise.
45673         * benchtests/bench-strcpy.c: Likewise.
45674         * benchtests/bench-strcpy_chk.c: Likewise.
45675         * benchtests/bench-strlen.c: Likewise.
45676         * benchtests/bench-strncasecmp.c: Likewise.
45677         * benchtests/bench-strncat.c: Likewise.
45678         * benchtests/bench-strncmp.c: Likewise.
45679         * benchtests/bench-strncpy.c: Likewise.
45680         * benchtests/bench-strnlen.c: Likewise.
45681         * benchtests/bench-strpbrk.c: Likewise.
45682         * benchtests/bench-strrchr.c: Likewise.
45683         * benchtests/bench-strspn.c: Likewise.
45684         * benchtests/bench-strstr.c: Likewise.
45686 2013-09-04  Will Newton  <will.newton@linaro.org>
45688         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45690 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45692         [BZ #15427]
45693         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45694         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45695         * math/libm-test.inc (lgamma_test_data): Add more tests.
45696         * sysdeps/i386/fpu/libm-test-ulps: Update.
45697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45699 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45701         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45703         Add ifunc.
45704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45705         Add strcmp-sse2-unaligned
45706         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45708 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45710         * Versions.def (libc): Add GLIBC_2.19.
45712 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45714         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45715         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45717 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45719         [BZ #14155]
45720         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45721         intermediate calculations in recurrence.
45722         (__ieee754_ynf): Likewise.
45723         * math/libm-test.inc (jn_test_data): Do not allow spurious
45724         underflow exception.  Add more tests.
45725         (yn_test_data): Add more tests.
45726         * sysdeps/i386/fpu/libm-test-ulps: Update.
45727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45729 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45733 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45735         * csu/init-first.c: Fix then/than typos.
45736         * locale/programs/ld-collate.c: Likewise.
45737         * locale/programs/linereader.h: Likewise.
45738         * manual/charset.texi: Likewise.
45739         * manual/filesys.texi: Likewise.
45740         * manual/stdio.texi: Likewise.
45741         * manual/string.texi: Likewise.
45742         * stdlib/fmtmsg.c: Likewise.
45743         * sysdeps/i386/stpncpy.S: Likewise.
45744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45745         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45746         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45747         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45749 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45751         * elf/dl-open.c: Fix typos.
45752         * iconvdata/gbbig5.c: Likewise.
45753         * iconvdata/iso-2022-jp.c: Likewise.
45754         * iconv/gconv_int.h: Likewise.
45755         * iconv/loop.c: Likewise.
45756         * nis/rpcsvc/nis.h: Likewise.
45757         * resolv/ns_name.c: Likewise.
45758         * stdio-common/vfscanf.c: Likewise.
45759         * streams/stropts.h: Likewise.
45760         * sunrpc/rpc_thread.c: Likewise.
45761         * sysdeps/i386/strpbrk.S: Likewise.
45762         * sysdeps/ieee754/k_standard.c: Likewise.
45763         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45765         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45766         * sysdeps/mach/hurd/profil.c: Likewise.
45767         * sysdeps/s390/dl-procinfo.h: Likewise.
45768         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45770         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45771         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45772         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45774 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45776         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45779 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45781         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45782         aix specific files.
45783         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45784         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45785         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45786         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45787         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45788         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45789         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45790         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45792 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45793             Roland McGrath  <roland@hack.frob.com>
45795         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45796         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45798 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45800         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45801         __executable_start symbol instead of _start.
45803 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45805         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45806         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45807         Move macros to...
45808         * sysdeps/gnu/ldsodefs.h: ... this new file.
45810         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45811         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45812         instead of ELFOSABI_LINUX.
45814         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45815         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45816         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45817         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45818         Likewise.
45819         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45820         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45821         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45822         Likewise.
45823         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45824         (ibm_extended_long_double): Add ieee_nan member.
45825         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45826         (do_test): New function.
45828         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45829         TEST_TRUNC.
45830         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45831         functions, renamed from truncdfsf_test, trunctfsf_test,
45832         trunctfdf_test.
45833         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45834         functions.
45835         (do_test): Run all these.
45837 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45839         * argp/argp-help.c: Fix typos.
45840         * argp/argp-parse.c: Likewise.
45841         * debug/backtracesyms.c: Likewise.
45842         * elf/elf.h: Likewise.
45843         * malloc/malloc.c: Likewise.
45844         * nis/nis_print.c: Likewise.
45845         * resolv/res_comp.c: Likewise.
45846         * stdlib/stdlib.h: Likewise.
45847         * sunrpc/clnt_tcp.c: Likewise.
45848         * sunrpc/clnt_udp.c: Likewise.
45849         * sunrpc/clnt_unix.c: Likewise.
45850         * sysdeps/unix/bsd/ptsname.c: Likewise.
45851         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45852         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45854         Likewise.
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45856         Likewise.
45857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45858         Likewise.
45859         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45861 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45863         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45866 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45868         [BZ #15897]
45869         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45870         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45871         ($(objpfx)bug-dl-leaf): New rule.
45872         ($(objpfx)bug-dl-leaf.so): Likewise.
45873         ($(objpfx)bug-dl-leaf.out): Likewise.
45874         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45875         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45876         * dlfcn/bug-dl-leaf.c: New test.
45877         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45878         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45879         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45880         (dlclose): Likewise.
45881         (dlmopen): Likewise.
45883 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45885         * include/netdb.h [!_ISOMAC]:
45886         Don't include <tls.h>.
45887         (h_errno, __libc_h_errno): Move declaration and macros out of
45888         [_LIBC_REENTRANT].
45890         * include/resolv.h [_RESOLV_H_]:
45891         Don't include <tls.h>.
45892         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45893         * resolv/res_libc.c: Don't include <tls.h>.
45894         (_res): Use __attribute__ ((nocommon)) in place of
45895         __attribute__ ((section (".bss"))).
45897         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45898         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45900         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45902         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45903         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45905         * resolv/res_mkquery.c: Include <sys/time.h>.
45907         * inet/ifreq.c: Moved to ...
45908         * sysdeps/unix/ifreq.c: ... here.
45909         * inet/ifreq.c: New file, true stub version.
45911         * socket/sa_len.c: New file.
45912         * socket/Makefile (aux): Add it.
45913         * sysdeps/unix/sysv/linux/Makefile
45914         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45915         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45916         and #include <socket/sa_len.c>.
45917         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45918         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45920         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45921         * bits/socket.h: ... here.
45923         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45924         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45925         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45927 2013-08-27  Andreas Schwab  <schwab@suse.de>
45929         [BZ #15736]
45930         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45931         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45932         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45933         * string/test-strcasecmp.c (test_main): Run tests in several
45934         locales.
45935         * string/test-strncasecmp.c (test_main): Likewise.
45937         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45938         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45939         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45941         (__strncasecmp_ssse3) [PIC]: Likewise.
45943 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45945         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45947         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45948         instead of explicitly declaring xdecrypt.
45949         * nis/nss_nis/nis-publickey.c: Likewise.
45951 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45953         [BZ #15890]
45954         * nscd/aicache.c: Include res_hconf.h.
45955         (addhstaiX): Initialize res_hconf.
45957 2013-08-26  Andreas Schwab  <schwab@suse.de>
45959         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45960         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45962 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45964         * nscd/aicache.c (addhstaiX): Fix indentation.
45966 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45968         * configure.ac: Quote $build_pt_chown test.
45969         * configure: Regenerated.
45971 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45973         [BZ #15532]
45974         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45975         * math/s_cexpf.c (__cexpf): Likewise.
45976         * math/s_cexpl.c (__cexpl): Likewise.
45977         * math/libm-test.inc (cexp_test_data): Correct expected return
45978         value for NaN + i0.  Add another test.
45980 2013-08-22  David S. Miller  <davem@davemloft.net>
45982         * po/ca.po: Update Catalan translation from translation project.
45983         * po/uk.po: Add Ukrainian translations from translation project.
45985 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45987         [BZ #15797]
45988         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45989         is infinite, not alongside NaN test.
45990         * math/s_fdimf.c (__fdimf): Likewise.
45991         * math/s_fdiml.c (__fdiml): Likewise.
45992         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45993         errno is unchanged.
45995 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45997         * argp/argp-help.c: Fix typos.
45998         * crypt/speeds.c: Likewise.
45999         * csu/check_fds.c: Likewise.
46000         * elf/dl-load.c: Likewise.
46001         * elf/dl-open.c: Likewise.
46002         * elf/reldep3.c: Likewise.
46003         * elf/reldep.c: Likewise.
46004         * elf/sprof.c: Likewise.
46005         * iconv/iconv_charmap.c: Likewise.
46006         * iconv/skeleton.c: Likewise.
46007         * iconv/strtab.c: Likewise.
46008         * io/lockf64.c: Likewise.
46009         * libio/libioP.h: Likewise.
46010         * resolv/gai_notify.c: Likewise.
46011         * resolv/ns_name.c: Likewise.
46012         * resolv/ns_samedomain.c: Likewise.
46013         * resolv/res_send.c: Likewise.
46014         * stdlib/random.c: Likewise.
46015         * sunrpc/rpc/xdr.h: Likewise.
46016         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46017         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46018         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46019         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46020         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46024         * sysdeps/mach/hurd/check_fds.c: Likewise.
46025         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46026         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46027         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46028         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46029         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46030         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46031         * sysdeps/pthread/aio_notify.c: Likewise.
46032         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46033         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46034         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46035         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46036         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46038 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46040         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46041         version if bit_Slow_SSE4_2 is set.
46042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46043         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46045 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46047         [BZ #15867]
46048         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46049         trampoline stack frame information.
46050         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46051         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46052         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46053         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46054         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46055         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46056         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46057         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46058         sa_flags value.
46059         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46060         interrupting a syscall and set with option SA_SIGINFO.
46062 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46064         [BZ #15531]
46065         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46066         argument is infinite.
46067         * math/s_cprojf.c (__cprojf): Likewise.
46068         * math/s_cprojl.c (__cprojl): Likewise.
46069         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46070         * math/libm-test.inc (cproj_test_data): Add more tests.
46072         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46074         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46075         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46076         size.  Use __ffs to determine corresponding shift.
46078 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46079             Roland McGrath  <roland@hack.frob.com>
46081         * Makefile (INSTALL): Remove trailing blank lines from output of
46082         makeinfo.
46084 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46086         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46087         Align 32 bit compat elf_greg to 8 bytes.
46089 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46091         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46093 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46095         * string/strcoll_l.c (coll_seq): New structure.
46096         (get_next_seq_cached): New function.
46097         (get_next_seq): New function.
46098         (do_compare): New function.
46099         (STRCOLL): Use GNU style definition.  Simplify implementation
46100         by using get_next_seq, get_next_seq_cached and do_compare.
46102 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46104         [BZ #14699]
46105         CVE-2013-4237
46106         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46107         member.
46108         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46109         member.
46110         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46111         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46112         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46113         conditional.
46114         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46115         GETDENTS_64BIT_ALIGNED.
46116         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46117         * manual/filesys.texi (Reading/Closing Directory): Document
46118         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46119         strongly.
46120         * manual/conf.texi (Limits for Files): Add portability note to
46121         NAME_MAX, PATH_MAX.
46122         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46124 2013-08-13  Andreas Schwab  <schwab@suse.de>
46126         [BZ #15749]
46127         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46128         of fabs.
46129         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46130         LDBL_MAX_EXP >= 16384]: Add tests for it.
46132 2013-08-12  David S. Miller  <davem@davemloft.net>
46134         * version.h (RELEASE): Set to "development".
46135         (VERSION): Set to "2.18.90".
46136         * NEWS: Add 2.19 section.
46138 2013-08-03  David S. Miller  <davem@davemloft.net>
46140         * po/ko.po: Update Korean translation from translation project.
46142 2013-08-01  David S. Miller  <davem@davemloft.net>
46144         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46145         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46146         Bilka.
46148 2013-07-30  David S. Miller  <davem@davemloft.net>
46150         * po/fr.po: Update French translation from translation project.
46152 2013-07-28  David S. Miller  <davem@davemloft.net>
46154         * po/cs.po: Update Czech translation from translation project.
46156         * po/sv.po: Update Swedish translation from translation project.
46158 2013-07-27  David S. Miller  <davem@davemloft.net>
46160         * po/eo.po: Update Esperanto translation from translation project.
46162         * po/vi.po: Update Vietnamese translation from translation project.
46164         * po/de.po: Update German translation from translation project.
46166 2013-07-26  David S. Miller  <davem@davemloft.net>
46168         * po/bg.po: Update Bulgarian translation from translation project.
46170         * po/nl.po: Update Dutch translation from translation project.
46171         * po/pl.po: Update Polish translation from translation project.
46172         * po/ru.po: Update Russian translation from translation project.
46174 2013-07-24  David S. Miller  <davem@davemloft.net>
46176         * po/libc.pot: Update.
46178 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46180         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46181         variable page size.
46182         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46183         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46184         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46186 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46188         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46190 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46191             Andreas Schwab  <schwab@suse.de>
46192             Roland McGrath  <roland@hack.frob.com>
46193             Joseph Myers  <joseph@codesourcery.com>
46194             Carlos O'Donell  <carlos@redhat.com>
46196         [BZ #15755]
46197         * config.h.in: Define HAVE_PT_CHOWN.
46198         * config.make.in (build-pt-chown): New variable.
46199         * configure.in (--enable-pt_chown): New configure option.
46200         * configure: Regenerate.
46201         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46202         build-pt-chown is enabled.
46203         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46204         pt_chown to fix pty ownership.
46205         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46206         CLOSE_ALL_FDS.
46207         * manual/install.texi (Configuring and compiling): Mention
46208         --enable-pt_chown. Add @findex for grantpt.
46209         * INSTALL: Regenerate.
46211 2013-07-20  David S. Miller  <davem@davemloft.net>
46213         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46214         difference between 32-bit and 64-bit.
46216 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46218         [BZ #15711]
46219         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46220         Avoid system header dependency with -ffreestanding.
46221         ($(objpfx)bits/syscall%d): Likewise.
46223 2013-07-13  David S. Miller  <davem@davemloft.net>
46225         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46226         underflows from atanl/atan2l due to bug 15319.
46227         (casinh_test_data): Likewise.
46229 2013-07-07  David S. Miller  <davem@davemloft.net>
46231         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46233 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46235         * sysdeps/i386/fpu/libm-test-ulps: Update.
46236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46238 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46240         * configure.in (--enable-lock-elision): Fix message text.
46241         * INSTALL: Regenerate.
46242         * configure: Regenerate.
46244 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46248 2013-07-03  Andreas Jaeger  <aj@suse.de>
46250         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46251         define.
46252         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46253         (ptrace_peeksiginfo_args): Add.
46254         (__ptrace_peeksiginfo_flags): Add.
46255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46259 2013-07-03  Allan McRae  <allan@archlinux.org>
46261         * sysdeps/i386/fpu/libm-test-ulps: Update.
46263 2013-07-02  David S. Miller  <davem@davemloft.net>
46265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46267 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46271 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46273         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46276 2013-07-02  Andi Kleen <ak@linux.intel.com>
46278         * config.h.in (ENABLE_LOCK_ELISION): Add.
46279         * configure.in (--enable-lock-elision): Add option.
46280         * manual/install.texi: Document --enable lock elision.
46281         * configure: Regenerate
46282         * INSTALL: Regenerate.
46284 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46286         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46287         SSE4.2 strcasecmp for libc.a.
46288         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46290 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46292         [BZ #13304]
46293         * soft-fp/op-common.h (_FP_FMA): New macro.
46294         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46295         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46296         (_FP_MUL_MEAT_1_imm): ... here.
46297         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46298         (_FP_MUL_MEAT_1_wide): ... here.
46299         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46300         (_FP_MUL_MEAT_1_hard): ... here.
46301         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46302         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46303         (_FP_MUL_MEAT_2_wide): ... here.
46304         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46305         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46306         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46307         (_FP_MUL_MEAT_2_gmp): ... here.
46308         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46309         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46310         (_FP_MUL_MEAT_4_wide): ... here.
46311         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46312         (_FP_MUL_MEAT_4_gmp): ... here.
46313         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46314         (_FP_WFRACBITS_DW_S): Likewise.
46315         (_FP_WFRACXBITS_DW_S): Likewise.
46316         (_FP_HIGHBIT_DW_S): Likewise.
46317         (FP_FMA_S): Likewise.
46318         (_FP_FRAC_HIGH_DW_S): Likewise.
46319         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46320         (_FP_WFRACBITS_DW_D): Likewise.
46321         (_FP_WFRACXBITS_DW_D): Likewise.
46322         (_FP_HIGHBIT_DW_D): Likewise.
46323         (FP_FMA_D): Likewise.
46324         (_FP_FRAC_HIGH_DW_D): Likewise.
46325         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46326         (_FP_WFRACBITS_DW_E): Likewise.
46327         (_FP_WFRACXBITS_DW_E): Likewise.
46328         (_FP_HIGHBIT_DW_E): Likewise.
46329         (FP_FMA_E): Likewise.
46330         (_FP_FRAC_HIGH_DW_E): Likewise.
46331         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46332         (_FP_WFRACBITS_DW_Q): Likewise.
46333         (_FP_WFRACXBITS_DW_Q): Likewise.
46334         (_FP_HIGHBIT_DW_Q): Likewise.
46335         (FP_FMA_Q): Likewise.
46336         (_FP_FRAC_HIGH_DW_Q): Likewise.
46337         * soft-fp/fmasf4.c: New file.
46338         * soft-fp/fmadf4.c: Likewise.
46339         * soft-fp/fmatf4.c: Likewise.
46341 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46344         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46345         Silvermont.
46346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46347         macro.
46348         (index_Slow_SSE4_2): Likewise.
46349         (index_Prefer_PMINUB_for_stringop): Likewise.
46350         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46351         bit_Slow_SSE4_2 is set.
46352         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46353         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46355 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46357         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46358         rtld_global._dl_hwcap2.
46359         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46360         POWER8.
46361         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46362         POWER8 feature descriptions defined in _dl_hwcap2.
46363         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46364         string handling for POWER8 feature bits.
46365         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46366         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46367         _dl_powerpc_cap_flags.
46368         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46369         * sysdeps/powerpc/rtld-global-offsets.sym
46370         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46371         _dl_hwcap2 in the rtld_global_ro structure.
46373 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46375         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46376         hardware capabilities in support of AT_HWCAP2.
46377         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46378         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46379         GLRO(dl_hwcap2).
46380         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46381         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46382         explicitly the unknown a_type display mechanism is used.
46383         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46384         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46385         struct member.
46386         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46387         to macro prototype for AT_HWCAP2 support.
46388         * sysdeps/i386/dl-procinfo.h: Likewise.
46389         * sysdeps/s390/dl-procinfo.h: Likewise.
46390         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46391         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46392         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46393         return -1 for unknown a_type display fallback.
46394         * sysdeps/sparc/dl-procinfo.h: Likewise.
46395         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46396         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46398 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46401         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46403 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46405         [BZ #12492]
46406         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46407         mprotect making __stack_prot writable.
46409 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46410             Joseph Myers  <joseph@codesourcery.com>
46412         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46413         as being properly aligned.
46415 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46417         * dlfcn/modstatic5.c: New file.
46418         * dlfcn/tststatic5.c: New file.
46419         * dlfcn/Makefile (tests): Add tststatic5.
46420         (tests-static): Likewise.
46421         (modules-names): Add modstatic5.
46422         (tststatic5-ENV): New variable.
46423         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46425         [BZ #15022]
46426         * elf/dl-support.c (_dl_main_map): New variable.
46427         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46428         (_dl_nns, _dl_load_adds): Set to 1.
46429         (_dl_initial_searchlist): Refer to _dl_main_map.
46430         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46431         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46432         call to _dl_get_origin.
46433         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46434         around call_map.
46435         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46436         * dlfcn/modstatic3.c: New file.
46437         * dlfcn/tststatic3.c: New file.
46438         * dlfcn/tststatic4.c: New file.
46439         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46440         (tests-static): Likewise.
46441         (modules-names): Add modstatic3.
46442         (tststatic3-ENV, tststatic4-ENV): New variables.
46443         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46444         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46446 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46448         * configure.in (CC): Require GCC version 4.4 or later.
46449         * configure: Regenerated.
46450         * manual/install.texi (Tools for Compilation): Update GCC version
46451         requirement.
46452         * INSTALL: Regenerated.
46454 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46456         [BZ #15674]
46457         * string/test-memcmp.c (check2): New.
46458         (main): Call check2.
46460         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46462 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46464         [BZ #15022]
46465         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46466         over to...
46467         (dl_open_worker) [!SHARED]: ... here.
46469 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46471         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46473 2013-06-25  Richard Henderson  <rth@redhat.com>
46475         * locale/programs/locarchive.c: Include <libc-internal.h>
46477 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46479         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46480         trailing whitespace removed.
46482 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46484         [BZ #10283]
46485         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46486         * locale/programs/locarchive.c: Include libc-mmap.h.
46487         (prepare_address_space): Take two new outputs (the mmap base and len).
46488         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46489         values.
46490         (create_archive): Declare new mmap base and len values for
46491         prepare_address_space, and store the result in ah.
46492         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46493         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46494         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46495         Declare new mmap base and len values for
46496         prepare_address_space, and store the result in new_ah.
46497         (open_archive): Declare new mmap base and len values for
46498         prepare_address_space, and store the result in ah.
46499         (close_archive): If ah->mmap_base is not NULL, use that and
46500         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46501         * sysdeps/generic/libc-mmap.h: New file.
46503 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46505         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46506         (ALIGN_UP): Likewise.
46507         (PTR_ALIGN_DOWN): Likewise.
46508         (PTR_ALIGN_UP): Likewise.
46510 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46512         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46513         entry mapped to PPC_PLATFORM_POWER8.
46514         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46515         POWER8.
46516         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46517         (_dl_string_platform): Add case for exporting platform position for
46518         POWER8.
46519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46520         search path to sysdeps/powerpc/powerpc32/power8 directory.
46521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46522         search path to sysdeps/powerpc/powerpc64/power8 directory.
46523         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46524         power7 directories.
46525         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46526         power7 directories.
46528 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46530         * INSTALL: Regenerate.
46532         * nscd/connections.c (nscd_init): Fix comment.
46534 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46536         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46538         [BZ #15667]
46539         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46540         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46542 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46544         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46545         DL_DST_REQ_STATIC.
46546         (DL_DST_REQ_STATIC): Remove macro.
46548 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46550         [BZ #7006]
46551         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46552         with a shift of 0 bits.
46554 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46556         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46557         $(tststatic-ENV).
46559 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46561         [BZ #15655]
46562         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46564 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46566         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46567         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46568         accepts -fno-tree-loop-distribute-patterns.
46569         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46570         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46571         recursive call.
46572         * string/memset.c (memset): Likewise.
46573         * string/test-memmove.c (simple_memmove): Disable loop transformation
46574         to library calls.
46575         * string/test-memset.c (simple_memset): Likewise.
46576         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46577         * benchtests/bench-memset.c (simple_memset): Likewise.
46578         * configure: Regenerated.
46580 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46582         * math/test-misc.c (main): Ignore fesetround failure when failures
46583         of subsequent rounding tests would be ignored.
46585         [BZ #15654]
46586         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46587         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46588         * math/fegetenv.c (__fegetenv): Return 0.
46589         * math/fegetexcept.c (fegetexcept): Return 0.
46590         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46591         FE_TONEAREST.
46592         * math/feholdexcpt.c (feholdexcept): Return 0.
46593         * math/fesetenv.c (__fesetenv): Return 0.
46594         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46595         argument FE_TONEAREST.
46596         * math/feupdateenv.c (__feupdateenv): Return 0.
46597         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46599 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46601         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46602         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46603         ($(objpfx)rtld-%.os rules): Use them.
46605 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46607         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46608         fields.
46610 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46612         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46613         length of target pattern, then descending length of dependency pattern.
46614         * configure.in (AWK): Require gawk 3.1.2 or newer.
46615         * manual/install.texi (Tools for Compilation): Say that we do.
46616         * configure: Regenerated.
46618         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46619         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46620         * scripts/sysd-rules.awk: ... this new script.
46621         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46622         than a glob-style pattern.
46624 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46626         * math/test-misc.c (main): Do not treat incorrectly rounded
46627         conversions as failure unless ROUNDING_TESTS passes.
46629 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46631         [BZ #15631]
46632         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46633         restore exception state around main square root computation, then
46634         check for inexactness explicitly.
46636         * math/libm-test.inc (fma_test_data): Add another test.
46638 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46640         * manual/threads.texi (Non-POSIX Extensions): New document
46641         node.  Document pthread_getattr_default_np and
46642         pthread_setattr_default_np.
46644         * Versions.def (libpthread): Add GLIBC_2.18.
46645         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46647         Likewise.
46648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46649         Likewise.
46650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46651         Likewise.
46652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46653         Likewise.
46654         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46655         Likewise.
46656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46657         Likewise.
46658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46659         Likewise.
46660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46661         Likewise.
46662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46663         Likewise.
46665 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46668         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46670 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46671             H.J. Lu  <hjl.tools@gmail.com>
46673         [BZ #15627]
46674         * sysdeps/x86_64/rtld-memset.c: Remove file.
46675         * sysdeps/x86_64/rtld-memset.S: New file.
46677 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46679         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46680         (test_in_one_mode): Take arguments for whether the rounding mode
46681         is supported for each floating-point type.
46682         (do_test): Pass new arguments to test_in_one_mode using
46683         ROUNDING_TESTS.
46685 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46687         * posix/tst-waitid.c (do_test): Distinguish different instances of
46688         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46689         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46690         before entering the kernel for waitpid.
46692 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46694         * NEWS: Fix note on clock function precision.  Text by Roland
46695         McGrath.
46697 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46699         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46700         it into place only when and if the sanity check passes.
46702 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46704         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46705         output for whether conversion result is exact.  Take argument
46706         indicating whether type is IBM long double.
46707         (round_for_all): Change need_exact field to ibm_ld.
46708         * stdlib/tst-strtod-round.c (struct exactness): New type.
46709         (struct test): Change bool ld_ok field to struct exactness exact.
46710         (TEST): Update all definitions for change to field.
46711         (tests): Regenerate array contents.
46712         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46713         field value.  Check for IBM long double here.
46714         (do_test): Update calls to test_in_one_mode.
46716 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46718         [BZ #12515]
46719         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46720         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46722 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46724         [BZ #15605]
46725         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46726         generated by the compiler on loop optimizations.
46727         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46728         general definitions.
46730 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46732         * math/bug-nextafter.c: Include <math-tests.h>.
46733         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46734         the relevant type.
46735         * math/bug-nexttoward.c: Include <math-tests.h>.
46736         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46737         the relevant type.
46738         * math/test-misc.c: Include <math-tests.h>.
46739         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46740         the relevant type.
46742 2013-06-12  Andreas Jaeger  <aj@suse.de>
46744         * po/ia.po: Update Interlingua translation from translation
46745         project.
46747 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46749         * include/fenv.h: Include stdbool.h.
46750         (struct rm_ctx): New structure.
46751         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46752         Define macro.
46753         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46754         (SET_RESTORE_ROUNDF): Likewise.
46755         (SET_RESTORE_ROUNDL): Likewise.
46756         (SET_RESTORE_ROUND_NOEX): Likewise.
46757         (SET_RESTORE_ROUND_NOEXF): Likewise.
46758         (SET_RESTORE_ROUND_NOEXL): Likewise.
46759         (SET_RESTORE_ROUND_53BIT): Likewise.
46760         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46761         (libc_feresetround_noexf_ctx): Likewise.
46762         (libc_feresetround_noexl_ctx): Likewise.
46763         (libc_feholdsetround_53bit_ctx): Likewise.
46764         (libc_feresetround_53bit_ctx): Likewise.
46765         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46766         (libc_feholdexcept_setround_sse_ctx): New function.
46767         (libc_fesetenv_sse_ctx): Likewise.
46768         (libc_feupdateenv_sse_ctx): Likewise.
46769         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46770         (libc_feholdexcept_setround_387_ctx): Likewise.
46771         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46772         (libc_feholdsetround_387_prec_ctx): Likewise.
46773         (libc_feholdsetround_387_ctx): Likewise.
46774         (libc_feholdsetround_387_53bit_ctx): Likewise.
46775         (libc_feholdsetround_sse_ctx): Likewise.
46776         (libc_feresetround_sse_ctx): Likewise.
46777         (libc_feresetround_387_ctx): Likewise.
46778         (libc_feupdateenv_387_ctx): Likewise.
46779         (libc_feholdexcept_setroundf_ctx): Define macro.
46780         (libc_fesetenvf_ctx): Likewise.
46781         (libc_feupdateenvf_ctx): Likewise.
46782         (libc_feholdsetroundf_ctx): Likewise.
46783         (libc_feresetroundf_ctx): Likewise.
46784         (libc_feholdexcept_setround_ctx): Likewise.
46785         (libc_fesetenv_ctx): Likewise.
46786         (libc_feupdateenv_ctx): Likewise.
46787         (libc_feholdsetround_ctx): Likewise.
46788         (libc_feresetround_ctx): Likewise.
46789         (libc_feholdexcept_setroundl_ctx): Likewise.
46790         (libc_feupdateenvl_ctx): Likewise.
46791         (libc_feholdsetroundl_ctx): Likewise.
46792         (libc_feresetroundl_ctx): Likewise.
46793         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46794         (libc_feresetround_53bit_ctx): Likewise.
46796 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46798         * locale/iso-639.def: Convert to UTF-8.
46800 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46802         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46803         (EXCEPTION_TESTS_double): Likewise.
46804         (EXCEPTION_TESTS_long_double): Likewise.
46805         (EXCEPTION_TESTS): Likewise.
46806         * math/libm-test.inc (test_exceptions): Only test exceptions if
46807         EXCEPTION_TESTS (FLOAT).
46809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46811         * benchtests/Makefile (string-bench): Add strcpy_chk and
46812         stpcpy_chk.
46813         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46814         * benchtests/bench-stpcpy_chk.c: New file.
46815         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46816         * benchtests/bench-strcpy_chk.c: New file.
46817         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46818         code.
46819         (do_test): Likewise.
46821 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46823         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46824         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46825         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46826         with tabs where appropriate.
46827         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46828         dl-procinfo.h.
46829         [PPC_PLATFORM_PPC440]: Likewise.
46830         [PPC_PLATFORM_PPC464]: Likewise.
46831         [PPC_PLATFORM_PPC476]: Likewise.
46832         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46833         ppc464, and ppc476 platform strings merging from ports/
46834         dl-procinfo.h.
46836 2013-06-11  Andreas Schwab  <schwab@suse.de>
46838         [BZ #14991]
46839         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46840         (from_ucs4_idx): Regenerate.
46841         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46842         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46843         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46844         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46845         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46846         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46847         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46848         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46849         from FROM_LOOP and TO_LOOP specific macros.
46850         (BODY): Handle combining characters.
46851         * iconvdata/BIG5HKSCS.irreversible: Update.
46852         * iconvdata/BIG5HKSCS.precomposed: New file.
46853         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46854         characters.
46855         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46857 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46859         * include/sys/time.h: Fix indentation and add copyright header.
46861         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46862         (do_test): Likewise.
46863         * string/test-memchr.c (do_one_test): Likewise.
46864         (do_test): Likewise.
46865         * string/test-memcmp.c (do_one_test): Likewise.
46866         (do_test): Likewise.
46867         * string/test-memcpy.c (do_one_test): Likewise.
46868         (do_test): Likewise.
46869         * string/test-memmem.c (do_one_test): Likewise.
46870         (do_test): Likewise.
46871         (do_random_tests): Likewise.
46872         * string/test-memmove.c (do_one_test): Likewise.
46873         (do_test): Likewise.
46874         * string/test-memset.c (do_one_test): Likewise.
46875         (do_test): Likewise.
46876         * string/test-rawmemchr.c (do_one_test): Likewise.
46877         (do_test): Likewise.
46878         * string/test-strcasecmp.c (do_one_test): Likewise.
46879         (do_test): Likewise.
46880         * string/test-strcasestr.c (do_one_test): Likewise.
46881         (do_test): Likewise.
46882         * string/test-strcat.c (do_one_test): Likewise.
46883         (do_test): Likewise.
46884         * string/test-strchr.c (do_one_test): Likewise.
46885         (do_test): Likewise.
46886         * string/test-strcmp.c (do_one_test): Likewise.
46887         (do_test): Likewise.
46888         * string/test-strcpy.c (do_one_test): Likewise.
46889         (do_test): Likewise.
46890         * string/test-string.h: Likewise.
46891         (test_init): Likewise.
46892         * string/test-strlen.c (do_one_test): Likewise.
46893         (do_test): Likewise.
46894         * string/test-strncasecmp.c (do_one_test): Likewise.
46895         (do_test): Likewise.
46896         * string/test-strncat.c (do_one_test): Likewise.
46897         (do_test): Likewise.
46898         * string/test-strncmp.c (do_one_test): Likewise.
46899         (do_test_limit): Likewise.
46900         (do_test): Likewise.
46901         * string/test-strncpy.c (do_one_test): Likewise.
46902         (do_test): Likewise.
46903         * string/test-strnlen.c (do_one_test): Likewise.
46904         (do_test): Likewise.
46905         * string/test-strpbrk.c (do_one_test): Likewise.
46906         (do_test): Likewise.
46907         * string/test-strrchr.c (do_one_test): Likewise.
46908         (do_test): Likewise.
46909         * string/test-strspn.c (do_one_test): Likewise.
46910         (do_test): Likewise.
46911         * string/test-strstr.c (do_one_test): Likewise.
46912         (do_test): Likewise.
46914         * benchtests/Makefile (string-bench): Add string benchmarks.
46915         * benchtests/bench-bcopy-ifunc.c: New file.
46916         * benchtests/bench-bcopy.c: New file.
46917         * benchtests/bench-bzero-ifunc.c: New file.
46918         * benchtests/bench-bzero.c: New file.
46919         * benchtests/bench-memccpy-ifunc.c: New file.
46920         * benchtests/bench-memccpy.c: New file.
46921         * benchtests/bench-memchr-ifunc.c: New file.
46922         * benchtests/bench-memchr.c: New file.
46923         * benchtests/bench-memcmp-ifunc.c: New file.
46924         * benchtests/bench-memcmp.c: New file.
46925         * benchtests/bench-memmem-ifunc.c: New file.
46926         * benchtests/bench-memmem.c: New file.
46927         * benchtests/bench-memmove-ifunc.c: New file.
46928         * benchtests/bench-memmove.c: New file.
46929         * benchtests/bench-mempcpy-ifunc.c: New file.
46930         * benchtests/bench-mempcpy.c: New file.
46931         * benchtests/bench-memset-ifunc.c: New file.
46932         * benchtests/bench-memset.c: New file.
46933         * benchtests/bench-rawmemchr-ifunc.c: New file.
46934         * benchtests/bench-rawmemchr.c: New file.
46935         * benchtests/bench-stpcpy-ifunc.c: New file.
46936         * benchtests/bench-stpcpy.c: New file.
46937         * benchtests/bench-stpncpy-ifunc.c: New file.
46938         * benchtests/bench-stpncpy.c: New file.
46939         * benchtests/bench-strcasecmp-ifunc.c: New file.
46940         * benchtests/bench-strcasecmp.c: New file.
46941         * benchtests/bench-strcasestr-ifunc.c: New file.
46942         * benchtests/bench-strcasestr.c: New file.
46943         * benchtests/bench-strcat-ifunc.c: New file.
46944         * benchtests/bench-strcat.c: New file.
46945         * benchtests/bench-strchr-ifunc.c: New file.
46946         * benchtests/bench-strchr.c: New file.
46947         * benchtests/bench-strchrnul-ifunc.c: New file.
46948         * benchtests/bench-strchrnul.c: New file.
46949         * benchtests/bench-strcmp-ifunc.c: New file.
46950         * benchtests/bench-strcmp.c: New file.
46951         * benchtests/bench-strcpy-ifunc.c: New file.
46952         * benchtests/bench-strcpy.c: New file.
46953         * benchtests/bench-strcspn-ifunc.c: New file.
46954         * benchtests/bench-strcspn.c: New file.
46955         * benchtests/bench-strlen-ifunc.c: New file.
46956         * benchtests/bench-strlen.c: New file.
46957         * benchtests/bench-strncasecmp-ifunc.c: New file.
46958         * benchtests/bench-strncasecmp.c: New file.
46959         * benchtests/bench-strncat-ifunc.c: New file.
46960         * benchtests/bench-strncat.c: New file.
46961         * benchtests/bench-strncmp-ifunc.c: New file.
46962         * benchtests/bench-strncmp.c: New file.
46963         * benchtests/bench-strncpy-ifunc.c: New file.
46964         * benchtests/bench-strncpy.c: New file.
46965         * benchtests/bench-strnlen-ifunc.c: New file.
46966         * benchtests/bench-strnlen.c: New file.
46967         * benchtests/bench-strpbrk-ifunc.c: New file.
46968         * benchtests/bench-strpbrk.c: New file.
46969         * benchtests/bench-strrchr-ifunc.c: New file.
46970         * benchtests/bench-strrchr.c: New file.
46971         * benchtests/bench-strspn-ifunc.c: New file.
46972         * benchtests/bench-strspn.c: New file.
46973         * benchtests/bench-strstr-ifunc.c: New file.
46974         * benchtests/bench-strstr.c: New file.
46976         * benchtests/Makefile: Disable parallel execution of targets.
46977         (string-bench): Add memcpy.
46978         (benchset): New variable to store a list of benchmark sets.
46979         (bench-func): Renamed from bench.
46980         (bench-set): New target.
46981         (bench): Depend on bench-func and bench-set.
46982         * benchtests/README: Add section on benchmark sets.
46983         * benchtests/bench-memcpy-ifunc.c: New file.
46984         * benchtests/bench-memcpy.c: New file.
46985         * benchtests/bench-string.h: New file.
46987 2013-06-11  Andreas Schwab  <schwab@suse.de>
46989         [BZ #15577]
46990         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46991         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46992         values in the triple.
46993         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46994         terminator in the group key.
46996 2013-06-11  Andreas Jaeger  <aj@suse.de>
46998         * po/zh_TW.po: Update Chinese (traditional) translation from
46999         translation project.
47001 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47003         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47004         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47005         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47007         (clock_getcpuclockid): Likewise.
47008         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47009         Add weak_alias and libc_hidden_def.
47010         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47011         * rt/clock_gettime.c (clock_gettime): Rename to
47012         __clock_gettime.  Add weak_alias and libc_hidden_def.
47013         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47014         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47015         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47016         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47017         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47018         Likewise.
47019         * rt/clock_settime.c (clock_settime): Rename to
47020         __clock_settime.  Add weak_alias and libc_hidden_def.
47021         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47023 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47025         * mach/err_boot.sub: Remove trailing whitespace.
47026         * mach/err_ipc.sub: Likewise.
47027         * mach/err_mach.sub: Likewise.
47029         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47030         (ROUNDING_TESTS_double): Likewise.
47031         (ROUNDING_TESTS_long_double): Likewise.
47032         (ROUNDING_TESTS): Likewise.
47033         * math/libm-test.inc: Include <math-tests.h>.
47034         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47035         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47036         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47037         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47039 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47041         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47042         of assigning.
47044 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47046         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47047         otherwise empty TRANS lines.
47048         * sysdeps/gnu/errlist.c: Regenerated.
47050         * catgets/gencat.c (error_print): Use (void) in function
47051         definition.
47052         * crypt/crypt_util.c (__init_des): Likewise.
47053         * crypt/speeds.c (Stop): Likewise.
47054         (main): Likewise.
47055         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47056         * inet/ruserpass.c (token): Likewise.
47057         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47058         * intl/localealias.c (extend_alias_table): Likewise.
47059         * intl/plural-exp.c (init_germanic_plural): Likewise.
47060         * libio/fcloseall.c (__fcloseall): Likewise.
47061         * libio/genops.c (_IO_flush_all): Likewise.
47062         (_IO_flush_all_linebuffered): Likewise.
47063         (_IO_cleanup): Likewise.
47064         (_IO_iter_begin): Likewise.
47065         (_IO_iter_end): Likewise.
47066         (_IO_list_lock): Likewise.
47067         (_IO_list_unlock): Likewise.
47068         (_IO_list_resetlock): Likewise.
47069         * libio/getchar.c (getchar): Likewise.
47070         * libio/getchar_u.c (getchar_unlocked): Likewise.
47071         * libio/getwchar.c (getwchar): Likewise.
47072         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47073         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47074         * login/getpt.c (__getpt): Likewise.
47075         * login/tst-utmp.c (main): Likewise.
47076         * malloc/hooks.c (__malloc_check_init): Likewise.
47077         * malloc/malloc.c (__malloc_stats): Likewise.
47078         * malloc/mtrace.c (tr_break): Likewise.
47079         (mtrace): Likewise.
47080         (muntrace): Likewise.
47081         * misc/fstab.c (endfsent): Likewise.
47082         * misc/getclktck.c (__getclktck): Likewise.
47083         * misc/getdtsz.c (__getdtablesize): Likewise.
47084         * misc/gethostid.c (gethostid): Likewise.
47085         * misc/getpagesize.c (__getpagesize): Likewise.
47086         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47087         (__get_nprocs): Likewise.
47088         (__get_phys_pages): Likewise.
47089         (__get_avphys_pages): Likewise.
47090         * misc/getttyent.c (getttyent): Likewise.
47091         (setttyent): Likewise.
47092         (endttyent): Likewise.
47093         * misc/getusershell.c (getusershell): Likewise.
47094         (endusershell): Likewise.
47095         (setusershell): Likewise.
47096         (initshells): Likewise.
47097         * misc/hsearch.c (__hdestroy): Likewise.
47098         * misc/sync.c (sync): Likewise.
47099         * misc/syslog.c (closelog_internal): Likewise.
47100         (closelog): Likewise.
47101         * misc/ttyslot.c (ttyslot): Likewise.
47102         * misc/vhangup.c (vhangup): Likewise.
47103         * posix/fork.c (__fork): Likewise.
47104         * posix/getegid.c (__getegid): Likewise.
47105         * posix/geteuid.c (__geteuid): Likewise.
47106         * posix/getgid.c (__getgid): Likewise.
47107         * posix/getpid.c (__getpid): Likewise.
47108         * posix/getppid.c (__getppid): Likewise.
47109         * posix/getuid.c (__getuid): Likewise.
47110         * posix/pause.c (pause): Likewise.
47111         * posix/setpgrp.c (setpgrp): Likewise.
47112         * posix/setsid.c (__setsid): Likewise.
47113         * posix/test-vfork.c (noop): Likewise.
47114         * resolv/gethnamaddr.c (_endhtent): Likewise.
47115         (_gethtent): Likewise.
47116         (ht_endhostent): Likewise.
47117         (gethostent): Likewise.
47118         (dns_service): Likewise.
47119         * stdlib/drand48.c (drand48): Likewise.
47120         * stdlib/lrand48.c (lrand48): Likewise.
47121         * stdlib/mrand48.c (mrand48): Likewise.
47122         * stdlib/rand.c (rand): Likewise.
47123         * stdlib/random.c (__random): Likewise.
47124         * stdlib/setenv.c (clearenv): Likewise.
47125         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47126         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47127         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47128         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47129         (__get_nprocs): Likewise.
47130         (__get_phys_pages): Likewise.
47131         (__get_avphys_pages): Likewise.
47132         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47133         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47134         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47135         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47136         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47137         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47138         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47139         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47140         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47141         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47142         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47143         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47144         * sysdeps/posix/clock.c (clock): Likewise.
47145         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47146         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47147         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47148         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47149         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47151         (__get_nprocs_conf): Likewise.
47152         (__get_phys_pages): Likewise.
47153         (__get_avphys_pages): Likewise.
47154         * time/clock.c (clock): Likewise.
47155         * time/tzset.c (__tzname_max): Likewise.
47157 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47159         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47160         (__bswap_32): Do not use "register".
47161         * crypt/crypt.c (_ufc_doit_r): Likewise.
47162         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47163         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47164         * gmon/gmon.c (__monstartup): Likewise.
47165         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47166         * hurd/hurdmalloc.c (more_memory): Likewise.
47167         (malloc): Likewise.
47168         (free): Likewise.
47169         (realloc): Likewise.
47170         (malloc_fork_prepare): Likewise.
47171         (malloc_fork_parent): Likewise.
47172         (malloc_fork_child): Likewise.
47173         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47174         (_svcauth_des): Likewise.
47175         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47176         * inet/inet_net.c (inet_network): Likewise.
47177         * inet/inet_netof.c (inet_netof): Likewise.
47178         * inet/rcmd.c (__validuser2_sa): Likewise.
47179         * io/fts.c (fts_open): Likewise.
47180         (fts_load): Likewise.
47181         (fts_close): Likewise.
47182         (fts_read): Likewise.
47183         (fts_children): Likewise.
47184         (fts_build): Likewise.
47185         (fts_stat): Likewise.
47186         (fts_sort): Likewise.
47187         (fts_alloc): Likewise.
47188         (fts_lfree): Likewise.
47189         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47190         (_IO_file_xsgetn): Likewise.
47191         (_IO_file_xsgetn_mmap): Likewise.
47192         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47193         (_IO_cookie_write): Likewise.
47194         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47195         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47196         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47197         * malloc/obstack.c (_obstack_begin): Likewise.
47198         (_obstack_begin_1): Likewise.
47199         (_obstack_newchunk): Likewise.
47200         (_obstack_allocated_p): Likewise.
47201         (obstack_free): Likewise.
47202         (_obstack_memory_used): Likewise.
47203         * misc/getttyent.c (getttynam): Likewise.
47204         (getttyent): Likewise.
47205         (skip): Likewise.
47206         (value): Likewise.
47207         * misc/getusershell.c (initshells): Likewise.
47208         * misc/syslog.c (__vsyslog_chk): Likewise.
47209         * misc/ttyslot.c (ttyslot): Likewise.
47210         * nis/nis_hash.c (__nis_hash): Likewise.
47211         * posix/fnmatch_loop.c (FCT): Likewise.
47212         * posix/getconf.c (print_all): Likewise.
47213         (main): Likewise.
47214         * posix/getopt.c (exchange): Likewise.
47215         * posix/glob.c (globfree): Likewise.
47216         (prefix_array): Likewise.
47217         (__glob_pattern_type): Likewise.
47218         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47219         (NS_GET32): Likewise.
47220         (NS_PUT16): Likewise.
47221         (NS_PUT32): Likewise.
47222         * resolv/gethnamaddr.c (getanswer): Likewise.
47223         (gethostbyname2): Likewise.
47224         (gethostbyaddr): Likewise.
47225         (_gethtent): Likewise.
47226         (_gethtbyname2): Likewise.
47227         (_gethtbyaddr): Likewise.
47228         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47229         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47230         * resolv/res_init.c (__res_vinit): Likewise.
47231         (net_mask): Likewise.
47232         * resolv/res_mkquery.c (outchar): Likewise.
47233         (PRINT): Likewise.
47234         * stdio-common/printf_fp.c (outchar): Likewise.
47235         (PRINT): Likewise.
47236         * stdio-common/printf_fphex.c (outchar): Likewise.
47237         (PRINT): Likewise.
47238         * stdio-common/printf_size.c (outchar): Likewise.
47239         (PRINT): Likewise.
47240         * stdio-common/test_rdwr.c (main): Likewise.
47241         * stdio-common/tfformat.c (matches): Likewise.
47242         * stdio-common/vfprintf.c (outchar): Likewise.
47243         (printf_unknown): Likewise.
47244         (buffered_vfprintf): Likewise.
47245         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47246         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47247         (ReadFile): Likewise.
47248         * stdlib/qsort.c (SWAP): Likewise.
47249         (_quicksort): Likewise.
47250         * stdlib/setenv.c (__add_to_environ): Likewise.
47251         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47252         * stdlib/strtol_l.c (__strtol_l): Likewise.
47253         * stdlib/tst-strtod.c (main): Likewise.
47254         * stdlib/tst-strtol.c (main): Likewise.
47255         * stdlib/tst-strtoll.c (main): Likewise.
47256         * string/bits/string2.h (__strcmp_cc): Likewise.
47257         (__strcmp_cg): Likewise.
47258         (__strcspn_c1): Likewise.
47259         (__strcspn_c2): Likewise.
47260         (__strcspn_c3): Likewise.
47261         (__strspn_c1): Likewise.
47262         (__strspn_c2): Likewise.
47263         (__strspn_c3): Likewise.
47264         (__strsep_1c): Likewise.
47265         (__strsep_2c): Likewise.
47266         (__strsep_3c): Likewise.
47267         * string/memccpy.c (__memccpy): Likewise.
47268         * string/stpcpy.c (__stpcpy): Likewise.
47269         * string/strcmp.c (strcmp): Likewise.
47270         * string/strrchr.c (strrchr): Likewise.
47271         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47272         Likewise.
47273         * sysdeps/mach/hurd/getcwd.c
47274         (_hurd_canonicalize_directory_name_internal): Likewise.
47275         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47276         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47277         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47278         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47279         Likewise, in both definitions.
47280         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47281         definitions.
47282         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47283         64] (__bswap_64): Likewise.
47284         * time/test_time.c (main): Likewise.
47285         * time/tzfile.c (__tzfile_read): Likewise.
47286         (__tzfile_compute): Likewise.
47287         * time/tzset.c (__tzset_parse_tz): Likewise.
47288         (tzset_internal): Likewise.
47289         (compute_change): Likewise.
47290         * wcsmbs/wcscat.c (__wcscat): Likewise.
47291         * wcsmbs/wcschr.c (wcschr): Likewise.
47292         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47293         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47294         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47295         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47296         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47297         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47298         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47299         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47300         * wcsmbs/wmemset.c (wmemset): Likewise.
47302 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47304         * scripts/config.guess: Update to version 2013-05-16.
47305         * scripts/config.sub: Update to version 2013-04-24.
47306         * scripts/install-sh: Update to version 2011-11-20.07.
47307         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47308         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47310 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47312         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47313         * elf/sln.c: Likewise.
47314         * hurd/hurd/ioctl.h: Likewise.
47315         * hurd/hurdmalloc.c: Likewise.
47316         * hurd/xattr.c: Likewise.
47317         * include/shlib-compat.h: Likewise.
47318         * inet/ruserpass.c: Likewise.
47319         * libio/iofgets_u.c: Likewise.
47320         * libio/iofgetws_u.c: Likewise.
47321         * locale/programs/ld-identification.c: Likewise.
47322         * locale/programs/ld-time.c: Likewise.
47323         * mach/msg-destroy.c: Likewise.
47324         * nss/nss_files/files-netgrp.c: Likewise.
47325         * resolv/res_data.c: Likewise.
47326         * soft-fp/op-1.h: Likewise.
47327         * soft-fp/op-2.h: Likewise.
47328         * soft-fp/op-4.h: Likewise.
47329         * soft-fp/op-common.h: Likewise.
47330         * stdio-common/printf_fphex.c: Likewise.
47331         * stdlib/strtod_l.c: Likewise.
47332         * sunrpc/rpc/clnt.h: Likewise.
47333         * sysdeps/generic/framestate.c: Likewise.
47334         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47335         * sysdeps/i386/bsd-setjmp.S: Likewise.
47336         * sysdeps/i386/__longjmp.S: Likewise.
47337         * sysdeps/i386/setjmp.S: Likewise.
47338         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47339         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47340         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47341         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47343         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47345         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47346         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47347         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47348         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47349         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47350         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47351         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47352         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47354         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47355         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47356         * sysdeps/ieee754/support.c: Likewise.
47357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47358         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47359         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47360         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47361         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47362         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47363         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47364         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47365         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47366         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47367         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47368         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47369         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47370         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47371         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47372         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47373         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47376 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47378         * posix/transbug.c: Remove executable mode.
47380 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47382         * crypt/speeds.c: Remove trailing whitespace.
47383         * dlfcn/default.c: Likewise.
47384         * elf/ifuncdep2.c: Likewise.
47385         * elf/ifuncmain1.c: Likewise.
47386         * elf/ifuncmain1vis.c: Likewise.
47387         * elf/testobj.h: Likewise.
47388         * elf/tst-stackguard1.c: Likewise.
47389         * gmon/sys/gmon.h: Likewise.
47390         * hurd/hurdmsg.c: Likewise.
47391         * hurd/new-fd.c: Likewise.
47392         * hurd/ports-get.c: Likewise.
47393         * iconvdata/ibm1008_420.c: Likewise.
47394         * inet/tst-getni1.c: Likewise.
47395         * inet/tst-getni2.c: Likewise.
47396         * libio/ioungetc.c: Likewise.
47397         * libio/wfiledoalloc.c: Likewise.
47398         * manual/libm-err-tab.pl: Likewise.
47399         * math/w_dremf.c: Likewise.
47400         * misc/ftruncate.c: Likewise.
47401         * posix/bug-glob2.c: Likewise.
47402         * posix/tst-pcre.c: Likewise.
47403         * posix/wait4.c: Likewise.
47404         * resolv/README: Likewise.
47405         * resolv/res_debug.h: Likewise.
47406         * resolv/tst-inet_ntop.c: Likewise.
47407         * setjmp/bug269-setjmp.c: Likewise.
47408         * soft-fp/extended.h: Likewise.
47409         * soft-fp/op-1.h: Likewise.
47410         * soft-fp/op-2.h: Likewise.
47411         * soft-fp/op-4.h: Likewise.
47412         * soft-fp/op-8.h: Likewise.
47413         * soft-fp/testit.c: Likewise.
47414         * stdio-common/bug16.c: Likewise.
47415         * stdlib/random.c: Likewise.
47416         * sunrpc/rpcsvc/rquota.x: Likewise.
47417         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47418         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47420         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47421         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47422         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47423         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47424         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47425         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47426         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47427         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47428         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47429         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47430         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47431         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47432         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47433         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47435         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47436         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47437         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47438         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47439         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47444         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47446         * sysdeps/ieee754/s_lib_version.c: Likewise.
47447         * sysdeps/mach/hurd/check_fds.c: Likewise.
47448         * sysdeps/mach/hurd/getsockname.c: Likewise.
47449         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47450         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47451         * sysdeps/powerpc/bits/link.h: Likewise.
47452         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47453         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47454         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47455         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47456         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47457         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47458         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47459         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47460         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47461         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47462         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47463         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47464         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47465         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47466         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47467         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47468         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47469         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47470         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47471         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47473         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47475         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47476         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47477         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47478         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47479         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47480         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47481         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47482         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47483         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47485         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47486         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47487         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47488         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47489         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47490         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47491         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47492         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47493         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47494         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47495         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47496         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47497         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47498         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47499         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47500         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47501         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47502         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47505         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47506         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47507         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47508         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47509         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47510         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47511         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47512         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47513         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47514         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47515         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47516         * sysdeps/powerpc/sysdep.h: Likewise.
47517         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47518         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47519         * sysdeps/sh/dl-trampoline.S: Likewise.
47520         * sysdeps/sh/memset.S: Likewise.
47521         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47522         * sysdeps/sh/strlen.S: Likewise.
47523         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47524         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47525         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47526         * sysdeps/sparc/sparc32/rem.S: Likewise.
47527         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47528         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47529         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47530         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47531         * sysdeps/sparc/sparc32/urem.S: Likewise.
47532         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47533         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47534         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47535         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47536         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47537         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47538         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47539         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47540         * sysdeps/unix/bsd/times.c: Likewise.
47541         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47542         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47546         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47547         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47548         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47549         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47550         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47551         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47552         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47553         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47554         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47555         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47556         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47557         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47558         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47559         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47560         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47561         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47562         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47563         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47566         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47567         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47568         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47569         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47570         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47571         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47572         * sysdeps/x86_64/strcspn.S: Likewise.
47574 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47576         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47577         generated file.  Regenerate properly from gen-translit.pl.
47578         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47579         locale/C-translit.h.
47581 2013-06-05  Andreas Schwab  <schwab@suse.de>
47583         [BZ #15100]
47584         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47585         week as 6 instead of -1.
47586         * time/tst-strptime.c (day_tests): Add test case.
47588 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47590         * sysdeps/generic/math_private.h
47591         (libc_feholdexcept_setround_53bit): Replace with
47592         libc_feholdsetround_53bit.
47593         (libc_feupdateenv_53bit): Replace with
47594         libc_feresetround_53bit.
47595         (SET_RESTORE_ROUND_53BIT): Adjust.
47597 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47599         * string/test-strchrnul.c: Add copyright header.
47601         * posix/tst-getaddrinfo4.c: Increase test timeout.
47603 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47605         [BZ #15536]
47606         * math/libm-test.inc (MAX_EXP): Remove
47607         (MIN_EXP): Define.
47608         (ulp): Use MIN_EXP - MANT_DIG.
47609         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47611 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47613         * po/be.po: Revert last change.
47614         * po/zh_CN.po: Likewise.
47615         * po/header.pot: Likewise.
47617 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47619         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47620         link-libc-deps to empty as target-specific variable.
47621         * Makerules (link-libc-args): New variable.
47622         (libc-for-link): Likewise.
47623         (link-libc-deps): Likewise.
47624         (lib%.so): Depend on $(link-libc-deps).  Link with
47625         $(link-libc-args).
47626         (build-module): Link with $(link-libc-args).
47627         (build-module-asneeded): Likewise.
47628         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47629         list of objects.
47630         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47631         target-specific variable.
47632         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47633         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47634         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47635         libc.
47636         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47637         libc and ld.so.
47638         ($(objpfx)libpcprofile.so): Likewise.
47639         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47640         libc_nonshared.a.
47641         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47642         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47643         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47644         $(link-libc-deps).
47645         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47646         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47647         * login/Makefile ($(objpfx)libutil.so): Likewise.
47648         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47649         * math/Makefile ($(objpfx)libm.so): Likewise.
47650         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47651         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47652         variable instead of depending directly on libc.
47653         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47654         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47655         $(link-libc-deps).
47656         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47657         libc.
47658         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47659         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47660         ($(objpfx)libanl.so): Likewise.
47661         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47662         ld.so.
47663         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47664         $(link-libc-deps).
47665         * sysdeps/i386/fpu/Makefile: Remove file.
47666         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47667         ($(objpfx)libm.so): Remove dependency on ld.so.
47669 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47671         [BZ # 15553]
47672         * nis/yp_xdr.c (XDRMAXNAME): Define.
47673         (XDRMAXRECORD): Define.
47674         (xdr_domainname): Use XDRMAXNAME.
47675         (xdr_mapname): Likewise.
47676         (xdr_peername): Likewise.
47677         (xdr_keydat): Use XDRMAXRECORD.
47678         (xdr_valdat): Likewise.
47680 2013-05-30  Jeff Law  <law@redhat.com>
47682         [BZ #14256]
47683         * manual/errno.texi (ESTALE): Update to account for more than
47684         just NFS file systems.
47685         * sysdeps/gnu/errlist.c: Regenerated.
47687 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47689         [BZ #15465]
47690         * elf/Makefile (tests): Add tst-null-argv.
47691         (modules-names):  Add tst-null-argv-lib.
47692         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47693         (tst-null-argv-ENV): Set environment for tst-null-argv.
47694         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47695         (RTLD_PROGNAME): New macro.
47696         * elf/tst-null-argv.c: New test case.
47697         * elf/tst-null-argv-lib.c: Library for test case.
47698         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47699         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47700         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47701         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47702         * elf/dl-init.c (call_init): Likewise.
47703         (_dl_init): Likewise.
47704         * elf/dl-load.c (print_search_path): Likewise.
47705         (_dl_map_object): Likewise.
47706         * elf/dl-lookup.c (do_lookup_x): Likewise.
47707         (add_dependency): Likewise.
47708         (_dl_lookup_symbol_x): Likewise.
47709         (_dl_debug_bindings): Likewise.
47710         * elf/dl-open.c (_dl_show_scope): Likewise.
47711         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47712         * elf/dl-version.c (match_symbol): Likewise.
47713         (_dl_check_map_versions): Likewise.
47714         * elf/rtld.c (dl_main): Likewise.
47715         (print_unresolved): Use RTLD_PROGNAME.
47716         (print_missing_version): Likewise.
47717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47718         (elf_machine_rela): Likewise.
47719         * sysdeps/powerpc/powerpc32/dl-machine.c
47720         (__process_machine_rela): Likewise.
47721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47722         Likewise.
47723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47724         Likewise.
47725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47726         Likewise.
47727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47729         Likewise.
47730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47731         Likewise.
47732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47734 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47736         * po/be.po: Add descriptive title.
47737         * po/zh_CN.po: Likewise.
47738         * po/header.pot: Likewise.
47740 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47742         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47743         error message.
47744         (enlarge_archive): Likewise.
47746 2013-05-28  Ben North  <ben@redfrontdoor.org>
47748         * manual/arith.texi (frexp): It is the magnitude of the return
47749         value which lies in [0.5, 1), not the return value itself.
47751 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47755 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47757         * stdio-common/bug26.c (main): Correct fscanf template.
47759         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47760         declare _dl_skip_args.
47762         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47763         Don't declare.
47765         * manual/platform.texi: Add missing @end deftypefun.
47767 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47769         [BZ #15529]
47770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47771         bit of mantissa of 2^16382.
47772         * math/libm-test.inc (hypot_test_data): Add more tests.
47774         * math/libm-test.inc: Add drem and pow10 to list of tested
47775         functions.
47776         (pow10_test): New function.
47777         (drem_test): Likewise.
47778         (drem_test_tonearest): Likewise.
47779         (drem_test_towardzero): Likewise.
47780         (drem_test_downward): Likewise.
47781         (drem_test_upward): Likewise.
47782         (main): Call the new functions.
47784         * math/libm-test.inc (finite_test_data): Remove.
47785         (finite_test): Run tests from isfinite_test_data.
47786         (gamma_test_data): Remove.
47787         (gamma_test): Run tests from lgamma_test_data.
47788         * sysdeps/i386/fpu/libm-test-ulps: Update.
47789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47791 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47793         * manual/platform.texi: Add PowerPC PPR function set documentation.
47794         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47795         implementation.
47797 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47799         * math/libm-test.inc (MAX_EXP): Define.
47800         (ULPDIFF): Define.
47801         (ulp): New function.
47802         (check_float_internal): Use ULPDIFF.
47803         (cpow_test): Disable failing test.
47804         (check_ulp): Test ulp() implemetnation.
47805         (main): Call check_ulp before starting tests.
47807 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47809         * math/gen-libm-test.pl (generate_testfile): Do not handle
47810         START_DATA and END_DATA.
47811         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47812         END_DATA.
47813         (acos_tonearest_test_data): Likewise.
47814         (acos_towardzero_test_data): Likewise.
47815         (acos_downward_test_data): Likewise.
47816         (acos_upward_test_data): Likewise.
47817         (acosh_test_data): Likewise.
47818         (asin_test_data): Likewise.
47819         (asin_tonearest_test_data): Likewise.
47820         (asin_towardzero_test_data): Likewise.
47821         (asin_downward_test_data): Likewise.
47822         (asin_upward_test_data): Likewise.
47823         (asinh_test_data): Likewise.
47824         (atan_test_data): Likewise.
47825         (atanh_test_data): Likewise.
47826         (atan2_test_data): Likewise.
47827         (cabs_test_data): Likewise.
47828         (cacos_test_data): Likewise.
47829         (cacosh_test_data): Likewise.
47830         (carg_test_data): Likewise.
47831         (casin_test_data): Likewise.
47832         (casinh_test_data): Likewise.
47833         (catan_test_data): Likewise.
47834         (catanh_test_data): Likewise.
47835         (cbrt_test_data): Likewise.
47836         (ccos_test_data): Likewise.
47837         (ccosh_test_data): Likewise.
47838         (ceil_test_data): Likewise.
47839         (cexp_test_data): Likewise.
47840         (cimag_test_data): Likewise.
47841         (clog_test_data): Likewise.
47842         (clog10_test_data): Likewise.
47843         (conj_test_data): Likewise.
47844         (copysign_test_data): Likewise.
47845         (cos_test_data): Likewise.
47846         (cos_tonearest_test_data): Likewise.
47847         (cos_towardzero_test_data): Likewise.
47848         (cos_downward_test_data): Likewise.
47849         (cos_upward_test_data): Likewise.
47850         (cosh_test_data): Likewise.
47851         (cosh_tonearest_test_data): Likewise.
47852         (cosh_towardzero_test_data): Likewise.
47853         (cosh_downward_test_data): Likewise.
47854         (cosh_upward_test_data): Likewise.
47855         (cpow_test_data): Likewise.
47856         (cproj_test_data): Likewise.
47857         (creal_test_data): Likewise.
47858         (csin_test_data): Likewise.
47859         (csinh_test_data): Likewise.
47860         (csqrt_test_data): Likewise.
47861         (ctan_test_data): Likewise.
47862         (ctan_tonearest_test_data): Likewise.
47863         (ctan_towardzero_test_data): Likewise.
47864         (ctan_downward_test_data): Likewise.
47865         (ctan_upward_test_data): Likewise.
47866         (ctanh_test_data): Likewise.
47867         (ctanh_tonearest_test_data): Likewise.
47868         (ctanh_towardzero_test_data): Likewise.
47869         (ctanh_downward_test_data): Likewise.
47870         (ctanh_upward_test_data): Likewise.
47871         (erf_test_data): Likewise.
47872         (erfc_test_data): Likewise.
47873         (exp_test_data): Likewise.
47874         (exp_tonearest_test_data): Likewise.
47875         (exp_towardzero_test_data): Likewise.
47876         (exp_downward_test_data): Likewise.
47877         (exp_upward_test_data): Likewise.
47878         (exp10_test_data): Likewise.
47879         (exp2_test_data): Likewise.
47880         (expm1_test_data): Likewise.
47881         (fabs_test_data): Likewise.
47882         (fdim_test_data): Likewise.
47883         (finite_test_data): Likewise.
47884         (floor_test_data): Likewise.
47885         (fma_test_data): Likewise.
47886         (fma_towardzero_test_data): Likewise.
47887         (fma_downward_test_data): Likewise.
47888         (fma_upward_test_data): Likewise.
47889         (fmax_test_data): Likewise.
47890         (fmin_test_data): Likewise.
47891         (fmod_test_data): Likewise.
47892         (fpclassify_test_data): Likewise.
47893         (frexp_test_data): Likewise.
47894         (gamma_test_data): Likewise.
47895         (hypot_test_data): Likewise.
47896         (ilogb_test_data): Likewise.
47897         (isfinite_test_data): Likewise.
47898         (isgreater_test_data): Likewise.
47899         (isgreaterequal_test_data): Likewise.
47900         (isinf_test_data): Likewise.
47901         (isless_test_data): Likewise.
47902         (islessequal_test_data): Likewise.
47903         (islessgreater_test_data): Likewise.
47904         (isnan_test_data): Likewise.
47905         (isnormal_test_data): Likewise.
47906         (issignaling_test_data): Likewise.
47907         (isunordered_test_data): Likewise.
47908         (j0_test_data): Likewise.
47909         (j1_test_data): Likewise.
47910         (jn_test_data): Likewise.
47911         (ldexp_test_data): Likewise.
47912         (lgamma_test_data): Likewise.
47913         (lrint_test_data): Likewise.
47914         (lrint_tonearest_test_data): Likewise.
47915         (lrint_towardzero_test_data): Likewise.
47916         (lrint_downward_test_data): Likewise.
47917         (lrint_upward_test_data): Likewise.
47918         (llrint_test_data): Likewise.
47919         (llrint_tonearest_test_data): Likewise.
47920         (llrint_towardzero_test_data): Likewise.
47921         (llrint_downward_test_data): Likewise.
47922         (llrint_upward_test_data): Likewise.
47923         (log_test_data): Likewise.
47924         (log10_test_data): Likewise.
47925         (log1p_test_data): Likewise.
47926         (log2_test_data): Likewise.
47927         (logb_test_data): Likewise.
47928         (logb_downward_test_data): Likewise.
47929         (lround_test_data): Likewise.
47930         (llround_test_data): Likewise.
47931         (modf_test_data): Likewise.
47932         (nearbyint_test_data): Likewise.
47933         (nextafter_test_data): Likewise.
47934         (nexttoward_test_data): Likewise.
47935         (pow_test_data): Likewise.
47936         (pow_tonearest_test_data): Likewise.
47937         (pow_towardzero_test_data): Likewise.
47938         (pow_downward_test_data): Likewise.
47939         (pow_upward_test_data): Likewise.
47940         (remainder_test_data): Likewise.
47941         (remainder_tonearest_test_data): Likewise.
47942         (remainder_towardzero_test_data): Likewise.
47943         (remainder_downward_test_data): Likewise.
47944         (remainder_upward_test_data): Likewise.
47945         (remquo_test_data): Likewise.
47946         (rint_test_data): Likewise.
47947         (rint_tonearest_test_data): Likewise.
47948         (rint_towardzero_test_data): Likewise.
47949         (rint_downward_test_data): Likewise.
47950         (rint_upward_test_data): Likewise.
47951         (round_test_data): Likewise.
47952         (scalb_test_data): Likewise.
47953         (scalbn_test_data): Likewise.
47954         (scalbln_test_data): Likewise.
47955         (signbit_test_data): Likewise.
47956         (sin_test_data): Likewise.
47957         (sin_tonearest_test_data): Likewise.
47958         (sin_towardzero_test_data): Likewise.
47959         (sin_downward_test_data): Likewise.
47960         (sin_upward_test_data): Likewise.
47961         (sincos_test_data): Likewise.
47962         (sinh_test_data): Likewise.
47963         (sinh_tonearest_test_data): Likewise.
47964         (sinh_towardzero_test_data): Likewise.
47965         (sinh_downward_test_data): Likewise.
47966         (sinh_upward_test_data): Likewise.
47967         (sqrt_test_data): Likewise.
47968         (tan_test_data): Likewise.
47969         (tan_tonearest_test_data): Likewise.
47970         (tan_towardzero_test_data): Likewise.
47971         (tan_downward_test_data): Likewise.
47972         (tan_upward_test_data): Likewise.
47973         (tanh_test_data): Likewise.
47974         (tgamma_test_data): Likewise.
47975         (trunc_test_data): Likewise.
47976         (y0_test_data): Likewise.
47977         (y1_test_data): Likewise.
47978         (yn_test_data): Likewise.
47979         (significand_test_data): Likewise.
47981         * math/gen-libm-test.pl (@functions): Remove variable.
47982         (generate_testfile): Don't handle START and END lines.
47983         * math/libm-test.inc (START): New macro.
47984         (END): Likewise.
47985         (END_COMPLEX): Likewise.
47986         (acos_test): Use END macro without arguments.
47987         (acos_test_tonearest): Likewise.
47988         (acos_test_towardzero): Likewise.
47989         (acos_test_downward): Likewise.
47990         (acos_test_upward): Likewise.
47991         (acosh_test): Likewise.
47992         (asin_test): Likewise.
47993         (asin_test_tonearest): Likewise.
47994         (asin_test_towardzero): Likewise.
47995         (asin_test_downward): Likewise.
47996         (asin_test_upward): Likewise.
47997         (asinh_test): Likewise.
47998         (atan_test): Likewise.
47999         (atanh_test): Likewise.
48000         (atan2_test): Likewise.
48001         (cabs_test): Likewise.
48002         (cacos_test): Use END_COMPLEX macro without arguments.
48003         (cacosh_test): Likewise.
48004         (carg_test): Use END macro without arguments.
48005         (casin_test): Use END_COMPLEX macro without arguments.
48006         (casinh_test): Likewise.
48007         (catan_test): Likewise.
48008         (catanh_test): Likewise.
48009         (cbrt_test): Use END macro without arguments.
48010         (ccos_test): Use END_COMPLEX macro without arguments.
48011         (ccosh_test): Likewise.
48012         (ceil_test): Use END macro without arguments.
48013         (cexp_test): Use END_COMPLEX macro without arguments.
48014         (cimag_test): Use END macro without arguments.
48015         (clog_test): Use END_COMPLEX macro without arguments.
48016         (clog10_test): Likewise.
48017         (conj_test): Likewise.
48018         (copysign_test): Use END macro without arguments.
48019         (cos_test): Likewise.
48020         (cos_test_tonearest): Likewise.
48021         (cos_test_towardzero): Likewise.
48022         (cos_test_downward): Likewise.
48023         (cos_test_upward): Likewise.
48024         (cosh_test): Likewise.
48025         (cosh_test_tonearest): Likewise.
48026         (cosh_test_towardzero): Likewise.
48027         (cosh_test_downward): Likewise.
48028         (cosh_test_upward): Likewise.
48029         (cpow_test): Use END_COMPLEX macro without arguments.
48030         (cproj_test): Likewise.
48031         (creal_test): Use END macro without arguments.
48032         (csin_test): Use END_COMPLEX macro without arguments.
48033         (csinh_test): Likewise.
48034         (csqrt_test): Likewise.
48035         (ctan_test): Likewise.
48036         (ctan_test_tonearest): Likewise.
48037         (ctan_test_towardzero): Likewise.
48038         (ctan_test_downward): Likewise.
48039         (ctan_test_upward): Likewise.
48040         (ctanh_test): Likewise.
48041         (ctanh_test_tonearest): Likewise.
48042         (ctanh_test_towardzero): Likewise.
48043         (ctanh_test_downward): Likewise.
48044         (ctanh_test_upward): Likewise.
48045         (erf_test): Use END macro without arguments.
48046         (erfc_test): Likewise.
48047         (exp_test): Likewise.
48048         (exp_test_tonearest): Likewise.
48049         (exp_test_towardzero): Likewise.
48050         (exp_test_downward): Likewise.
48051         (exp_test_upward): Likewise.
48052         (exp10_test): Likewise.
48053         (exp2_test): Likewise.
48054         (expm1_test): Likewise.
48055         (fabs_test): Likewise.
48056         (fdim_test): Likewise.
48057         (finite_test): Likewise.
48058         (floor_test): Likewise.
48059         (fma_test): Likewise.
48060         (fma_test_towardzero): Likewise.
48061         (fma_test_downward): Likewise.
48062         (fma_test_upward): Likewise.
48063         (fmax_test): Likewise.
48064         (fmin_test): Likewise.
48065         (fmod_test): Likewise.
48066         (fpclassify_test): Likewise.
48067         (frexp_test): Likewise.
48068         (gamma_test): Likewise.
48069         (hypot_test): Likewise.
48070         (ilogb_test): Likewise.
48071         (isfinite_test): Likewise.
48072         (isgreater_test): Likewise.
48073         (isgreaterequal_test): Likewise.
48074         (isinf_test): Likewise.
48075         (isless_test): Likewise.
48076         (islessequal_test): Likewise.
48077         (islessgreater_test): Likewise.
48078         (isnan_test): Likewise.
48079         (isnormal_test): Likewise.
48080         (issignaling_test): Likewise.
48081         (isunordered_test): Likewise.
48082         (j0_test): Likewise.
48083         (j1_test): Likewise.
48084         (jn_test): Likewise.
48085         (ldexp_test): Likewise.
48086         (lgamma_test): Likewise.
48087         (lrint_test): Likewise.
48088         (lrint_test_tonearest): Likewise.
48089         (lrint_test_towardzero): Likewise.
48090         (lrint_test_downward): Likewise.
48091         (lrint_test_upward): Likewise.
48092         (llrint_test): Likewise.
48093         (llrint_test_tonearest): Likewise.
48094         (llrint_test_towardzero): Likewise.
48095         (llrint_test_downward): Likewise.
48096         (llrint_test_upward): Likewise.
48097         (log_test): Likewise.
48098         (log10_test): Likewise.
48099         (log1p_test): Likewise.
48100         (log2_test): Likewise.
48101         (logb_test): Likewise.
48102         (logb_test_downward): Likewise.
48103         (lround_test): Likewise.
48104         (llround_test): Likewise.
48105         (modf_test): Likewise.
48106         (nearbyint_test): Likewise.
48107         (nextafter_test): Likewise.
48108         (nexttoward_test): Likewise.
48109         (pow_test): Likewise.
48110         (pow_test_tonearest): Likewise.
48111         (pow_test_towardzero): Likewise.
48112         (pow_test_downward): Likewise.
48113         (pow_test_upward): Likewise.
48114         (remainder_test): Likewise.
48115         (remainder_test_tonearest): Likewise.
48116         (remainder_test_towardzero): Likewise.
48117         (remainder_test_downward): Likewise.
48118         (remainder_test_upward): Likewise.
48119         (remquo_test): Likewise.
48120         (rint_test): Likewise.
48121         (rint_test_tonearest): Likewise.
48122         (rint_test_towardzero): Likewise.
48123         (rint_test_downward): Likewise.
48124         (rint_test_upward): Likewise.
48125         (round_test): Likewise.
48126         (scalb_test): Likewise.
48127         (scalbn_test): Likewise.
48128         (scalbln_test): Likewise.
48129         (signbit_test): Likewise.
48130         (sin_test): Likewise.
48131         (sin_test_tonearest): Likewise.
48132         (sin_test_towardzero): Likewise.
48133         (sin_test_downward): Likewise.
48134         (sin_test_upward): Likewise.
48135         (sincos_test): Likewise.
48136         (sinh_test): Likewise.
48137         (sinh_test_tonearest): Likewise.
48138         (sinh_test_towardzero): Likewise.
48139         (sinh_test_downward): Likewise.
48140         (sinh_test_upward): Likewise.
48141         (sqrt_test): Likewise.
48142         (tan_test): Likewise.
48143         (tan_test_tonearest): Likewise.
48144         (tan_test_towardzero): Likewise.
48145         (tan_test_downward): Likewise.
48146         (tan_test_upward): Likewise.
48147         (tanh_test): Likewise.
48148         (tgamma_test): Likewise.
48149         (trunc_test): Likewise.
48150         (y0_test): Likewise.
48151         (y1_test): Likewise.
48152         (yn_test): Likewise.
48153         (significand_test): Likewise.
48155 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48157         [BZ #15381]
48158         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48160 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48162         [BZ #14894]
48163         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48164         __ppc_mdoio and __ppc_mdoom.
48165         * manual/platform.texi: Document new functions __ppc_yield,
48166         __ppc_mdoio and __ppc_mdoom.
48168 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48170         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48171         (main): Mention "tls" pseudo-hwcap is legacy.
48172         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48174 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48176         * math/gen-libm-test.pl (parse_args): Output only string of
48177         arguments as text for test name, not full call or descriptions of
48178         tests for extra outputs.
48179         (generate_testfile): Do not pass function name to parse_args.
48180         Generate this_func variable from START.
48181         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48182         field to arg_str.
48183         (struct test_ff_f_data): Likewise.
48184         (test_ff_f_data_nexttoward): Likewise.
48185         (struct test_fi_f_data): Likewise.
48186         (struct test_fl_f_data): Likewise.
48187         (struct test_if_f_data): Likewise.
48188         (struct test_fff_f_data): Likewise.
48189         (struct test_c_f_data): Likewise.
48190         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48191         (struct test_fF_f1_data): Likewise.
48192         (struct test_ffI_f1_data): Likewise.
48193         (struct test_c_c_data): Rename test_name field to arg_str.
48194         (struct test_cc_c_data): Likewise.
48195         (struct test_f_i_data): Likewise.
48196         (struct test_ff_i_data): Likewise.
48197         (struct test_f_l_data): Likewise.
48198         (struct test_f_L_data): Likewise.
48199         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48200         and extra2_name.
48201         (COMMON_TEST_SETUP): New macro.
48202         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48203         (COMMON_TEST_CLEANUP): Likewise.
48204         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48205         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48206         macros.
48207         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48208         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48209         macros.
48210         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48211         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48212         cleanup macros.
48213         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48214         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48215         macros.
48216         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48217         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48218         macros.
48219         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48220         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48221         cleanup macros.
48222         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48223         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48224         cleanup macros.
48225         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48226         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48227         cleanup macros.
48228         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48229         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48230         macros.
48231         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48232         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48233         macros.
48234         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48235         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48236         macros.
48237         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48238         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48239         cleanup macros.
48240         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48241         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48242         cleanup macros.
48243         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48244         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48245         macros.
48246         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48247         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48248         cleanup macros.
48249         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48250         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48251         macros.
48252         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48253         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48254         macros.
48255         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48256         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48257         cleanup macros.
48258         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48260 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48262         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48263         to _sifields.sigfault.
48264         (si_addr_lsb): Define new macro.
48265         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48267         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48269 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48271         [BZ #15441]
48272         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48273         returns -1.
48274         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48275         null return -1.
48276         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48277         loading the domain.
48279 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48281         * math/gen-libm-test.pl (parse_args): Do not include expected
48282         result in test name.
48283         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48286         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48287         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48290 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48292         * benchtests/Makefile: Sort function entries.
48294         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48295         tanh, asinh, acosh, atanh.
48296         * benchtests/acos-inputs: New file.
48297         * benchtests/acosh-inputs: New file.
48298         * benchtests/asin-inputs: New file.
48299         * benchtests/asinh-inputs: New file.
48300         * benchtests/atanh-inputs: New file.
48301         * benchtests/cosh-inputs: New file.
48302         * benchtests/log-inputs: New file.
48303         * benchtests/sinh-inputs: New file.
48304         * benchtests/tanh-inputs: New file.
48306 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48308         [BZ #15339]
48309         * posix/tst-getaddrinfo4.c: New test.
48310         * posix/Makefile (tests): Add it.
48312 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48314         [BZ #15339]
48315         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48316         when no services were used.
48317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48318         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48320 2013-05-21  Andreas Schwab  <schwab@suse.de>
48322         [BZ #15014]
48323         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48324         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48325         successful.
48326         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48327         redundant variable declarations and reallocation of buffer when
48328         parsing as IPv6 address.  Always set NSS status when called from
48329         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48330         buffer too small.  Correct computation of needed size.
48331         * nss/Makefile (tests): Add test-digits-dots.
48332         * nss/test-digits-dots.c: New test.
48334 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48336         * benchtests/Makefile: Remove instructions for adding
48337         benchmark tests.
48338         * benchtests/README: New file to explain how to execute and
48339         enhance the benchmark tests.
48341 2013-05-21  Andreas Schwab  <schwab@suse.de>
48343         [BZ #15493]
48344         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48345         * setjmp/tst-sigsetjmp.c: New test.
48347 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48349         * sysdeps/x86_64/memset.S (memset): New implementation.
48350         (__bzero): Likewise.
48351         (__memset_tail): New function.
48353 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48355         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48356         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48357         __memcpy_sse2_unaligned ifunc selection.
48358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48359         Add memcpy-sse2-unaligned.S.
48360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48361         Add: __memcpy_sse2_unaligned.
48363 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48365         [BZ #15490]
48366         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48367         math_force_eval before restoring floating-point envrionment.
48368         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48370         Likewise.
48371         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48372         <math_private.h>.
48373         (__nearbyintl): Use math_force_eval before restoring
48374         floating-point environment.
48375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48377         * math/gen-libm-test.pl (special_functions): Remove.
48378         (parse_args): Don't handle TEST_extra.  Handle functions with no
48379         return value.
48380         * math/libm-test.inc (struct test_sincos_data): Replace with
48381         struct test_fFF_11_data.
48382         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48383         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48384         (sincos_test_data): Change element type to struct
48385         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48386         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48387         RUN_TEST_LOOP_sincos.
48388         * math/README.libm-test: Don't mention special handling of
48389         individual functions.
48390         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48391         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48392         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48393         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48394         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48397         * math/gen-libm-test.pl (get_variable): Remove function.
48398         (parse_args): Don't show pointer parameters to call in test
48399         names.  Use "extra output N" in test names for extra outputs
48400         rather than naming variables.
48402 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48404         [BZ #15488]
48405         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48406         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48407         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48408         double tests.
48409         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48410         disable.
48411         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48412         check_long_double.
48414         * math/gen-libm-test.pl (@tests): Remove variable.
48415         ($count): Likewise.
48416         (new_test): Remove function.
48417         (show_exceptions): New function.
48418         (special_functions): Use show_exceptions instead of new_test.
48419         (parse_args): Likewise.
48420         (generate_testfile): Pass only function name in generated call to
48421         print_max_error or print_complex_max_error.
48422         (get_ulps): Do not handle complex tests specially.
48423         (output_test): Rename to ...
48424         (get_all_ulps_for_test): ... this.  Return a string rather than
48425         printing to a file.  Require ulps to be present.
48426         (output_ulps): Generate arrays rather than #defines.
48427         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48428         (struct ulp_data): New type.
48429         (BUILD_COMPLEX_ULP): Remove macro.
48430         (compare_ulp_data): New function.
48431         (find_ulps): Likewise.
48432         (find_test_ulps): Likewise.
48433         (find_function_ulps): Likewise.
48434         (find_complex_function_ulps): Likewise.
48435         (print_max_error): Determine allowed ulps using
48436         find_function_ulps.
48437         (print_complex_max_error): Determine allowed ulps using
48438         find_complex_function_ulps.
48439         (check_float_internal): Determine max ulps using find_test_ulps.
48440         (check_float): Do not take max_ulp parameter.  Update call to
48441         check_float_internal.
48442         (check_complex): Likewise.
48443         (check_int): Do not take max_ulp parameter.
48444         (check_long): Likewise.
48445         (check_bool): Likewise.
48446         (check_longlong): Likewise.
48447         (struct test_f_f_data): Remove max_ulp field.
48448         (struct test_ff_f_data): Likewise.
48449         (struct test_ff_f_data_nexttoward): Likewise.
48450         (struct test_fi_f_data): Likewise.
48451         (struct test_fl_f_data): Likewise.
48452         (struct test_if_f_data): Likewise.
48453         (struct test_fff_f_data): Likewise.
48454         (struct test_c_f_data): Likewise.
48455         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48456         (struct test_fF_f1_data): Likewise.
48457         (struct test_ffI_f1_data): Likewise.
48458         (struct test_c_c_data): Remove max_ulp field.
48459         (struct test_cc_c_data): Likewise.
48460         (struct test_f_i_data): Likewise.
48461         (struct test_ff_i_data): Likewise.
48462         (struct test_f_l_data): Likewise.
48463         (struct test_f_L_data): Likewise.
48464         (struct test_sincos_data): Likewise.
48465         (RUN_TEST_f_f): Do not handle ulps.
48466         (RUN_TEST_LOOP_f_f): Likewise.
48467         (RUN_TEST_2_f): Likewise.
48468         (RUN_TEST_LOOP_2_f): Likewise.
48469         (RUN_TEST_fff_f): Likewise.
48470         (RUN_TEST_LOOP_fff_f): Likewise.
48471         (RUN_TEST_c_f): Likewise.
48472         (RUN_TEST_LOOP_c_f): Likewise.
48473         (RUN_TEST_f_f1): Likewise.
48474         (RUN_TEST_LOOP_f_f1): Likewise.
48475         (RUN_TEST_fF_f1): Likewise.
48476         (RUN_TEST_LOOP_fF_f1): Likewise.
48477         (RUN_TEST_fI_f1): Likewise.
48478         (RUN_TEST_LOOP_fI_f1): Likewise.
48479         (RUN_TEST_ffI_f1): Likewise.
48480         (RUN_TEST_LOOP_ffI_f1): Likewise.
48481         (RUN_TEST_c_c): Likewise.
48482         (RUN_TEST_LOOP_c_c): Likewise.
48483         (RUN_TEST_cc_c): Likewise.
48484         (RUN_TEST_LOOP_cc_c): Likewise.
48485         (RUN_TEST_f_i): Likewise.
48486         (RUN_TEST_LOOP_f_i): Likewise.
48487         (RUN_TEST_f_i_tg): Likewise.
48488         (RUN_TEST_LOOP_f_i_tg): Likewise.
48489         (RUN_TEST_ff_i_tg): Likewise.
48490         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48491         (RUN_TEST_f_b): Likewise.
48492         (RUN_TEST_LOOP_f_b): Likewise.
48493         (RUN_TEST_f_b_tg): Likewise.
48494         (RUN_TEST_LOOP_f_b_tg): Likewise.
48495         (RUN_TEST_f_l): Likewise.
48496         (RUN_TEST_LOOP_f_l): Likewise.
48497         (RUN_TEST_f_L): Likewise.
48498         (RUN_TEST_LOOP_f_L): Likewise.
48499         (RUN_TEST_sincos): Likewise.
48500         (RUN_TEST_LOOP_sincos): Likewise.
48502 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48504         [BZ #15480]
48505         [BZ #15485]
48506         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48507         main case of finite arguments, set rounding mode to FE_TONEAREST
48508         and discard exceptions.
48509         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48510         exceptions.
48511         (remainder_tonearest_test_data): New variable.
48512         (remainder_test_tonearest): New function.
48513         (remainder_towardzero_test_data): New variable.
48514         (remainder_test_towardzero): New function.
48515         (remainder_downward_test_data): New variable.
48516         (remainder_test_downward): New function.
48517         (remainder_upward_test_data): New variable.
48518         (remainder_test_upward): New function.
48519         (main): Call the new test functions.
48521         * math/libm-test.inc (struct test_f_f1_data): Remove field
48522         extra_init.
48523         (struct test_fF_f1_data): Likewise.
48524         (struct test_ffI_f1_data): Likewise.
48525         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48526         based on value of EXTRA_EXPECTED.
48527         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48528         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48529         EXTRA_VAR based on value of EXTRA_EXPECTED.
48530         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48531         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48532         EXTRA_VAR based on value of EXTRA_EXPECTED.
48533         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48534         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48535         EXTRA_VAR based on value of EXTRA_EXPECTED.
48536         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48537         * math/gen-libm-test.pl (parse_args): Don't output initializers
48538         for extra output values.
48540         * math/libm-test.inc (check_int): Expect result to be exactly
48541         equal to expected value and do not handle ulps.
48542         (check_long): Likewise.
48543         (check_longlong): Likewise.
48545         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48546         exceptions.
48547         (cimag_test_data): Likewise.
48548         (conj_test_data): Likewise.
48549         (copysign_test_data): Likewise.
48550         (cproj_test_data): Likewise.
48551         (creal_test_data): Likewise.
48552         (fabs_test_data): Likewise.
48553         (fdim_test_data): Likewise.
48554         (finite_test_data): Likewise.
48555         (floor_test_data): Likewise.
48556         (fmax_test_data): Likewise.
48557         (fmin_test_data): Likewise.
48558         (fmod_test_data): Likewise.
48559         (fpclassify_test_data): Likewise.
48560         (frexp_test_data): Likewise.
48561         (ilogb_test_data): Likewise.
48562         (isfinite_test_data): Likewise.
48563         (isgreater_test_data): Likewise.
48564         (isgreaterequal_test_data): Likewise.
48565         (isinf_test_data): Likewise.
48566         (isless_test_data): Likewise.
48567         (islessequal_test_data): Likewise.
48568         (islessgreater_test_data): Likewise.
48569         (isnan_test_data): Likewise.
48570         (isnormal_test_data): Likewise.
48571         (issignaling_test_data): Likewise.
48572         (isunordered_test_data): Likewise.
48573         (ldexp_test_data): Likewise.
48574         (lrint_test_data): Likewise.
48575         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48576         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48577         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48578         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48579         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48580         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48581         test input.
48582         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48583         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48584         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48585         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48586         that test input.
48587         (lrint_downward_test_data): Test for "inexact" exceptions.
48588         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48589         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48590         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48591         test input.
48592         (lrint_upward_test_data): Test for "inexact" exceptions.
48593         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48594         test input.
48595         (llrint_test_data): Test for "inexact" exceptions.
48596         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48597         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48598         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48599         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48600         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48601         (llrint_downward_test_data): Test for "inexact" exceptions.
48602         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48603         (llrint_upward_test_data): Test for "inexact" exceptions.
48604         (logb_test_data): Likewise.
48605         (logb_downward_test_data): Likewise.
48606         (nextafter_test_data): Likewise.
48607         (nexttoward_test_data): Likewise.
48608         (remainder_test_data): Likewise.
48609         (remquo_test_data): Likewise.
48610         (scalbn_test_data): Likewise.
48611         (scalbln_test_data): Likewise.
48612         (signbit_test_data): Likewise.
48613         (sqrt_test_data): Likewise.
48614         (significand_test_data): Likewise.
48616 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48618         [BZ #15424]
48619         * benchtests/bench-modf.c (struct args): Mark arg0 as
48620         volatile.
48621         * scripts/bench.pl: Mark members of struct args as volatile.
48623 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48625         [BZ # 15497]
48626         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48627         negative infinity on POWER6 or lower.
48628         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48630 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48632         [BZ #15442]
48633         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48634         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48635         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48636         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48637         (_FP_SETQNAN): New macro.
48638         (_FP_SETQNAN_SEMIRAW): Likewise.
48639         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48640         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48641         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48642         (FP_EXTEND): Use _FP_FRAC_SNANP.
48643         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48644         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48645         into account.
48646         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48647         New macro.
48648         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48649         Likewise.
48651 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48653         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48654         with DIVIDE_BY_ZERO_EXCEPTION.
48655         (gamma_test_data): Likewise.
48656         (lgamma_test_data): Likewise.
48657         (log_test_data): Likewise.
48658         (log10_test_data): Likewise.
48659         (log2_test_data): Likewise.
48660         (tgamma_test_data): Likewise.
48662         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48663         (acos_test_tonearest): Likewise.
48664         (acos_test_towardzero): Likewise.
48665         (acos_test_downward): Likewise.
48666         (acos_test_upward): Likewise.
48667         (acosh_test): Likewise.
48668         (asin_test): Likewise.
48669         (asin_test_tonearest): Likewise.
48670         (asin_test_towardzero): Likewise.
48671         (asin_test_downward): Likewise.
48672         (asin_test_upward): Likewise.
48673         (asinh_test): Likewise.
48674         (atan_test): Likewise.
48675         (atanh_test): Likewise.
48676         (atan2_test): Likewise.
48677         (cabs_test): Likewise.
48678         (cacos_test): Likewise.
48679         (cacosh_test): Likewise.
48680         (casin_test): Likewise.
48681         (casinh_test): Likewise.
48682         (catan_test): Likewise.
48683         (catanh_test): Likewise.
48684         (cbrt_test): Likewise.
48685         (ccos_test): Likewise.
48686         (ccosh_test): Likewise.
48687         (cexp_test): Likewise.
48688         (clog_test): Likewise.
48689         (clog10_test): Likewise.
48690         (cos_test): Likewise.
48691         (cos_test_tonearest): Likewise.
48692         (cos_test_towardzero): Likewise.
48693         (cos_test_downward): Likewise.
48694         (cos_test_upward): Likewise.
48695         (cosh_test): Likewise.
48696         (cosh_test_tonearest): Likewise.
48697         (cosh_test_towardzero): Likewise.
48698         (cosh_test_downward): Likewise.
48699         (cosh_test_upward): Likewise.
48700         (cpow_test): Likewise.
48701         (csin_test): Likewise.
48702         (csinh_test): Likewise.
48703         (csqrt_test): Likewise.
48704         (ctan_test): Likewise.
48705         (ctan_test_tonearest): Likewise.
48706         (ctan_test_towardzero): Likewise.
48707         (ctan_test_downward): Likewise.
48708         (ctan_test_upward): Likewise.
48709         (ctanh_test): Likewise.
48710         (ctanh_test_tonearest): Likewise.
48711         (ctanh_test_towardzero): Likewise.
48712         (ctanh_test_downward): Likewise.
48713         (ctanh_test_upward): Likewise.
48714         (erf_test): Likewise.
48715         (erfc_test): Likewise.
48716         (exp_test): Likewise.
48717         (exp_test_tonearest): Likewise.
48718         (exp_test_towardzero): Likewise.
48719         (exp_test_downward): Likewise.
48720         (exp_test_upward): Likewise.
48721         (exp10_test): Likewise.
48722         (exp2_test): Likewise.
48723         (expm1_test): Likewise.
48724         (fmod_test): Likewise.
48725         (gamma_test): Likewise.
48726         (hypot_test): Likewise.
48727         (j0_test): Likewise.
48728         (j1_test): Likewise.
48729         (jn_test): Likewise.
48730         (lgamma_test): Likewise.
48731         (log_test): Likewise.
48732         (log10_test): Likewise.
48733         (log1p_test): Likewise.
48734         (log2_test): Likewise.
48735         (logb_test_downward): Likewise.
48736         (pow_test): Likewise.
48737         (pow_test_tonearest): Likewise.
48738         (pow_test_towardzero): Likewise.
48739         (pow_test_downward): Likewise.
48740         (pow_test_upward): Likewise.
48741         (remainder_test): Likewise.
48742         (remquo_test): Likewise.
48743         (sin_test): Likewise.
48744         (sin_test_tonearest): Likewise.
48745         (sin_test_towardzero): Likewise.
48746         (sin_test_downward): Likewise.
48747         (sin_test_upward): Likewise.
48748         (sincos_test): Likewise.
48749         (sinh_test): Likewise.
48750         (sinh_test_tonearest): Likewise.
48751         (sinh_test_towardzero): Likewise.
48752         (sinh_test_downward): Likewise.
48753         (sinh_test_upward): Likewise.
48754         (sqrt_test): Likewise.
48755         (tan_test): Likewise.
48756         (tan_test_tonearest): Likewise.
48757         (tan_test_towardzero): Likewise.
48758         (tan_test_downward): Likewise.
48759         (tan_test_upward): Likewise.
48760         (tanh_test): Likewise.
48761         (tgamma_test): Likewise.
48762         (y0_test): Likewise.
48763         (y1_test): Likewise.
48764         (yn_test): Likewise.
48766         * math/gen-libm-test.pl (adjust_arg): Remove function.
48767         (special_function): Remove argument $in_func.  Only handle
48768         generating output for tables of tests, not inside functions.
48769         (parse_args): Likewise.
48770         (generate_testfile): Remove variable $in_func.  Update call to
48771         parse_args.
48772         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48773         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48774         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48775         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48776         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48777         (MAX_VALUE_INIT): Rename macro to max_value.
48778         (MIN_VALUE_INIT): Rename macro to min_value.
48779         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48780         (plus_zero): Remove variable.
48781         (minus_zero): Likewise.
48782         (plus_infty): Likewise.
48783         (minus_infty): Likewise.
48784         (qnan_value): Likewise.
48785         (max_value): Likewise.
48786         (min_value): Likewise.
48787         (min_subnorm_value): Likewise.
48789 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48791         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48792         uint64_t or uint32_t usage.
48793         * crypt/sha256-block.c: Likewise.
48794         * crypt/sha256-crypt.c: Likewise.
48795         * crypt/sha256.c: Likewise.
48796         * crypt/sha512-block.c: Likewise.
48797         * crypt/sha512-crypt.c: Likewise.
48798         * crypt/sha512.c: Likewise.
48799         * debug/backtrace-tst.c: Likewise.
48800         * debug/pcprofiledump.c: Likewise.
48801         * elf/cache.c: Likewise.
48802         * elf/dl-cache.c: Likewise.
48803         * elf/dl-misc.c: Likewise.
48804         * elf/dl-profile.c: Likewise.
48805         * elf/dl-support.c: Likewise.
48806         * elf/ldconfig.c: Likewise.
48807         * elf/sprof.c: Likewise.
48808         * iconv/dummy-repertoire.c: Likewise.
48809         * iconv/iconv_charmap.c: Likewise.
48810         * iconv/skeleton.c: Likewise.
48811         * iconvdata/8bit-generic.c: Likewise.
48812         * iconvdata/cp737.h: Likewise.
48813         * iconvdata/cp775.h: Likewise.
48814         * iconvdata/ibm1008.h: Likewise.
48815         * iconvdata/ibm1025.h: Likewise.
48816         * iconvdata/ibm1046.h: Likewise.
48817         * iconvdata/ibm1097.h: Likewise.
48818         * iconvdata/ibm1112.h: Likewise.
48819         * iconvdata/ibm1122.h: Likewise.
48820         * iconvdata/ibm1123.h: Likewise.
48821         * iconvdata/ibm1124.h: Likewise.
48822         * iconvdata/ibm1129.h: Likewise.
48823         * iconvdata/ibm1130.h: Likewise.
48824         * iconvdata/ibm1132.h: Likewise.
48825         * iconvdata/ibm1133.h: Likewise.
48826         * iconvdata/ibm1137.h: Likewise.
48827         * iconvdata/ibm1140.h: Likewise.
48828         * iconvdata/ibm1141.h: Likewise.
48829         * iconvdata/ibm1142.h: Likewise.
48830         * iconvdata/ibm1143.h: Likewise.
48831         * iconvdata/ibm1144.h: Likewise.
48832         * iconvdata/ibm1145.h: Likewise.
48833         * iconvdata/ibm1146.h: Likewise.
48834         * iconvdata/ibm1147.h: Likewise.
48835         * iconvdata/ibm1148.h: Likewise.
48836         * iconvdata/ibm1149.h: Likewise.
48837         * iconvdata/ibm1153.h: Likewise.
48838         * iconvdata/ibm1154.h: Likewise.
48839         * iconvdata/ibm1155.h: Likewise.
48840         * iconvdata/ibm1156.h: Likewise.
48841         * iconvdata/ibm1157.h: Likewise.
48842         * iconvdata/ibm1158.h: Likewise.
48843         * iconvdata/ibm1160.h: Likewise.
48844         * iconvdata/ibm1161.h: Likewise.
48845         * iconvdata/ibm1162.h: Likewise.
48846         * iconvdata/ibm1163.h: Likewise.
48847         * iconvdata/ibm1164.h: Likewise.
48848         * iconvdata/ibm1166.h: Likewise.
48849         * iconvdata/ibm1167.h: Likewise.
48850         * iconvdata/ibm12712.h: Likewise.
48851         * iconvdata/ibm1390.h: Likewise.
48852         * iconvdata/ibm1399.h: Likewise.
48853         * iconvdata/ibm16804.h: Likewise.
48854         * iconvdata/ibm4517.h: Likewise.
48855         * iconvdata/ibm4899.h: Likewise.
48856         * iconvdata/ibm4909.h: Likewise.
48857         * iconvdata/ibm4971.h: Likewise.
48858         * iconvdata/ibm5347.h: Likewise.
48859         * iconvdata/ibm803.h: Likewise.
48860         * iconvdata/ibm856.h: Likewise.
48861         * iconvdata/ibm901.h: Likewise.
48862         * iconvdata/ibm902.h: Likewise.
48863         * iconvdata/ibm9030.h: Likewise.
48864         * iconvdata/ibm9066.h: Likewise.
48865         * iconvdata/ibm921.h: Likewise.
48866         * iconvdata/ibm922.h: Likewise.
48867         * iconvdata/ibm9448.h: Likewise.
48868         * iconvdata/isiri-3342.h: Likewise.
48869         * iconvdata/jis0201.h: Likewise.
48870         * include/link.h: Likewise.
48871         * include/netdb.h: Likewise.
48872         * inet/check_native.c: Likewise.
48873         * inet/check_pf.c: Likewise.
48874         * inet/getipv4sourcefilter.c: Likewise.
48875         * inet/getnameinfo.c: Likewise.
48876         * inet/getsourcefilter.c: Likewise.
48877         * inet/htonl.c: Likewise.
48878         * inet/setipv4sourcefilter.c: Likewise.
48879         * inet/setsourcefilter.c: Likewise.
48880         * inet/test-inet6_opt.c: Likewise.
48881         * inet/tst-network.c: Likewise.
48882         * locale/C-collate.c: Likewise.
48883         * locale/C-ctype.c: Likewise.
48884         * locale/C-time.c: Likewise.
48885         * locale/C-translit.h: Likewise.
48886         * locale/loadarchive.c: Likewise.
48887         * locale/programs/3level.h: Likewise.
48888         * locale/programs/charmap.c: Likewise.
48889         * locale/programs/charmap.h: Likewise.
48890         * locale/programs/ld-address.c: Likewise.
48891         * locale/programs/ld-collate.c: Likewise.
48892         * locale/programs/ld-ctype.c: Likewise.
48893         * locale/programs/ld-identification.c: Likewise.
48894         * locale/programs/ld-measurement.c: Likewise.
48895         * locale/programs/ld-messages.c: Likewise.
48896         * locale/programs/ld-monetary.c: Likewise.
48897         * locale/programs/ld-name.c: Likewise.
48898         * locale/programs/ld-numeric.c: Likewise.
48899         * locale/programs/ld-paper.c: Likewise.
48900         * locale/programs/ld-telephone.c: Likewise.
48901         * locale/programs/ld-time.c: Likewise.
48902         * locale/programs/linereader.c: Likewise.
48903         * locale/programs/locale.c: Likewise.
48904         * locale/programs/locarchive.c: Likewise.
48905         * locale/programs/locfile.h: Likewise.
48906         * locale/programs/repertoire.c: Likewise.
48907         * locale/programs/simple-hash.c: Likewise.
48908         * locale/programs/simple-hash.h: Likewise.
48909         * malloc/memusage.c: Likewise.
48910         * malloc/memusagestat.c: Likewise.
48911         * nis/nis_defaults.c: Likewise.
48912         * nis/nis_hash.c: Likewise.
48913         * nis/nis_print.c: Likewise.
48914         * nis/nis_xdr.c: Likewise.
48915         * nscd/connections.c: Likewise.
48916         * nscd/hstcache.c: Likewise.
48917         * nscd/nscd_gethst_r.c: Likewise.
48918         * nscd/nscd_getserv_r.c: Likewise.
48919         * nscd/nscd_helper.c: Likewise.
48920         * nscd/servicescache.c: Likewise.
48921         * nss/makedb.c: Likewise.
48922         * nss/nss_db/db-XXX.c: Likewise.
48923         * nss/nss_db/db-initgroups.c: Likewise.
48924         * nss/nss_db/db-netgrp.c: Likewise.
48925         * nss/nss_files/files-network.c: Likewise.
48926         * nss/nss_files/files-parse.c: Likewise.
48927         * posix/bug-regex5.c: Likewise.
48928         * posix/fnmatch_loop.c: Likewise.
48929         * posix/regcomp.c: Likewise.
48930         * posix/regexec.c: Likewise.
48931         * posix/tst-rfc3484-2.c: Likewise.
48932         * posix/tst-rfc3484-3.c: Likewise.
48933         * posix/tst-rfc3484.c: Likewise.
48934         * resolv/nss_dns/dns-canon.c: Likewise.
48935         * resolv/nss_dns/dns-network.c: Likewise.
48936         * resolv/res_init.c: Likewise.
48937         * resolv/res_mkquery.c: Likewise.
48938         * resolv/tst-aton.c: Likewise.
48939         * stdlib/cxa_atexit.c: Likewise.
48940         * stdlib/cxa_finalize.c: Likewise.
48941         * stdlib/gen-fpioconst.c: Likewise.
48942         * stdlib/strtol_l.c: Likewise.
48943         * string/tst-endian.c: Likewise.
48944         * sunrpc/auth_des.c: Likewise.
48945         * sunrpc/clnt_udp.c: Likewise.
48946         * sunrpc/rtime.c: Likewise.
48947         * sunrpc/svcauth_des.c: Likewise.
48948         * sunrpc/xdr.c: Likewise.
48949         * sunrpc/xdr_intXX_t.c: Likewise.
48950         * sunrpc/xdr_rec.c: Likewise.
48951         * sysdeps/generic/ldconfig.h: Likewise.
48952         * sysdeps/generic/ldsodefs.h: Likewise.
48953         * sysdeps/generic/memusage.h: Likewise.
48954         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48956         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48957         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48958         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48960         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48962         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48964         * sysdeps/posix/getaddrinfo.c: Likewise.
48965         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48966         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48967         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48968         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48969         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48970         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48971         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48972         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48973         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48974         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48975         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48976         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48977         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48978         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48979         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48980         * sysdeps/x86_64/dl-tls.h: Likewise.
48981         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48982         * time/alt_digit.c: Likewise.
48983         * time/era.c: Likewise.
48984         * wcsmbs/tst-c16c32-1.c: Likewise.
48986 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48988         * math/libm-test.inc (struct test_sincos_data): New type.
48989         (RUN_TEST_LOOP_sincos): New macro.
48990         (sincos_test_data): New variable.
48991         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48993 2013-05-16  Richard Henderson  <rth@redhat.com>
48995         * math/atest-exp2.c (LIMB64): New macro.
48996         (CONSTSZ): New macro.
48997         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48998         (hexdig): Move ...
48999         (print_mpn_fp): ... to function scope.
49000         (read_mpn_hex): Remove.
49001         (get_log2): Remove.
49002         (exp2_mpn): Use mp_log2.
49003         (main): Use mp_exp1.
49005 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49007         * math/libm-test.inc: Remove comment about not testing "inexact"
49008         exceptions.
49009         (INEXACT_EXCEPTION): New macro.
49010         (NO_INEXACT_EXCEPTION): Likewise.
49011         (INVALID_EXCEPTION_OK): Update value.
49012         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49013         (OVERFLOW_EXCEPTION_OK): Likewise.
49014         (UNDERFLOW_EXCEPTION_OK): Likewise.
49015         (IGNORE_ZERO_INF_SIGN): Likewise.
49016         (ERRNO_UNCHANGED): Likewise.
49017         (ERRNO_EDOM): Likewise.
49018         (ERRNO_ERANGE): Likewise.
49019         (test_exceptions): Handle testing "inexact" exceptions.
49020         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49021         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49022         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49023         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49024         INEXACT_EXCEPTION.
49025         (rint_towardzero_test_data): Likewise.
49026         (rint_downward_test_data): Likewise.
49027         (rint_upward_test_data): Likewise.
49029         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49030         with OVERFLOW_EXCEPTION.
49031         (exp10_test_data): Likewise.
49032         (exp2_test_data): Likewise.
49033         (expm1_test_data): Likewise.
49034         (lgamma_test_data): Likewise.
49035         (pow_test_data): Likewise.
49036         (tgamma_test_data): Likewise.
49037         (yn_test_data): Remove duplicate test of overflow.
49039         * math/libm-test.inc (struct test_cc_c_data): New type.
49040         (RUN_TEST_LOOP_cc_c): New macro.
49041         (cpow_test_data): New variable.
49042         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49044         * math/libm-test.inc (struct test_f_L_data): New type.
49045         (RUN_TEST_LOOP_f_L): New macro.
49046         (llrint_test_data): New variable.
49047         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49048         (llrint_tonearest_test_data): New variable.
49049         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49050         (llrint_towardzero_test_data): New variable.
49051         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49052         (llrint_downward_test_data): New variable.
49053         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49054         (llrint_upward_test_data): New variable.
49055         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49056         (llround_test_data): New variable.
49057         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49059 2013-05-13  Peter Collingbourne  <pcc@google.com>
49061         * math/atest-exp2.c (get_log2): Remove const attribute.
49063 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49065         * math/libm-test.inc (struct test_f_l_data): New type.
49066         (RUN_TEST_LOOP_f_l): New macro.
49067         (lrint_test_data): New variable.
49068         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49069         (lrint_tonearest_test_data): New variable.
49070         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49071         (lrint_towardzero_test_data): New variable.
49072         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49073         (lrint_downward_test_data): New variable.
49074         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49075         (lrint_upward_test_data): New variable.
49076         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49077         (lround_test_data): New variable.
49078         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49080 2013-05-15  Peter Collingbourne  <pcc@google.com>
49082         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49083         (EXTRACT_WORDS64) Use where appropriate.
49084         (INSERT_WORDS64) Likewise.
49086         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49087         constraints with x constraints.
49088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49090         * malloc/obstack.c (_obstack_compat): Add initializer.
49092 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49094         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49095         si_trapno and add si_addr_lsb to _sifields.sigfault.
49096         (si_trapno): Remove macro.
49097         (si_addr_lsb): Define new macro.
49098         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49100 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49102         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49103         instead of TEST_f_l.
49104         (llrint_test_tonearest): Likewise.
49105         (llrint_test_towardzero): Likewise.
49106         (llrint_test_downward): Likewise.
49107         (llrint_test_upward): Likewise.
49108         (llround_test): Likewise.
49110         * math/libm-test.inc (struct test_f_i_data): Add comment.
49111         (RUN_TEST_LOOP_f_b): New macro.
49112         (RUN_TEST_LOOP_f_b_tg): Likewise.
49113         (finite_test_data): New variable.
49114         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49115         (isfinite_test_data): New variable.
49116         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49117         (isinf_test_data): New variable.
49118         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49119         (isnan_test_data): New variable.
49120         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49121         (isnormal_test_data): New variable.
49122         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49123         (issignaling_test_data): New variable.
49124         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49125         (signbit_test_data): New variable.
49126         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49128         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49129         with INVALID_EXCEPTION.
49130         (acosh_test_data): Likewise.
49131         (asin_test_data): Likewise.
49132         (atanh_test_data): Likewise.
49133         (fmod_test_data): Likewise.
49134         (log_test_data): Likewise.
49135         (log10_test_data): Likewise.
49136         (log2_test_data): Likewise.
49137         (pow_test_data): Likewise.
49138         (sqrt_test_data): Likewise.
49139         (y0_test_data): Likewise.
49140         (y1_test_data): Likewise.
49141         (yn_test_data): Likewise.
49143         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49144         function contents.
49146         * math/libm-test.inc (struct test_ff_i_data): New type.
49147         (RUN_TEST_LOOP_ff_i_tg): New macro.
49148         (isgreater_test_data): New variable.
49149         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49150         (isgreaterequal_test_data): New variable.
49151         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49152         (isless_test_data): New variable.
49153         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49154         (islessequal_test_data): New variable.
49155         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49156         (islessgreater_test_data): New variable.
49157         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49158         (isunordered_test_data): New variable.
49159         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49161 2013-05-14  David S. Miller  <davem@davemloft.net>
49163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49165 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49167         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49169         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49170         extra_test to int.
49171         (struct test_f_i_data): Change type of max_ulp to int.
49173         * math/libm-test.inc (test_ffI_f1_data): New type.
49174         (RUN_TEST_LOOP_ffI_f1): New macro.
49175         (remquo_test_data): New variable.
49176         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49178         * setjmp/tst-setjmp-fp.c: New file.
49179         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49180         (link-libm): New variable.
49181         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49183         * math/libm-test.inc (struct test_f_i_data): New type.
49184         (RUN_TEST_LOOP_f_i): New macro.
49185         (RUN_TEST_LOOP_f_i_tg): Likewise.
49186         (fpclassify_test_data): New variable.
49187         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49188         (ilogb_test_data): New variable.
49189         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49191         * math/libm-test.inc (scalbln_test): Correct function name in END
49192         call.
49194         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49195         (RUN_TEST_LOOP_fI_f1): New macro.
49196         (frexp_test_data): New variable.
49197         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49199         * math/libm-test.inc (struct test_fF_f1_data): New type.
49200         (RUN_TEST_LOOP_fF_f1): New macro.
49201         (modf_test_data): New variable.
49202         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49204         * math/libm-test.inc (struct test_f_f1_data): New type.
49205         (RUN_TEST_LOOP_f_f1): New macro.
49206         (gamma_test_data): New variable.
49207         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49208         (lgamma_test_data): New variable.
49209         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49211 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49214         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49215         (main): Comment "tls" pseudo-hwcap.
49217 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49219         * math/libm-test.inc (struct test_fl_f_data): New type.
49220         (RUN_TEST_LOOP_fl_f): New variable.
49221         (scalbln_test_data): New variable.
49222         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49224         * math/libm-test.inc (struct test_fi_f_data): New type.
49225         (RUN_TEST_LOOP_fi_f): New macro.
49226         (ldexp_test_data): New variable.
49227         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49228         (scalbn_test_data): New variable.
49229         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49231         * math/libm-test.inc (struct test_c_f_data): New type.
49232         (RUN_TEST_LOOP_c_f): New macro.
49233         (cabs_test_data): New variable.
49234         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49235         (carg_test_data): New variable.
49236         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49237         (cimag_test_data): New variable.
49238         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49239         (creal_test_data): New variable.
49240         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49242         * math/libm-test.inc (struct test_if_f_data): New type.
49243         (RUN_TEST_LOOP_if_f): New macro.
49244         (jn_test_data): New variable.
49245         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49246         (yn_test_data): New variable.
49247         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49249         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49251 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49253         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49254         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49256 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49258         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49259         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49260         (bench-deps): Add bench-timing.h.
49261         * benchtests-bench-skeleton.c: Include bench-timing.h.
49262         (main): Use TIMING_* macros instead of clock_gettime.
49263         * benchtests/bench-timing.h: New file.
49265         [BZ #14582]
49266         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49267         Renamed from _LIB_VERSION.
49268         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49270 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49272         * math/libm-test.inc (struct test_fff_f_data): New type.
49273         (RUN_TEST_LOOP_fff_f): New macro.
49274         (fma_test_data): New variable.
49275         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49276         (fma_towardzero_test_data): New variable.
49277         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49278         (fma_downward_test_data): New variable.
49279         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49280         (fma_upward_test_data): New variable.
49281         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49283         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49284         (struct test_c_c_data): New type.
49285         (RUN_TEST_LOOP_c_c): New macro.
49286         (cacos_test_data): New variable.
49287         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49288         (cacosh_test_data): New variable.
49289         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49290         (casin_test_data): New variable.
49291         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49292         (casinh_test_data): New variable.
49293         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49294         (catan_test_data): New variable.
49295         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49296         (catanh_test_data): New variable.
49297         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49298         (ccos_test_data): New variable.
49299         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49300         (ccosh_test_data): New variable.
49301         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49302         (cexp_test_data): New variable.
49303         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49304         (clog_test_data): New variable.
49305         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49306         (clog10_test_data): New variable.
49307         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49308         (conj_test_data): New variable.
49309         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49310         (cproj_test_data): New variable.
49311         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49312         (csin_test_data): New variable.
49313         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49314         (csinh_test_data): New variable.
49315         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49316         (csqrt_test_data): New variable.
49317         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49318         (ctan_test_data): New variable.
49319         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49320         (ctan_tonearest_test_data): New variable.
49321         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49322         (ctan_towardzero_test_data): New variable.
49323         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49324         (ctan_downward_test_data): New variable.
49325         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49326         (ctan_upward_test_data): New variable.
49327         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49328         (ctanh_test_data): New variable.
49329         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49330         (ctanh_tonearest_test_data): New variable.
49331         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49332         (ctanh_towardzero_test_data): New variable.
49333         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49334         (ctanh_downward_test_data): New variable.
49335         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49336         (ctanh_upward_test_data): New variable.
49337         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49338         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49339         of BUILD_COMPLEX.
49341         * math/libm-test.inc (struct test_ff_f_data): New type.
49342         (struct test_ff_f_data_nexttoward): Likewise.
49343         (RUN_TEST_LOOP_2_f): New macro.
49344         (RUN_TEST_LOOP_ff_f): Likewise.
49345         (atan2_test_data): New variable.
49346         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49347         (copysign_test_data): New variable.
49348         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49349         (fdim_test_data): New variable.
49350         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49351         (fmax_test_data): New variable.
49352         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49353         (fmin_test_data): New variable.
49354         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49355         (fmod_test_data): New variable.
49356         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49357         (hypot_test_data): New variable.
49358         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49359         (nextafter_test_data): New variable.
49360         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49361         (nexttoward_test_data): New variable.
49362         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49363         (pow_test_data): New variable.
49364         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49365         (pow_tonearest_test_data): New variable.
49366         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49367         (pow_towardzero_test_data): New variable.
49368         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49369         (pow_downward_test_data): New variable.
49370         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49371         (pow_upward_test_data): New variable.
49372         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49373         (remainder_test_data): New variable.
49374         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49375         (scalb_test_data): New variable.
49376         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49377         * sysdeps/i386/fpu/libm-test-ulps: Update.
49379 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49381         * math/libm-test.inc (fma_test): Use max_value instead of local
49382         variable fltmax.
49383         (nextafter_test): Likewise.
49385         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49386         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49387         (acos_downward_test_data): New variable.
49388         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49389         (acos_upward_test_data): New variable.
49390         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49391         (acosh_test_data): New variable.
49392         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49393         (asin_test_data): New variable.
49394         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49395         (asin_tonearest_test_data): New variable.
49396         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49397         (asin_towardzero_test_data): New variable.
49398         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49399         (asin_downward_test_data): New variable.
49400         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49401         (asin_upward_test_data): New variable.
49402         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49403         (asinh_test_data): New variable.
49404         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49405         (atan_test_data): New variable.
49406         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49407         (atanh_test_data): New variable.
49408         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49409         (cbrt_test_data): New variable.
49410         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49411         (ceil_test_data): New variable.
49412         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49413         (cos_test_data): New variable.
49414         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49415         (cos_tonearest_test_data): New variable.
49416         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49417         (cos_towardzero_test_data): New variable.
49418         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49419         (cos_downward_test_data): New variable.
49420         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49421         (cos_upward_test_data): New variable.
49422         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49423         (cosh_test_data): New variable.
49424         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49425         (cosh_tonearest_test_data): New variable.
49426         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49427         (cosh_towardzero_test_data): New variable.
49428         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49429         (cosh_downward_test_data): New variable.
49430         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49431         (cosh_upward_test_data): New variable.
49432         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49433         (erf_test_data): New variable.
49434         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49435         (erfc_test_data): New variable.
49436         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49437         (exp_test_data): New variable.
49438         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49439         (exp_tonearest_test_data): New variable.
49440         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49441         (exp_towardzero_test_data): New variable.
49442         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49443         (exp_downward_test_data): New variable.
49444         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49445         (exp_upward_test_data): New variable.
49446         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49447         (exp10_test_data): New variable.
49448         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49449         (exp2_test_data): New variable.
49450         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49451         (expm1_test_data): New variable.
49452         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49453         (fabs_test_data): New variable.
49454         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49455         (floor_test_data): New variable.
49456         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49457         (j0_test_data): New variable.
49458         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49459         (j1_test_data): New variable.
49460         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49461         (log_test_data): New variable.
49462         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49463         (log10_test_data): New variable.
49464         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49465         (log1p_test_data): New variable.
49466         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49467         (log2_test_data): New variable.
49468         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49469         (logb_test_data): New variable.
49470         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49471         (logb_downward_test_data): New variable.
49472         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49473         (nearbyint_test_data): New variable.
49474         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49475         (rint_test_data): New variable.
49476         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49477         (rint_tonearest_test_data): New variable.
49478         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49479         (rint_towardzero_test_data): New variable.
49480         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49481         (rint_downward_test_data): New variable.
49482         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49483         (rint_upward_test_data): New variable.
49484         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49485         (round_test_data): New variable.
49486         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49487         (sin_test_data): New variable.
49488         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49489         (sin_tonearest_test_data): New variable.
49490         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49491         (sin_towardzero_test_data): New variable.
49492         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49493         (sin_downward_test_data): New variable.
49494         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49495         (sin_upward_test_data): New variable.
49496         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49497         (sinh_test_data): New variable.
49498         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49499         (sinh_tonearest_test_data): New variable.
49500         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49501         (sinh_towardzero_test_data): New variable.
49502         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49503         (sinh_downward_test_data): New variable.
49504         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49505         (sinh_upward_test_data): New variable.
49506         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49507         (sqrt_test_data): New variable.
49508         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49509         (tan_test_data): New variable.
49510         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49511         (tan_tonearest_test_data): New variable.
49512         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49513         (tan_towardzero_test_data): New variable.
49514         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49515         (tan_downward_test_data): New variable.
49516         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49517         (tan_upward_test_data): New variable.
49518         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49519         (tanh_test_data): New variable.
49520         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49521         (tgamma_test_data): New variable.
49522         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49523         (trunc_test_data): New variable.
49524         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49525         (y0_test_data): New variable.
49526         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49527         (y1_test_data): New variable.
49528         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49529         (significand_test_data): New variable.
49530         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49532 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49534         [BZ #12387]
49535         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49537 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49539         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49541 2013-05-10  Andreas Jaeger  <aj@suse.de>
49543         [BZ #15448]
49544         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49545         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49547 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49549         * math/gen-libm-test.pl (adjust_arg): New function.
49550         (special_functions): Handle generating output in both functions
49551         and arrays.
49552         (parse_args): Likewise.
49553         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49554         $in_func argument to parse_args.
49555         * math/libm-test.inc (struct test_f_f_data): New type.
49556         (IF_ROUND_INIT_): New macro.
49557         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49558         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49559         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49560         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49561         (ROUND_RESTORE_): Likewise.
49562         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49563         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49564         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49565         (ROUND_RESTORE_FE_UPWARD): Likewise.
49566         (RUN_TEST_LOOP_f_f): New macro.
49567         (acos_test_data): New variable.
49568         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49569         (acos_tonearest_test_data): New variable.
49570         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49572 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49574         * benchtests/bench-skeleton.c (startup): Fix coding style.
49576 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49578         [BZ #6809]
49579         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49580         negative infinity argument.
49581         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49582         negative infinity argument.
49583         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49584         negative infinity argument.
49585         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49586         domain errors.
49588 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49590         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49591         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49592         * iconv/iconv_prog.c (main): Likewise.
49593         * locale/programs/charmap-dir.c (charmap_readdir)
49594         (fopen_uncompressed): Likewise.
49595         * locale/programs/locfile.c (siblings_uncached)
49596         (write_locale_data): Use lstat64 instead of lstat.
49597         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49598         stat.
49600 2013-05-10  Andreas Jaeger  <aj@suse.de>
49602         [BZ #15395]
49603         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49604         localization.
49605         Include <locale.h>.
49607 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49609         * elf/dl-close.c (_dl_close_worker): Add comments.
49611 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49613         [BZ #15359]
49614         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49615         high part of pi/2.
49616         (__ieee754_rem_pio2l): Update comments.
49618         [BZ #15429]
49619         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49620         high part of pi/2.
49621         (__ieee754_rem_pio2l): Update comments.
49623         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49624         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49626         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49627         M_PI_4l.
49629         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49630         (M_PI_34_LOG10El): Likewise.
49631         (M_PI2_LOG10El): Likewise.
49632         (M_PI4_LOG10El): Likewise.
49633         (M_PI_LOG10El): Likewise.
49635 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49639 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49641         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49642         (MINUS_ZERO_INIT): Likewise.
49643         (PLUS_INFTY_INIT): Likewise.
49644         (MINUS_INFTY_INIT): Likewise.
49645         (QNAN_VALUE_INIT): Likewise.
49646         (MAX_VALUE_INIT): Likewise.
49647         (MIN_VALUE_INIT): Likewise.
49648         (MIN_SUBNORM_VALUE_INIT): Likewise.
49649         (plus_zero): Initialize with PLUS_ZERO_INIT.
49650         (minus_zero): Initialize with MINUS_ZERO_INIT.
49651         (plus_infty): Initialize with PLUS_INFTY_INIT.
49652         (minus_infty): Initialize with MINUS_INFTY_INIT.
49653         (qnan_value): Initialize with QNAN_VALUE_INIT.
49654         (max_value): Initialize with MAX_VALUE_INIT.
49655         (min_value): Initialize with MIN_VALUE_INIT.
49656         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49658         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49659         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49660         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49661         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49663         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49664         (RUN_TEST_2_f): Likewise.
49665         (RUN_TEST_ff_f): Likewise.
49666         (RUN_TEST_fi_f): Likewise.
49667         (RUN_TEST_fl_f): Likewise.
49668         (RUN_TEST_fff_f): Likewise.
49669         (RUN_TEST_c_f): Likewise.
49670         (RUN_TEST_f_f1): Likewise.
49671         (RUN_TEST_fF_f1): Likewise.
49672         (RUN_TEST_fI_f1): Likewise.
49673         (RUN_TEST_ffI_f1): Likewise.
49674         (RUN_TEST_c_c): Likewise.
49675         (RUN_TEST_cc_c): Likewise.
49676         (RUN_TEST_f_i): Likewise.
49677         (RUN_TEST_f_i_tg): Likewise.
49678         (RUN_TEST_ff_i_tg): Likewise.
49679         (RUN_TEST_f_b): Likewise.
49680         (RUN_TEST_f_b_tg): Likewise.
49681         (RUN_TEST_f_l): Likewise.
49682         (RUN_TEST_f_L): Likewise.
49683         (RUN_TEST_sincos): Likewise.
49684         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49685         whether to show exceptions.  Do not include ");\n" in return
49686         value.
49687         (special_functions): Output call to RUN_TEST_sincos instead of
49688         check_float calls.  Update calls to new_test.
49689         (parse_args): Output call to single RUN_TEST_* macro instead of
49690         check_* calls and other assignments.  Update calls to new_test.
49692         [BZ #2546]
49693         [BZ #2560]
49694         [BZ #5159]
49695         [BZ #15426]
49696         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49697         input to result for tgamma overflow.
49698         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49699         (gamma_coeff): New variable.
49700         (NCOEFF): New macro.
49701         (gamma_positive): New function.
49702         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49703         underflow here.  Use gamma_positive instead of exp (lgamma) for
49704         other arguments.
49705         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49706         (gamma_coeff): New variable.
49707         (NCOEFF): New macro.
49708         (gammaf_positive): New function.
49709         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49710         underflow here.  Use gamma_positive instead of exp (lgamma) for
49711         other arguments.
49712         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49713         (gamma_coeff): New variable.
49714         (NCOEFF): New macro.
49715         (gammal_positive): New function.
49716         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49717         underflow here.  Use gamma_positive instead of exp (lgamma) for
49718         other arguments.
49719         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49720         (gamma_coeff): New variable.
49721         (NCOEFF): New macro.
49722         (gammal_positive): New function.
49723         (__ieee754_gammal_r): Handle positive infinity, overflow and
49724         underflow here.  Handle NaN the same as positive infinity.  Remove
49725         check x < 0xffffffff for negative integers.  Use gamma_positive
49726         instead of exp (lgamma) for other arguments.
49727         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49728         (gamma_coeff): New variable.
49729         (NCOEFF): New macro.
49730         (gammal_positive): New function.
49731         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49732         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49733         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49734         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49735         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49736         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49737         * sysdeps/generic/math_private.h (__gamma_productf): New
49738         prototype.
49739         (__gamma_product): Likewise.
49740         (__gamma_productl): Likewise.
49741         * math/Makefile (libm-calls): Add gamma_product.
49742         * math/libm-test.inc (tgamma_test): Add more tests.
49743         * sysdeps/i386/fpu/libm-test-ulps: Update.
49744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49746 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49748         * benchtests/bench-skeleton.c (main): Preheat CPU.
49750 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49752         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49754 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49756         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49757         and _dl_skip_args_internal.
49759 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49761         * manual/message.texi (Message Translation): Talk about users.
49762         Message to key mapping impacts design.
49764 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49766         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49768         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49770         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49771         * sysdeps/wordsize-64/glob64.c: ... here.
49773         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49774         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49775         New macros.
49777         * debug/getlogin_r_chk.c: Moved to ...
49778         * login/getlogin_r_chk.c: ... here.
49779         * debug/Makefile (routines): Move getlogin_r_chk to ...
49780         * login/Makefile (routines): ... here.
49781         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49782         * login/Versions (libc: GLIBC_2.4): ... here.
49784         * io/poll.c (__poll): Renamed from poll.
49785         Add libc_hidden_def.
49786         (poll): Define as weak alias.
49788         * debug/ptsname_r_chk.c: Moved to ...
49789         * login/ptsname_r_chk.c: ... here.
49790         * debug/Makefile (routines): Move ptsname_r_chk to ...
49791         * login/Makefile (routines): ... here.
49792         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49793         * login/Versions (libc: GLIBC_2.4): ... here.
49795         * posix/getlogin.c: Moved to ...
49796         * login/getlogin.c: ... here.
49797         * posix/getlogin_r.c: Moved to ...
49798         * login/getlogin_r.c: ... here.
49799         * posix/getlogin_r.c: Moved to ...
49800         * login/getlogin_r.c: ... here.
49801         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49802         * login/Makefile (routines): ... here.
49803         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49804         * login/Versions (libc: GLIBC_2.0): ... here.
49806         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49807         (setrlimit): Define as weak alias.
49809         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49810         Call __ names for open, ftruncate, and close.
49811         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49812         (truncate): Define as weak alias.
49814 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49816         * math/gen-libm-test.pl (parse_args): Initialize x before each
49817         test of frexp, modf and remquo.
49819         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49820         test signgam value.
49822 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49824         [BZ #15418]
49825         [BZ #15419]
49826         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49827         internal tests.
49828         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49830 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49832         * elf/dl-writev.h: New file.
49833         * elf/dl-misc.c: Include it.
49834         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49835         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49837 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49839         * math/libm-test.inc (noXFails): Remove variable.
49840         (noXPasses): Likewise.
49841         (BUILD_COMPLEX_INT): Remove macro.
49842         (print_screen): Remove xfail argument.
49843         (print_screen_max_error): Likewise.
49844         (update_stats): Likewise.
49845         (print_max_error): Likewise.  Update calls to other affected
49846         functions.
49847         (print_complex_max_error): Likewise.
49848         (test_single_exception): Update calls to print_screen.
49849         (test_single_errno): Likewise.
49850         (check_float_internal): Remove xfail argument.  Update calls to
49851         other affected functions.
49852         (check_float): Likewise.
49853         (check_complex): Likewise.
49854         (check_int): Likewise.
49855         (check_long): Likewise.
49856         (check_bool): Likewise.
49857         (check_longlong): Likewise.
49858         (main): Don't print noXFails and noXPasses.
49859         * math/gen-libm-test.pl (top level): Don't mention expected
49860         failure handling in comment.
49861         (new_test): Don't handle expected failures.
49862         (parse_args): Don't mention expected failure handling in comment.
49863         (generate_testfile): Don't handle expected failures.
49864         (parse_ulps): Likewise.
49865         (print_ulps_file): Likewise.
49866         (get_failure): Remove function.
49867         (output_test): Don't handle expected failures.
49868         * make/README.libm-test: Don't mention expected failure handling.
49870         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49871         (minus_zero): Likewise.
49872         (plus_infty): Likewise.
49873         (minus_infty): Likewise.
49874         (qnan_value): Likewise.
49875         (max_value): Likewise.
49876         (min_value): Likewise.
49877         (min_subnorm_value): Likewise.
49878         (initialize): Do not initialize those variables dynamically.
49880 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49882         * io/open.c (__open_2): Moved to ...
49883         * io/open_2.c: ... this new file.
49884         * io/open64.c (__open64_2): Moved to ...
49885         * io/open64_2.c: ... this new file.
49886         * io/openat.c (__openat_2): Moved to ...
49887         * io/openat_2.c: ... this new file.
49888         * io/openat64.c (__openat64_2): Moved to ...
49889         * io/openat64_2.c: ... this new file.
49890         * io/Makefile (routines): Add them.
49891         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49892         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49893         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49894         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49895         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49896         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49897         (__openat64): Add hidden_ver.
49898         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49899         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49901         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49902         Separately conditionalize setting of GLRO(dl_sysinfo) so
49903         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49904         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49906 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49908         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49909         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49910         definition.
49911         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49912         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49913         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49914         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49915         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49917 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49919         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49920         test signgam value.
49922         * math/libm-test.inc (hypot_test): Do not use
49923         IGNORE_ZERO_INF_SIGN.
49925 2013-05-03  Andreas Jaeger  <aj@suse.de>
49927         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49928         Linux 3.9.
49929         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49930         (PF_MAX): Adjust for VSOCK change.
49932 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49936 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49938         [BZ #15264]
49939         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49940         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49941         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49943 2013-05-02  David S. Miller  <davem@davemloft.net>
49945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49947 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49949         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49951 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49953         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49955 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49957         [BZ #14952]
49958         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49959         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49960         Use __attribute__ ((__gnu_inline__)).
49961         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49962         Don't use __attribute__ ((__gnu_inline__)).
49964 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49966         [BZ #15423]
49967         * math/s_catan.c (__catan): Handle small real or imaginary part of
49968         input specially to avoid spurious underflow.
49969         * math/s_catanf.c (__catanf): Likewise.
49970         * math/s_catanh.c (__catanh): Likewise.
49971         * math/s_catanhf.c (__catanhf): Likewise.
49972         * math/s_catanhl.c (__catanhl): Likewise.
49973         * math/s_catanl.c (__catanl): Likewise.
49974         * math/libm-test.inc (catan_test): Add more tests.
49975         (catanh_test): Likewise.
49976         * sysdeps/i386/fpu/libm-test-ulps: Update.
49977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49979 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49983 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49985         [BZ #15416]
49986         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49987         accurately for denominator in atan2.
49988         * math/s_catanf.c (__catanf): Likewise.
49989         * math/s_catanh.c (__catanh): Likewise.
49990         * math/s_catanhf.c (__catanhf): Likewise.
49991         * math/s_catanhl.c (__catanhl): Likewise.
49992         * math/s_catanl.c (__catanl): Likewise.
49993         * math/libm-test.inc (catan_test): Add more tests.
49994         (catanh_test): Likewise.
49995         * sysdeps/i386/fpu/libm-test-ulps: Update.
49996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49998 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50000         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50002         * benchtests/Makefile (bench): Remove slow benchmarks.
50003         * benchtests/atan-inputs: Add slow benchmark inputs.
50004         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50005         (BENCH_FUNC): Accept variant offset.
50006         (VARIANT): Define.
50007         * benchtests/bench-skeleton.c (main): Run benchmark for each
50008         variant.
50009         * benchtests/cos-inputs: Add slow benchmark inputs.
50010         * benchtests/exp-inputs: Likewise.
50011         * benchtests/pow-inputs: Likewise.
50012         * benchtests/sin-inputs: Likewise.
50013         * benchtests/slowatan-inputs: Remove.
50014         * benchtests/slowatan.c: Remove.
50015         * benchtests/slowcos-inputs: Remove.
50016         * benchtests/slowcos.c: Remove.
50017         * benchtests/slowexp-inputs: Remove.
50018         * benchtests/slowexp.c: Remove.
50019         * benchtests/slowpow-inputs: Remove.
50020         * benchtests/slowpow.c: Remove.
50021         * benchtests/slowsin-inputs: Remove.
50022         * benchtests/slowsin.c: Remove.
50023         * benchtests/slowtan-inputs: Remove.
50024         * benchtests/slowtan.c: Remove.
50025         * benchtests/tan-inputs: Add slow benchmark inputs.
50026         * scripts/bench.pl: Parse comments and directives.
50028         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50029         in CPPFLAGS.
50030         ($(objpfx)bench-%.c): Remove *-ITER.
50031         * benchtests/bench-modf.c: Remove definition of ITER.
50032         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50033         (main): Loop for DURATION seconds instead of fixed number of
50034         iterations.
50035         * scripts/bench.pl: Don't expect iterations in parameters.
50037 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50039         * io/fchdir.c (__fchdir): Renamed from fchdir.
50040         (fchdir): Define as weak alias.
50042 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50044         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50045         (ERRNO_EDOM): Likewise.
50046         (ERRNO_ERANGE): Likewise.
50047         (noErrnoTests): New variable.
50048         (init_max_error): Set errno to 0.
50049         (test_single_errno): New function.
50050         (test_errno): Likewise.
50051         (check_float_internal): Call test_errno.  Set errno to 0.
50052         (check_complex): Refer to errno tests in comment.
50053         (check_int): Call test_errno.  Set errno to 0.
50054         (check_long): Likewise.
50055         (check_bool): Likewise.
50056         (check_longlong): Likewise.
50057         (cos_test): Use ERRNO_* flags for errno tests instead of
50058         check_int.
50059         (expm1_test): Likewise.
50060         (fmod_test): Likewise.
50061         (ilogb_test): Likewise.
50062         (lgamma_test): Likewise.
50063         (pow_test): Likewise.
50064         (remainder_test): Likewise.
50065         (sin_test): Likewise.
50066         (tan_test): Likewise.
50067         (yn_test): Likewise.
50068         (initialize): Set errno to 0.
50069         (main): Print number of errno tests.
50070         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50072 2013-04-29  Andreas Jaeger  <aj@suse.de>
50074         [BZ #15084]
50075         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50076         and RES_USEVC.
50078         [BZ #15085]
50079         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50080         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50081         unimplemented.
50083         [BZ #15380]
50084         * stdlib/random.c (__initstate): Return NULL if
50085         __initstate fails.
50087         [BZ #15086]
50088         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50089         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50090         RES_SNGLKUPREOP.
50092 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50096 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50098         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50099         of individual tests.
50100         (casin_test): Likewise.
50101         (casinh_test): Likewise.
50103 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50105         [BZ #15409]
50106         * math/s_catan.c (__catan): Handle arguments with large real or
50107         imaginary part separately without squaring.
50108         * math/s_catanf.c (__catanf): Likewise.
50109         * math/s_catanh.c (__catanh): Likewise.
50110         * math/s_catanhf.c (__catanhf): Likewise.
50111         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50112         and redefine.
50113         (__catanhl): Handle arguments with large real or imaginary part
50114         separately without squaring.
50115         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50116         and redefine.
50117         (__catanl): Handle arguments with large real or imaginary part
50118         separately without squaring.
50119         * math/libm-test.inc (catan_test): Add more tests.
50120         (catanh_test): Likewise.
50121         * sysdeps/i386/fpu/libm-test-ulps: Update.
50122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50124 2013-04-27  Andreas Jaeger  <aj@suse.de>
50126         [BZ #15007]
50127         * stdlib/stdlib.h: Update guards for qecvt.
50128         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50129         <stdlib.h>.
50131 2013-04-27  Allan McRae  <allan@archlinux.org>
50133         * sysdeps/i386/fpu/libm-test-ulps: Update.
50135 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50137         [BZ #15406]
50138         * math/s_catan.c: Include <float.h>.
50139         (__catan): Ensure underflow exception occurs for underflowed
50140         result.
50141         * math/s_catanf.c: Include <float.h>.
50142         (__catanf): Ensure underflow exception occurs for underflowed
50143         result.
50144         * math/s_catanh.c: Include <float.h>.
50145         (__catanh): Ensure underflow exception occurs for underflowed
50146         result.
50147         * math/s_catanhf.c: Include <float.h>.
50148         (__catanhf): Ensure underflow exception occurs for underflowed
50149         result.
50150         * math/s_catanhl.c: Include <float.h>.
50151         (__catanhl): Ensure underflow exception occurs for underflowed
50152         result.
50153         * math/s_catanl.c: Include <float.h>.
50154         (__catanl): Ensure underflow exception occurs for underflowed
50155         result.
50156         * math/libm-test.inc (catan_test): Add more tests.
50157         (catanh_test): Likewise.
50159         [BZ #15405]
50160         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50161         underflowed result.
50162         * math/s_ccoshf.c (__ccoshf): Likewise.
50163         * math/s_ccoshl.c (__ccoshl): Likewise.
50164         * math/s_csin.c (__csin): Likewise.
50165         * math/s_csinf.c (__csinf): Likewise.
50166         * math/s_csinh.c (__csinh): Likewise.
50167         * math/s_csinhf.c (__csinhf): Likewise.
50168         * math/s_csinhl.c (__csinhl): Likewise.
50169         * math/s_csinl.c (__csinl): Likewise.
50170         * math/libm-test.inc (ccos_test): Add more tests.
50171         (ccosh_test): Likewise.
50172         (csin_test): Likewise.
50173         (csinh_test): Likewise.
50175 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50177         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50178         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50179         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50180         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50181         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50182         powerpc/power5+/fpu folders.
50183         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50186 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50190 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50192         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50193         additions to variable.
50194         [$(config-machine) = x86_64] (modules-names): Likewise.
50195         ($(objpfx)tst-audit3): Remove dependency.
50196         ($(objpfx)tst-audit3.out): Likewise.
50197         ($(objpfx)tst-audit4): Likewise.
50198         ($(objpfx)tst-audit4.out): Likewise.
50199         ($(objpfx)tst-audit5): Likewise.
50200         ($(objpfx)tst-audit5.out): Likewise.
50201         ($(objpfx)tst-audit6): Likewise.
50202         ($(objpfx)tst-audit6.out): Likewise.
50203         ($(objpfx)tst-audit7): Likewise.
50204         ($(objpfx)tst-audit7.out): Likewise.
50205         (tst-audit3-ENV): Remove variable.
50206         (tst-audit4-ENV): Likewise.
50207         (tst-audit5-ENV): Likewise.
50208         (tst-audit6-ENV): Likewise.
50209         (tst-audit7-ENV): Likewise.
50210         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50211         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50212         addition to variable.
50213         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50214         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50215         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50216         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50217         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50218         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50219         tst-audit3, tst-audit4 and tst-audit5.
50220         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50221         tst-audit6 and tst-audit7.
50222         [$(subdir) = elf] (modules-names): Add audit modules for those
50223         tests.
50224         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50225         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50226         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50227         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50228         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50229         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50230         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50231         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50232         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50233         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50234         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50235         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50236         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50237         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50238         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50239         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50240         Likewise.
50241         [$(subdir) = elf && $(config-cflags-avx) = yes]
50242         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50243         [$(subdir) = elf && $(config-cflags-avx) = yes]
50244         (CFLAGS-tst-auditmod4a.c): Likewise.
50245         [$(subdir) = elf && $(config-cflags-avx) = yes]
50246         (CFLAGS-tst-auditmod4b.c): Likewise.
50247         [$(subdir) = elf && $(config-cflags-avx) = yes]
50248         (CFLAGS-tst-auditmod6b.c): Likewise.
50249         [$(subdir) = elf && $(config-cflags-avx) = yes]
50250         (CFLAGS-tst-auditmod6c.c): Likewise.
50251         [$(subdir) = elf && $(config-cflags-avx) = yes]
50252         (CFLAGS-tst-auditmod7b.c): Likewise.
50253         * elf/tst-audit3.c: Move to ...
50254         * sysdeps/x86_64/tst-audit3.c: ... here.
50255         * elf/tst-audit4.c: Move to ...
50256         * sysdeps/x86_64/tst-audit4.c: ... here.
50257         * elf/tst-audit5.c: Move to ...
50258         * sysdeps/x86_64/tst-audit5.c: ... here.
50259         * elf/tst-audit6.c: Move to ...
50260         * sysdeps/x86_64/tst-audit6.c: ... here.
50261         * elf/tst-audit7.c: Move to ...
50262         * sysdeps/x86_64/tst-audit7.c: ... here.
50263         * elf/tst-auditmod3a.c: Move to ...
50264         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50265         * elf/tst-auditmod3b.c: Move to ...
50266         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50267         * elf/tst-auditmod4a.c: Move to ...
50268         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50269         * elf/tst-auditmod4b.c: Move to ...
50270         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50271         * elf/tst-auditmod5a.c: Move to ...
50272         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50273         * elf/tst-auditmod5b.c: Move to ...
50274         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50275         * elf/tst-auditmod6a.c: Move to ...
50276         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50277         * elf/tst-auditmod6b.c: Move to ...
50278         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50279         * elf/tst-auditmod6c.c: Move to ...
50280         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50281         * elf/tst-auditmod7a.c: Move to ...
50282         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50283         * elf/tst-auditmod7b.c: Move to ...
50284         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50286 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50288         [BZ #15366]
50289         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50290         define unconditionally.
50291         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50292         define unconditionally.
50293         (INT8_C, INT16_C, etc.): Likewise.
50295 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50297         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50298         __ehdr_start with hidden visibility.
50300         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50302 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50304         * math/libm-test.inc (cos_test): Use accurate hex constants.
50305         (sincost_test): Likewise.
50307 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50309         * math/libm-test.inc (catan_test): Add more tests.
50310         (catanh_test): Likewise.
50312         * math/s_catanf.c (__catanf): Use suffixed floating-point
50313         constants.
50314         * math/s_catanhf.c (__catanhf): Likewise.
50315         * math/s_catanhl.c (__catanhl): Likewise.
50316         * math/s_catanl.c (__catanl): Likewise.
50318         [BZ #15394]
50319         * math/s_catan.c (__catan): Calculate imaginary part of result
50320         with log1p not log unless computing log of number close to 0.
50321         * math/s_catanf.c (__catanf): Likewise.
50322         * math/s_catanl.c (__catanl): Likewise.
50323         * math/s_catanh.c (__catanh): Calculate real part of result with
50324         log1p not log unless computing log of number close to 0.
50325         * math/s_catanhf.c (__catanhf): Likewise.
50326         * math/s_catanhl.c (__catanhl): Likewise.
50327         * math/libm-test.inc (catan_test): Add more tests.
50328         (catanh_test): Likewise.
50329         * sysdeps/i386/fpu/libm-test-ulps: Update.
50330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50332 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50334         * benchtests/Makefile: Mention files in which fast and slow
50335         paths of math functions are implemented.
50337 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50339         * sysdeps/posix/timespec_get.c: New file.
50341 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50343         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50344         POWER.
50345         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50346         for POWER.
50347         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50348         powerpc/power5/fpu folders.
50349         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50350         * benchtests/Makefile: Add modf testcase.
50351         * benchtests/bench-modf.c: New file: Benchmark test for mo
50353 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50355         [BZ #14888]
50356         * time/Makefile (tests): Add tst-strptime-whitespace.
50357         * time/strptime_l.c (get_number): Use ISSPACE.
50358         (__strptime_internal): Likewise.
50359         * time/tst-strptime-whitespace.c: New test case.
50361 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50363         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50364         member.
50365         (_nss_files_init): Set it here.
50367 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50369         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50370         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50371         unsigned.
50373 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50375         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50377 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50380         size just once.
50382 2013-04-21  David S. Miller  <davem@davemloft.net>
50384         * po/ru.po: Update Russion translation from translation project.
50386 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50388         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50389         and setfsgid.
50391 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50393         * configure.in: Remove i386 configure warning. Remove i386 case.
50394         * configure: Regenerate.
50395         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50396         Add example to error message.
50397         * sysdeps/i386/configure: Regenerate.
50399 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50401         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50402         slowtan.
50403         * benchtests/cos-inputs: New file.
50404         * benchtests/slowcos-inputs: New file.
50405         * benchtests/slowcos.c: New file.
50406         * benchtests/slowtan-inputs: New file.
50407         * benchtests/slowtan.c: New file.
50408         * benchtests/tan-inputs: New file.
50410 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50412         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50413         considered kosher.
50415 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50417         * benchtests/Makefile: Include cppflags-iterator.mk to add
50418         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50420         * Makefile.in (bench-clean): New target.
50421         * benchtests/Makefile (bench-clean): Likewise.
50423 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50425         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50427 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50429         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50431 2013-04-15  Andreas Schwab  <schwab@suse.de>
50433         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50434         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50435         * nscd/pwdcache.c (cache_addpw): Likewise.
50436         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50437         more than recsize.
50439 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50441         * benchtests/Makefile (bench): Write all output to
50442         bench-out.tmp together.
50444 2013-04-15  Andreas Schwab  <schwab@suse.de>
50446         * nscd/nscd.c (main): Don't fork again after closing files.
50448 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50450         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50452         * benchtests/Rules (bench-deps): Collect dependencies into a
50453         single variable.  Add Makefile to dependencies.
50454         ($(objpfx)bench-%.c): Depend on bench-deps.
50456 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50457             Xavier Roche  <roche+kml2@exalead.com>
50459         [BZ #15361]
50460         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50461         just that it's a file descriptor.
50462         * manual/llio.texi (Synchronizing AIO Operations): Update description
50463         for EBADF error from aio_fsync.
50465 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50467         * Rules (bench): Move target definition...
50468         * benchtests/Makefile: ... here.
50470 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50472         * math/libm-test.inc (cos_test): Fix PI/2 test.
50473         (sincos_test): Likewise.
50474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50475         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50477 2013-04-11  Andreas Schwab  <schwab@suse.de>
50479         [BZ #13988]
50480         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50481         accept exponent character only when digits were seen.
50482         * stdio-common/Makefile (tests): Add bug26.
50483         * stdio-common/bug26.c: New file.
50485         [BZ #14293]
50486         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50487         non-freeable.
50489 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50491         * Makeconfig (rtld-prefix): Define built linker prefix.
50492         * Rules (run-bench): Use it.
50493         * math/Makefile (run-regen-ulps): Likewise.
50495         * Rules (bench): Remove eval.
50497 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50498             Roland McGrath  <roland@hack.frob.com>
50499             Ondrej Bilka  <neleai@seznam.cz>
50501         [BZ #15346]
50502         * time/getdate.c: Include ctype.h and alloca.h.
50503         (__getdate_r): Trim leading and trailing spaces of input.
50504         * time/tst-getdate.c (tests): Add tests with leading and
50505         trailing spaces.
50507 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50509         [BZ #14280]
50510         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50511         when computing value.
50513 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50515         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50516         Use testrun.sh to run libm tests.
50518         [BZ #15309]
50519         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50521 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50523         [BZ #15264]
50524         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50528         * Makefile.in (regen-ulps): New target.
50529         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50530         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50531         [ifneq (no,$(PERL)] (regen-ulps): New target.
50532         [ifeq (no,$(PERL)] (regen-ulps): New target.
50533         * math/libm-test.inc (ulps_file_name): Define.
50534         (output_dir): New variable.
50535         (options): Add "output-dir" option.
50536         (parse_opt): Handle 'o' case.
50537         (main): If output_dir is non-NULL use it as a prefix
50538         otherwise use "".
50539         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50541 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50543         [BZ #10060, #10062]
50544         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50545         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50546         fail configure if __sync_val_compare_and_swap is not inlined.
50547         * sysdeps/i386/configure: Regenerate.
50548         * configure.in: Build for i686 when configured for i386.
50549         * configure: Regenerate.
50550         * README: Remove i386 reference.
50552 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50554         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50557 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50559         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50560         (lmsnanval): New variables.
50561         (F): Add conversion tests.
50562         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50563         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50565         * stdio-common/tstdiomisc.c (F): Properly collect individual
50566         tests' results.
50568         [BZ #14686, #15336]
50569         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50570         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50571         Instead, use input NaN values or generate a qNaN by arithmetic
50572         operation.  Also fix bugs to comply with the standard.
50573         * math/libm-test.inc (remainder_test): Add more tests.
50575         [BZ #15335, #15342]
50576         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50578         input NaN values or generate a qNaN by arithmetic operation.
50580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50581         unreachable code.
50583         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50584         definitions.
50586 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50588         [BZ #14478]
50589         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50590         underflowed result.
50591         * math/s_cexpf.c (__cexpf): Likewise.
50592         * math/s_cexpl.c (__cexpl): Likewise.
50593         * math/libm-test.inc (cexp_test): Add more tests.
50595 2013-04-03  Andreas Schwab  <schwab@suse.de>
50597         [BZ #15330]
50598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50599         order arrays from heap if bigger than alloca cutoff.
50601 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50603         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50604         (SNAN_TESTS_double): Refer to GCC PR56831.
50605         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50606         GCC PR56828.
50608 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50610         * Rules (bench): Move bench.out after the run is complete.
50612         * Rules (bench): Echo currently running benchmark.
50614         * benchtests/Makefile (bench): Add atan and slowatan.
50615         * benchtests/atan-inputs: New file.
50616         * benchtests/slowatan-inputs: New file.
50617         * benchtests/slowatan.c: New file.
50619         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50620         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50621         its value.
50623         [BZ #15305]
50624         * sysdeps/unix/sysv/linux/kernel-features.h
50625         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50626         __ASSUME_XFS_RESTRICTED_CHOWN.
50627         * sysdeps/unix/sysv/linux/pathconf.c
50628         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50629         Save and restore errno.
50631 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50633         [BZ #15327]
50634         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50635         arguments using __kernel_casinh.
50636         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50637         arguments using __kernel_casinhf.
50638         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50639         arguments using __kernel_casinhl.
50640         * math/libm-test.inc (cacosh_test): Add more tests.
50641         * sysdeps/i386/fpu/libm-test-ulps: Update.
50642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50644 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50646         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50649         * bench/Makefile (bench): Add sin and slowsin.
50650         * benchtests/sin-inputs: New file.
50651         * benchtests/slowsin-inputs: New file.
50652         * benchtests/slowsin.c: New file.
50654         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50655         (bench): Add slowexp and slowpow.
50656         (exp-ITER): Increase iterations.
50657         (pow-ITER): Likewise.
50658         * benchtests/exp-inputs: Change input.
50659         * benchtests/pow-inputs: Likewise.
50660         * benchtests/slowexp-inputs: New file.
50661         * benchtests/slowexp.c: New file.
50662         * benchtests/slowpow-inputs: New file.
50663         * benchtests/slowpow.c: New file.
50665 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50667         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50668         instructions.
50669         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50670         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50671         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50672         * benchtests/Makefile: Add rint benchtest.
50673         * benchtests/rint-inputs: Input for rint benchtest.
50675 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50677         * Versions.def (libm): Add GLIBC_2.18.
50678         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50679         hidden libm prototypes.
50680         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50681         * math/Makefile (libm-calls): Add s_issignaling.
50682         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50683         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50684         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50685         declaration.
50686         * math/math.h [__USE_GNU] (issignaling): New macro.
50687         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50688         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50689         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50690         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50691         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50692         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50693         * manual/arith.texi (issignaling): New section.
50694         * manual/libm-err-tab.pl (@all_functions): Update comment.
50695         * math/gen-libm-test.pl (parse_args): Apply special handling for
50696         issignaling.
50697         * math/libm-test.inc (print_float, issignaling_test): New
50698         functions.
50699         (check_float_internal): Add issignaling checks.
50700         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50701         default definition.
50702         * sysdeps/powerpc/math-tests.h: New file.
50703         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50704         tests.
50705         * math/test-snan.c (TEST_FUNC): Likewise.
50707 2013-03-30  David S. Miller  <davem@davemloft.net>
50709         * po/de.po: Update from translation team.
50711 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50713         [BZ #10357]
50714         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50715         imaginary part less than 1.0 and real part less than 0.5
50716         specially.
50717         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50718         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50719         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50720         (cacos_test): Add more tests.
50721         (casin_test): Likewise.
50722         (casinh_test): Likewise.
50723         * sysdeps/i386/fpu/libm-test-ulps: Update.
50724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50726 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50728         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50729         ONE with its value.
50731         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50732         (__pow_mp): Replace ONE and MONE with their values.
50733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50734         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50735         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50736         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50737         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50740         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50742         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50743         (__pow_mp): Replace ZERO and MZERO with their values.
50744         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50746         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50748         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50749         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50750         (__sqr): Likewise.
50752         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50754         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50756 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50758         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50759         Declare with __attribute__ ((weak)).
50760         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50761         Call __call_tls_dtors only if it's not NULL.
50763 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50765         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50766         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50767         magic __ehdr_start linker symbol if it's defined.
50768         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50769         them up here if it was already done.
50771         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50772         (_dl_aux_init): Use const in cast when setting it.
50773         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50774         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50775         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50777         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50778         Declare them here.
50779         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50780         * csu/libc-tls.c: Nor here.
50781         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50783         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50784         (__libc_message): Never call vsyslog.
50786 2013-03-28  Alan Modra  <amodra@gmail.com>
50788         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50789         Define as empty.
50790         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50791         Likewise.
50793 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50795         [BZ #15214]
50796         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50797         underflow.
50798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50800 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50802         [BZ #15304]
50803         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50804         Don't add gid passed as argument.
50806         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50808 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50810         [BZ #15307]
50811         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50812         imaginary part between 1.0 and 1.5 and real part less than 0.5
50813         specially.
50814         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50815         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50816         * math/libm-test.inc (cacos_test): Add more tests.
50817         (casin_test): Likewise.
50818         (casinh_test): Likewise.
50819         * sysdeps/i386/fpu/libm-test-ulps: Update.
50820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50822 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50824         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50825         constants.
50826         (norm): Likewise.
50827         (denorm): Likewise.
50828         (__dbl_mp): Likewise.
50829         (add_magnitudes): Likewise.
50830         (sub_magnitudes): Likewise.
50831         (__add): Likewise.
50832         (__sub): Likewise.
50833         (__mul): Likewise.
50834         (__sqr): Likewise.
50835         (__inv): Likewise.
50836         (__dvd): Likewise.
50838         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50839         commented code.
50840         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50841         (__dubcos): Likewise.
50842         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50843         (__ieee754_acos): Likewise.
50844         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50845         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50846         (__exp1): Likewise.
50847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50849         (log1): Likewise.
50850         (my_log2): Likewise.
50851         (checkint): Likewise.
50852         * sysdeps/ieee754/dbl-64/e_remainder.c
50853         (__ieee754_remainder): Likewise.
50854         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50856         (bsloww): Likewise.
50857         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50859         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50860         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50861         MANTISSA_STORE_T to store computations on mantissa.  Use
50862         macros for rounding and division.
50863         (denorm): Likewise.
50864         (__dbl_mp): Likewise.
50865         (add_magnitudes): Likewise.
50866         (sub_magnitudes): Likewise.
50867         (__mul): Likewise.
50868         (__sqr): Likewise.
50869         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50870         powers of two in terms of TWOPOW macro.
50871         (mp_no): Make type of mantissa as MANTISSA_T.
50872         [!RADIXI]: Define RADIXI.
50873         [!TWO52]: Define TWO52.
50874         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50876 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50878         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50879         llroundl symbol when building for PPC32.
50881 2013-03-24  Mark H Weaver  <mhw@netris.org>
50883         * manual/arith.texi (Normalization Functions): Fix prototypes for
50884         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50886 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50888         [BZ #13889]
50889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50890         high value to check if expl overflow.
50891         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50892         to check for underflow and overflow.
50893         * math/libm-test.inc: Add exp test.
50895 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50897         [BZ #11120]
50898         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50899         with NOT_IN_libc.
50901 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50903         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50904         symbol.
50906 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50908         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50909         wrap blocks consisting of several statements.
50911         * sysdeps/generic/math-tests.h: New file.
50912         * sysdeps/i386/fpu/math-tests.h: Likewise.
50913         * math/test-snan.c: Include it.
50914         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50916 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50918         [BZ #15285]
50919         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50920         (__ieee754_j0l): Do not improve calculations using cos of twice
50921         input for inputs above LDBL_MAX / 2.0L.
50922         (__ieee754_y0l): Likewise.
50923         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50924         (__ieee754_j1l): Do not improve calculations using cos of twice
50925         input for inputs above LDBL_MAX / 2.0L.
50926         (__ieee754_y1l): Likewise.
50927         * math/libm-test.inc (j0_test): Add another test.
50928         (j1_test): Likewise.
50929         (y0_test): Likewise.
50930         (y1_test): Likewise.
50931         * sysdeps/i386/fpu/libm-test-ulps: Update.
50933 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50935         * Rules ($(objpfx)bench-%.c): Include code from a C source
50936         file.
50938 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50940         [BZ #15287]
50941         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50942         imaginary part 1.0 and real part less than 0.5 specially.
50943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50945         * math/libm-test.inc (cacos_test): Add more tests.
50946         (casin_test): Likewise.
50947         (casinh_test): Likewise.
50948         * sysdeps/i386/fpu/libm-test-ulps: Update.
50949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50951 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50953         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50954         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50956 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50958         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50959         * config.make.in (config-cflags-sse4): Remove variable.
50960         (config-cflags-avx): Likewise.
50961         (config-cflags-sse2avx): Likewise.
50962         (config-cflags-novzeroupper): Likewise.
50963         (config-asflags-i686): Likewise.
50964         (have-mfma4): Likewise.
50965         (have-as-vis3): Likewise.
50966         (MIG): Likewise.
50967         * configure.in (MIG): Do not AC_SUBST.
50968         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50969         (libc_cv_cc_sse4): Do not AC_SUBST.
50970         (libc_cv_cc_avx): Likewise.
50971         (libc_cv_cc_sse2avx): Likewise.
50972         (libc_cv_cc_novzeroupper): Likewise.
50973         (libc_cv_cc_fma4): Likewise.
50974         (libc_cv_as_i686): Likewise.
50975         (libc_cv_sparc_as_vis3): Likewise.
50976         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50977         LIBC_CONFIG_VAR.
50978         (config-asflags-i686): Likewise.
50979         (config-cflags-avx): Likewise.
50980         (config-cflags-sse2avx): Likewise.
50981         (have-mfma4): Likewise.
50982         (config-cflags-novzeroupper): Likewise.
50983         * sysdeps/mach/configure.in (MIG): Likewise.
50984         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50985         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50986         LIBC_CONFIG_VAR.
50987         (config-cflags-avx): Likewise.
50988         (config-cflags-sse2avx): Likewise.
50989         (have-mfma4): Likewise.
50990         (config-cflags-novzeroupper): Likewise.
50991         * configure: Regenerated.
50992         * sysdeps/i386/configure: Likewise.
50993         * sysdeps/mach/configure: Likewise.
50994         * sysdeps/sparc/configure: Likewise.
50995         * sysdeps/x86_64/configure: Likewise.
50997 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50999         [BZ #14812]
51000         * locale/programs/localedef.c (options): Put N_ translation marker
51001         on argument names, not just descriptions.
51003 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51005         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51007 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51009         [BZ #14176]
51010         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51012 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51014         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51015         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51016         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51017         [!BEFORE_ABORT] (before_abort): New function.
51018         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51019         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51020         (writev_for_fatal): New function.
51021         (WRITEV_FOR_FATAL): New macro; call that.
51022         (backtrace_and_maps): New function.
51023         (BEFORE_ABORT): New macro; call that.
51024         (struct str_list): Type removed.
51025         (__libc_message, __libc_fatal): Functions removed.
51026         Include <sysdeps/posix/libc_fatal.c> instead.
51028 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51030         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51031         constants.
51032         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51033         double constants.
51035 2013-03-19  Andreas Schwab  <schwab@suse.de>
51037         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51038         * sysdeps/gnu/configure: Regenerate.
51040         * configure.in: Substitute libc_cv_rtlddir.
51041         * configure: Regenerate.
51042         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51043         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51044         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51045         * elf/Makefile (install-others, CFLAGS-interp.c)
51046         (ldso_install, common-ldd-rewrite): Likewise.
51047         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51048         $(inst_slibdir)/$(rtld-installed-name).
51049         * scripts/rellns-sh: Add -p option.
51050         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51051         for source.
51053 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51055         * manual/nptl.texi: Renamed to ...
51056         * manual/threads.texi: ... this.
51057         * manual/Makefile (chapters): Update.
51059 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51061         [BZ #14812]
51062         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51063         on argument names, not just descriptions.
51064         * malloc/memusagestat.c (options): Likewise.
51065         * nss/getent.c (options): Likewise.
51067 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51069         [BZ #14812]
51070         * iconv/iconv_prog.c (options): Put N_ translation marker
51071         on argument names, not just descriptions.
51072         * iconv/iconvconfig.c (options): Likewise.
51074 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51076         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51077         implementation which is faster on all x86_64 architectures.
51078         Tested on AMD, Intel Nehalem, SNB, IVB.
51079         * sysdeps/x86_64/strnlen.S: Likewise.
51081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51082         Remove all multiarch strlen and strnlen versions.
51083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51084         Remove strlen and strnlen related parts.
51086         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51087         Inline strlen part.
51088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51090         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51091         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51092         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51093         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51094         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51095         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51097 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51099         * manual/memory.texi (Malloc Tunable Parameters):
51100         Sort parameters alphabetically. Add comments for missing entries.
51102 2013-03-17  David S. Miller  <davem@davemloft.net>
51104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51106 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51108         [BZ #15283]
51109         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51110         for arguments at most half maximum finite value.
51111         * math/libm-test.inc (j0_test): Add more tests.
51112         (j1_test): Likewise.
51113         (y0_test): Likewise.
51114         (y1_test): Likewise.
51115         * sysdeps/i386/fpu/libm-test-ulps: Update.
51116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51118         [BZ #14155]
51119         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51120         1 / x and functions P and Q for arguments above 0x1p256L.
51121         (__ieee754_y0l): Likewise.
51122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51123         (__ieee754_y1l): Likewise.
51124         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51125         (j1_test): Likewise.
51126         (y0_test): Likewise.
51127         (y1_test): Likewise.
51129 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51131         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51132         variable.
51134 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51136         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51137         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51138         zero since it's initialized to EXEC_PAGESIZE.
51140         * sysdeps/unix/sysv/linux/ldsodefs.h
51141         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51142         * sysdeps/generic/ldsodefs.h: ... here.
51144 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51146         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51148         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51149         math/test-snan.c.
51150         * math/test-snan.c: Renamed from
51151         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51152         * math/Makefile (tests): Add test-snan.
51153         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51154         test-powerpc-snan.
51156         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51157         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51158         functions.
51159         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51160         __builtin_nan family of functions.
51161         * math/libm-test.inc (initialize): Initialize qnan_value with
51162         __builtin_nan family of functions.
51163         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51164         Remove variables.
51165         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51166         Remove functions.
51167         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51168         storage class.  Initialize qNaN_var and sNaN_var with
51169         __builtin_nan and __builtin_nans families of functions,
51170         respectively.
51172         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51173         (sqrt_test): Remove duplicate test with qNaN input.
51174         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51175         (round_test, signbit_test, significand_test): Note missing +/-Inf
51176         as well as qNaN tests.
51178         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51179         qNaN_var.  Fix a few strings, too.
51180         * math/libm-test.inc (nan_value): Rename to qnan_value.
51181         * math/gen-libm-test.pl (%beautify): Adjust to that.
51182         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51183         * math/test-misc.c (main): Likewise.
51184         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51185         to __qnan_bytes, and __qnan_union, respectively.
51186         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51187         Likewise.
51188         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51189         and lqnanval, respectively.
51190         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51191         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51192         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51193         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51195         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51196         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51197         doubles.
51199         * math/test-misc.c (main): Fix copy'n'pastos.
51200         * misc/tst-efgcvt.c (special): Likewise.
51202         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51203         Remove declarations.
51205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51207         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51208         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51209         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51210         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51212 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51215         macro to return vdso values correctly in IFUNC implementations.
51216         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51217         Optimization by using IFUNC.
51219 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51220             Richard Henderson  <rth@redhat.com>
51221             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51223         * Makefile.in (bench): New target.
51224         * NEWS: Mention the benchmark framework.
51225         * Rules (bench): Likewise.
51226         (binaries-bench): Generate binaries for functions to
51227         benchmark.
51228         * benchtests/Makefile: New makefile for benchmark tests.
51229         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51230         programs.
51231         * benchtests/exp-inputs: New input file for EXP function.
51232         * benchtests/pow-inputs: New input file for POW function.
51233         * scripts/bench.pl: New script to generate source files for
51234         benchmark programs.
51236 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51238         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51240         computations on mantissa.  Use macros for rounding and
51241         division.
51242         (denorm): Likewise.
51243         (__dbl_mp): Likewise.
51244         (add_magnitudes): Likewise.
51245         (sub_magnitudes): Likewise.
51246         (__mul): Likewise.
51247         (__sqr): Likewise.
51248         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51249         powers of two in terms of TWOPOW macro.
51250         (mp_no): Make type of mantissa as MANTISSA_T.
51251         [!RADIXI]: Define RADIXI.
51252         [!TWO52]: Define TWO52.
51253         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51255         * manual/nptl.texi (cindex): Modify threads to pthreads.
51257 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51259         * sysdeps/x86_64/preconfigure: Regenerated.
51261 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51263         [BZ #14155]
51264         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51265         0x1p28 and above.
51266         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51267         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51268         0x1p28 and above.
51269         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51270         * math/libm-test.inc (j0_test): Do not allow one spurious
51271         underflow exception.
51272         (y1_test): Likewise.
51274 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51276         * manual/Makefile (chapters): Add nptl.
51277         * manual/debug.texi (Debugging Support): Add link to Threads
51278         chapter.
51279         * manual/nptl.texi: New file.
51281         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51283 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51285         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51286         for non-NULL pointer before the memory validity test. Pointed
51287         out by Holger Brunck <holger.brunck@keymile.com>.
51289 2013-03-13  Andreas Schwab  <schwab@suse.de>
51291         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51292         instead of .os.
51294 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51296         * timezone/zic.c: Update from tzcode 2013b.
51298 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51300         * manual/install.texi (Configuring and compiling):
51301         Mention i686 and i586.
51302         * INSTALL: Regenerate.
51304 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51306         * sysdeps/init_array/elf-init.c: New file.
51307         * csu/elf-init.c
51308         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51309         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51311         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51312         __gmon_start__ as global, but as static with a .preinit_array pointer.
51313         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51314         * sysdeps/init_array/crti.S: New file, empty except for comments.
51315         * sysdeps/init_array/crtn.S: Likewise.
51317 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51319         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51320         definining bcopy.
51321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51322         Remove Prefer_SSE_for_memop.
51323         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51324         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51325         HAS_PREFER_SSE_FOR_MEMOP.
51326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51327         memset-x86-64.
51328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51329         Remove bzero, memset ifunc support.
51330         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51331         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51332         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51333         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51335 2013-03-11  Andreas Schwab  <schwab@suse.de>
51337         [BZ #15234]
51338         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51339         by SHLIB_COMPAT.
51340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51341         (GLIBC_2.16): Remove pthread_atfork.
51343 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51345         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51346         (ptestcases.h): Likewise.
51348 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51350         * Makeconfig ($(common-objpfx)config.status): Depend on
51351         sysdeps/*/preconfigure{,.in} too.
51353 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51355         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51356         (__free_hook): Use void * instead of __malloc_ptr_t.
51357         (__malloc_hook): Likewise.
51358         (__realloc_hook): Likewise.
51359         (__memalign_hook): Likewise.
51360         (__after_morecore_hook): Likewise.
51361         * malloc/arena.c (save_malloc_hook): Likewise.
51362         (save_free_hook): Likewise.
51363         * malloc/hooks.c (malloc_hook_ini): Likewise.
51364         (realloc_hook_ini): Likewise.
51365         (memalign_hook_ini): Likewise.
51366         * malloc/malloc.c (malloc_hook_ini): Likewise.
51367         (realloc_hook_ini): Likewise.
51368         (memalign_hook_ini): Likewise.
51369         (__free_hook): Likewise.
51370         (__malloc_hook): Likewise.
51371         (__realloc_hook): Likewise.
51372         (__memalign_hook): Likewise.
51373         (__libc_malloc): Likewise.
51374         (__libc_free): Likewise.
51375         (__libc_realloc): Likewise.
51376         (__libc_memalign): Likewise.
51377         (__libc_valloc): Likewise.
51378         (__libc_pvalloc): Likewise.
51379         (__libc_calloc): Likewise.
51380         (__posix_memalign): Likewise.
51381         * malloc/morecore.c (__sbrk): Likewise.
51382         (__default_morecore): Likewise.
51384         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51386         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51387         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51388         __malloc_ptrdiff_t.
51390         * malloc/malloc.h (__malloc_size_t): Remove macro.
51391         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51392         __malloc_size_t.
51393         (old_memalign_hook): Likewise.
51394         (old_realloc_hook): Likewise.
51395         (struct hdr): Likewise.
51396         (flood): Likewise.
51397         (mallochook): Likewise.
51398         (memalignhook): Likewise.
51399         (reallochook): Likewise.
51400         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51401         (tr_old_realloc_hook): Likewise.
51402         (tr_old_memalign_hook): Likewise.
51403         (tr_mallochook): Likewise.
51404         (tr_reallochook): Likewise.
51405         (tr_memalignhook): Likewise.
51407 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51409         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51410         default_ldbl_pack and using as default implementation.
51411         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51412         implementation.
51413         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51414         redundant definition.
51415         (ldbl_insert_mantissa): Likewise.
51416         (ldbl_canonicalize): Likewise.
51417         (ldbl_nearbyint): Likewise.
51418         (ldbl_pack): Rename to ldbl_pack_ppc.
51419         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51420         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51421         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51423 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51426         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51427         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51428         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51430         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51431         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51432         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51434 2013-03-07  Andreas Jaeger  <aj@suse.de>
51436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51437         bits/mman-linux.h.
51439 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51441         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51442         Include mpa.h and declare __MPEXP.
51443         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51444         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51445         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51446         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51447         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51448         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51449         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51451         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51452         (__slowpow): Use long double EXPL and LOGL functions to
51453         compute POW.
51454         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51455         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51456         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51457         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51458         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51459         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51462         intermediate variable to calculate exponent.
51463         (__sqr): Likewise.
51464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51465         Likewise.
51466         (__sqr): Likewise.
51468         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51469         [!NO__SQR]: Define __sqr.
51470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51471         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51472         sysdeps/ieee754/dbl-64/mpa.c.
51473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51475         [BZ #12723]
51476         * posix/Makefile (tests): Add tst-pathconf.
51477         * posix/tst-pathconf.c: New test case.
51478         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51479         _PC_PIPE_BUF.
51480         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51482 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51484         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51486 2013-03-06  Andreas Jaeger  <aj@suse.de>
51488         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51489         definition via __MAP_ANONYMOUS.
51491         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51492         it's not part of Linux headers.
51494         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51495         (MAP_HUGE_MASK): Define.
51497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51498         Define.
51499         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51501         Define.
51502         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51503         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51504         Define.
51505         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51506         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51507         Define.
51508         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51510         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51511         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51512         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51513         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51514         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51515         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51518         Handle f2fs.
51520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51521         Handle f2fs and efivarfs.
51523         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51524         f2fs.
51526         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51527         (EFIVARFS_MAGIC): Add.
51528         (F2FS_LINK_MAX): Add.
51530 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51532         * stdio-common/vfprintf.c: Replace __builtin_expect with
51533         __glibc_unlikely.
51535 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51537         [BZ #13550]
51538         * sysdeps/generic/bp-sym.h: Remove file.
51539         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51540         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51541         <bp-sym.h> and <bp-asm.h>.
51542         (__longjmp): Don't use BP_SYM.
51543         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51544         and <bp-asm.h>.
51545         (memcpy): Don't use BP_SYM.
51546         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51547         <bp-sym.h> and <bp-asm.h>.
51548         (memcpy): Don't use BP_SYM.
51549         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51550         <bp-asm.h>.
51551         (memcpy): Don't use BP_SYM.
51552         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51553         <bp-asm.h>.
51554         (memset): Don't use BP_SYM.
51555         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51556         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51557         (__bzero): Don't use BP_SYM.
51558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51560         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51561         <bp-sym.h> and <bp-asm.h>.
51562         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51563         pointers.
51564         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51565         <bp-sym.h> and <bp-asm.h>.
51566         (memcpy): Don't use BP_SYM.
51567         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51568         <bp-sym.h> and <bp-asm.h>.
51569         (memset): Don't use BP_SYM.
51570         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51571         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51572         (__bzero): Don't use BP_SYM.
51573         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51574         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51576         <bp-sym.h> and <bp-asm.h>.
51577         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51578         pointers.
51579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51580         <bp-sym.h> and <bp-asm.h>.
51581         (memcpy): Don't use BP_SYM.
51582         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51583         <bp-sym.h> and <bp-asm.h>.
51584         (memset): Don't use BP_SYM.
51585         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51586         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51587         (__bzero): Don't use BP_SYM.
51588         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51589         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51590         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51591         <bp-sym.h> and <bp-asm.h>.
51592         (__memchr): Don't use BP_SYM.
51593         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51594         <bp-sym.h> and <bp-asm.h>.
51595         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51596         pointers.
51597         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51598         <bp-sym.h> and <bp-asm.h>.
51599         (memcpy): Don't use BP_SYM.
51600         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51601         <bp-sym.h> and <bp-asm.h>.
51602         (__mempcpy): Don't use BP_SYM.
51603         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51604         <bp-sym.h> and <bp-asm.h>.
51605         (__memrchr): Don't use BP_SYM.
51606         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51607         <bp-sym.h> and <bp-asm.h>.
51608         (memset): Don't use BP_SYM.
51609         (__bzero): Likewise.
51610         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51611         <bp-sym.h> and <bp-asm.h>.
51612         (__rawmemchr): Don't use BP_SYM.
51613         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51614         <bp-sym.h> and <bp-asm.h>.
51615         (__STRCMP): Don't use BP_SYM.
51616         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51617         <bp-sym.h> and <bp-asm.h>.
51618         (strchr): Don't use BP_SYM.
51619         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51620         <bp-sym.h> and <bp-asm.h>.
51621         (__strchrnul): Don't use BP_SYM.
51622         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51623         <bp-sym.h> and <bp-asm.h>.
51624         (strlen): Don't use BP_SYM.
51625         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51626         <bp-sym.h> and <bp-asm.h>.
51627         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51628         pointers.
51629         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51630         <bp-sym.h> and <bp-asm.h>.
51631         (__strnlen): Don't use BP_SYM.
51632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51633         <bp-sym.h> and <bp-asm.h>.
51634         (__GI__setjmp): Don't use BP_SYM.
51635         (_setjmp): Likewise.
51636         (__sigsetjmp): Likewise.
51637         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51638         (L(start_addresses)): Don't use BP_SYM.
51639         (_start): Likewise.
51640         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51641         <bp-asm.h>.
51642         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51643         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51644         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51645         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51646         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51647         <bp-asm.h>.
51648         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51649         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51650         about bounded pointers.
51651         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51652         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51653         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51654         <bp-asm.h>.
51655         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51656         about bounded pointers.  Remove GKM FIXME comments.
51657         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51658         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51659         <bp-asm.h>.
51660         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51661         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51662         Remove GKM FIXME comments.
51663         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51664         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51665         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51666         <bp-asm.h>.
51667         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51668         about bounded pointers.  Remove GKM FIXME comment.
51669         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51670         and <bp-asm.h>.
51671         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51672         pointers.
51673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51674         <bp-sym.h> and <bp-asm.h>.
51675         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51677         <bp-sym.h> and <bp-asm.h>.
51678         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51679         comment.
51681 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51683         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51684         call free(NULL).
51686 2013-03-05  David S. Miller  <davem@davemloft.net>
51688         * po/es.po: Update from translation team.
51690 2013-03-05  Andreas Jaeger  <aj@suse.de>
51692         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51693         <bits/mman-linux.h>.
51694         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51695         is fine.
51696         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51697         <bits/mman-linux.h> to end of file.
51698         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51699         is fine.
51700         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51701         <bits/mman-linux.h> to end of file.
51702         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51703         is fine.
51704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51705         <bits/mman-linux.h> to end of file.
51707         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51708         (MCL_CURRENT, MCL_FUTURE): Define here.
51710 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51712         [BZ #15232]
51713         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51714         attribute_hidden.
51715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51717 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51719         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51720         fourth parameter needed for rt_sigprocmask syscall.
51721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51723         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51724         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51725         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51726         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51728 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51730         [BZ #13550]
51731         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51732         comment about bounded pointers.
51733         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51734         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51736 2013-03-04  Andreas Jaeger  <aj@suse.de>
51738         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51739         common definitions.
51741         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51742         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51743         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51744         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51745         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51746         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51748 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51750         [BZ #15055]
51751         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51752         __ieee754_sqrl instead of __sqrl.
51754 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51756         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51757         * sysdeps/powerpc/fpu_control.h: ... here.
51758         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51759         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51760         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51761         * sysdeps/powerpc/bits/mathinline.h: ... here.
51763 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51765         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51766         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51767         to just [NEED_DL_SYSINFO_DSO].
51768         * elf/dl-support.c: Likewise.
51769         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51770         * elf/rtld.c (dl_main): Likewise.
51771         * elf/setup-vdso.h (setup_vdso): Likewise.
51772         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51773         * sysdeps/unix/sysv/linux/dl-sysdep.c
51774         (_dl_discover_osversion): Likewise.
51776 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51778         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51779         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51781 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51783         * NEWS: Mention libm performance improvements and non-x86 PI
51784         futex support.
51786         * csu/libc-start.c (__pthread_initialize_minimal): Change
51787         function arguments.
51788         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51790 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51792         [BZ #13550]
51793         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51794         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51795         <bp-sym.h> and <bp-asm.h>.
51796         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51797         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51798         and <bp-asm.h>.
51799         (memcpy): Don't use BP_SYM.
51800         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51801         <bp-asm.h>.
51802         (__mpn_add_n): Don't use BP_SYM.
51803         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51804         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51805         and <bp-asm.h>.
51806         (__mpn_addmul_1): Don't use BP_SYM.
51807         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51808         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51809         <bp-sym.h>.
51810         (_setjmp): Don't use BP_SYM.
51811         (__novmx_setjmp): Likewise.
51812         (__GI__setjmp): Likewise.
51813         (__vmx_setjmp): Likewise.
51814         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51815         <bp-sym.h>.
51816         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51817         (__bzero): Don't use BP_SYM.
51818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51820         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51821         <bp-sym.h> and <bp-asm.h>.
51822         (memcpy): Don't use BP_SYM.
51823         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51824         <bp-sym.h> and <bp-asm.h>.
51825         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51826         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51827         <bp-sym.h> and <bp-asm.h>.
51828         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51829         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51830         <bp-asm.h>.
51831         (__mpn_lshift): Don't use BP_SYM.
51832         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51833         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51834         <bp-asm.h>.
51835         (memset): Don't use BP_SYM.
51836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51838         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51839         <bp-asm.h>.
51840         (__mpn_mul_1): Don't use BP_SYM.
51841         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51842         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51843         <bp-sym.h> and <bp-asm.h>.
51844         (memcmp): Don't use BP_SYM.
51845         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51846         <bp-sym.h> and <bp-asm.h>.
51847         (memcpy): Don't use BP_SYM.
51848         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51849         <bp-sym.h> and <bp-asm.h>.
51850         (memset): Don't use BP_SYM.
51851         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51852         <bp-sym.h> and <bp-asm.h>.
51853         (strncmp): Don't use BP_SYM.
51854         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51855         <bp-sym.h> and <bp-asm.h>.
51856         (memcpy): Don't use BP_SYM.
51857         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51858         <bp-sym.h> and <bp-asm.h>.
51859         (memset): Don't use BP_SYM.
51860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51861         <bp-sym.h> and <bp-asm.h>.
51862         (__memchr): Don't use BP_SYM.
51863         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51864         <bp-sym.h> and <bp-asm.h>.
51865         (memcmp): Don't use BP_SYM.
51866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51867         <bp-sym.h> and <bp-asm.h>.
51868         (memcpy): Don't use BP_SYM.
51869         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51870         <bp-sym.h> and <bp-asm.h>.
51871         (__mempcpy): Don't use BP_SYM.
51872         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51873         <bp-sym.h> and <bp-asm.h>.
51874         (__memrchr): Don't use BP_SYM.
51875         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51876         <bp-sym.h> and <bp-asm.h>.
51877         (memset): Don't use BP_SYM.
51878         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51879         <bp-sym.h> and <bp-asm.h>.
51880         (__rawmemchr): Don't use BP_SYM.
51881         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51882         <bp-sym.h> and <bp-asm.h>.
51883         (__STRCMP): Don't use BP_SYM.
51884         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51885         <bp-sym.h> and <bp-asm.h>.
51886         (strchr): Don't use BP_SYM.
51887         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51888         <bp-sym.h> and <bp-asm.h>.
51889         (__strchrnul): Don't use BP_SYM.
51890         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51891         <bp-sym.h> and <bp-asm.h>.
51892         (strlen): Don't use BP_SYM.
51893         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51894         <bp-sym.h> and <bp-asm.h>.
51895         (strncmp): Don't use BP_SYM.
51896         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51897         <bp-sym.h> and <bp-asm.h>.
51898         (__strnlen): Don't use BP_SYM.
51899         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51900         <bp-asm.h>.
51901         (__mpn_rshift): Don't use BP_SYM.
51902         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51903         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51904         <bp-sym.h> and <bp-asm.h>.
51905         (__sigsetjmp): Don't use BP_SYM.
51906         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51907         (L(start_addresses)): Don't use BP_SYM.
51908         (_start): Likewise.
51909         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51910         <bp-asm.h>.
51911         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51912         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51913         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51914         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51915         <bp-asm.h>.
51916         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51917         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51918         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51919         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51920         <bp-asm.h>.
51921         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51922         comments.
51923         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51924         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51925         <bp-asm.h>.
51926         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51927         FIXME comments.
51928         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51929         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51930         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51931         <bp-asm.h>.
51932         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51933         comment.
51934         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51935         and <bp-asm.h>.
51936         (strncmp): Don't use BP_SYM,
51937         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51938         <bp-asm.h>.
51939         (__mpn_sub_n): Don't use BP_SYM.
51940         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51941         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51942         and <bp-asm.h>.
51943         (__mpn_submul_1): Don't use BP_SYM.
51944         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51946         <bp-sym.h> and <bp-asm.h>.
51947         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51949         <bp-sym.h> and <bp-asm.h>.
51950         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51951         comment.
51953 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51956         Use ZK to minimize writes to Z.
51957         (sub_magnitudes): Simplify code a bit.
51958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51959         Use ZK to minimize writes to Z.
51960         (sub_magnitudes): Simplify code a bit.
51962 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51964         * csu/gmon-start.c: Add special exception to license text.
51966 2013-02-27  Richard Henderson  <rth@redhat.com>
51968         * scripts/config.guess: Update from config.git.
51969         * scripts/config.sub: Likewise.
51971 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51973         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51975         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51977         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51979         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51981         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51983 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51985         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51986         [$(build-shared = yes].
51988 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51990         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51991         (__mul): Reduce iterations for calculating mantissa.
51993         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51994         MPTWO.
51995         (__mpranred): Likewise.
51997         [BZ #15160]
51998         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51999         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52001 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52003         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52004         Define __attribute__.
52006 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52008         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52009         unused.
52010         * posix/regex_internal.h (__attribute): Remove.
52011         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52012         (re_string_context_at): Likewise.
52013         (bitset_not): Use __attribute__ and mark function as possibly
52014         unused.
52015         (bitset_merge): Likewise.
52016         (bitset_mask): Likewise.
52017         (re_string_char_size_at): Likewise.
52018         (re_string_wchar_at): Likewise.
52019         (re_string_elem_size_at): Likewise.
52021 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52023         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52024         code.
52025         (cc32): Likewise.
52027         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52028         (__acr): Likewise.
52029         (__cpy): Likewise.
52030         (norm): Likewise.
52031         (denorm): Likewise.
52032         (__dbl_mp): Likewise.
52033         (add_magnitudes): Likewise.
52034         (sub_magnitudes): Likewise.
52035         (__mul): Likewise.
52036         (__inv): Likewise.
52038         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52039         style.
52041         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52042         style.
52044         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52045         code.
52047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52048         up changes with default code.
52049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52050         Likewise.
52052 2013-02-24  Allan McRae  <allan@archlinux.org>
52054         * manual/socket.texi (The Internet Namespace): Order menu items
52055         to match that in the file.
52057         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52058         node listing of the info page menu.
52060 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52062         [BZ #13550]
52063         * sysdeps/i386/bp-asm.h: Remove file.
52064         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52065         (PARMS): Do not use macros from bp-asm.h.
52066         (S1): Likewise.
52067         (S2): Likewise.
52068         (SIZE): Likewise.
52069         (__mpn_add_n): Do not use BP_SYM
52070         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52071         "bp-asm.h".
52072         (PARMS): Do not use macros from bp-asm.h.
52073         (S1): Likewise.
52074         (SIZE): Likewise.
52075         (__mpn_addmul_1): Do not use BP_SYM
52076         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52077         "bp-asm.h".
52078         (PARMS): Do not use macros from bp-asm.h.
52079         (SIGMSK): Likewise.
52080         (_setjmp): Likewise.  Do not use BP_SYM.
52081         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52082         "bp-asm.h".
52083         (PARMS): Do not use macros from bp-asm.h.
52084         (SIGMSK): Likewise.
52085         (setjmp): Likewise.  Do not use BP_SYM.
52086         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52087         "bp-asm.h".
52088         (PARMS): Do not use macros from bp-asm.h.
52089         (__frexp): Do not use BP_SYM.
52090         (frexp): Likewise.
52091         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52092         "bp-asm.h".
52093         (PARMS): Do not use macros from bp-asm.h.
52094         (__frexpf): Do not use BP_SYM.
52095         (frexpf): Likewise.
52096         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52097         "bp-asm.h".
52098         (PARMS): Do not use macros from bp-asm.h.
52099         (__frexpl): Do not use BP_SYM.
52100         (frexpl): Likewise.
52101         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52102         "bp-asm.h".
52103         (PARMS): Do not use macros from bp-asm.h.
52104         (__remquo): Do not use BP_SYM.
52105         (remquo): Likewise.
52106         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52107         "bp-asm.h".
52108         (PARMS): Do not use macros from bp-asm.h.
52109         (__remquof): Do not use BP_SYM.
52110         (remquof): Likewise.
52111         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52112         "bp-asm.h".
52113         (PARMS): Do not use macros from bp-asm.h.
52114         (__remquol): Do not use BP_SYM.
52115         (remquol): Likewise.
52116         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52117         "bp-asm.h".
52118         (PARMS): Do not use macros from bp-asm.h.
52119         (DEST): Likewise.
52120         (SRC): Likewise.
52121         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52122         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52123         "bp-asm.h".
52124         (PARMS): Do not use macros from bp-asm.h.
52125         (strlen): Do not use BP_SYM.
52126         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52127         "bp-asm.h".
52128         (PARMS): Do not use macros from bp-asm.h.
52129         (S1): Likewise.
52130         (S2): Likewise.
52131         (SIZE): Likewise.
52132         (__mpn_add_n): Do not use BP_SYM.
52133         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52134         "bp-asm.h".
52135         (PARMS): Do not use macros from bp-asm.h.
52136         (S1): Likewise.
52137         (SIZE): Likewise.
52138         (__mpn_addmul_1): Do not use BP_SYM.
52139         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52140         weak_alias.
52141         (bzero): Likewise.
52142         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52143         "bp-asm.h".
52144         (PARMS): Do not use macros from bp-asm.h.
52145         (S): Likewise.
52146         (SIZE): Likewise.
52147         (__mpn_lshift): Do not use BP_SYM.
52148         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52149         "bp-asm.h".
52150         (PARMS): Do not use macros from bp-asm.h.
52151         (DEST): Likewise.
52152         (SRC): Likewise.
52153         (LEN): Likewise.
52154         (memcpy): Likewise.  Do not use BP_SYM.
52155         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52156         libc_hidden_def and weak_alias.
52157         (mempcpy): Do not use BP_SYM in weak_alias.
52158         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52159         "bp-asm.h".
52160         (PARMS): Do not use macros from bp-asm.h.
52161         (DEST): Likewise.
52162         (LEN): Likewise.
52163         [!BZERO_P] (CHR): Likewise.
52164         (memset): Likewise.  Do not use BP_SYM.
52165         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52166         "bp-asm.h".
52167         (PARMS): Do not use macros from bp-asm.h.
52168         (S1): Likewise.
52169         (SIZE): Likewise.
52170         (__mpn_mul_1): Do not use BP_SYM.
52171         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52172         "bp-asm.h".
52173         (PARMS): Do not use macros from bp-asm.h.
52174         (S): Likewise.
52175         (SIZE): Likewise.
52176         (__mpn_rshift): Do not use BP_SYM.
52177         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52178         "bp-asm.h".
52179         (PARMS): Do not use macros from bp-asm.h.
52180         (STR): Likewise.
52181         (CHR): Likewise.
52182         (strchr): Likewise.  Do not use BP_SYM.
52183         (index): Do not use BP_SYM in weak_alias.
52184         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52185         "bp-asm.h".
52186         (PARMS): Do not use macros from bp-asm.h.
52187         (DEST): Likewise.
52188         (SRC): Likewise.
52189         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52190         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52191         "bp-asm.h".
52192         (PARMS): Do not use macros from bp-asm.h.
52193         (strlen): Do not use BP_SYM.
52194         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52195         "bp-asm.h".
52196         (PARMS): Do not use macros from bp-asm.h.
52197         (S1): Likewise.
52198         (S2): Likewise.
52199         (SIZE): Likewise.
52200         (__mpn_sub_n): Do not use BP_SYM.
52201         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52202         "bp-asm.h".
52203         (PARMS): Do not use macros from bp-asm.h.
52204         (S1): Likewise.
52205         (SIZE): Likewise.
52206         (__mpn_submul_1): Do not use BP_SYM.
52207         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52208         "bp-asm.h".
52209         (PARMS): Do not use macros from bp-asm.h.
52210         (S1): Likewise.
52211         (S2): Likewise.
52212         (SIZE): Likewise.
52213         (__mpn_add_n): Do not use BP_SYM.
52214         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52215         weak_alias.
52216         (bzero): Likewise.
52217         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52218         "bp-asm.h".
52219         (PARMS): Do not use macros from bp-asm.h.
52220         (BLK2): Likewise.
52221         (LEN): Likewise.
52222         (memcmp): Do not use BP_SYM.
52223         (bcmp): Do not use BP_SYM in weak_alias.
52224         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52225         "bp-asm.h".
52226         (PARMS): Do not use macros from bp-asm.h.
52227         (DEST): Likewise.
52228         (SRC): Likewise.
52229         (LEN): Likewise.
52230         (memcpy): Likewise.  Do not use BP_SYM.
52231         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52232         "bp-asm.h".
52233         (PARMS): Do not use macros from bp-asm.h.
52234         (DEST): Likewise.
52235         (SRC): Likewise.
52236         (LEN): Likewise.
52237         (memmove): Likewise.  Do not use BP_SYM.
52238         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52239         "bp-asm.h".
52240         (PARMS): Do not use macros from bp-asm.h.
52241         (DEST): Likewise.
52242         (SRC): Likewise.
52243         (LEN): Likewise.
52244         (__mempcpy): Likewise.  Do not use BP_SYM.
52245         (mempcpy): Do not use BP_SYM in weak_alias.
52246         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52247         "bp-asm.h".
52248         (PARMS): Do not use macros from bp-asm.h.
52249         (DEST): Likewise.
52250         (LEN): Likewise.
52251         [!BZERO_P] (CHR): Likewise.
52252         (memset): Likewise.  Do not use BP_SYM.
52253         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52254         "bp-asm.h".
52255         (PARMS): Do not use macros from bp-asm.h.
52256         (STR2): Likewise.
52257         (strcmp): Do not use BP_SYM.
52258         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52259         "bp-asm.h".
52260         (PARMS): Do not use macros from bp-asm.h.
52261         (STR): Likewise.
52262         (DELIM): Likewise.
52263         [USE_AS_STRTOK_R] (SAVE): Likewise.
52264         (FUNCTION): Likewise.  Do not use BP_SYM.
52265         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52266         aliases.
52267         (strtok_r): Likewise.
52268         (__GI___strtok_r): Likewise.
52269         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52270         (PARMS): Do not use macros from bp-asm.h.
52271         (S): Likewise.
52272         (SIZE): Likewise.
52273         (__mpn_lshift): Do not use BP_SYM.
52274         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52275         (PARMS): Do not use macros from bp-asm.h.
52276         (STR): Likewise.
52277         (CHR): Likewise.
52278         (__memchr): Do not use BP_SYM.
52279         (memchr): Do not use BP_SYM in weak_alias.
52280         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52281         (PARMS): Do not use macros from bp-asm.h.
52282         (BLK2): Likewise.
52283         (LEN): Likewise.
52284         (memcmp): Do not use BP_SYM.
52285         (bcmp): Do not use BP_SYM in weak_alias.
52286         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52287         (PARMS): Do not use macros from bp-asm.h.
52288         (S1): Likewise.
52289         (SIZE): Likewise.
52290         (__mpn_mul_1): Do not use BP_SYM.
52291         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52292         "bp-asm.h".
52293         (PARMS): Do not use macros from bp-asm.h.
52294         (STR): Likewise.
52295         (CHR): Likewise.
52296         (__rawmemchr): Do not use BP_SYM.
52297         (rawmemchr): Do not use BP_SYM in weak_alias.
52298         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52299         (PARMS): Do not use macros from bp-asm.h.
52300         (S): Likewise.
52301         (SIZE): Likewise.
52302         (__mpn_rshift): Do not use BP_SYM.
52303         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52304         (PARMS): Do not use macros from bp-asm.h.
52305         (SIGMSK): Likewise.
52306         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52307         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52308         (_start): Do not use BP_SYM.
52309         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52310         (PARMS): Do not use macros from bp-asm.h.
52311         (DEST): Likewise.
52312         (SRC): Likewise.
52313         (__stpcpy): Likewise.  Do not use BP_SYM.
52314         (stpcpy): Do not use BP_SYM in weak_alias.
52315         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52316         "bp-asm.h".
52317         (PARMS): Do not use macros from bp-asm.h.
52318         (DEST): Likewise.
52319         (SRC): Likewise.
52320         (LEN): Likewise.
52321         (__stpncpy): Likewise.  Do not use BP_SYM.
52322         (stpncpy): Do not use BP_SYM in weak_alias.
52323         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52324         (PARMS): Do not use macros from bp-asm.h.
52325         (STR): Likewise.
52326         (CHR): Likewise.
52327         (strchr): Likewise.  Do not use BP_SYM.
52328         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52329         "bp-asm.h".
52330         (PARMS): Do not use macros from bp-asm.h.
52331         (STR): Likewise.
52332         (CHR): Likewise.
52333         (__strchrnul): Likewise.  Do not use BP_SYM.
52334         (strchrnul): Do not use BP_SYM in weak_alias.
52335         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52336         "bp-asm.h".
52337         (PARMS): Do not use macros from bp-asm.h.
52338         (STOP): Likewise.
52339         (strcspn): Do not use BP_SYM.
52340         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52341         "bp-asm.h".
52342         (PARMS): Do not use macros from bp-asm.h.
52343         (STR): Likewise.
52344         (STOP): Likewise.
52345         (strpbrk): Likewise.  Do not use BP_SYM.
52346         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52347         "bp-asm.h".
52348         (PARMS): Do not use macros from bp-asm.h.
52349         (STR): Likewise.
52350         (CHR): Likewise.
52351         (strrchr): Likewise.  Do not use BP_SYM.
52352         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52353         (PARMS): Do not use macros from bp-asm.h.
52354         (SKIP): Likewise.
52355         (strspn): Do not use BP_SYM.
52356         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52357         (PARMS): Do not use macros from bp-asm.h.
52358         (STR): Likewise.
52359         (DELIM): Likewise.
52360         (SAVE): Likewise.
52361         (FUNCTION): Likewise.  Do not use BP_SYM.
52362         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52363         aliases.
52364         (strtok_r): Likewise.
52365         (__GI___strtok_r): Likewise.
52366         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52367         (PARMS): Do not use macros from bp-asm.h.
52368         (S1): Likewise.
52369         (S2): Likewise.
52370         (SIZE): Likewise.
52371         (__mpn_sub_n): Do not use BP_SYM.
52372         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52373         "bp-asm.h".
52374         (PARMS): Do not use macros from bp-asm.h.
52375         (S1): Likewise.
52376         (SIZE): Likewise.
52377         (__mpn_submul_1): Do not use BP_SYM.
52378         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52379         <bp-sym.h>.
52380         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52381         and <bp-asm.h>.
52382         (PARMS): Do not use macros from bp-asm.h.
52383         (FLAGS): Likewise.
52384         (PTID): Likewise.
52385         (TLS): Likewise.
52386         (CTID): Likewise.
52387         (__clone): Do not use BP_SYM.
52388         (clone): Do not use BP_SYM in weak_alias.
52389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52390         and <bp-asm.h>.
52391         (PARMS): Do not use macros from bp-asm.h.
52392         (LEN): Likewise.
52393         (__mmap64): Do not use BP_SYM.
52394         (mmap64): Do not use BP_SYM in weak_alias.
52395         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52396         <bp-sym.h> and <bp-asm.h>.
52397         (PARMS): Do not use macros from bp-asm.h.
52398         (__posix_fadvise64_l64): Do not use BP_SYM.
52399         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52400         (PARMS): Do not use macros from bp-asm.h.
52401         (NSOPS): Likewise.
52402         (semtimedop): Do not use BP_SYM.
52403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52404         and <bp-asm.h>.
52406 2013-02-21  Allan McRae  <allan@archlinux.org>
52408         * manual/message.texi (Charset conversion in gettext):
52409         Move @end statement to beginning of line.
52411 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52414         static.
52415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52416         Likewise.
52418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52419         (denorm): Likewise.
52420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52423 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52425         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52426         tail-call to the resolved function if pltexit isn't needed.
52428 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52431         or Y being zero as being unlikely.
52432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52433         Likewise.
52435 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52437         * manual/nss.texi (System Databases and Name Service Switch):
52438         Remove frobnicate @pxref.
52440 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52442         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52443         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52445 2013-02-20  Petr Machata  <pmachata@redhat.com>
52447         * elf/elf.h (R_ARM_TARGET1): New macro.
52448         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52449         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52450         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52451         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52452         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52453         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52454         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52455         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52456         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52457         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52458         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52459         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52460         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52461         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52462         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52463         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52464         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52465         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52466         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52467         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52468         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52469         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52470         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52471         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52472         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52473         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52474         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52475         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52476         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52477         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52478         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52479         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52480         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52481         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52482         (R_ARM_THM_GOT_BREL12): Likewise.
52483         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52484         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52485         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52486         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52487         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52488         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52489         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52490         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52491         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52493 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52495         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52496         __attribute_used__ to __attribute__ ((unused)).
52498 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52500         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52501         powerpc mpa.c.
52502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52503         comment formatting.
52504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52506 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52508         [BZ #13550]
52509         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52510         Remove macro.
52511         (ENTER): Remove both macro definitions.
52512         (LEAVE): Likewise.
52513         (CHECK_BOUNDS_LOW): Likewise.
52514         (CHECK_BOUNDS_HIGH): Likewise.
52515         (CHECK_BOUNDS_BOTH): Likewise.
52516         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52517         (RETURN_BOUNDED_POINTER): Likewise.
52518         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52519         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52520         (POP_ERRNO_LOCATION_RETURN): Likewise.
52521         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52522         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52523         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52524         macros.
52525         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52526         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52527         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52528         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52529         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52530         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52531         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52532         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52533         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52534         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52535         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52536         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52537         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52538         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52539         removed macros.
52540         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52541         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52542         macros.
52543         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52544         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52545         * sysdeps/i386/i586/memset.S (memset): Likewise.
52546         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52547         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52548         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52549         macros.
52550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52551         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52552         Change uses of L(2) to L(out).
52553         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52554         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52555         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52556         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52557         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52558         removed macros.
52559         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52560         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52561         macros.
52562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52563         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52564         (RETURN): Do not use macro LEAVE.
52565         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52566         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52567         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52568         * sysdeps/i386/i686/memset.S (memset): Likewise.
52569         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52570         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52571         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52572         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52573         Likewise.
52574         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52575         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52576         L(1_2) and L(1_3) into L(1).
52577         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52578         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52579         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52580         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52581         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52582         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52583         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52584         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52585         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52586         macros.
52587         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52588         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52589         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52590         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52591         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52592         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52593         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52594         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52595         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52596         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52597         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52598         * sysdeps/i386/strspn.S (strspn): Likewise.
52599         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52600         conditional code.
52601         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52602         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52603         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52604         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52605         L(1_3) into L(1_1).
52606         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52607         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52608         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52609         macros.
52610         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52612 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52614         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52615         macro.
52617 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52619         * math/atest-exp.c (exp_mpn): Remove ROUND.
52620         * math/atest-exp2.c (exp_mpn): Likewise.
52621         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52623         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52624         * stdlib/tst-tls-atexit-lib.c: Likewise.
52625         * stdlib/tst-tls-atexit.c: Likewise.
52627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52629         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52630         and __attribute_alloc_size__.
52632 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52634         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52635         __attribute_alloc_size__.
52636         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52637         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52639 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52641         * include/programs/xmalloc.h: New file.
52642         * catgets/gencat.c: Include it.
52643         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52644         * elf/pldd.c: Likewise.
52645         * iconv/iconv_charmap.c: Likewise.
52646         * iconv/iconvconfig.c: Likewise.
52647         * iconv/strtab.c: Likewise.
52648         * locale/programs/locale.c: Likewise.
52649         * locale/programs/localedef.h: Likewise.
52650         * locale/programs/simple-hash.c: Likewise.
52651         * nscd/nscd.h: Likewise.
52652         * nss/makedb.c: Likewise.
52653         * sysdeps/generic/ldconfig.h: Likewise.
52655 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52657         * Versions.def: Add GLIBC_2.18.
52658         * include/link.h (struct link_map): New member l_tls_dtor_count.
52659         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52660         (__call_tls_dtors): Likewise.
52661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52662         __cxa_thread_atexit_impl.
52663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52664         Likewise.
52665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52666         Likewise.
52667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52668         Likewise.
52669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52670         Likewise.
52671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52673         Likewise.
52674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52675         Likewise.
52676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52678         Likewise.
52679         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52680         (tests): Add test case tst-tls-atexit.
52681         (modules-names): Add shared library for tst-tls-atexit.
52682         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52683         (GLIBC_PRIVATE): Add __call_tls_dtors.
52684         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52685         for libstdc++.
52686         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52687         * stdlib/tst-tls-atexit.c: New test case.
52688         * stdlib/tst-tls-atexit-lib.c: New test case.
52690         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52692         * elf/Versions (ld): Add _dl_find_dso_for_object.
52693         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52694         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52695         (dl_open_worker): Use _dl_find_dso_for_object.
52696         * elf/dl-sym.c (do_sym): Likewise.
52697         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52699 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52701         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52702         Syntactic changes only.
52703         (_dl_runtime_profile): Do a tail-call to the resolved function.
52705 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52707         [BZ #13550]
52708         * sysdeps/x86_64/bp-asm.h: Remove file.
52709         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52710         <bp-sym.h> and <bp-asm.h>.
52711         (__clone): Do not use BP_SYM.
52712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52713         <bp-sym.h> and <bp-asm.h>.
52714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52715         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52716         "bp-asm.h".
52717         (_setjmp): Do not use BP_SYM.
52718         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52719         "bp-asm.h".
52720         (setjmp): Do not use BP_SYM.
52721         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52722         libc_hidden_def.
52723         (mempcpy): Do not use BP_SYM in weak_alias.
52724         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52725         "bp-asm.h".
52726         (strchr): Do not use BP_SYM.
52727         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52728         "bp-asm.h".
52729         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52730         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52731         (_start): Do not use BP_SYM.
52732         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52733         "bp-asm.h".
52734         (strcat): Do not use BP_SYM.
52735         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52736         "bp-asm.h".
52737         (STRCMP): Do not use BP_SYM.
52738         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52739         "bp-asm.h".
52740         (STRCPY): Do not use BP_SYM.
52741         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52742         "bp-asm.h".
52743         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52744         "bp-asm.h".
52745         (FUNCTION): Do not use BP_SYM.
52746         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52747         weak_alias.
52748         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52750 2013-02-17  Andreas Jaeger  <aj@suse.de>
52752         * time/Versions: Sort entries.
52753         * string/Versions: Likewise.
52754         * resolv/Versions: Likewise.
52755         * posix/Versions: Likewise.
52756         * iconv/Versions: Likewise.
52757         * elf/Versions: Likewise.
52758         * wcsmbs/Versions: Likewise.
52760 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52762         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52763         loop termination condition.
52765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52766         variable to calculate EZ.
52767         (__sqr): Likewise.
52769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52770         the lower precision input.
52772 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52774         [BZ #13550]
52775         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52776         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52777         (run-via-rtld-prefix): Do not handle %-bp tests.
52778         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52779         (all-object-suffixes): Remove .ob.
52780         (bppfx): Remove variable.
52781         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52782         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52783         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52784         [$(build-bounded) = yes] (libtype.ob): Likewise.
52785         * Makerules (elide-routines.ob): Remove variable.
52786         (do-tests-clean): Do not handle *-bp.out.
52787         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52788         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52789         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52790         (tests): Do not include $(tests-bp.out).
52791         (xtests): Do not include $(xtests-bp.out).
52792         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52793         [$(build-bounded) = yes] ($(addprefix
52794         $(objpfx),$(binaries-bounded))): Remove rule.
52795         ($(objpfx)%-bp.out): Remove rule.
52796         * config.make.in (build-bounded): Remove variable.
52797         * crypt/Makefile [$(build-bounded) = yes]
52798         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52799         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52800         append to variable.
52801         [$(build-bounded) = yes] (install-lib): Likewise.
52802         [$(build-bounded) = yes] (generated): Likewise.
52803         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52804         Remove rule.
52805         * intl/Makefile [$(build-bounded) = yes]
52806         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52807         * math/Makefile [$(build-bounded) = yes]
52808         ($(tests:%=$(objpfx)%-bp): Likewise.
52809         * misc/Makefile [$(build-bounded) = yes]
52810         ($(objpfx)tst-tsearch-bp): Likewise.
52811         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52812         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52813         Remove dependency.
52814         * string/Makefile (o-objects.ob): Remove variable.
52815         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52816         (CFLAGS-.ob): Remove variable.
52817         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52818         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52819         both definitions of variable.
52820         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52821         (ASFLAGS-.ob): Remove variable.
52823 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52825         [BZ #13550]
52826         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52827         Remove __BOUNDED_POINTERS__ from condition.
52828         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52829         * string/bits/string2.h [!__NO_STRING_INLINES &&
52830         !__BOUNDED_POINTERS__]: Likewise.
52831         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52832         Likewise.
52833         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52834         Remove conditional code.
52835         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52836         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52837         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52838         condition.
52840         [BZ #13550]
52841         * csu/libc-start.c: Do not include <bp-sym.h>.
52842         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52843         * elf/dl-open.c: Do not include <bp-sym.h>.
52844         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52845         * math/fegetenv.c: Do not include <bp-sym.h>.
52846         (fegetenv): Do not use BP_SYM in versioned symbols.
52847         * nptl/sysdeps/pthread/bits/libc-lockP.h
52848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52849         <bp-sym.h>.
52850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52851         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52853         (__pthread_mutex_destroy): Likewise.
52854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52855         (__pthread_mutex_lock): Likewise.
52856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52857         (__pthread_mutex_trylock): Likewise.
52858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52859         (__pthread_mutex_unlock): Likewise.
52860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52861         (__pthread_mutexattr_init): Likewise.
52862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52863         (__pthread_mutexattr_destroy): Likewise.
52864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52865         (__pthread_mutexattr_settype): Likewise.
52866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52867         (__pthread_rwlock_init): Likewise.
52868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52869         (__pthread_rwlock_destroy): Likewise.
52870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52871         (__pthread_rwlock_rdlock): Likewise.
52872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52873         (__pthread_rwlock_tryrdlock): Likewise.
52874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52875         (__pthread_rwlock_wrlock): Likewise.
52876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52877         (__pthread_rwlock_trywrlock): Likewise.
52878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52879         (__pthread_rwlock_unlock): Likewise.
52880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52881         (__pthread_key_create): Likewise.
52882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52883         (__pthread_setspecific): Likewise.
52884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52885         (__pthread_getspecific): Likewise.
52886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52887         Likewise.
52888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52889         (_pthread_cleanup_push_defer): Likewise.
52890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52891         (_pthread_cleanup_pop_restore): Likewise.
52892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52893         (pthread_setcancelstate): Likewise.
52894         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52895         <bp-sym.h>.
52896         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52897         (memchr): Do not use BP_SYM in weak_alias.
52898         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52899         (fegetenv): Do not use BP_SYM in versioned symbols.
52900         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52901         (fesetenv): Do not use BP_SYM in versioned symbols.
52902         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52903         (feupdateenv): Do not use BP_SYM in versioned symbols.
52904         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52905         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52906         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52907         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52908         (open64): Do not use BP_SYM in weak_alias.
52909         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52910         (fegetenv): Do not use BP_SYM in versioned symbols.
52911         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52912         (fesetenv): Do not use BP_SYM in versioned symbols.
52913         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52914         (feupdateenv): Do not use BP_SYM in versioned symbols.
52915         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52916         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52917         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52918         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52919         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52920         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52922         <bp-sym.h>.
52923         (__libc_start_main): Do not use BP_SYM.
52925 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52928         redundant return line.
52929         (norm): Likewise.
52930         (denorm): Likewise.
52931         (dbl_mp): Likewise.
52932         (sub_magnitudes): Likewise.
52933         (__add): Likewise.
52934         (__sub): Likewise.
52935         (__mul): Likewise.
52936         (__inv): Likewise.
52937         (__dvd): Likewise.
52938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52939         (norm): Likewise.
52940         (denorm): Likewise.
52941         (dbl_mp): Likewise.
52942         (sub_magnitudes): Likewise.
52943         (__add): Likewise.
52944         (__sub): Likewise.
52945         (__mul): Likewise.
52946         (__inv): Likewise.
52947         (__dvd): Likewise.
52949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52950         instead of __mul.
52951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52952         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52953         (cc32): Likewise.
52955         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52956         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52958         of __mul for squares.
52959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52960         function
52961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52962         Likewise.
52963         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52964         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52966 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52968         [BZ #13550]
52969         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52970         code.
52971         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52972         prototype or function definition.  Rename ubp_* variables and
52973         parameters.  Remove argv definitions conditional on
52974         [__BOUNDED_POINTERS__].
52975         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52976         * elf/dl-runtime.c (_dl_fixup): Likewise.
52977         * include/set-hooks.h (RUN_HOOK): Likewise.
52978         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52979         definition.
52980         * string/strcpy.c (strcpy): Do not use __unbounded.
52981         * sysdeps/generic/frame.h (struct layout): Likewise.
52982         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52983         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52984         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52985         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52986         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52987         (__backtrace): Likewise.
52988         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52989         use __ptrvalue.
52990         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52991         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52992         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52993         Likewise.
52994         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52995         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52996         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52997         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52998         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52999         Do not use __unbounded.
53000         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53001         Rename __unboundedrlimits parameter to rlimits in prototype.
53002         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53003         Do not use __unbounded.
53004         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53005         not use __ptrvalue.
53006         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53007         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53008         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53009         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53010         __ptrvalue or __unbounded.
53011         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53012         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53013         use __unbounded.
53014         (__new_msgctl): Do not use __ptrvalue.
53015         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53016         __unbounded.
53017         (__libc_msgrcv): Do not use __ptrvalue.
53018         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53019         startup_info): Do not use __unbounded.
53020         (__libc_start_main): Likewise.  Rename ubp_* variables and
53021         parameters.  Remove argv definitions conditional on
53022         [__BOUNDED_POINTERS__].
53023         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53024         __ptrvalue.
53025         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53026         use __unbounded.
53027         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53028         or __ptrvalue.
53029         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53030         use __unbounded.
53031         (__new_shmctl): Do not use __ptrvalue.
53032         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53033         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53034         Likewise.
53035         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53036         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53037         (__libc_sigaction): Likewise.
53038         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53040         Likewise.
53041         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53043 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53045         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53047         * string/mempcpy.c: Implement by calling memcpy.
53049 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53054         evaluation.
53056         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53057         values in the mantissa.
53059         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53060         minimize writes to Z.
53061         (sub_magnitudes): Simplify code a bit.
53063 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53065         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53066         from the message.  The linker prefixes all warnings with that already.
53068 2013-02-12  Andreas Schwab  <schwab@suse.de>
53070         [BZ #15078]
53071         * posix/regexec.c (extend_buffers): Add parameter min_len.
53072         (check_matching): Pass minimum needed length.
53073         (clean_state_log_if_needed): Likewise.
53074         (get_subexp): Likewise.
53075         * posix/Makefile (tests): Add bug-regex34.
53076         (bug-regex34-ENV): Define.
53077         * posix/bug-regex34.c: New file.
53079         [BZ #11561]
53080         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53081         elements compare against the byte sequence of it, not its name.
53082         * posix/Makefile (tests): Add bug-regex35.
53083         (bug-regex35-ENV): Define.
53084         * posix/bug-regex35.c: New file.
53086 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53088         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53089         comment.
53090         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53091         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53092         (CHECK_EOL): Add undef.
53094 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53096         * bits/stdlib-bsearch.h: New file.
53097         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53098         * stdlib/stdlib.h: Likewise.
53100 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53102         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53103         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53104         declaration.
53105         * manual/search.texi (Array Search Function): Add missing const in
53106         lfind prototype.
53107         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53108         declaration to use rlim_t.
53109         (Basic Scheduling Functions): Remove erroneous const from
53110         sched_getparam prototype.  Remove erroneous * from
53111         sched_get_priority_max and sched_get_priority_min prototypes.
53112         (Resource Usage): Fix summary @comment on vtimes to refer to
53113         sys/vtimes.h rather than vtimes.h.
53114         Add missing *s in vtimes prototype.
53115         (Limits on Resources): Fix ulimit prototype to return long int.
53116         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53117         prototypes to use long int rather than double.
53118         (BSD Random): Fix initstate and setstate to use char *, not void *.
53119         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53120         prototype to make second argument 'struct aiocb64 *const[]'.
53121         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53122         (Status of AIO Operations): Remove erroneous const in aio_return and
53123         aio_return64 prototypes.
53124         (Synchronizing I/O): Fix sync prototype to return void.
53125         * manual/startup.texi (Suboptions): Remove an erroneous const in
53126         getsubopt prototype.
53127         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53128         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53129         use size_t rather than int.
53130         (Scanning All Users): Likewise for getpwent_r.
53131         (Setting Groups): Add missing const to setgroups prototype.
53132         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53133         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53134         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53135         'const void *' rather than 'const char *'.
53136         (Host Address Functions): Likewise for inet_ntop.
53137         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53138         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53139         ssize_t for return value.
53140         (Sending Data): Likewise for send, sendto, sendmsg.
53141         (Socket Option Functions): Add a missing const in setsockopt prototype.
53142         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53143         use wchar_t for the argument.
53144         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53145         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53146         take no arguments.
53147         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53148         double/float/long double for second argument.
53149         Fix return types of significand, significandf, significandl.
53150         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53151         argument in fchmod prototype.
53152         (File Owner): Use uid_t and gid_t in fchown prototype.
53153         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53154         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53155         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53156         use 'const struct dirent **' as argument types to CMP function pointer
53157         argument.
53158         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53159         (File Times): Fix summary magic @comment for struct utimbuf and utime
53160         to refer to utime.h, not time.h.
53161         * manual/string.texi (Argz Functions): Add missing const in
53162         argz_extract and argz_next prototypes.
53163         (Finding Tokens in a String): Likewise for basename.
53164         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53165         (Copying and Concatenation): Fix typo in wmemmove prototype.
53166         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53167         (Signal Stack): Remove erroneous const in sigstack prototype.
53168         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53169         prototype.
53170         (Simple Calendar Time): Likewise for stime.
53171         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53172         prototype.
53173         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53174         say sys/sysctl.h instead.
53175         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53176         and vsyslog prototypes.
53178 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53180         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53181         Remove.
53183 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53185         * misc/sys/mman.h: Fix typo in mremap comment.
53187 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53189         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53190         the '\0' terminator.
53192 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53194         [BZ #13550]
53195         * debug/segfault.c: Don't include <bp-checks.h>.
53196         * sysdeps/generic/bp-checks.h: Remove file.
53197         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53198         (__GETDENTS): Don't use CHECK_N.
53199         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53200         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53201         (__getgroups): Don't use CHECK_N.
53202         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53203         (setgroups): Don't use CHECK_N.
53204         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53205         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53206         (__libc_msgrcv): Don't use CHECK_N.
53207         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53208         (__libc_msgsnd): Don't use CHECK_N.
53209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53210         <bp-checks.h>.
53211         (__libc_pread): Don't use CHECK_N.
53212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53213         include <bp-checks.h>.
53214         (__libc_pread64): Don't use CHECK_N.
53215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53216         include <bp-checks.h>.
53217         (__libc_pwrite): Don't use CHECK_N.
53218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53219         include <bp-checks.h>.
53220         (__libc_pwrite64): Don't use CHECK_N.
53221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53222         <bp-checks.h>.
53223         (__libc_pread): Don't use CHECK_N.
53224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53225         include <bp-checks.h>.
53226         (__libc_pread64): Don't use CHECK_N.
53227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53228         include <bp-checks.h>.
53229         (__libc_pwrite): Don't use CHECK_N.
53230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53231         include <bp-checks.h>.
53232         (__libc_pwrite64): Don't use CHECK_N.
53233         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53234         (do_pread): Don't use CHECK_N.
53235         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53236         (do_pread64): Don't use CHECK_N.
53237         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53238         (do_pwrite): Don't use CHECK_N.
53239         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53240         (do_pwrite64): Don't use CHECK_N.
53241         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53242         (__libc_readv): Don't use CHECK_N.
53243         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53244         (semop): Don't use CHECK_N.
53245         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53246         <bp-checks.h>.
53247         (semtimedop): Don't use CHECK_N.
53248         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53249         (__libc_pread): Don't use CHECK_N.
53250         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53251         <bp-checks.h>.
53252         (__libc_pread64): Don't use CHECK_N.
53253         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53254         <bp-checks.h>.
53255         (__libc_pwrite): Don't use CHECK_N.
53256         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53257         <bp-checks.h>.
53258         (__libc_pwrite64): Don't use CHECK_N.
53259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53260         <bp-checks.h>.
53261         (__libc_msgrcv): Don't use CHECK_N.
53262         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53263         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53264         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53265         (__libc_writev): Don't use CHECK_N.
53267 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53269         * string/strcpy.c: Removed unused variable.
53271         * Makeconfig (+sysdep-includes): Define with := rather than =.
53272         Use an existing include/ subdir of each sysdeps dir before it.
53274 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53276         * nscd/connection.c (register_traced_file): Comment function.
53277         [HAVE_INOTIFY] (union __inev): Define.
53278         [HAVE_INOTIFY] (inotify_check_files): New function.
53279         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53280         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53281         clear_db_cache.
53282         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53286         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53287         loaded if not already and that a failure is permanent.
53289 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53291         [BZ #15006]
53292         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53293         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53295 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53297         [BZ #13550]
53298         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53299         (CHECK_1_NULL_OK): Likewise.
53300         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53301         (__fxstat): Do not use CHECK_1.
53302         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53303         <bp-checks.h>.
53304         (___fxstat64): Do not use CHECK_1.
53305         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53306         <bp-checks.h>.
53307         (__fxstatat): Do not use CHECK_1.
53308         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53309         <bp-checks.h>.
53310         (__fxstatat64): Do not use CHECK_1.
53311         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53312         <bp-checks.h>.
53313         (__fxstat): Do not use CHECK_1.
53314         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53315         <bp-checks.h>.
53316         (__fxstatat): Do not use CHECK_1.
53317         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53318         <bp-checks.h>.
53319         (__getresgid): Do not use CHECK_1.
53320         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53321         <bp-checks.h>.
53322         (__getresuid): Do not use CHECK_1.
53323         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53324         <bp-checks.h>.
53325         (__lxstat): Do not use CHECK_1.
53326         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53327         <bp-checks.h>.
53328         (__old_msgctl): Do not use CHECK_1.
53329         (__new_msgctl): Likewise.
53330         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53331         <bp-checks.h>.
53332         (__new_setrlimit): Do not use CHECK_1.
53333         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53334         <bp-checks.h>.
53335         (__old_shmctl): Do not use CHECK_1.
53336         (__new_shmctl): Likewise.
53337         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53338         <bp-checks.h>.
53339         (__xstat): Do not use CHECK_1.
53340         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53341         (__lxstat): Do not use CHECK_1.
53342         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53343         <bp-checks.h>.
53344         (___lxstat64): Do not use CHECK_1.
53345         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53346         (__old_msgctl): Do not use CHECK_1.
53347         (__new_msgctl): Likewise.
53348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53349         <bp-checks.h>.
53350         (__gettimeofday): Do not use CHECK_1.
53351         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53352         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53353         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53354         <bp-checks.h>.
53355         (__gettimeofday): Do not use CHECK_1.
53356         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53357         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53358         (__new_shmctl): Do not use CHECK_1.
53359         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53360         <bp-checks.h>.
53361         (do_sigtimedwait): Do not use CHECK_1.
53362         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53363         <bp-checks.h>.
53364         (do_sigwaitinfo): Do not use CHECK_1.
53365         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53366         <bp-checks.h>.
53367         (msgctl): Do not use CHECK_1.
53368         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53369         <bp-checks.h>.
53370         (shmctl): Do not use CHECK_1.
53371         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53372         (ustat): Do not use CHECK_1.
53373         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53374         <bp-checks.h>.
53375         (__fxstat): Do not use CHECK_1.
53376         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53377         <bp-checks.h>.
53378         (__fxstatat): Do not use CHECK_1.
53379         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53380         <bp-checks.h>.
53381         (__lxstat): Do not use CHECK_1.
53382         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53383         <bp-checks.h>.
53384         (__xstat): Do not use CHECK_1.
53385         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53386         (__xstat): Do not use CHECK_1.
53387         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53388         (___xstat64): Do not use CHECK_1.
53390         [BZ #13550]
53391         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53392         definitions.
53393         (CHECK_BOUNDS_HIGH): Likewise.
53394         * string/strcpy.c: Do not include <bp-checks.h>.
53395         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53397 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53399         * nscd/nscd-client.h (__nscd_drop_map_ref):
53400         Add __attribute__ ((unused)).
53401         * nis/nss-nisplus.h (niserr2nss): Likewise.
53403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53404         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53406         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53407         Remove inline keyword.
53408         * include/rounding-mode.h (round_away): Likewise.
53409         * libio/wfileops.c (adjust_wide_data): Likewise.
53410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53411         (__m128i_strloadu_tolower): Likewise.
53412         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53413         (__m128i_strloadu_tolower): Likewise.
53414         * time/mktime.c (ydhms_diff): Likewise.
53415         * locale/elem-hash.h (elem_hash): Likewise.
53416         * locale/setlocale.c (setdata): Likewise.
53417         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53418         (re_string_wchar_at): Likewise.
53419         (bitset_not, bitset_merge, bitset_mask): Likewise.
53420         [!(__GNUC__ > 3)] (inline): Remove macro.
53421         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53422         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53423         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53424         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53425         * string/memcmp.c (memcmp_bytes): Likewise.
53426         * locale/programs/locarchive.c (compute_hashval): Likewise.
53427         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53428         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53429         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53430         * nss/getent.c (print_rpc, print_protocols): Likewise.
53431         (print_passwd, print_group, print_aliases): Likewise.
53432         * nis/nss-nisplus.h (niserr2nss): Likewise.
53433         * nscd/connections.c (restart_p): Likewise.
53434         Change return type to bool.
53436 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53438         * Makeconfig (all-Depend-files): Add existing
53439         $(sorted-subdirs:=/Depend) files.
53440         (all-subdirs): Remove nss.
53441         * sysdeps/unix/inet/Subdirs: Add it here instead.
53442         * hesiod/Depend: New file.
53444         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53445         instead of calling alloca.
53447         * io/lseek.c (__lseek): Rename to __libc_lseek.
53448         Define __lseek as an alias.
53450         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53452 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53454         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53455         else clause and remove check for non-standard endianness.
53457 2013-02-04  David S. Miller  <davem@davemloft.net>
53459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53461 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53463         [BZ #13550]
53464         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53465         (__ubp_memchr): Remove prototype.
53466         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53467         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53468         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53469         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53470         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53471         Remove alias.
53472         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53473         (__ubp_memchr): Likewise.
53474         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53475         (__ubp_memchr): Likewise.
53476         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53477         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53478         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53480         CHECK_STRING.
53481         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53482         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53483         (__getcwd): Do not use CHECK_STRING.
53484         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53485         <bp-checks.h>.
53486         (__real_chown): Do not use CHECK_STRING.
53487         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53488         <bp-checks.h>.
53489         (fchownat): Do not use CHECK_STRING.
53490         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53491         CHECK_STRING.
53492         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53493         <bp-checks.h>.
53494         (__lchown): Do not use CHECK_STRING.
53495         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53497         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53498         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53500         include <bp-checks.h>.
53501         (truncate64): Do not use CHECK_STRING.
53502         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53503         <bp-checks.h>.
53504         (__real_chown): Do not use CHECK_STRING.
53505         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53506         <bp-checks.h>.
53507         (__lchown): Do not use CHECK_STRING.
53508         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53509         <bp-checks.h>.
53510         (__chown): Do not use CHECK_STRING.
53511         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53512         <bp-checks.h>.
53513         (truncate64): Do not use CHECK_STRING.
53514         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53515         Likewise.
53516         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53517         (__xmknod): Do not use CHECK_STRING.
53518         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53519         <bp-checks.h>.
53520         (__xmknodat): Do not use CHECK_STRING.
53521         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53522         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53524 2013-02-04  Andreas Schwab  <schwab@suse.de>
53526         [BZ #14142]
53527         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53528         * include/netdb.h: Likewise for h_errno.
53529         * elf/tst-stackguard1.c: Include <tls.h>.
53531 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53533         * elf/link.h (struct link_map): Extend the l_addr comment.
53534         * include/link.h (struct link_map): Likewise.
53536 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53538         [BZ #13550]
53539         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53540         (BOUNDED_1): Remove macro.
53541         * debug/backtrace.c: Don't include <bp-checks.h>.
53542         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53543         (__backtrace): Likewise.
53544         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53545         <bp-checks.h>.
53546         (__backtrace): Don't use BOUNDED_1.
53547         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53548         <bp-checks.h>.
53549         (__backtrace): Don't use BOUNDED_1.
53550         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53551         (__backtrace): Don't use BOUNDED_1.
53552         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53553         (shmat): Don't use BOUNDED_N.
53555 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53557         [BZ #13550]
53558         * sysdeps/generic/bp-start.h: Remove file.
53559         * csu/libc-start.c: Don't include <bp-start.h>.
53560         (LIBC_START_MAIN): Set up __environ directly instead of using
53561         INIT_ARGV_and_ENVIRON.
53562         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53563         <bp-start.h>.
53565         [BZ #13550]
53566         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53567         definitions.
53568         (CHECK_FCNTL): Likewise.
53569         (CHECK_N_PAGES): Likewise.
53571         [BZ #13550]
53572         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53573         definitions.
53574         (CHECK_SIGSET_NULL_OK): Likewise.
53575         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53576         <bp-checks.h>.
53577         (sigpending): Don't use CHECK_SIGSET.
53578         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53579         <bp-checks.h>.
53580         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53581         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53582         <bp-checks.h>.
53583         (do_sigsuspend): Don't use CHECK_SIGSET.
53584         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53585         use CHECK_SIGSET.
53586         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53587         (do_sigwait): Don't use CHECK_SIGSET.
53588         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53589         use CHECK_SIGSET.
53590         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53591         include <bp-checks.h>.
53592         (sigpending): Don't use CHECK_SIGSET.
53593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53594         include <bp-checks.h>.
53595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53596         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53597         <bp-checks.h>.
53598         (sigpending): Don't use CHECK_SIGSET.
53599         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53600         <bp-checks.h>.
53601         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53603         [BZ #13550]
53604         * sysdeps/generic/bp-semctl.h: Remove file.
53605         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53606         <bp-checks.h> and <bp-semctl.h>.
53607         (__old_semctl): Don't use CHECK_SEMCTL.
53608         (__new_semctl): Likewise.
53609         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53610         and <bp-semctl.h>.
53611         (__old_semctl): Don't use CHECK_SEMCTL.
53612         (__new_semctl): Likewise.
53613         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53614         <bp-checks.h> and <bp-semctl.h>.
53615         (__old_semctl): Don't use CHECK_SEMCTL.
53616         (__new_semctl): Likewise.
53617         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53618         <bp-checks.h> and <bp-semctl.h>.
53619         (semctl): Don't use CHECK_SEMCTL.
53621         [BZ #13550]
53622         * Makerules (elide-bp-thunks): Remove variable.
53623         (elide-routines.oS): Don't use $(elide-bp-thunks).
53624         (elide-routines.os): Likewise.
53625         (elide-routines.o): Likewise.
53626         (elide-routines.op): Likewise.
53627         (elide-routines.og): Likewise.
53628         (objects): Don't use $(bp-thunks).
53629         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53630         include.
53631         (common-generated): Do not add s-proto-bp.d.
53632         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53633         (int): Likewise.
53634         (typ): Likewise.
53635         Do not generate makefile rules for bounded-pointer thunks.
53636         * sysdeps/generic/bp-thunks.h: Remove file.
53637         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53638         * sysdeps/unix/s-proto-bp.S: Likewise.
53640         [BZ #15062]
53641         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53642         parts of result separately when argument is not close to line from
53643         -i to i and one part of argument is small.
53644         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53645         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53646         * math/libm-test.inc (cacos_test): Add more tests.
53647         (casin_test): Likewise.
53648         (casinh_test): Likewise.
53649         * sysdeps/i386/fpu/libm-test-ulps: Update.
53650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53652 2013-01-31  David S. Miller  <davem@davemloft.net>
53654         * po/de.po: Update from translation team.
53656 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53658         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53660 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53662         * configure.in (_AC_PROG_CC_C89): New definition.
53663         * configure: Regenerate.
53665         * configure.in (AC_PROG_CPP): New definition.
53666         * configure: Regenerate.
53668 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53670         * debug/tst-backtrace.h: New file.
53671         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53672         (ret): Remove variable.
53673         (x): Likewise.
53674         (FAIL): Remove macro.
53675         (NO_INLINE): Likewise.
53676         (fn1): Use match function instead of strstr.
53677         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53678         (ret): Remove variable.
53679         (x): Likewise.
53680         (FAIL): Remove macro.
53681         (NO_INLINE): Likewise.
53682         (fn): Use match function instead of strstr.
53683         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53684         (ret): Remove variable.
53685         (x): Likewise.
53686         (FAIL): Remove macro.
53687         (NO_INLINE): Likewise.
53688         (handle_signal): Use match function instead of strstr.
53689         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53690         (ret): Remove variable.
53691         (x): Likewise.
53692         (FAIL): Remove macro.
53693         (NO_INLINE): Likewise.
53694         (handle_signal): Use match function instead of strstr.
53696 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53698         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53700 2013-01-23  David S. Miller  <davem@davemloft.net>
53702         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53703         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53704         argument of CAS if possible.
53705         * sysdeps/sparc/sparc64/bits/atomic.h
53706         (__arch_compare_and_exchange_val_32_acq): Likewise.
53707         (__arch_compare_and_exchange_val_64_acq): Likewise.
53709 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53711         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53712         * sysdeps/posix/ulimit.c: ... this.
53713         Include <limits.h>.
53714         * sysdeps/unix/bsd/ulimit.c: Remove file.
53716 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53718         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53719         (LDFLAGS-tst-array5): Likewise.
53721 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53723         [BZ #15036]
53724         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53725         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53726         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53727         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53729 2013-01-21  David S. Miller  <davem@davemloft.net>
53731         * sysdeps/sparc/backtrace.c: New file.
53732         * sysdeps/sparc/sparc32/backtrace.h: New file.
53733         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53734         * sysdeps/sparc/sparc64/backtrace.h: New file.
53735         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53736         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53737         -funwind-tables.
53739 2013-01-21  Andreas Schwab  <schwab@suse.de>
53741         [BZ #15020]
53742         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53743         closed its stdout.
53745 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53748         "mpa2.h".
53749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53751 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53752             Mark Mitchell  <mark@codesourcery.com>
53753             Tom de Vries  <tom@codesourcery.com>
53754             Paul Pluzhnikov  <ppluzhnikov@google.com>
53756         * debug/tst-backtrace2.c: New file.
53757         * debug/tst-backtrace3.c: Likewise.
53758         * debug/tst-backtrace4.c: Likewise.
53759         * debug/tst-backtrace5.c: Likewise.
53760         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53761         (CFLAGS-tst-backtrace3.c): Likewise.
53762         (CFLAGS-tst-backtrace4.c): Likewise.
53763         (CFLAGS-tst-backtrace5.c): Likewise.
53764         (LDFLAGS-tst-backtrace2): Likewise.
53765         (LDFLAGS-tst-backtrace3): Likewise.
53766         (LDFLAGS-tst-backtrace4): Likewise.
53767         (LDFLAGS-tst-backtrace5): Likewise.
53768         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53769         tst-backtrace4 and tst-backtrace5.
53771 2013-01-18  Anton Blanchard  <anton@samba.org>
53772             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53774         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53775         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53777         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53779         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53780         "+r" and remove output regs list as redundant.  Add explicit inline
53781         asm to specify register of return val to work around compiler codegen
53782         bug.  Remove (int) cast on return value.  Add return type parameter to
53783         use in macro so that this macro does not truncate return value for
53784         64-bit values.
53785         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53786         pass to INTERNAL_VSYSCALL_NCS.
53787         (INLINE_VSYSCALL): Add 'long int' as return type to
53788         INTERNAL_VSYSCALL_NCS macro invocation.
53789         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53790         INTERNAL_VSYSCALL_NCS macro invocation.
53791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53793 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53795         [BZ #14496]
53796         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53797         Fix application of SIMD FP exception mask.
53799         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53800         mp_no from a power of two.
53801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53802         __mpexp_twomm1.  Use __pow_mp.
53804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53805         multiplication.
53807 2013-01-17  David S. Miller  <davem@davemloft.net>
53809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53811 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53813         [BZ #15023]
53814         * include/complex.h: Condition contents on [!_COMPLEX_H].
53815         (__kernel_casinhf): New prototype.
53816         (__kernel_casinh): Likewise.
53817         (__kernel_casinhl): Likewise.
53818         * math/Makefile (libm_calls): Add k_casinh.
53819         * math/k_casinh.c: New file.
53820         * math/k_casinhf.c: Likewise.
53821         * math/k_casinhl.c: Likewise.
53822         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53823         finite nonzero arguments.
53824         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53825         finite nonzero arguments.
53826         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53827         finite nonzero arguments.
53828         * math/s_casinh.c: Do not include <float.h>.
53829         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53830         * math/s_casinhf.c: Do not include <float.h>.
53831         (__casinhf): Move code for finite nonzero arguments to
53832         k_casinhf.c.
53833         * math/s_casinhl.c: Do not include <float.h>.
53834         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53835         redefine.
53836         (__casinhl): Move code for finite nonzero arguments to
53837         k_casinhl.c.
53838         * math/libm-test.inc (cacos_test): Add more tests.
53839         * sysdeps/i386/fpu/libm-test-ulps: Update.
53840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53842 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53844         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53845         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53846         [!HAVE_MREMAP]: Remove [defined linux] case.
53847         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53849 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53851         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53853 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53855         * elf/elf.h (R_386_SIZE32): New relocation.
53856         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53857         R_386_SIZE32.
53858         (elf_machine_rela): Likewise.
53859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53860         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53862 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53864         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53865         (FP_FAST_FMA): Do not define.
53866         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53867         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53868         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53869         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53870         !_SOFT_FLOAT]: Likewise.
53871         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53873         value.
53874         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53875         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53877         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53878         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53879         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53880         file.
53882 2013-01-16  Andreas Schwab  <schwab@suse.de>
53884         [BZ #14327]
53885         * include/stdlib.h (__mktemp): Add declaration.
53886         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53887         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53889 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53891         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53892         definitions.
53893         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53894         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53895         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53896         definitions here.
53897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53898         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53899         definitions.
53900         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53901         and ONE.
53902         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53903         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53904         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53905         definitions.
53906         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53907         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53908         definitions.
53909         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53911         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53913 2013-01-15  David S. Miller  <davem@davemloft.net>
53915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53916         trunc{,f} to libm-sysdep_routes.
53917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53919         file.
53920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53922         file.
53923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53924         file.
53925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53927         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53928         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53929         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53930         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53931         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53932         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53935         nearbyint{,f} to libm-sysdep_routes.
53936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53938         New file.
53939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53940         file.
53941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53942         New file.
53943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53944         file.
53945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53948         file.
53949         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53950         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53951         file.
53952         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53953         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53954         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53956         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53957         libc_feholdexcept and libc_fesetenv.
53959 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53961         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53963 2013-01-14  David S. Miller  <davem@davemloft.net>
53965         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53966         (SPARC_ASM_VIS2_IFUNC): Likewise.
53967         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53969         use of 'siam' instruction.
53970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53971         Likewise.
53972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53973         Likewise.
53974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53975         Likewise.
53976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53981         file.
53982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53983         file.
53984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53985         file.
53986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53987         file.
53988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53993         new VIS2 routines.
53994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53997         Likewise.
53998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54003         routines to libm-sysdep_routines.
54004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54007         fdim/fdimf to libm-sysdep_routines.
54008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54009         file.
54010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54012         file.
54013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54016         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54017         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54018         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54019         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54021 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54023         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54024         to optimize copies.
54026         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54031         local variable MPTWO.
54032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54033         Likewise.
54035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54037         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54038         GLOB_NOESCAPE.
54040 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54042         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54044 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54046         * manual/pattern.texi (glob_t): Document gl_flags.
54047         (glob64_t): Likewise.
54049 2013-01-11  David S. Miller  <davem@davemloft.net>
54051         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54052         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54053         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54054         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54055         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54056         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54057         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54058         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54059         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54060         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54061         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54062         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54063         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54065         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54066         sparc V9 rather than using V8 code.
54067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54070         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54071         Move to...
54072         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54073         Here.
54075 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54077         [BZ #14941]
54078         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54079         not in the main loop.
54080         * configure: Regenerated.
54082 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54084         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54085         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54086         to just #else.
54087         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54088         [!__GLIBC_HAVE_LONG_LONG] case.
54089         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54090         condition to just #else.
54091         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54092         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54093         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54094         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54095         unconditional.
54096         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54097         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54098         #elif condition to just #else.
54099         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54100         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54101         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54102         #elif condition to just #else.
54104 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54106         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54107         (EF_MIPS_ARCH_64): Fix value.
54108         (EF_MIPS_ARCH_32R2): New.
54109         (EF_MIPS_ARCH_64R2): New.
54111 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54113         * Makeconfig (+link-pie-before-libc): New.
54114         (+link-pie-after-libc): Likewise.
54115         (+link-pie-tests): Likewise.
54116         (+link-pie): Rewritten.
54117         (link-before-libc): Remove $(config-LDFLAGS).
54118         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54119         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54120         (config-LDFLAGS): Renamed to ...
54121         (rtld-LDFLAGS): This.
54122         (rtld-tests-LDFLAGS): New macro.
54123         (link-libc-rpath-link): Likewise.
54124         (link-libc-tests-rpath-link): Likewise.
54125         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54126         (link-libc): Prepand $(link-libc-rpath-link).
54127         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54128         (test-program-prefix): New macro.
54129         (test-via-rtld-prefix): Likewise.
54130         (test-program-cmd): Likewise.
54131         (host-test-program-cmd): Likewise.
54132         * Makefile ($(common-objpfx)testrun.sh): Replace
54133         $(run-program-prefix) with $(test-program-prefix).
54134         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54135         $(rtld-LDFLAGS).
54136         ($(common-objpfx)shlib.lds): Likewise.
54137         (build-module-helper): Likewise.
54138         ($(common-objpfx)format.lds): Likewise.
54139         * Rules (binaries-pie-tests): New.
54140         (binaries-pie-notests): Likewise.
54141         (binaries-pie): Rewritten.
54142         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54143         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54144         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54145         (make-test-out): Replace $(host-built-program-cmd) with
54146         $(host-test-program-cmd).
54147         * config.make.in (build-hardcoded-path-in-tests): New variable.
54148         * configure.in (--enable-hardcoded-path-in-tests): New configure
54149         option.
54150         (hardcoded_path_in_tests): New AC_SUBST.
54151         * configure: Regenerated.
54152         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54153         $(built-program-cmd) with $(test-program-cmd).
54154         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54155         (test_program_cmd): This.
54156         * elf/Makefile ($(objpfx)order.out): Run test with
54157         $(test-program-prefix).
54158         ($(objpfx)order2.out): Likewise.
54159         ($(objpfx)tst-initorder.out): Likewise.
54160         ($(objpfx)tst-initorder2.out): Likewise.
54161         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54162         $(test-program-cmd).
54163         ($(objpfx)tst-array1-static.out): Likewise.
54164         ($(objpfx)tst-array2.out): Likewise.
54165         ($(objpfx)tst-array3.out): Likewise.
54166         ($(objpfx)tst-array4.out): Likewise.
54167         ($(objpfx)tst-array5.out): Likewise.
54168         ($(objpfx)tst-array5-static.out): Likewise.
54169         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54170         $(test-program-cmd).
54171         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54172         $(run-program-prefix) with $(test-program-prefix).
54173         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54174         (test_program_prefix): This.
54175         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54176         $(run-program-prefix) with $(test-program-prefix).
54177         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54178         (test_program_prefix): This.
54179         * iconvdata/tst-tables.sh: Likewise.
54180         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54181         $(run-program-prefix) with $(test-program-prefix).
54182         ($(objpfx)tst-translit.out): Likewise.
54183         ($(objpfx)tst-gettext2.out): Likewise.
54184         ($(objpfx)tst-gettext4.out): Likewise.
54185         ($(objpfx)tst-gettext6.out): Likewise.
54186         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54187         (test_program_prefix): This.
54188         * intl/tst-gettext2.sh: Likewise.
54189         * intl/tst-gettext4.sh  Likewise.
54190         * intl/tst-gettext6.sh: Likewise.
54191         * intl/tst-translit.sh: Likewise.
54192         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54193         with $(test-program-cmd).
54194         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54195         $(run-program-prefix) with $(test-program-prefix).
54196         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54197         (test_program_prefix): This.
54198         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54199         $(run-program-prefix) with $(test-program-prefix).
54200         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54201         (test_program_prefix): This.
54202         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54203         * posix/Makefile ($(objpfx)globtest.out): Replace
54204         $(run-via-rtld-prefix) and $(test-wrapper) with
54205         $(test-program-prefix) and $(test-via-rtld-prefix).
54206         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54207         $(test-program-prefix).
54208         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54209         $(host-test-program-cmd).
54210         (tst-spawn-ARGS): Likewise.
54211         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54212         $(test-program-prefix).
54213         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54214         (test_via_rtld_prefix): This.
54215         (test_wrapper): Renamed to ...
54216         (test_program_prefix): This.
54217         (run_program_prefix): Replaced by test_program_prefix.
54218         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54219         (test_program_prefix): This.
54220         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54221         with $(host-test-program-cmd).
54222         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54223         $(run-program-prefix) with $(test-program-prefix).
54224         ($(objpfx)tst-printf.out): Likewise.
54225         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54226         $(test-program-cmd).
54227         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54228         (test_program_prefix): This.
54229         * stdio-common/tst-unbputc.sh: Likewise.
54230         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54231         $(run-program-prefix) with $(test-program-prefix).
54232         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54233         (test_program_prefix): This.
54234         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54235         $(built-program-cmd) with $(test-program-cmd).
54237 2013-01-11  Andreas Jaeger  <aj@suse.de>
54239         [BZ #15003]
54240         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54241         value. Sync with Linux 3.7.
54243 2013-01-10  David S. Miller  <davem@davemloft.net>
54245         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54249 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54251         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54252         never set.
54253         * configure: Regenerated.
54255 2013-01-10  David S. Miller  <davem@davemloft.net>
54257         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54258         sparc V9 rather than using V8 code.
54259         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54260         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54262 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54264         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54265         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54266         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54267         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54268         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54269         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54270         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54271         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54272         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54273         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54274         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54275         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54276         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54277         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54278         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54279         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54280         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54281         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54282         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54283         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54284         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54285         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54286         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54287         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54288         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54289         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54290         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54292 2013-01-10  David S. Miller  <davem@davemloft.net>
54294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54296 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54298         * posix/Makefile (tests-static): New variable.
54299         (tests): Add $(tests-static).
54300         (tst-exec-static-ARGS): New variable.
54301         (tst-spawn-static-ARGS): Likewise.
54302         * posix/tst-exec-static.c: New file.
54303         * posix/tst-spawn-static.c: Likewise.
54304         * posix/tst-exec.c: Support run directly.
54305         * posix/tst-spawn.c: Likewise.
54307 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54309         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54310         long.
54311         * math/bits/mathcalls.h (llrint): Likewise.
54312         (llround): Likewise.
54313         * stdlib/stdlib.h (struct drand48_data): Likewise.
54314         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54315         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54316         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54317         Likewise.
54318         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54319         Likewise.
54320         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54321         (elf_greg_t): Likewise.
54322         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54323         (__jmp_buf): Likewise.
54324         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54325         definitions.
54326         (llrint): Likewise, for all definitions.
54327         (llrintl): Likewise.
54329         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54330         Remove [__GNUC__] condition.
54331         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54332         condition to just [__USE_ISOC99].
54333         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54335 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54337         [BZ #14200]
54338         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54339         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54340         defined.
54341         (_POSIX_V6_ILP32_OFF32): Likewise.
54342         (_XBS5_ILP32_OFF32): Likewise.
54343         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54344         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54346 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54348         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54351         doubles __mpexp_twomm1.  Adjust usage.
54352         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54353         Remove.
54355 2013-01-10  Andreas Schwab  <schwab@suse.de>
54357         [BZ #14964]
54358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54359         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54361 2013-01-09  David S. Miller  <davem@davemloft.net>
54363         [BZ #15003]
54364         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54365         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54366         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54367         (TCP_FASTOPEN): Define.
54368         (tcp_repair_opt): New structure.
54369         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54370         enum values.
54371         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54372         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54373         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54374         (tcp_cookie_transactions): New structure.
54376 2013-01-09  Anton Blanchard  <anton@samba.org>
54378         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54379         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54381         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54383 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54385         * include/features.h (__USE_ANSI): Remove.
54387 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54389         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54391         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54393 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54395         * sysdeps/s390/fpu/libm-test-ulps: Update.
54397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54399         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54400         (__acr): Likewise.
54401         (__cpy): Likewise.
54402         (norm): Likewise.
54403         (denorm): Likewise.
54404         (__mp_dbl): Likewise.
54405         (__dbl_mp): Likewise.
54406         (add_magnitudes): Likewise.
54407         (sub_magnitudes): Likewise.
54408         (__add): Likewise.
54409         (__sub): Likewise.
54410         (__mul): Likewise.
54411         (__inv): Likewise.
54412         (__dvd): Likewise.
54413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54414         (__acr): Likewise.
54415         (__cpy): Likewise.
54416         (norm): Likewise.
54417         (denorm): Likewise.
54418         (__mp_dbl): Likewise.
54419         (__dbl_mp): Likewise.
54420         (add_magnitudes): Likewise.
54421         (sub_magnitudes): Likewise.
54422         (__add): Likewise.
54423         (__sub): Likewise.
54424         (__mul): Likewise.
54425         (__inv): Likewise.
54426         (__dvd): Likewise.
54427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54428         (__acr): Likewise.
54429         (__cpy): Likewise.
54430         (norm): Likewise.
54431         (denorm): Likewise.
54432         (__mp_dbl): Likewise.
54433         (__dbl_mp): Likewise.
54434         (add_magnitudes): Likewise.
54435         (sub_magnitudes): Likewise.
54436         (__add): Likewise.
54437         (__sub): Likewise.
54438         (__mul): Likewise.
54439         (__inv): Likewise.
54440         (__dvd): Likewise.
54442 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54444         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54445         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54446         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54447         2 && __USE_EXTERN_INLINES]: Likewise.
54449 2013-01-08  Andreas Jaeger  <aj@suse.de>
54451         [BZ# 14985]
54452         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54453         Remove.
54454         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54455         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54457 2013-01-07  Anton Blanchard  <anton@samba.org>
54459         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54460         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54461         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54462         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54463         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54464         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54465         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54466         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54468         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54469         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54470         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54471         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54472         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54473         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54477         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54478         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54479         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54480         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54481         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54482         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54483         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54484         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54485         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54486         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54488         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54489         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54491         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54492         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54493         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54494         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54496         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54497         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54499         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54500         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54501         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54503 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54505         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54506         (__MALLOC_PMT): Likewise.
54507         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54508         [__GNUC__], only on [_LIBC].
54509         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54510         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54511         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54512         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54513         forward declaration.
54514         (realloc_hook_ini): Likewise.
54515         (memalign_hook_ini): Likewise.
54516         (__libc_memalign): Do not use __MALLOC_PMT in variable
54517         declaration.
54518         (__libc_valloc): Likewise.
54519         (__libc_pvalloc): Likewise.
54520         (__libc_calloc): Likewise.
54521         (__posix_memalign): Likewise.
54523         [BZ #14996]
54524         * math/s_casinh.c: Include <float.h>.
54525         (__casinh): Do not do computation with squaring and square root
54526         for large arguments.
54527         * math/s_casinhf.c: Include <float.h>.
54528         (__casinhf): Do not do computation with squaring and square root
54529         for large arguments.
54530         * math/s_casinhl.c: Include <float.h>.
54531         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54532         (__casinhl): Do not do computation with squaring and square root
54533         for large arguments.
54534         * math/libm-test.inc (casin_test): Add more tests.
54535         (casinh_test): Likewise.
54536         * sysdeps/i386/fpu/libm-test-ulps: Update.
54537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54539 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54541         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54542         (__x86_64_raw_data_cache_size): Likewise.
54543         (__x86_64_data_cache_size_half): Likewise.
54544         (__x86_64_raw_data_cache_size_half): Likewise.
54545         (__x86_64_shared_cache_size): Likewise.
54546         (__x86_64_raw_shared_cache_size): Likewise.
54547         (__x86_64_shared_cache_size_half): Likewise.
54548         (__x86_64_raw_shared_cache_size_half): Likewise.
54549         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54550         to ...
54551         (__x86_data_cache_size): This.
54552         (__x86_64_raw_data_cache_size): Renamed to ...
54553         (__x86_raw_data_cache_size): This.
54554         (__x86_64_data_cache_size_half): Renamed to ...
54555         (__x86_data_cache_size_half): This.
54556         (__x86_64_raw_data_cache_size_half): Renamed to ...
54557         (__x86_raw_data_cache_size_half): This.
54558         (__x86_64_shared_cache_size): Renamed to ...
54559         (__x86_shared_cache_size): This.
54560         (__x86_64_raw_shared_cache_size): Renamed to ...
54561         (__x86_raw_shared_cache_size): This.
54562         (__x86_64_shared_cache_size_half): Renamed to ...
54563         (__x86_shared_cache_size_half): This.
54564         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54565         (__x86_raw_shared_cache_size_half): This.
54566         * sysdeps/x86_64/memcpy.S: Updated.
54567         * sysdeps/x86_64/memset.S: Likewise.
54568         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54572 2013-01-04  David S. Miller  <davem@davemloft.net>
54574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54576 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54578         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54579         1 to avoid redefinition warning.
54580         (__USE_GNU): Don't define.
54581         (init_signaling_nan): Protoize.
54583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54585 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54587         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54589         (__cpymn): Likewise.
54590         (norm): Remove commented code.
54591         (denorm): Likewise.
54592         (__mp_dbl): Likewise.
54593         (__inv): Likewise.
54594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54595         (__cpymn): Likewise.
54596         (norm): Remove commented code.
54597         (denorm): Likewise.
54598         (__mp_dbl): Likewise.
54599         (__inv): Likewise.
54601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54602         mp_no value for 1.0 and 2.0.
54603         (norm): Use RADIXI instead of radixi.d.
54604         (denorm): Likewise.
54605         (__mul): Use 0.0 instead of zero.d.
54606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54607         mp_no value for 1.0 and 2.0.
54608         (norm): Use RADIXI instead of radixi.d.
54609         (denorm): Likewise.
54610         (__mul): Use 0.0 instead of zero.d.
54612 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54614         [BZ #14994]
54615         * math/s_casinh.c (__casinh): Reduce finite argument to first
54616         quadrant then set signs of results at the end.
54617         * math/s_casinhf.c (__casinhf): Likewise.
54618         * math/s_casinhl.c (__casinhl): Likewise.
54619         * math/libm-test.inc (casin_test): Add more tests.
54620         (casinh_test): Likewise.
54621         * sysdeps/i386/fpu/libm-test-ulps: Update.
54622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54624 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54626         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54628         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54630         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54631         declarations.
54632         (denorm): Likewise.
54633         (__mp_dbl): Likewise.
54634         (__inv): Likewise.
54636         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54637         and adjust the header comment.
54639         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54640         variable name from declaration.
54642 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54645         Initialize COMMON_CPUID_INDEX_7 element.
54646         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54647         (CPUID_RTM): Likewise.
54648         (HAS_RTM): Likewise.
54649         (COMMON_CPUID_INDEX_7): New enum.
54651 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54653         [BZ #14981]
54654         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54655         size is zero, record memory as freed.
54657 2013-01-03  Andreas Jaeger  <aj@suse.de>
54659         * po/ia.po: Add new Interlingua translation.
54661 2012-01-03  Allan McRae  <allan@archlinux.org>
54663         * locale/programs/localedef.c: Fix description of '--posix' flag.
54665 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54667         * NEWS: Update dates in second copyright notice.
54668         * README: Update copyright dates in example.
54669         * manual/libc.texinfo: Update copyright dates.
54670         * scripts/test-installation.pl: Update copyright date in --version
54671         output.
54673         * hurd/ctty-input.c: Fix copyright notice formatting.
54674         * hurd/ctty-output.c: Likewise.
54675         * hurd/dtable.c: Likewise.
54676         * hurd/hurd-raise.c: Likewise.
54677         * hurd/hurdprio.c: Likewise.
54678         * hurd/msgportdemux.c: Likewise.
54679         * misc/sys/file.h: Likewise.
54680         * misc/sys/ioctl.h: Likewise.
54681         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54682         * sysdeps/mach/hurd/chdir.c: Likewise.
54683         * sysdeps/mach/hurd/fchdir.c: Likewise.
54684         * sysdeps/mach/hurd/rename.c: Likewise.
54685         * sysdeps/mach/hurd/rmdir.c: Likewise.
54686         * sysdeps/mach/hurd/seekdir.c: Likewise.
54687         * sysdeps/mach/hurd/setsid.c: Likewise.
54688         * sysdeps/posix/wait3.c: Likewise.
54690         * All files with FSF copyright notices: Update copyright dates
54691         using scripts/update-copyrights.
54692         * intl/plural.c: Regenerated.
54693         * locale/programs/charmap-kw.h: Likewise.
54694         * locale/programs/locfile-kw.h: Likewise.
54696 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54698         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54699         four values.
54701         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54702         calculation loop and add branch prediction.
54704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54705         check access beyond bounds of m1np.
54707         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54708         MPTWO.
54709         (__inv): Remove local variable MPTWO to use the global
54710         constant.
54711         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54713         variable MPTWO.
54714         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54715         MP3HALFS static const.
54717 2013-01-01  David S. Miller  <davem@davemloft.net>
54719         * po/ca.po: Update from translation team.
54721 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54723         * scripts/update-copyrights: New file.
54724         * Makeconfig: Reformat copyright notice.
54725         * ctype/ctype.h: Likewise.
54726         * debug/swprintf_chk.c: Likewise.
54727         * elf/dl-cache.c: Likewise.
54728         * elf/dl-debug.c: Likewise.
54729         * elf/dl-object.c: Likewise.
54730         * grp/initgroups.c: Likewise.
54731         * hurd/Makefile: Likewise.
54732         * hurd/hurd/signal.h: Likewise.
54733         * hurd/hurdfault.c: Likewise.
54734         * hurd/hurdioctl.c: Likewise.
54735         * hurd/hurdlookup.c: Likewise.
54736         * hurd/intr-msg.c: Likewise.
54737         * iconv/gconv_open.c: Likewise.
54738         * libio/swprintf.c: Likewise.
54739         * locale/lc-ctype.c: Likewise.
54740         * locale/nl_langinfo.c: Likewise.
54741         * mach/Machrules: Likewise.
54742         * mach/Makefile: Likewise.
54743         * malloc/obstack.h: Likewise.
54744         * manual/Makefile: Likewise.
54745         * manual/tsort.awk: Likewise.
54746         * misc/bits/stab.def: Likewise.
54747         * nis/nis_print_group_entry.c: Likewise.
54748         * nis/nis_table.c: Likewise.
54749         * nis/nss_compat/compat-pwd.c: Likewise.
54750         * nis/nss_compat/compat-spwd.c: Likewise.
54751         * po/Makefile: Likewise.
54752         * posix/fnmatch.c: Likewise.
54753         * posix/regex.h: Likewise.
54754         * resolv/Makefile: Likewise.
54755         * resolv/nss_dns/dns-network.c: Likewise.
54756         * resolv/res_hconf.c: Likewise.
54757         * scripts/gen-sorted.awk: Likewise.
54758         * soft-fp/soft-fp.h: Likewise.
54759         * stdio-common/printf.h: Likewise.
54760         * stdlib/monetary.h: Likewise.
54761         * stdlib/random.c: Likewise.
54762         * stdlib/random_r.c: Likewise.
54763         * sysdeps/generic/Makefile: Likewise.
54764         * sysdeps/gnu/Makefile: Likewise.
54765         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54767         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54769         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54771         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54772         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54773         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54775         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54776         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54777         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54778         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54779         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54780         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54781         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54782         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54783         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54784         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54785         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54786         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54787         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54788         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54789         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54790         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54791         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54792         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54793         * sysdeps/mach/hurd/errnos.awk: Likewise.
54794         * sysdeps/mach/hurd/fork.c: Likewise.
54795         * sysdeps/mach/hurd/getcwd.c: Likewise.
54796         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54797         * sysdeps/mach/hurd/mmap.c: Likewise.
54798         * sysdeps/mach/hurd/utimes.c: Likewise.
54799         * sysdeps/mach/hurd/xmknod.c: Likewise.
54800         * sysdeps/posix/profil.c: Likewise.
54801         * sysdeps/posix/readdir_r.c: Likewise.
54802         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54803         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54804         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54805         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54807         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54808         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54809         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54811         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54812         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54813         * sysdeps/pthread/lio_listio.c: Likewise.
54814         * sysdeps/sparc/dl-procinfo.h: Likewise.
54815         * sysdeps/unix/i386/sysdep.S: Likewise.
54816         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54817         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54818         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54819         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54821         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54822         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54823         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54824         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54825         * sysdeps/wordsize-32/divdi3.c: Likewise.
54826         * time/sys/time.h: Likewise.
54827         * wcsmbs/Makefile: Likewise.
54829 2013-01-01  David S. Miller  <davem@davemloft.net>
54831         * po/fr.po: Update from translation team.
54833         * catgets/gencat.c: Update copyright year.
54834         * csu/version.c: Likewise.
54835         * debug/catchsegv.sh: Likewise.
54836         * debug/pcprofiledump.c: Likewise.
54837         * debug/xtrace.sh: Likewise.
54838         * elf/ldconfig.c: Likewise.
54839         * elf/ldd.bash.in: Likewise.
54840         * elf/pldd.c: Likewise.
54841         * elf/sotruss.ksh: Likewise.
54842         * elf/sprof.c: Likewise.
54843         * iconv/iconv_prog.c: Likewise.
54844         * iconv/iconvconfig.c: Likewise.
54845         * locale/programs/locale.c: Likewise.
54846         * locale/programs/localedef.c: Likewise.
54847         * login/programs/pt_chown.c: Likewise.
54848         * malloc/memusage.sh: Likewise.
54849         * malloc/memusagestat.c: Likewise.
54850         * malloc/mtrace.pl: Likewise.
54851         * nscd/nscd.c: Likewise.
54852         * nss/getent.c: Likewise.
54853         * nss/makedb.c: Likewise.
54854         * posix/getconf.c: Likewise.
54856 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54858         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54859         numbers.
54861 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54863         * math/bits/mathcalls.h (modf): Use __nonnull.
54865 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54867         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54868         (split): Use macro CN instead of the bare value.
54869         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54870         could be used.
54871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54872         instead of the bare value.
54873         (power1): Likewise.
54875 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54877         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54878         __ATAN_TWOM.
54879         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54881         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54882         their values.
54883         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54884         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54885         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54886         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54888 2012-12-28  Andreas Jaeger  <aj@suse.de>
54890         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54891         values are from Linux 3.7.
54893         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54894         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54896 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54898         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54899         TRUE case.
54901         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54902         (norm): Likewise.
54903         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54904         variables with preprocessor constants.
54905         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54906         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54907         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54909 2012-12-27  Bruno Haible  <bruno@clisp.org>
54911         [BZ #14317]
54912         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54913         only if needed.
54915 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54918         and use variable directly.
54919         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54921         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54922         MPONE.
54923         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54924         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54925         variable MPONE.
54926         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54928         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54929         include directive.  Remove local variable MPONE.
54930         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54931         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54932         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54934 2012-12-25  David S. Miller  <davem@davemloft.net>
54936         * version.h (RELEASE): Set to "development".
54937         (VERSION): Set to "2.17.90".
54938         * NEWS: Add 2.18 section.
54940 2012-12-21  David S. Miller  <davem@davemloft.net>
54942         * po/hr.po: Update from translation team.
54944 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54946         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54948 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54950         * NEWS:  Mention new memcpy for MIPS.
54952 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54954         * manual/contrib.texi (Contributors): Spelling correction.
54956 2012-12-15  David S. Miller  <davem@davemloft.net>
54958         * po/ru.po: Update from translation team.
54960 2012-12-13  David S. Miller  <davem@davemloft.net>
54962         * NEWS: Mention IFUNC testsuite enhancements.
54964         * po/pl.po: Update from translation team.
54965         * po/bg.po: Likewise.
54967         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54968         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54970 2012-12-11  David S. Miller  <davem@davemloft.net>
54972         * po/sv.po: Update from translation team.
54974         * po/vi.po: Update from translation team.
54976         * po/cs.po: Update from translation team.
54978         * po/de.po: Update from translation team.
54979         * po/eo.po: Likewise.
54980         * po/nl.po: Likewise.
54982 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54984         [BZ #14246]
54985         * manual/argp.texi (Argp Helper Functions): Move node to follow
54986         Argp Parsing State.
54988         [BZ #14872]
54989         * manual/conf.texi (Limits on File System Capacity): Mention if
54990         terminating null is included in the max size.
54992 2012-12-10  Andreas Jaeger  <aj@suse.de>
54994         * po/cs.po: Update from translation team.
54996 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54998         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54999         void pointer and cast to uintptr_t.
55000         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55001         path.
55002         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55003         * sysdeps/s390/s390-64/memset.S: Likewise.
55005 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55007         [BZ #14833]
55008         * menual/message.texi (Message Translation): Fix typos.
55009         (Helper programs for gettext): Likewise.
55011 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55013         [BZ #14898]
55014         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55015         Change to -1.
55017 2012-12-07  David S. Miller  <davem@davemloft.net>
55019         * po/libc.pot: Update.
55021 2012-12-07  Richard Henderson  <rth@redhat.com>
55023         [BZ #10114]
55024         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55025         normal/normal case to before the switch.
55026         (_FP_DIV): Likewise.
55028 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55029             Mike Frysinger  <vapier@gentoo.org>
55031         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55032         check for __NR_fadvise64_64.
55034 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55036         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55037         0, not just to plain "0" as a statement.
55038         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55039         with cw.
55041 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55043         * NEWS: Use sourceware.org in Bugzilla URL.
55045 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55048         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55050         * stdio-common/tst-put-error.c (do_test): Add newline to the
55051         padded test to ensure flush.
55053 2012-12-05  Jeff Law  <law@redhat.com>
55055         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55057 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55059         * README: Don't refer to ports add-on as distributed separately.
55060         Mention AArch64 in list of systems supported in the ports add-on.
55062         * LICENSES: Add more non-FSF copyright and license notices.
55064         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55065         ((unused)).
55067         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55069         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55070         10000 as width of padded output.
55072 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55074         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55076         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55077         variable LX with __attribute__ ((unused)).
55078         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55079         Likewise.
55080         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55082         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55083         with __attribute__ ((unused)).
55085 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55087         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55089 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55091         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55092         (CFLAGS-nldbl-acos.c): New variable.
55093         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55094         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55095         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55096         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55097         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55098         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55099         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55100         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55101         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55102         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55103         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55104         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55105         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55106         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55107         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55108         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55109         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55110         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55111         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55112         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55113         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55114         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55115         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55116         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55117         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55118         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55119         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55120         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55121         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55122         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55123         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55124         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55125         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55126         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55127         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55128         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55129         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55130         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55131         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55132         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55133         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55134         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55135         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55136         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55137         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55138         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55139         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55140         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55141         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55142         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55143         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55144         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55145         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55146         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55147         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55148         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55149         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55150         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55151         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55152         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55153         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55154         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55155         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55156         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55157         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55158         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55159         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55160         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55161         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55162         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55163         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55164         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55165         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55166         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55167         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55168         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55169         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55170         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55171         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55172         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55173         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55174         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55175         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55176         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55177         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55178         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55179         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55180         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55181         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55182         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55183         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55184         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55185         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55186         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55187         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55188         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55189         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55192         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55194         [BZ #14914]
55195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55196         whole low double instead of just low 47 bits when splitting values
55197         into two parts.
55199 2012-12-03  Allan McRae  <allan@archlinux.org>
55201         * manual/stdio.texi (Predefined Printf Handlers): Remove
55202         @hsep and @vsep usage.
55204 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55206         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55207         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55209 2012-12-03  Jeff Law  <law@redhat.com>
55211         * time/sys/time.h (settimeofday): Do not mark TV argument
55212         as __nonnull.
55214 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55216         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55217         when currently writing and seek to current position when not.
55218         * libio/Makefile (tests): Remove bug-fclose1.
55219         * libio/bug-fclose1.c: Delete.
55221 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55223         * manual/arith.texi (feenableexcept): Fix typo.
55224         (fedisableexcept): Likewise.
55226 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55228         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55229         second, differently-typed declaration, rather than a cast.
55231 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55233         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55234         * include/rpc/svc.h: ... here.
55236 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55238         [BZ #13013]
55239         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55240         depending n and resplen2 to catch cases where answer
55241         equals answerp2.
55243 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55245         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55246         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55248 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55250         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55252 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55254         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55256 2012-11-28  Jeff Law  <law@redhat.com>
55258         [BZ #13761]
55259         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55260         dataset_temporary.  Track alloca usage into alloca_used.
55261         If dataset is large allocate and release it via malloc/free.
55263 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55265         [BZ #14197]
55266         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55268 2012-11-28  David S. Miller  <davem@davemloft.net>
55270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55272 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55274         [BZ #14803]
55275         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55276         of pi/2 rounded to nearest to 64 bits.
55277         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55278         nearest to 64 bits.
55279         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55280         bits.
55282 2012-11-28  Jeff Law <law@redhat.com>
55283             Martin Osvald <mosvald@redhat.com>
55285         [BZ #14889]
55286         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55287         * sunrpc/svc.c: Include time.h.
55288         (__svc_accept_failed): New function.
55289         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55290         any reason other than EINTR, call __svc_accept_failed.
55291         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55292         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55294 2012-11-28  Andreas Schwab  <schwab@suse.de>
55296         * scripts/abilist.awk: Also handle indirect functions in .opd
55297         section.
55299 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55301         [BZ #13881]
55302         * sysdeps/x86/fpu/powl_helper.c: New file.
55303         * sysdeps/x86/fpu/Makefile: Likewise.
55304         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55305         (p3): New object.
55306         (__ieee754_powl): Use __powl_helper for finite arguments except
55307         integer exponents below 8.
55308         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55309         (p3): New object.
55310         (__ieee754_powl): Use __powl_helper for finite arguments except
55311         integer exponents below 8.
55312         * math/libm-test.inc (pow_test): Add more tests and enable some
55313         previously disabled tests.
55314         * sysdeps/i386/fpu/libm-test-ulps: Update.
55315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55317 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55318             Carlos O'Donell  <carlos_odonell@mentor.com>
55320         * nss/makedb.c (is_prime): Assert that input is odd and greater
55321         than 4.  Note that fact in a comment too.
55322         (next_prime): Add 4 to input.
55324 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55326         [BZ #11741]
55327         * libio/Makefile (tests): Add test case tst-fwrite-error.
55328         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55329         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55330         * libio/tst-fwrite-error.c: New test case.
55332 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55334         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55335         before casting to void *.
55336         * include/libc-internal.h (__pointer_type): New macro.
55337         (__integer_if_pointer_type_sub): Likewise.
55338         (__integer_if_pointer_type): Likewise.
55339         (cast_to_integer): Likewise.
55340         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55341         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55342         before casting to atomic64_t.
55343         (atomic_exchange_acq): Likewise.
55344         (__arch_exchange_and_add_body): Likewise.
55345         (__arch_add_body): Likewise.
55346         (atomic_add_negative): Likewise.
55347         (atomic_add_zero): Likewise.
55349 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55351         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55352         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55353         (add_fdes): Likewise.
55354         (linear_search_fdes): Likewise.
55355         (binary_search_unencoded_fdes): Likewise.
55357 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55359         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55361 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55363         * configure.in: Autodetect C++ header directories.
55364         * configure: Regenerated.
55366 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55368         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55370 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55374 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55376         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55377         LDBL_MANT_DIG == 106]: Disable some tests.
55378         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55379         Likewise.
55380         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55381         Likewise.
55383         [BZ #14871]
55384         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55385         input for small inputs.  Return +/- pi/2 for large inputs.
55386         * math/libm-test.inc (atan_test): Add more tests.
55388         * sysdeps/generic/unwind-dw2-fde-glibc.c
55389         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55390         __attribute__ ((unused)).
55392         [BZ #14645]
55393         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55394         x * y if x and y are nonzero and z is zero.
55396         [BZ #14811]
55397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55398         nonzero exponents with absolute value below 0x1p-117 to +/-
55399         0x1p-117.
55401         [BZ #14869]
55402         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55403         up arguments below 2**-450, not just those below 2**-500.
55404         * math/libm-test.inc (hypot_test): Add another test.
55406         [BZ #14868]
55407         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55408         Return a+b for ratio over 2**120, not 2**60.
55409         * math/libm-test.inc (hypot_test): Add another test.
55411         * math/libm-test.inc (clog_test): Use
55412         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55413         (clog10_test): Likewise.
55415         [BZ #6778]
55416         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55418 2012-11-22  Andreas Schwab  <schwab@suse.de>
55420         * sysdeps/i386/fpu/libm-test-ulps: Update.
55422 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55424         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55425         printf output with newline.
55427 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55429         [BZ #14865]
55430         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55431         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55432         -z nodlopen, -z initfirst and -z execstack support.
55433         * configure: Regenerated.
55435         * elf/elf.h (DF_1_NODIRECT): New macro.
55436         (DF_1_IGNMULDEF): Likewise.
55437         (DF_1_NOKSYMS): Likewise.
55438         (DF_1_NOHDR): Likewise.
55439         (DF_1_EDITED): Likewise.
55440         (DF_1_NORELOC): Likewise.
55441         (DF_1_SYMINTPOSE): Likewise.
55442         (DF_1_GLOBAUDIT): Likewise.
55443         (DF_1_SINGLETON): Likewise.
55444         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55445         DT_1_SUPPORTED_MASK bits.
55446         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55448 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55450         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55452 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55454         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55455         macro.
55457         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55458         (sendmmsg): Move declarations...
55459         * socket/sys/socket.h: ... here.
55460         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55461         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55462         include it from...
55463         * socket/recvmmsg.c: ... this new file.
55464         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55465         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55466         definition of __sendmmsg hidden.
55467         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55468         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55469         Move ENOSYS stub into and include it from...
55470         * socket/sendmmsg.c: ... this new file.
55471         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55472         (sysdep_routines): Move recvmmsg and sendmmsg...
55473         * socket/Makefile (routines): ... here.
55474         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55475         (GLIBC_PRIVATE): Add __sendmmsg.
55476         * include/sys/socket.h (__sendmmsg): Add declarations.
55477         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55478         sendmmsg.
55480 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55483         variable I1 with __attribute__ ((unused)).
55484         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55486 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55488         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55489         DUMMY variables with __attribute__ ((unused)).
55491         * bits/byteswap.h: Include <bits/types.h>.
55492         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55494 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55496         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55497         string_t.  Do not manually set errno.
55498         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55499         length with __strnlen.  Make sure to both set errno and return it on
55500         failure.
55502 2012-11-19  David S. Miller  <davem@davemloft.net>
55504         With help from Joseph Myers.
55505         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55506         very large arguments properly.
55507         * math/libm-test.inc (atan_test): New tests.
55508         (atan2_test): New tests.
55509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55512 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55514         [BZ #14856]
55515         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55516         Define to 3.
55518         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55519         [POSIX] (EADDRNOTAVAIL): Likewise.
55520         [POSIX] (EAFNOSUPPORT): Likewise.
55521         [POSIX] (EALREADY): Likewise.
55522         [POSIX] (ECONNABORTED): Likewise.
55523         [POSIX] (ECONNREFUSED): Likewise.
55524         [POSIX] (ECONNRESET): Likewise.
55525         [POSIX] (EDESTADDRREQ): Likewise.
55526         [POSIX] (EDQUOT): Likewise.
55527         [POSIX] (EHOSTUNREACH): Likewise.
55528         [POSIX] (EIDRM): Likewise.
55529         [POSIX] (EISCONN): Likewise.
55530         [POSIX] (ELOOP): Likewise.
55531         [POSIX] (EMULTIHOP): Likewise.
55532         [POSIX] (ENETDOWN): Likewise.
55533         [POSIX] (ENETUNREACH): Likewise.
55534         [POSIX] (ENOBUFS): Likewise.
55535         [POSIX] (ENODATA): Likewise.
55536         [POSIX] (ENOLINK): Likewise.
55537         [POSIX] (ENOMSG): Likewise.
55538         [POSIX] (ENOPROTOOPT): Likewise.
55539         [POSIX] (ENOSR): Likewise.
55540         [POSIX] (ENOSTR): Likewise.
55541         [POSIX] (ENOTCONN): Likewise.
55542         [POSIX] (ENOTSOCK): Likewise.
55543         [POSIX] (EOPNOTSUPP): Likewise.
55544         [POSIX] (EOVERFLOW): Likewise.
55545         [POSIX] (EPROTO): Likewise.
55546         [POSIX] (EPROTONOSUPPORT): Likewise.
55547         [POSIX] (EPROTOTYPE): Likewise.
55548         [POSIX] (ESTALE): Likewise.
55549         [POSIX] (ETIME): Likewise.
55550         [POSIX] (ETXTBSY): Likewise.
55551         [POSIX] (EWOULDBLOCK): Likewise.
55552         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55553         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55554         [POSIX] (SEEK_CUR): Likewise.
55555         [POSIX] (SEEK_END): Likewise.
55556         [POSIX || UNIX98] (mode_t): Do not require.
55557         [POSIX] (off_t): Likewise.
55558         [POSIX] (pid_t): Likewise.
55559         [POSIX] (sys/stat.h): Do not allow header.
55560         [POSIX] (unistd.h): Likewise.
55561         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55562         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55563         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55564         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55565         require.
55566         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55567         sigevent): Specify elements.
55568         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55569         entry.
55570         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55571         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55573         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55574         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55575         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55576         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55577         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55578         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55579         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55580         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55581         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55582         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55583         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55584         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55585         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55586         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55587         Likewise.
55588         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55589         Likewise.
55590         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55591         Likewise.
55592         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55593         Likewise.
55594         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55595         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55596         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55597         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55598         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55599         Specify lower bound on value.
55600         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55601         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55602         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55603         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55604         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55605         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55606         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55607         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55608         value.
55609         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55610         as optional.
55611         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55612         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55613         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55614         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55615         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55616         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55617         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55618         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55619         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55620         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55621         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55622         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55623         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55624         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55625         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55626         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55627         entry.
55628         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55629         optional.
55630         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55631         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55632         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55633         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55634         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55635         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55636         Likewise.
55637         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55638         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55639         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55640         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55641         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55642         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55643         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55644         as optional.
55645         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55647         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55648         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55649         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55650         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55651         specify as optional.
55652         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55653         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55654         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55655         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55656         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55657         [XPG3] (NL_LANGMAX): Likewise.
55658         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55659         [POSIX || XPG3] (NL_NMAX): Likewise.
55660         [POSIX || XPG3] (NL_SETMAX): Likewise.
55661         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55662         [XPG3] (NZERO): Likewise.
55663         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55664         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55665         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55666         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55667         (REG_ERANGE): Expect.
55668         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55669         optional-constant.
55670         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55671         Use (void) in prototype.
55672         [POSIX] (*_t): Allow.
55673         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55674         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55675         (WRDE_BADVAL): Expect.
55677         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55678         expect.
55679         [XPG3 || XPG4] (O_RSYNC): Likewise.
55680         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55681         Likewise.
55682         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55683         [XPG3 || XPG4] (sigqueue): Likewise.
55684         [XPG3 || XPG4] (sigtimedwait): Likewise.
55685         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55686         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55687         [XPG3 || XPG4] (vsnprintf): Likewise.
55688         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55689         Likewise.
55690         [XPG3 || XPG4] (blksize_t): Likewise.
55691         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55692         Likewise.
55693         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55694         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55695         [XPG3 || XPG4] (struct itimerspec): Likewise.
55696         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55697         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55698         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55699         [XPG3 || XPG4] (clockid_t): Likewise.
55700         [XPG3 || XPG4] (timer_t): Likewise.
55701         [XPG3 || XPG4] (clock_getres): Likewise.
55702         [XPG3 || XPG4] (clock_gettime): Likewise.
55703         [XPG3 || XPG4] (clock_settime): Likewise.
55704         [XPG3 || XPG4] (nanosleep): Likewise.
55705         [XPG3 || XPG4] (timer_create): Likewise.
55706         [XPG3 || XPG4] (timer_delete): Likewise.
55707         [XPG3 || XPG4] (timer_gettime): Likewise.
55708         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55709         [XPG3 || XPG4] (timer_settime): Likewise.
55710         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55711         [XPG3 || XPG4] (getlogin_r): Likewise.
55712         [XPG3 || XPG4] (pread): Likewise.
55713         [XPG3 || XPG4] (pthread_atfork): Likewise.
55714         [XPG3 || XPG4] (pwrite): Likewise.
55716         [BZ #14835]
55717         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55718         <bits/siginfo.h>.
55720 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55722         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55723         finalizing MALLSTREAM.
55725         * sysdeps/mach/hurd/syncfs.c: New file.
55727 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55729         [BZ #14719]
55730         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55731         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55732         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55733         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55734         (_nss_dns_gethostbyname4_r): Likewise.
55735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55736         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55738 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55740         [BZ #13763]
55741         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55743 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55745         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55746         * elf/cache.c (print_entry): Print ",AArch64" for
55747         FLAG_AARCH64_LIB64
55749         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55750         * elf/cache.c (print_entry): Print ",hard-float" for
55751         FLAG_ARM_LIBHF.
55753 2012-11-18  David S. Miller  <davem@davemloft.net>
55755         With help from Joseph Myers.
55756         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55757         cutoff to 2**-13.
55758         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55759         cutoff to 2**-25.
55760         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55761         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55762         small.
55763         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55764         * math/libm-test.inc (y0_test): New tests.
55765         (y1_test): New tests.
55766         * sysdeps/i386/fpu/libm-test-ulps: Update.
55767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55770 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55772         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55773         64-bit targets.
55774         * configure: Regenerated.
55776 2012-11-17  David S. Miller  <davem@davemloft.net>
55778         [BZ #14811]
55779         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55780         nonzero exponents with absolute value below 0x1p-128 to +/-
55781         0x1p-128.
55783 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55785         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55787         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55789         * posix/getconf-speclist.c: New file.
55790         * posix/posix-envs.def: Likewise.
55791         * posix/confstr.c (START_ENV_GROUP): New macro.
55792         (END_ENV_GROUP): Likewise.
55793         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55794         (KNOWN_PRESENT_ENV_STRING): Likewise.
55795         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55796         (UNKNOWN_ENVIRONMENT): Likewise.
55797         (confstr): Include posix-envs.def instead of handling
55798         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55799         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55800         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55801         (END_ENV_GROUP): Likewise.
55802         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55803         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55804         (UNKNOWN_ENVIRONMENT): Likewise.
55805         (__sysconf): Include posix-envs.def instead of handling associated
55806         cases directly here.
55807         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55808         preprocessing getconf-speclist.c rather than running getconf or
55809         generating empty file.
55811 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55813         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55815 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55817         [BZ #14672]
55818         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55820 2012-11-16  David S. Miller  <davem@davemloft.net>
55822         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55823         smaller than LDBL_EPSILON/2.0L, just return xm1.
55825 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55827         * elf/tst-array1.c (init): Set constructor priority to 1000.
55828         (fini): Set destructor priority to 1000.
55829         * elf/tst-array2dep.c: Likewise.
55831 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55833         [BZ #11741]
55834         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55835         (_IO_new_file_xsputn): Also return EOF if none of the input
55836         data was written when overflow failed.
55837         * libio/iopadn.c (_IO_padn): Likewise.
55838         * libio/iowpadn.c (_IO_wpadn): Likewise.
55839         * stdio-common/tst-put-error.c: Add copyright notice.
55840         (do_test): Add case for printing padded string.
55841         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55842         _IO_padn returned error.
55843         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55844         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55845         return EOF.
55847 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55849         * libio/libioP.h: Add comment note that the references to C++
55850         bits are now obsolete.
55852 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55854         * math/libm-test.inc (check_complex): Use asprintf.
55856 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55858         * debug/pcprofiledump.c (print_version): Update copyright year.
55859         * malloc/memusagestat.c (print_version): Likewise.
55861 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55863         [BZ #14831]
55864         * elf/Makefile (tests): Add tst-audit8.
55865         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55866         ($(objpfx)tst-audit8.out): New target.
55867         (tst-audit8-ENV): New variable.
55868         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55869         audit if l_reloc_result is NULL.
55870         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55871         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55872         * elf/tst-audit8.c: New file.
55874 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55876         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55877         * misc/Makefile (CFLAGS-select.c): Define.
55878         * posix/Makefile (CFLAGS-pause.c): Define.
55880 2012-11-13  David S. Miller  <davem@davemloft.net>
55882         * crypt/Makefile: Move test targets after toplevel Rules
55883         inclusion.  Grab any necessary sysdep routines when linking.
55884         * crypt/md5.c (md5_process_block): Remove define, we will always
55885         name it __md5_process_block.
55886         (md5_finish_ctx): Update md5_process_block call.
55887         (md5_stream): Likewise.
55888         (md5_process_bytes): Likewise.
55889         (md5_process_block): Rename to __md5_process_block and move to ...
55890         * crypt/md5-block.c: ... here.
55891         * crypt/sha256.c (sha256_process_block): Move to ...
55892         * crypt/sha256-block.c: ... here.
55893         * crypt/sha512.c (sha512_process_block): Move to ...
55894         * crypt/sha512-block.c: ... here.
55895         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55896         path.
55897         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55898         * sysdeps/sparc/sparc64/multiarch/Makefile
55899         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55900         crypt subdir.
55901         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55902         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55903         multiarch changes.
55904         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55905         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55906         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55907         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55908         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55909         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55910         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55911         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55912         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55913         file.
55914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55915         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55916         file.
55917         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55919 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55921         * timezone/tzselect.ksh: Update from tzcode git revision
55922         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55923         * timezone/zdump.c: Likewise.
55924         * timezone/zic.c: Likewise.
55925         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55926         in TZVERSION setting, not $(PKGVERSION).
55927         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55928         REPORT_BUGS_TO settings.
55930         [BZ #14838]
55931         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55932         macro.
55934 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55936         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55937         detection to immediately after _FP_ROUND().
55938         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55939         bits are 0.
55941 2012-11-11  David S. Miller  <davem@davemloft.net>
55943         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55944         inttypes.h
55945         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55946         __close rather than their public counterparts.
55948 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55950         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55951         file.
55952         [UNIX98] (sem_timedwait): Do not expect.
55953         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55954         [XPG4 || UNIX98] (sockatmark): Do not expect.
55955         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55956         (clock_getcpuclockid): Do not expect.
55957         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55958         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55959         Do not expect.
55960         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55961         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55962         [UNIX98] (vwscanf): Likewise.
55963         [UNIX98] (vswscanf): Likewise.
55965 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55967         * timezone/version.h: Remove file.
55968         * timezone/README: Do not refer to version.h.
55969         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55970         $(objpfx)version.h.
55971         ($(objpfx)zdump.o): Likewise.
55972         ($(objpfx)version.h): New target.
55974         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55975         2012i.
55976         * timezone/README: Don't mention modification to tzselect.ksh.
55977         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55978         work on unmodified tzselect.ksh.  Substitute version numbers in
55979         tzselect.ksh.
55981         * Makefile (format-me): Remove.
55982         (INSTALL): Adjust indentation.  Use commands directly instead of
55983         using $(format-me).
55985         * aclocal.m4 (ACX_PKGVERSION): New macro.
55986         (ACX_BUGURL): Likewise.
55987         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55988         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55989         (REPORT_BUGS_TO): Likewise.
55990         * configure: Regenerated.
55991         * config.h.in (PKGVERSION): New macro.
55992         (REPORT_BUGS_TO): Likewise.
55993         * config.make.in (PKGVERSION): New variable.
55994         (PKGVERSION_TEXI): Likewise.
55995         (REPORT_BUGS_TO): Likewise.
55996         (REPORT_BUGS_TEXI): Likewise.
55997         * Makefile (format-me): Use -I$(common-objpfx)manual.
55998         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55999         ($(common-objpfx)manual/%): New target.
56000         (manual/%): Remove target.
56001         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56002         (print_version): Use PKGVERSION.
56003         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56004         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56005         and REPORT_BUGS_TO.
56006         ($(objpfx)xtrace): Likewise.
56007         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56008         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56009         (print_version): Use PKGVERSION.
56010         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56011         (do_version): Use PKGVERSION.
56012         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56013         REPORT_BUGS_TO.
56014         (common-ldd-rewrite): Likewise.
56015         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56016         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56017         (print_version): Use PKGVERSION.
56018         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56019         * elf/pldd.c (argp_program_bug_address): Remove variable.
56020         (more_help): New function.
56021         (argp): Use more_help.
56022         (print_version): Use PKGVERSION.
56023         * elf/sln.c (main): Use PKGVERSION.
56024         (usage): Use REPORT_BUGS_TO.
56025         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56026         (top level): Use PKGVERSION.
56027         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56028         (print_version): Use PKGVERSION.
56029         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56030         (print_version): Use PKGVERSION.
56031         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56032         (print_version): Use PKGVERSION.
56033         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56034         (print_version): Use PKGVERSION.
56035         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56036         (print_version): Use PKGVERSION.
56037         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56038         (print_version): Use PKGVERSION.
56039         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56040         and BUGURL.
56041         ($(objpfx)memusage): Likewise.
56042         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56043         (do_version): Use PKGVERSION.
56044         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56045         (print_version): Use PKGVERSION.
56046         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56047         ($PKGVERSION): New variable.
56048         ($REPORT_BUGS_TO): Likewise.
56049         (usage): Use $REPORT_BUGS_TO.
56050         (top level): Use $PKGVERSION.
56051         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56052         ($(objpfx)pkgvers.texi): New rule.
56053         ($(objpfx)stamp-pkgvers): Likewise.
56054         * manual/install.texi: Include pkgvers.texi.
56055         (--with-pkgversion): Document new configure option.
56056         (--with-bugurl): Likewise.
56057         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56058         than necessarily for this particular distribution.  Use
56059         REPORT_BUGS_TO for where to report bugs.
56060         * INSTALL: Regenerated.
56061         * manual/libc.texinfo: Include pkgvers.texi.
56062         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56063         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56064         (print_version): Use PKGVERSION.
56065         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56066         (print_version): Use PKGVERSION.
56067         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56068         (print_version): Use PKGVERSION.
56069         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56070         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56071         macro.
56072         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56073         (print_version): Use PKGVERSION.
56074         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56075         (print_version): Use PKGVERSION.
56076         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56077         and PKGVERSION.
56079         * timezone/checktab.awk: Update from tzcode 2012i.
56080         * timezone/ialloc.c: Likewise.
56081         * timezone/private.h: Likewise.
56082         * timezone/scheck.c: Likewise.
56083         * timezone/tzfile.h: Likewise.
56084         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56085         (TZVERSION): Hardcode tzcode version number.
56086         * timezone/zdump.c: Update from tzcode 2012i.
56087         * timezone/zic.c: Likewise.
56088         * timezone/version.h: New file.
56089         * timezone/README: Describe version.h.  Update upstream location.
56091         [BZ #14824]
56092         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56093         (mktemp): Enable declaration.
56094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56098         Likewise.
56099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56100         Likewise.
56101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56102         Likewise.
56103         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56104         Likewise.
56105         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56106         Likewise.
56107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56108         Likewise.
56110         [BZ #14821]
56111         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56112         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56113         for copies of such integer values.
56114         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56115         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56117 2012-11-09  Andreas Jaeger  <aj@suse.de>
56119         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56120         definitions and declarations that are provided by
56121         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56123 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56125         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56126         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56127         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56128         definition.
56130 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56132         * elf/elf.h: Update comment before AArch64 relocations.
56134 2012-11-07  David S. Miller  <davem@davemloft.net>
56136         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56137         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56138         (__start_context): Declare.
56139         (__makecontext_ret): Delete.
56140         (__makecontext): Hook up __start_context instead of
56141         __makecontext_ret.
56142         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56143         (sysdep_routines): Add __start_context when in stdlib.
56145 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56147         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56148         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56149         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56150         hardcoded "nm".
56151         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56152         (READELF): New variable.  Use it instead of hardcoded "readelf".
56154 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56156         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56157         * sysdeps/x86/Makefile: Here.
56158         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56159         * sysdeps/x86/tst-xmmymm.sh: This.
56161 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56163         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56164         expectations.
56165         [UNIX98] (pthread_barrier_t): Do not expect.
56166         [UNIX98] (pthread_barrierattr_t): Likewise.
56167         [UNIX98] (pthread_spinlock_t): Likewise.
56168         [UNIX98] (pthread_barrier_destroy): Likewise.
56169         [UNIX98] (pthread_barrier_init): Likewise.
56170         [UNIX98] (pthread_barrier_wait): Likewise.
56171         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56172         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56173         [UNIX98] (pthread_barrierattr_init): Likewise.
56174         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56175         [UNIX98] (pthread_getcpuclockid): Likewise.
56176         [UNIX98] (pthread_mutex_timedlock): Likewise.
56177         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56178         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56179         [UNIX98] (pthread_sigmask): Likewise.
56180         [UNIX98] (pthread_spin_destroy): Likewise.
56181         [UNIX98] (pthread_spin_init): Likewise.
56182         [UNIX98] (pthread_spin_lock): Likewise.
56183         [UNIX98] (pthread_spin_trylock): Likewise.
56184         [UNIX98] (pthread_spin_unlock): Likewise.
56185         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56186         Do not expect.
56187         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56188         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56189         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56190         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56191         [XPG3 || XPG4] (pthread_key_t): Likewise.
56192         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56193         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56194         [XPG3 || XPG4] (pthread_once_t): Likewise.
56195         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56196         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56197         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56198         [XPG3 || XPG4] (pthread_t): Likewise.
56200         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56201         not expect.
56202         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56204         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56205         Change function return type to int.
56207         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56208         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56209         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56210         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56211         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56212         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56213         [!POSIX] (posix_madvise): Likewise.
56214         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56215         && !UNIX98].
56216         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56217         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56218         (mode_t): Likewise.
56219         (posix_mem_offset): Likewise.
56220         (posix_typed_mem_get_info): Likewise.
56221         (posix_typed_mem_open): Likewise.
56223         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56224         Change condition to [XOPEN2K8].
56226         * conform/conformtest.pl: Preprocess allow-header data with -x c
56227         instead of from stdin.
56228         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56229         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56230         [C99-based standards] (cerfc): Likewise.
56231         [C99-based standards] (cexp2): Likewise.
56232         [C99-based standards] (cexpm1): Likewise.
56233         [C99-based standards] (clog10): Likewise.
56234         [C99-based standards] (clog1p): Likewise.
56235         [C99-based standards] (clog2): Likewise.
56236         [C99-based standards] (clgamma): Likewise.
56237         [C99-based standards] (ctgamma): Likewise.
56238         [C99-based standards] (cerff): Likewise.
56239         [C99-based standards] (cerfcf): Likewise.
56240         [C99-based standards] (cexp2f): Likewise.
56241         [C99-based standards] (cexpm1f): Likewise.
56242         [C99-based standards] (clog10f): Likewise.
56243         [C99-based standards] (clog1pf): Likewise.
56244         [C99-based standards] (clog2f): Likewise.
56245         [C99-based standards] (clgammaf): Likewise.
56246         [C99-based standards] (ctgammaf): Likewise.
56247         [C99-based standards] (cerfl): Likewise.
56248         [C99-based standards] (cerfcl): Likewise.
56249         [C99-based standards] (cexp2l): Likewise.
56250         [C99-based standards] (cexpm1l): Likewise.
56251         [C99-based standards] (clog10l): Likewise.
56252         [C99-based standards] (clog1pl): Likewise.
56253         [C99-based standards] (clog2l): Likewise.
56254         [C99-based standards] (clgammal): Likewise.
56255         [C99-based standards] (ctgammal): Likewise.
56256         * conform/data/inttypes.h-data [C99-based standards]: Include
56257         stdint.h-data.  Remove all expectations for stdint.h contents.
56258         [C99-based standards] (PRI*): Do not allow.
56259         [C99-based standards] (SCN*): Likewise.
56260         [C99-based standards] (*_t): Likewise.
56261         [C99-based-standards] (PRId8): Expect macro.
56262         [C99-based-standards] (PRIi8): Likewise.
56263         [C99-based-standards] (PRIo8): Likewise.
56264         [C99-based-standards] (PRIu8): Likewise.
56265         [C99-based-standards] (PRIx8): Likewise.
56266         [C99-based-standards] (PRIX8): Likewise.
56267         [C99-based-standards] (SCNd8): Likewise.
56268         [C99-based-standards] (SCNi8): Likewise.
56269         [C99-based-standards] (SCNo8): Likewise.
56270         [C99-based-standards] (SCNu8): Likewise.
56271         [C99-based-standards] (SCNx8): Likewise.
56272         [C99-based-standards] (PRIdLEAST8): Likewise.
56273         [C99-based-standards] (PRIiLEAST8): Likewise.
56274         [C99-based-standards] (PRIoLEAST8): Likewise.
56275         [C99-based-standards] (PRIuLEAST8): Likewise.
56276         [C99-based-standards] (PRIxLEAST8): Likewise.
56277         [C99-based-standards] (PRIXLEAST8): Likewise.
56278         [C99-based-standards] (SCNdLEAST8): Likewise.
56279         [C99-based-standards] (SCNiLEAST8): Likewise.
56280         [C99-based-standards] (SCNoLEAST8): Likewise.
56281         [C99-based-standards] (SCNuLEAST8): Likewise.
56282         [C99-based-standards] (SCNxLEAST8): Likewise.
56283         [C99-based-standards] (PRIdFAST8): Likewise.
56284         [C99-based-standards] (PRIiFAST8): Likewise.
56285         [C99-based-standards] (PRIoFAST8): Likewise.
56286         [C99-based-standards] (PRIuFAST8): Likewise.
56287         [C99-based-standards] (PRIxFAST8): Likewise.
56288         [C99-based-standards] (PRIXFAST8): Likewise.
56289         [C99-based-standards] (SCNdFAST8): Likewise.
56290         [C99-based-standards] (SCNiFAST8): Likewise.
56291         [C99-based-standards] (SCNoFAST8): Likewise.
56292         [C99-based-standards] (SCNuFAST8): Likewise.
56293         [C99-based-standards] (SCNxFAST8): Likewise.
56294         [C99-based-standards] (PRId16): Likewise.
56295         [C99-based-standards] (PRIi16): Likewise.
56296         [C99-based-standards] (PRIo16): Likewise.
56297         [C99-based-standards] (PRIu16): Likewise.
56298         [C99-based-standards] (PRIx16): Likewise.
56299         [C99-based-standards] (PRIX16): Likewise.
56300         [C99-based-standards] (SCNd16): Likewise.
56301         [C99-based-standards] (SCNi16): Likewise.
56302         [C99-based-standards] (SCNo16): Likewise.
56303         [C99-based-standards] (SCNu16): Likewise.
56304         [C99-based-standards] (SCNx16): Likewise.
56305         [C99-based-standards] (PRIdLEAST16): Likewise.
56306         [C99-based-standards] (PRIiLEAST16): Likewise.
56307         [C99-based-standards] (PRIoLEAST16): Likewise.
56308         [C99-based-standards] (PRIuLEAST16): Likewise.
56309         [C99-based-standards] (PRIxLEAST16): Likewise.
56310         [C99-based-standards] (PRIXLEAST16): Likewise.
56311         [C99-based-standards] (SCNdLEAST16): Likewise.
56312         [C99-based-standards] (SCNiLEAST16): Likewise.
56313         [C99-based-standards] (SCNoLEAST16): Likewise.
56314         [C99-based-standards] (SCNuLEAST16): Likewise.
56315         [C99-based-standards] (SCNxLEAST16): Likewise.
56316         [C99-based-standards] (PRIdFAST16): Likewise.
56317         [C99-based-standards] (PRIiFAST16): Likewise.
56318         [C99-based-standards] (PRIoFAST16): Likewise.
56319         [C99-based-standards] (PRIuFAST16): Likewise.
56320         [C99-based-standards] (PRIxFAST16): Likewise.
56321         [C99-based-standards] (PRIXFAST16): Likewise.
56322         [C99-based-standards] (SCNdFAST16): Likewise.
56323         [C99-based-standards] (SCNiFAST16): Likewise.
56324         [C99-based-standards] (SCNoFAST16): Likewise.
56325         [C99-based-standards] (SCNuFAST16): Likewise.
56326         [C99-based-standards] (SCNxFAST16): Likewise.
56327         [C99-based-standards] (PRId32): Likewise.
56328         [C99-based-standards] (PRIi32): Likewise.
56329         [C99-based-standards] (PRIo32): Likewise.
56330         [C99-based-standards] (PRIu32): Likewise.
56331         [C99-based-standards] (PRIx32): Likewise.
56332         [C99-based-standards] (PRIX32): Likewise.
56333         [C99-based-standards] (SCNd32): Likewise.
56334         [C99-based-standards] (SCNi32): Likewise.
56335         [C99-based-standards] (SCNo32): Likewise.
56336         [C99-based-standards] (SCNu32): Likewise.
56337         [C99-based-standards] (SCNx32): Likewise.
56338         [C99-based-standards] (PRIdLEAST32): Likewise.
56339         [C99-based-standards] (PRIiLEAST32): Likewise.
56340         [C99-based-standards] (PRIoLEAST32): Likewise.
56341         [C99-based-standards] (PRIuLEAST32): Likewise.
56342         [C99-based-standards] (PRIxLEAST32): Likewise.
56343         [C99-based-standards] (PRIXLEAST32): Likewise.
56344         [C99-based-standards] (SCNdLEAST32): Likewise.
56345         [C99-based-standards] (SCNiLEAST32): Likewise.
56346         [C99-based-standards] (SCNoLEAST32): Likewise.
56347         [C99-based-standards] (SCNuLEAST32): Likewise.
56348         [C99-based-standards] (SCNxLEAST32): Likewise.
56349         [C99-based-standards] (PRIdFAST32): Likewise.
56350         [C99-based-standards] (PRIiFAST32): Likewise.
56351         [C99-based-standards] (PRIoFAST32): Likewise.
56352         [C99-based-standards] (PRIuFAST32): Likewise.
56353         [C99-based-standards] (PRIxFAST32): Likewise.
56354         [C99-based-standards] (PRIXFAST32): Likewise.
56355         [C99-based-standards] (SCNdFAST32): Likewise.
56356         [C99-based-standards] (SCNiFAST32): Likewise.
56357         [C99-based-standards] (SCNoFAST32): Likewise.
56358         [C99-based-standards] (SCNuFAST32): Likewise.
56359         [C99-based-standards] (SCNxFAST32): Likewise.
56360         [C99-based-standards] (PRId64): Likewise.
56361         [C99-based-standards] (PRIi64): Likewise.
56362         [C99-based-standards] (PRIo64): Likewise.
56363         [C99-based-standards] (PRIu64): Likewise.
56364         [C99-based-standards] (PRIx64): Likewise.
56365         [C99-based-standards] (PRIX64): Likewise.
56366         [C99-based-standards] (SCNd64): Likewise.
56367         [C99-based-standards] (SCNi64): Likewise.
56368         [C99-based-standards] (SCNo64): Likewise.
56369         [C99-based-standards] (SCNu64): Likewise.
56370         [C99-based-standards] (SCNx64): Likewise.
56371         [C99-based-standards] (PRIdLEAST64): Likewise.
56372         [C99-based-standards] (PRIiLEAST64): Likewise.
56373         [C99-based-standards] (PRIoLEAST64): Likewise.
56374         [C99-based-standards] (PRIuLEAST64): Likewise.
56375         [C99-based-standards] (PRIxLEAST64): Likewise.
56376         [C99-based-standards] (PRIXLEAST64): Likewise.
56377         [C99-based-standards] (SCNdLEAST64): Likewise.
56378         [C99-based-standards] (SCNiLEAST64): Likewise.
56379         [C99-based-standards] (SCNoLEAST64): Likewise.
56380         [C99-based-standards] (SCNuLEAST64): Likewise.
56381         [C99-based-standards] (SCNxLEAST64): Likewise.
56382         [C99-based-standards] (PRIdFAST64): Likewise.
56383         [C99-based-standards] (PRIiFAST64): Likewise.
56384         [C99-based-standards] (PRIoFAST64): Likewise.
56385         [C99-based-standards] (PRIuFAST64): Likewise.
56386         [C99-based-standards] (PRIxFAST64): Likewise.
56387         [C99-based-standards] (PRIXFAST64): Likewise.
56388         [C99-based-standards] (SCNdFAST64): Likewise.
56389         [C99-based-standards] (SCNiFAST64): Likewise.
56390         [C99-based-standards] (SCNoFAST64): Likewise.
56391         [C99-based-standards] (SCNuFAST64): Likewise.
56392         [C99-based-standards] (SCNxFAST64): Likewise.
56393         [C99-based-standards] (PRIdMAX): Likewise.
56394         [C99-based-standards] (PRIiMAX): Likewise.
56395         [C99-based-standards] (PRIoMAX): Likewise.
56396         [C99-based-standards] (PRIuMAX): Likewise.
56397         [C99-based-standards] (PRIxMAX): Likewise.
56398         [C99-based-standards] (PRIXMAX): Likewise.
56399         [C99-based-standards] (SCNdMAX): Likewise.
56400         [C99-based-standards] (SCNiMAX): Likewise.
56401         [C99-based-standards] (SCNoMAX): Likewise.
56402         [C99-based-standards] (SCNuMAX): Likewise.
56403         [C99-based-standards] (SCNxMAX): Likewise.
56404         [C99-based-standards] (PRIdPTR): Likewise.
56405         [C99-based-standards] (PRIiPTR): Likewise.
56406         [C99-based-standards] (PRIoPTR): Likewise.
56407         [C99-based-standards] (PRIuPTR): Likewise.
56408         [C99-based-standards] (PRIxPTR): Likewise.
56409         [C99-based-standards] (PRIXPTR): Likewise.
56410         [C99-based-standards] (SCNdPTR): Likewise.
56411         [C99-based-standards] (SCNiPTR): Likewise.
56412         [C99-based-standards] (SCNoPTR): Likewise.
56413         [C99-based-standards] (SCNuPTR): Likewise.
56414         [C99-based-standards] (SCNxPTR): Likewise.
56415         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56416         allow.
56417         * conform/data/stdint.h-data: Update comments to clarify
56418         requirements.
56419         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56420         type.
56421         [C99-based standards] (INT8_MAX): Likewise.
56422         [C99-based standards] (INT16_MIN): Likewise.
56423         [C99-based standards] (INT16_MAX): Likewise.
56424         [C99-based standards] (INT32_MIN): Likewise.
56425         [C99-based standards] (INT32_MAX): Likewise.
56426         [C99-based standards] (INT64_MIN): Likewise.
56427         [C99-based standards] (INT64_MAX): Likewise.
56428         [C99-based standards] (UINT8_MAX): Likewise.
56429         [C99-based standards] (UINT16_MAX): Likewise.
56430         [C99-based standards] (UINT32_MAX): Likewise.
56431         [C99-based standards] (UINT64_MAX): Likewise.
56432         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56433         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56434         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56435         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56436         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56437         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56438         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56439         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56440         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56441         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56442         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56443         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56444         [C99-based standards] (INT_FAST8_MIN): Likewise.
56445         [C99-based standards] (INT_FAST8_MAX): Likewise.
56446         [C99-based standards] (INT_FAST16_MIN): Likewise.
56447         [C99-based standards] (INT_FAST16_MAX): Likewise.
56448         [C99-based standards] (INT_FAST32_MIN): Likewise.
56449         [C99-based standards] (INT_FAST32_MAX): Likewise.
56450         [C99-based standards] (INT_FAST64_MIN): Likewise.
56451         [C99-based standards] (INT_FAST64_MAX): Likewise.
56452         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56453         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56454         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56455         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56456         [C99-based standards] (INTPTR_MIN): Likewise.
56457         [C99-based standards] (INTPTR_MAX): Likewise.
56458         [C99-based standards] (UINTPTR_MAX): Likewise.
56459         [C99-based standards] (INTMAX_MIN): Likewise.
56460         [C99-based standards] (INTMAX_MAX): Likewise.
56461         [C99-based standards] (UINTMAX_MAX): Likewise.
56462         [C99-based standards] (PTRDIFF_MIN): Likewise.
56463         [C99-based standards] (PTRDIFF_MAX): Likewise.
56464         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56465         [C99-based standards] (SIZE_MAX): Likewise.
56466         [C99-based standards] (WCHAR_MAX): Likewise.
56467         [C99-based standards] (WINT_MAX): Likewise.
56468         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56469         constraint on value.
56470         [C99-based standards] (WCHAR_MIN): Likewise.
56471         [C99-based standards] (WINT_MIN): Likewise.
56472         [C99-based standards] (*_t): Allow.
56473         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56474         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56475         Include math.h-data and complex.h-data.  Remove all expectations
56476         of math.h and complex.h contents.
56477         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56478         at end of line.
56479         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56480         (struct tm): Expect tag.
56481         [C99-based-standards] (wcstof): Expect function.
56482         [C99-based-standards] (wcstold): Likewise.
56483         [C99-based-standards] (wcstoll): Likewise.
56484         [C99-based-standards] (wcstoull): Likewise.
56485         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56486         macro-int-constant.  Specify type.
56487         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56488         constraint on value.
56489         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56490         Specify type.
56491         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56492         Specify value.
56493         [ISO C standards]: Do not allow headers.
56494         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56495         wcs[abcdefghijklmnopqrstuvwxyz]*.
56496         [ISO C standards] (*_t): Do not allow.
56497         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56498         Expect function.
56499         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56500         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56501         Specify type.
56502         [ISO C standards]: Do not allow headers.
56503         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56504         is[abcdefghijklmnopqrstuvwxyz]*.
56505         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56506         to[abcdefghijklmnopqrstuvwxyz]*.
56507         [ISO C standards] (*_t): Do not allow.
56508         * conform/data/stdalign.h-data: New file.
56509         * conform/data/stdbool.h-data: Likewise.
56510         * conform/data/stdnoreturn.h-data: Likewise.
56512 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56514         [BZ #14815]
56515         * manual/filesys.texi (Directory Entries): Typo fix.
56516         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56518 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56520         * elf/elf.h (EM_AARCH64): New macro.
56521         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56522         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56523         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56524         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56525         (R_AARCH64_TLSDESC): Likewise.
56526         (NT_ARM_TLS): Likewise.
56527         (NT_ARM_HW_BREAK): Likewise.
56528         (NT_ARM_HW_WATCH): Likewise.
56530 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56532         [BZ #14811]
56533         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56534         (__ieee754_powl): Saturate nonzero exponents with absolute value
56535         below 0x1p-79 to +/- 0x1p-79.
56536         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56537         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56538         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56539         nonzero exponents with absolute value below 0x1p-32 to +/-
56540         0x1p-32.
56541         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56542         (__ieee754_powl): Saturate nonzero exponents with absolute value
56543         below 0x1p-79 to +/- 0x1p-79.
56544         * math/libm-test.inc (pow_test): Add more tests.
56546 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56548         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56549         _dl_s390_cap_flags with kernel. Increase string length.
56550         (_dl_s390_platforms): Add z196 and zEC12.
56552 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56554         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56555         Change XOPEN21K to XOPEN2K.
56557 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56559         * string/memmove.c: Use memcpy when possible.
56561 2012-11-06  Andreas Jaeger  <aj@suse.de>
56563         * po/eo.po: Update from translation team.
56565 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56567         [BZ #14793]
56568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56569         exponent and small x and y exponents, scale x or y up.  Increase
56570         by 2 the exponent used in scaling up.
56571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56573         * math/libm-test.inc (fma_test): Add more tests.
56574         (fma_test_towardzero): Likewise.
56575         (fma_test_downward): Likewise.
56576         (fma_test_upward): Likewise.
56578 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56580         [BZ #14805]
56581         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56582         fenv_t *.
56584         [BZ #14801]
56585         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56586         namespace for names of struct fields.
56587         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56588         fenv_t fields.
56589         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56590         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56592 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56594         [BZ #3665]
56595         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56597 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56599         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56600         PTR_DEMANGLE.
56602         [BZ #5246]
56603         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56604         PTR_DEMANGLE.
56606 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56608         [BZ #14797]
56609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56610         definitely overflow as x * y not x * y + z.
56611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56613         * math/libm-test.inc (fma_test): Add more tests.
56614         (fma_test_towardzero): Likewise.
56615         (fma_test_downward): Likewise.
56616         (fma_test_upward): Likewise.
56618 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56620         [BZ #157]
56622         * include/stub-tag.h: Remove file.
56623         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56624         '#include' of it.
56625         * manual/maint.texi (Porting): Don't reference it.
56626         * Makerules ($(objpfx)stubs): Likewise.
56627         * dirent/closedir.c: Don't include <stub-tag.h>.
56628         * dirent/dirfd.c: Likewise.
56629         * dirent/fdopendir.c: Likewise.
56630         * dirent/getdents.c: Likewise.
56631         * dirent/getdents64.c: Likewise.
56632         * dirent/opendir.c: Likewise.
56633         * dirent/readdir.c: Likewise.
56634         * dirent/readdir64.c: Likewise.
56635         * dirent/readdir64_r.c: Likewise.
56636         * dirent/readdir_r.c: Likewise.
56637         * dirent/rewinddir.c: Likewise.
56638         * dirent/seekdir.c: Likewise.
56639         * dirent/telldir.c: Likewise.
56640         * gmon/profil.c: Likewise.
56641         * grp/setgroups.c: Likewise.
56642         * inet/if_index.c: Likewise.
56643         * io/access.c: Likewise.
56644         * io/chdir.c: Likewise.
56645         * io/chmod.c: Likewise.
56646         * io/chown.c: Likewise.
56647         * io/close.c: Likewise.
56648         * io/dup.c: Likewise.
56649         * io/dup2.c: Likewise.
56650         * io/dup3.c: Likewise.
56651         * io/euidaccess.c: Likewise.
56652         * io/faccessat.c: Likewise.
56653         * io/fchdir.c: Likewise.
56654         * io/fchmod.c: Likewise.
56655         * io/fchmodat.c: Likewise.
56656         * io/fchown.c: Likewise.
56657         * io/fchownat.c: Likewise.
56658         * io/fcntl.c: Likewise.
56659         * io/flock.c: Likewise.
56660         * io/fstatfs.c: Likewise.
56661         * io/fstatfs64.c: Likewise.
56662         * io/fstatvfs.c: Likewise.
56663         * io/fstatvfs64.c: Likewise.
56664         * io/futimens.c: Likewise.
56665         * io/fxstat.c: Likewise.
56666         * io/fxstat64.c: Likewise.
56667         * io/fxstatat.c: Likewise.
56668         * io/fxstatat64.c: Likewise.
56669         * io/getcwd.c: Likewise.
56670         * io/isatty.c: Likewise.
56671         * io/lchmod.c: Likewise.
56672         * io/lchown.c: Likewise.
56673         * io/link.c: Likewise.
56674         * io/linkat.c: Likewise.
56675         * io/lseek.c: Likewise.
56676         * io/lseek64.c: Likewise.
56677         * io/lxstat64.c: Likewise.
56678         * io/mkdir.c: Likewise.
56679         * io/mkdirat.c: Likewise.
56680         * io/mkfifo.c: Likewise.
56681         * io/mkfifoat.c: Likewise.
56682         * io/open.c: Likewise.
56683         * io/open64.c: Likewise.
56684         * io/openat.c: Likewise.
56685         * io/openat64.c: Likewise.
56686         * io/pipe.c: Likewise.
56687         * io/pipe2.c: Likewise.
56688         * io/poll.c: Likewise.
56689         * io/posix_fadvise.c: Likewise.
56690         * io/posix_fadvise64.c: Likewise.
56691         * io/posix_fallocate.c: Likewise.
56692         * io/posix_fallocate64.c: Likewise.
56693         * io/read.c: Likewise.
56694         * io/readlink.c: Likewise.
56695         * io/readlinkat.c: Likewise.
56696         * io/rmdir.c: Likewise.
56697         * io/sendfile.c: Likewise.
56698         * io/sendfile64.c: Likewise.
56699         * io/statfs.c: Likewise.
56700         * io/statfs64.c: Likewise.
56701         * io/statvfs.c: Likewise.
56702         * io/statvfs64.c: Likewise.
56703         * io/symlink.c: Likewise.
56704         * io/symlinkat.c: Likewise.
56705         * io/ttyname.c: Likewise.
56706         * io/ttyname_r.c: Likewise.
56707         * io/umask.c: Likewise.
56708         * io/unlink.c: Likewise.
56709         * io/unlinkat.c: Likewise.
56710         * io/utime.c: Likewise.
56711         * io/utimensat.c: Likewise.
56712         * io/write.c: Likewise.
56713         * io/xmknod.c: Likewise.
56714         * io/xmknodat.c: Likewise.
56715         * io/xstat.c: Likewise.
56716         * io/xstat64.c: Likewise.
56717         * login/getpt.c: Likewise.
56718         * login/grantpt.c: Likewise.
56719         * login/unlockpt.c: Likewise.
56720         * math/e_acoshl.c: Likewise.
56721         * math/e_acosl.c: Likewise.
56722         * math/e_asinl.c: Likewise.
56723         * math/e_atan2l.c: Likewise.
56724         * math/e_atanhl.c: Likewise.
56725         * math/e_coshl.c: Likewise.
56726         * math/e_expl.c: Likewise.
56727         * math/e_fmodl.c: Likewise.
56728         * math/e_gammal_r.c: Likewise.
56729         * math/e_hypotl.c: Likewise.
56730         * math/e_j0l.c: Likewise.
56731         * math/e_j1l.c: Likewise.
56732         * math/e_jnl.c: Likewise.
56733         * math/e_lgammal_r.c: Likewise.
56734         * math/e_log10l.c: Likewise.
56735         * math/e_log2l.c: Likewise.
56736         * math/e_logl.c: Likewise.
56737         * math/e_powl.c: Likewise.
56738         * math/e_rem_pio2l.c: Likewise.
56739         * math/e_sinhl.c: Likewise.
56740         * math/e_sqrtl.c: Likewise.
56741         * math/fclrexcpt.c: Likewise.
56742         * math/fedisblxcpt.c: Likewise.
56743         * math/feenablxcpt.c: Likewise.
56744         * math/fegetenv.c: Likewise.
56745         * math/fegetexcept.c: Likewise.
56746         * math/fegetround.c: Likewise.
56747         * math/feholdexcpt.c: Likewise.
56748         * math/fesetenv.c: Likewise.
56749         * math/fesetround.c: Likewise.
56750         * math/feupdateenv.c: Likewise.
56751         * math/fgetexcptflg.c: Likewise.
56752         * math/fraiseexcpt.c: Likewise.
56753         * math/fsetexcptflg.c: Likewise.
56754         * math/ftestexcept.c: Likewise.
56755         * math/k_cosl.c: Likewise.
56756         * math/k_rem_pio2l.c: Likewise.
56757         * math/k_sinl.c: Likewise.
56758         * math/k_tanl.c: Likewise.
56759         * math/s_asinhl.c: Likewise.
56760         * math/s_atanl.c: Likewise.
56761         * math/s_cbrtl.c: Likewise.
56762         * math/s_erfl.c: Likewise.
56763         * math/s_expm1l.c: Likewise.
56764         * math/s_log1pl.c: Likewise.
56765         * math/s_tanhl.c: Likewise.
56766         * misc/acct.c: Likewise.
56767         * misc/brk.c: Likewise.
56768         * misc/chflags.c: Likewise.
56769         * misc/chroot.c: Likewise.
56770         * misc/fchflags.c: Likewise.
56771         * misc/fgetxattr.c: Likewise.
56772         * misc/flistxattr.c: Likewise.
56773         * misc/fremovexattr.c: Likewise.
56774         * misc/fsetxattr.c: Likewise.
56775         * misc/fsync.c: Likewise.
56776         * misc/ftruncate.c: Likewise.
56777         * misc/futimes.c: Likewise.
56778         * misc/futimesat.c: Likewise.
56779         * misc/getdomain.c: Likewise.
56780         * misc/getdtsz.c: Likewise.
56781         * misc/gethostid.c: Likewise.
56782         * misc/gethostname.c: Likewise.
56783         * misc/getloadavg.c: Likewise.
56784         * misc/getpagesize.c: Likewise.
56785         * misc/getsysstats.c: Likewise.
56786         * misc/getxattr.c: Likewise.
56787         * misc/gtty.c: Likewise.
56788         * misc/ioctl.c: Likewise.
56789         * misc/lgetxattr.c: Likewise.
56790         * misc/listxattr.c: Likewise.
56791         * misc/llistxattr.c: Likewise.
56792         * misc/lremovexattr.c: Likewise.
56793         * misc/lsetxattr.c: Likewise.
56794         * misc/lutimes.c: Likewise.
56795         * misc/madvise.c: Likewise.
56796         * misc/mincore.c: Likewise.
56797         * misc/mlock.c: Likewise.
56798         * misc/mlockall.c: Likewise.
56799         * misc/mmap.c: Likewise.
56800         * misc/mprotect.c: Likewise.
56801         * misc/msync.c: Likewise.
56802         * misc/munlock.c: Likewise.
56803         * misc/munlockall.c: Likewise.
56804         * misc/munmap.c: Likewise.
56805         * misc/preadv.c: Likewise.
56806         * misc/preadv64.c: Likewise.
56807         * misc/ptrace.c: Likewise.
56808         * misc/pwritev.c: Likewise.
56809         * misc/pwritev64.c: Likewise.
56810         * misc/readv.c: Likewise.
56811         * misc/reboot.c: Likewise.
56812         * misc/remap_file_pages.c: Likewise.
56813         * misc/removexattr.c: Likewise.
56814         * misc/revoke.c: Likewise.
56815         * misc/select.c: Likewise.
56816         * misc/setdomain.c: Likewise.
56817         * misc/setegid.c: Likewise.
56818         * misc/seteuid.c: Likewise.
56819         * misc/sethostid.c: Likewise.
56820         * misc/sethostname.c: Likewise.
56821         * misc/setregid.c: Likewise.
56822         * misc/setreuid.c: Likewise.
56823         * misc/setxattr.c: Likewise.
56824         * misc/sstk.c: Likewise.
56825         * misc/stty.c: Likewise.
56826         * misc/swapoff.c: Likewise.
56827         * misc/swapon.c: Likewise.
56828         * misc/sync.c: Likewise.
56829         * misc/syncfs.c: Likewise.
56830         * misc/syscall.c: Likewise.
56831         * misc/truncate.c: Likewise.
56832         * misc/ualarm.c: Likewise.
56833         * misc/usleep.c: Likewise.
56834         * misc/ustat.c: Likewise.
56835         * misc/utimes.c: Likewise.
56836         * misc/vhangup.c: Likewise.
56837         * misc/writev.c: Likewise.
56838         * posix/_exit.c: Likewise.
56839         * posix/alarm.c: Likewise.
56840         * posix/execve.c: Likewise.
56841         * posix/fexecve.c: Likewise.
56842         * posix/fork.c: Likewise.
56843         * posix/fpathconf.c: Likewise.
56844         * posix/getaddrinfo.c: Likewise.
56845         * posix/getegid.c: Likewise.
56846         * posix/geteuid.c: Likewise.
56847         * posix/getgid.c: Likewise.
56848         * posix/getgroups.c: Likewise.
56849         * posix/getlogin.c: Likewise.
56850         * posix/getlogin_r.c: Likewise.
56851         * posix/getpgid.c: Likewise.
56852         * posix/getpid.c: Likewise.
56853         * posix/getppid.c: Likewise.
56854         * posix/getresgid.c: Likewise.
56855         * posix/getresuid.c: Likewise.
56856         * posix/getsid.c: Likewise.
56857         * posix/getuid.c: Likewise.
56858         * posix/glob64.c: Likewise.
56859         * posix/nanosleep.c: Likewise.
56860         * posix/pathconf.c: Likewise.
56861         * posix/pause.c: Likewise.
56862         * posix/posix_madvise.c: Likewise.
56863         * posix/pread.c: Likewise.
56864         * posix/pread64.c: Likewise.
56865         * posix/pwrite.c: Likewise.
56866         * posix/pwrite64.c: Likewise.
56867         * posix/sched_getaffinity.c: Likewise.
56868         * posix/sched_getp.c: Likewise.
56869         * posix/sched_gets.c: Likewise.
56870         * posix/sched_primax.c: Likewise.
56871         * posix/sched_primin.c: Likewise.
56872         * posix/sched_rr_gi.c: Likewise.
56873         * posix/sched_setaffinity.c: Likewise.
56874         * posix/sched_setp.c: Likewise.
56875         * posix/sched_sets.c: Likewise.
56876         * posix/sched_yield.c: Likewise.
56877         * posix/setgid.c: Likewise.
56878         * posix/setlogin.c: Likewise.
56879         * posix/setpgid.c: Likewise.
56880         * posix/setresgid.c: Likewise.
56881         * posix/setresuid.c: Likewise.
56882         * posix/setsid.c: Likewise.
56883         * posix/setuid.c: Likewise.
56884         * posix/sleep.c: Likewise.
56885         * posix/spawni.c: Likewise.
56886         * posix/sysconf.c: Likewise.
56887         * posix/times.c: Likewise.
56888         * posix/wait.c: Likewise.
56889         * posix/wait3.c: Likewise.
56890         * posix/wait4.c: Likewise.
56891         * posix/waitpid.c: Likewise.
56892         * resolv/gai_sigqueue.c: Likewise.
56893         * resource/getpriority.c: Likewise.
56894         * resource/getrlimit.c: Likewise.
56895         * resource/getrusage.c: Likewise.
56896         * resource/nice.c: Likewise.
56897         * resource/setpriority.c: Likewise.
56898         * resource/setrlimit.c: Likewise.
56899         * resource/ulimit.c: Likewise.
56900         * rt/aio_cancel.c: Likewise.
56901         * rt/aio_fsync.c: Likewise.
56902         * rt/aio_read.c: Likewise.
56903         * rt/aio_sigqueue.c: Likewise.
56904         * rt/aio_suspend.c: Likewise.
56905         * rt/aio_write.c: Likewise.
56906         * rt/clock_getres.c: Likewise.
56907         * rt/clock_gettime.c: Likewise.
56908         * rt/clock_nanosleep.c: Likewise.
56909         * rt/clock_settime.c: Likewise.
56910         * rt/lio_listio.c: Likewise.
56911         * rt/mq_close.c: Likewise.
56912         * rt/mq_getattr.c: Likewise.
56913         * rt/mq_notify.c: Likewise.
56914         * rt/mq_open.c: Likewise.
56915         * rt/mq_receive.c: Likewise.
56916         * rt/mq_send.c: Likewise.
56917         * rt/mq_setattr.c: Likewise.
56918         * rt/mq_timedreceive.c: Likewise.
56919         * rt/mq_timedsend.c: Likewise.
56920         * rt/mq_unlink.c: Likewise.
56921         * rt/shm_open.c: Likewise.
56922         * rt/shm_unlink.c: Likewise.
56923         * rt/timer_create.c: Likewise.
56924         * rt/timer_delete.c: Likewise.
56925         * rt/timer_getoverr.c: Likewise.
56926         * rt/timer_gettime.c: Likewise.
56927         * rt/timer_settime.c: Likewise.
56928         * setjmp/__longjmp.c: Likewise.
56929         * setjmp/setjmp.c: Likewise.
56930         * signal/kill.c: Likewise.
56931         * signal/killpg.c: Likewise.
56932         * signal/raise.c: Likewise.
56933         * signal/sigaction.c: Likewise.
56934         * signal/sigaltstack.c: Likewise.
56935         * signal/sigblock.c: Likewise.
56936         * signal/sigignore.c: Likewise.
56937         * signal/sigintr.c: Likewise.
56938         * signal/signal.c: Likewise.
56939         * signal/sigpause.c: Likewise.
56940         * signal/sigpending.c: Likewise.
56941         * signal/sigqueue.c: Likewise.
56942         * signal/sigreturn.c: Likewise.
56943         * signal/sigset.c: Likewise.
56944         * signal/sigsetmask.c: Likewise.
56945         * signal/sigstack.c: Likewise.
56946         * signal/sigsuspend.c: Likewise.
56947         * signal/sigtimedwait.c: Likewise.
56948         * signal/sigvec.c: Likewise.
56949         * signal/sigwait.c: Likewise.
56950         * signal/sigwaitinfo.c: Likewise.
56951         * signal/sysv_signal.c: Likewise.
56952         * socket/accept.c: Likewise.
56953         * socket/accept4.c: Likewise.
56954         * socket/bind.c: Likewise.
56955         * socket/connect.c: Likewise.
56956         * socket/getpeername.c: Likewise.
56957         * socket/getsockname.c: Likewise.
56958         * socket/getsockopt.c: Likewise.
56959         * socket/isfdtype.c: Likewise.
56960         * socket/listen.c: Likewise.
56961         * socket/recv.c: Likewise.
56962         * socket/recvfrom.c: Likewise.
56963         * socket/recvmsg.c: Likewise.
56964         * socket/send.c: Likewise.
56965         * socket/sendmsg.c: Likewise.
56966         * socket/sendto.c: Likewise.
56967         * socket/setsockopt.c: Likewise.
56968         * socket/shutdown.c: Likewise.
56969         * socket/sockatmark.c: Likewise.
56970         * socket/socket.c: Likewise.
56971         * socket/socketpair.c: Likewise.
56972         * stdio-common/ctermid.c: Likewise.
56973         * stdio-common/cuserid.c: Likewise.
56974         * stdio-common/remove.c: Likewise.
56975         * stdio-common/rename.c: Likewise.
56976         * stdio-common/renameat.c: Likewise.
56977         * stdio-common/tempname.c: Likewise.
56978         * stdlib/getcontext.c: Likewise.
56979         * stdlib/makecontext.c: Likewise.
56980         * stdlib/setcontext.c: Likewise.
56981         * stdlib/swapcontext.c: Likewise.
56982         * stdlib/system.c: Likewise.
56983         * streams/fattach.c: Likewise.
56984         * streams/fdetach.c: Likewise.
56985         * streams/getmsg.c: Likewise.
56986         * streams/getpmsg.c: Likewise.
56987         * streams/putmsg.c: Likewise.
56988         * streams/putpmsg.c: Likewise.
56989         * sysdeps/unix/bsd/getpt.c: Likewise.
56990         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56991         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56992         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56994         Likewise.
56995         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56996         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56997         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56998         * sysvipc/msgctl.c: Likewise.
56999         * sysvipc/msgget.c: Likewise.
57000         * sysvipc/msgrcv.c: Likewise.
57001         * sysvipc/msgsnd.c: Likewise.
57002         * sysvipc/semctl.c: Likewise.
57003         * sysvipc/semget.c: Likewise.
57004         * sysvipc/semop.c: Likewise.
57005         * sysvipc/semtimedop.c: Likewise.
57006         * sysvipc/shmat.c: Likewise.
57007         * sysvipc/shmctl.c: Likewise.
57008         * sysvipc/shmdt.c: Likewise.
57009         * sysvipc/shmget.c: Likewise.
57010         * termios/tcdrain.c: Likewise.
57011         * termios/tcflow.c: Likewise.
57012         * termios/tcflush.c: Likewise.
57013         * termios/tcgetattr.c: Likewise.
57014         * termios/tcgetpgrp.c: Likewise.
57015         * termios/tcsendbrk.c: Likewise.
57016         * termios/tcsetattr.c: Likewise.
57017         * termios/tcsetpgrp.c: Likewise.
57018         * time/adjtime.c: Likewise.
57019         * time/clock.c: Likewise.
57020         * time/getitimer.c: Likewise.
57021         * time/gettimeofday.c: Likewise.
57022         * time/setitimer.c: Likewise.
57023         * time/settimeofday.c: Likewise.
57024         * time/stime.c: Likewise.
57025         * time/time.c: Likewise.
57027 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57029         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57030         /usr/old/bin.
57032         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57033         instead of spaces.
57034         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57036 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57038         [BZ #14796]
57039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57040         FE_TONEAREST before applying Dekker multiplication and Knuth
57041         addition.  Clear inexact exceptions and check for exact zero
57042         results afterwards.
57043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57044         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57045         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57046         * math/libm-test.inc (fma_test): Add more tests.
57047         (fma_test_towardzero): Likewise.
57048         (fma_test_downward): Likewise.
57049         (fma_test_upward): Likewise.
57050         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57051         function.
57052         (libc_fesetround): New macro.
57053         (libc_fesetroundf): Likewise.
57054         (libc_fesetroundl): Likewise.
57055         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57056         function.
57057         (libc_fesetround_387): Likewise.
57058         (libc_fesetroundf): New macro.
57059         (libc_fesetround): Likewise.
57060         (libc_fesetroundl): Likewise.
57061         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57062         function.
57063         (libc_fesetroundf): New macro.
57064         (libc_fesetround): Likewise.
57065         (libc_fesetroundl): Likewise.
57066         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57067         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57068         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57069         libm_hidden_ver.
57070         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57071         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57072         libm_hidden_def.
57073         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57074         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57075         libm_hidden_ver.
57076         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57077         libm_hidden_def.
57079         [BZ #3439]
57080         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57081         integer constant usable in #if and use that to give value to enum
57082         constant.
57083         (FE_DIVBYZERO): Likewise.
57084         (FE_UNDERFLOW): Likewise.
57085         (FE_OVERFLOW): Likewise.
57086         (FE_INVALID): Likewise.
57087         (FE_INVALID_SNAN): Likewise.
57088         (FE_INVALID_ISI): Likewise.
57089         (FE_INVALID_IDI): Likewise.
57090         (FE_INVALID_ZDZ): Likewise.
57091         (FE_INVALID_IMZ): Likewise.
57092         (FE_INVALID_COMPARE): Likewise.
57093         (FE_INVALID_SOFTWARE): Likewise.
57094         (FE_INVALID_SQRT): Likewise.
57095         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57096         (FE_TONEAREST): Likewise.
57097         (FE_TOWARDZERO): Likewise.
57098         (FE_UPWARD): Likewise.
57099         (FE_DOWNWARD): Likewise.
57100         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57101         (FE_DIVBYZERO): Likewise.
57102         (FE_OVERFLOW): Likewise.
57103         (FE_UNDERFLOW): Likewise.
57104         (FE_INEXACT): Likewise.
57105         (FE_TONEAREST): Likewise.
57106         (FE_DOWNWARD): Likewise.
57107         (FE_UPWARD): Likewise.
57108         (FE_TOWARDZERO): Likewise.
57109         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57110         (FE_UNDERFLOW): Likewise.
57111         (FE_OVERFLOW): Likewise.
57112         (FE_DIVBYZERO): Likewise.
57113         (FE_INVALID): Likewise.
57114         (FE_TONEAREST): Likewise.
57115         (FE_TOWARDZERO): Likewise.
57116         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57117         (FE_OVERFLOW): Likewise.
57118         (FE_UNDERFLOW): Likewise.
57119         (FE_DIVBYZERO): Likewise.
57120         (FE_INEXACT): Likewise.
57121         (FE_TONEAREST): Likewise.
57122         (FE_TOWARDZERO): Likewise.
57123         (FE_UPWARD): Likewise.
57124         (FE_DOWNWARD): Likewise.
57125         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57126         (FE_DIVBYZERO): Likewise.
57127         (FE_OVERFLOW): Likewise.
57128         (FE_UNDERFLOW): Likewise.
57129         (FE_INEXACT): Likewise.
57130         (FE_TONEAREST): Likewise.
57131         (FE_DOWNWARD): Likewise.
57132         (FE_UPWARD): Likewise.
57133         (FE_TOWARDZERO): Likewise.
57135 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57137         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57139 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57141         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57142         commands.  Quote $PWD.
57143         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57144         -x" by "export".
57145         (remove_newlines): Remove.
57147 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57149         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57150         * stdlib/stdlib.h (atof): Moved to ...
57151         * include/bits/stdlib-float.h: Here.  New file.
57152         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57153         * stdlib/bits/stdlib-float.h: New file.
57154         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57155         -mno-sse -mno-mmx.
57156         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57157         <xmmintrin.h>.
57159 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57161         * conform/conformtest.pl (@headers): Add fenv.h.
57162         * conform/data/fenv.h-data: New file.
57163         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57164         include of <math/fenv.h>.
57166         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57167         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57168         && !UNIX98].  Enables tests for XOPEN2K8.
57169         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57170         POSIX2008]: Likewise.
57172         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57173         (struct rusage): Do not expect type or its members.
57175         [BZ #3439]
57176         * math/math.h (FP_NAN): Define macro to integer constant usable in
57177         #if and use that to give value to enum constant.
57178         (FP_INFINITE): Likewise.
57179         (FP_ZERO): Likewise.
57180         (FP_SUBNORMAL): Likewise.
57181         (FP_NORMAL): Likewise.
57183 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57185         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57186         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57187         arguments.
57189 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57191         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57192         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57193         autoconf-time if not.
57194         * configure.in: Remove AC_PREREQ.
57196 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57198         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57199         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57200         of the internal implementation.
57202 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57204         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57205         except include of <misc/sys/syslog.h>.
57207 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57210         function returns with a NULL context exit with zero.
57212 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57214         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57216 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57218         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57219         (run_program_cmd): This.
57220         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57221         (tst_langinfo): New variable.  Use it.
57223 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57225         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57226         floating point opcodes.
57228 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57230         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57231         variable.
57233         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57235         * sysdeps/mach/hurd/powerpc: Remove directory.
57236         * sysdeps/mach/powerpc: Likewise.
57238 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57240         * scripts/check-local-headers.sh: Ignore c++ headers.
57242 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57244         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57245         __libc_cleanup_region_start argument.
57247 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57249         [BZ #14784]
57250         [BZ #14785]
57251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57252         x * y using scaling, not as x * y + z.
57253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57255         * math/libm-test.inc (fma_test): Add more tests.
57256         (fma_test_towardzero): Likewise.
57257         (fma_test_downward): Likewise.
57258         (fma_test_upward): Likewise.
57260 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57262         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57264 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57266         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57267         New variable.
57269 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57271         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57273 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57276         Fix sort order.
57277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57278         Likewise.
57280 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57283         Fix the order of the list for glibc 2.17.
57284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57285         Likewise.
57287 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57291 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57293         [BZ #14610]
57294         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57295         for low part of x being zero before using __atanl (y).
57296         * math/libm-test.inc (atan2_test): Add another test.
57298         * manual/install.texi (Configuring and compiling): Document
57299         general use of test-wrapper and test-wrapper-env.
57300         * INSTALL: Regenerated.
57302         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57303         (__fma): Do not extract and scale down low bits on after-rounding
57304         systems when result rounded to normal precision would have normal
57305         exponent.
57306         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57307         (__fmal): Do not extract and scale down low bits on after-rounding
57308         systems when result rounded to normal precision would have normal
57309         exponent.
57310         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57311         (__fmal): Do not extract and scale down low bits on after-rounding
57312         systems when result rounded to normal precision would have normal
57313         exponent.
57314         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57315         macro.
57316         (fma_test): Add more tests.
57317         (fma_test_towardzero): Likewise.
57318         (fma_test_downward): Likewise.
57319         (fma_test_upward): Likewise.
57321 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57323         * sysdeps/i386/tininess.h: Renamed to ...
57324         * sysdeps/x86/tininess.h: This.
57325         * sysdeps/x86_64/tininess.h: Removed.
57327 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57329         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57330         input.  Use $(build-program-cmd).
57331         ($(objpfx)tst-array1-static.out): Likewise.
57332         ($(objpfx)tst-array2.out): Likewise.
57333         ($(objpfx)tst-array3.out): Likewise.
57334         ($(objpfx)tst-array4.out): Likewise.
57335         ($(objpfx)tst-array5.out): Likewise.
57336         ($(objpfx)tst-array5-static.out): Likewise.
57338 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57340         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57341         if defined.
57343         * nss/nsswitch.h (nss_interface_function): Provide new
57344         macro for use with NSS functions.
57345         * grp/initgroups.c: Use new macro.
57346         * nss/getXXbyYY.c: Likewise.
57347         * nss/getXXbyYY_r.c: Likewise.
57348         * nss/getXXent.c: Likewise.
57349         * nss/getXXent_r.c: Likewise.
57350         * sysdeps/posix/getaddrinfo.c: Likewise.
57352 2012-10-30  Andreas Jaeger  <aj@suse.de>
57354         * po/ru.po: Update Russion translation from translation project.
57356 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57358         [BZ #14152]
57359         [BZ #14783]
57360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57361         result and shift together with sticky bit instead of replicating
57362         round-to-nearest rounding.
57363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57365         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57366         missing underflow exceptions.
57367         (fma_test_towardzero): Add more tests.
57368         (fma_test_downward): Likewise.
57369         (fma_test_upward): Likewise.
57371         [BZ #14047]
57372         * sysdeps/generic/tininess.h: New file.
57373         * sysdeps/i386/tininess.h: Likewise.
57374         * sysdeps/sh/tininess.h: Likewise.
57375         * sysdeps/x86_64/tininess.h: Likewise.
57376         * stdlib/tst-strtod-underflow.c: Likewise.
57377         * stdlib/tst-tininess.c: Likewise.
57378         * stdlib/strtod_l.c: Include <tininess.h>.
57379         (round_and_return): Do not set errno for exact underflow cases.
57380         Force an underflow exception when setting errno for underflow.
57381         Determine underflow based on rounding to normal precision if
57382         TININESS_AFTER_ROUNDING.
57383         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57384         ERANGE for exact underflow cases.
57385         * stdlib/Makefile (tests): Add tst-tininess and
57386         tst-strtod-underflow.
57387         ($(objpfx)tst-tininess): Use $(link-libm).
57388         ($(objpfx)tst-strtod-underflow): Likewise.
57390 2012-10-30  Andreas Jaeger  <aj@suse.de>
57392         [BZ#14767]
57393         * elf/Makefile (tests): Remove conditional for have-initfini-array
57394         since this is now always required and the variable does not exist
57395         anymore.
57396         (tests-static): Likewise.
57397         (modules-names): Likewise.
57399         * po/eo.po: Add Esperanto translation from translation project.
57401         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57402         merged with constructor/destructor.
57403         (init_array): Likewise.
57404         * elf/tst-array2dep.c (fini_array): Likewise.
57405         (init_array): Likewise.
57407 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57409         * manual/message.texi: Delete @cartouche tags.
57411 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57413         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57414         EOPNOTSUPP.
57415         * sysdeps/mach/hurd/fsync.c: Likewise.
57417         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57418         [_POSIX_REALTIME_SIGNALS]: Change condition to
57419         [_POSIX_REALTIME_SIGNALS > 0].
57421 2012-10-27  Andreas Jaeger  <aj@suse.de>
57423         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57424         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57425         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57426         [__WORDSIZE != 64]: Likewise.
57428 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57430         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57431         *  iconvdata/tst-tables.sh: Likewise.
57433 2012-10-25  David S. Miller  <davem@davemloft.net>
57435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57436         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57437         of strtoull.
57439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57440         ifunc-impl-list.c
57441         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57442         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57443         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57444         file.
57446 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57449         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57450         __getdirentries.
57452 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57453             Jim Blandy  <jimb@codesourcery.com>
57455         * scripts/cross-test-ssh.sh: New file.
57456         * manual/install.texi (Configuring and compiling): Document use of
57457         cross-test-ssh.sh.
57458         * INSTALL: Regenerated.
57460 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57462         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57463         EOPNOTSUPP.
57465 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57467         * Makeconfig (run-program-prefix): Fix comment.
57469 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57470             Jim Blandy  <jimb@codesourcery.com>
57472         * Makeconfig (test-wrapper): New variable,
57473         (test-wrapper-env): Likewise.
57474         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57475         (run-built-tests): Define to yes.
57476         (run-program-prefix): Use $(test-wrapper).
57477         (built-program-cmd): Likewise.
57478         * Rules (make-test-out): Use $(test-wrapper-env) and
57479         $(host-built-program-cmd).
57480         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57481         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57482         tst-pathopt.sh.
57483         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57484         $(test-wrapper-env) to tst-rtld-load-self.sh.
57485         ($(objpfx)order2.out): Use $(test-wrapper).
57486         ($(objpfx)tst-initorder.out): Likewise.
57487         ($(objpfx)tst-initorder2.out): Likewise.
57488         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57489         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57490         (test_wrapper_env): New variable.  Use it to run ld.so.
57491         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57492         Use it to run ld.so.
57493         (test_wrapper_env): Likewise.
57494         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57495         $(test-wrapper) to run-iconv-test.sh.
57496         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57497         (ICONV): Use $test_wrapper.
57498         * posix/Makefile ($(objpfx)globtest.out): Pass
57499         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57500         globtest.sh, not $(run-program-prefix).
57501         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57502         (test_wrapper): Likewise.
57503         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57504         set together with run_via_rtld_prefix.
57505         (run_program_prefix): Define in terms of test_wrapper and
57506         run_via_rtld_prefix.
57508 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57510         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57511         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57512         Targets removed.
57514         [BZ #14743]
57515         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57516         Declare __clock_getres, __clock_gettime, __clock_settime,
57517         __clock_nanosleep, and __clock_getcpuclockid.
57518         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57519         Remove librt_hidden_def (clock_gettime).
57520         * sysdeps/unix/clock_gettime.c: Likewise.
57521         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57522         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57523         * rt/clock_getres.c: Define __clock_getres as an alias.
57524         * sysdeps/posix/clock_getres.c: Likewise.
57525         * rt/clock_settime.c: Define __clock_settime as an alias.
57526         * sysdeps/unix/clock_settime.c: Likewise.
57527         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57528         * sysdeps/unix/clock_nanosleep.c: Likewise.
57529         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57530         * rt/clock-compat.c: New file.
57531         * rt/Makefile (librt-routines): Add clock-compat and move
57532         $(clock-routines) to ...
57533         (routines): ... here, new variable.
57534         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57535         Don't add get_clockfreq here.
57536         * rt/Versions (libc: GLIBC_2.17): New version set.
57537         Add clock_* symbols here.
57538         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57539         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57540         (GLIBC_2.17): Add clock_* symbols.
57541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57543         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57545         Likewise.
57546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57547         Likewise.
57548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57552         * NEWS: Mention the move.
57554         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57555         Use __open, __read, __close rather than their public counterparts.
57556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57557         (__get_clockfreq_via_cpuinfo): Likewise.
57558         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57559         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57561         * config.h.in (HAVE_IFUNC): New #undef.
57562         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57563         was successful.
57564         * configure: Regenerated.
57566 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57568         * configure.in: Move READELF check to start of file.
57569         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57570         libc_cv_asm_gnu_indirect_function in the process.
57571         * configure: Regenerated.
57573 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57575         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57576         send the output to /dev/null.
57577         (libc_cv_cc_with_libunwind): Likewise.
57578         (libc_cv_as_noexecstack): Likewise.
57579         * configure: Regenerate.
57581 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57583         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57585         * posix/globtest.sh (TMPDIR): Do not set.
57586         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57587         (testout): Likewise.
57589 2012-10-24  Andreas Jaeger  <aj@suse.de>
57591         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57592         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57593         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57594         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57595         posix_fadvise64, posix_fallocate64.
57597         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57598         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57599         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57600         Likewise.
57601         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57602         Likewise.
57603         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57605         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57606         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57607         <bits/fcntl-linux.h>.
57608         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57611         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57612         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57613         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57614         [__WORDSIZE != 64]: Likewise.
57616 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57618         * Makeconfig (run-built-tests): New variable.
57619         * Rules [$(cross-compiling) = yes]: Change condition to
57620         [$(run-built-tests) = no].
57621         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57622         to [$(run-built-tests) = yes].
57623         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57624         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57625         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57626         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57627         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57628         * io/Makefile [$(cross-compiling) = no]: Likewise.
57629         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57630         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57631         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57632         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57633         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57634         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57635         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57636         * string/Makefile [$(cross-compiling) = no]: Likewise.
57638         * posix/Makefile ($(objpfx)globtest.out): Pass
57639         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57640         $(rtld-installed-name).
57641         * posix/globtest.sh (elf_objpfx): Remove variable.
57642         (rtld_installed_name): Likewise.
57643         (library_path): Likewise.
57644         (run_program_prefix): New variable.  Use for running globtest
57645         binary.
57647 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57648             Joseph Myers  <joseph@codesourcery.com>
57650         * Makeconfig (host-built-program-cmd): New variable.
57651         * elf/Makefile (tst-stackguard1-ARGS): Use
57652         $(host-built-program-cmd).
57653         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57654         (tst-spawn-ARGS): Likewise.
57655         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57657 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57658             Jim Blandy  <jimb@codesourcery.com>
57660         * Makeconfig (run-via-rtld-prefix): New variable.
57661         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57662         (built-program-cmd): Likewise.
57664 2012-10-22  Andreas Jaeger  <aj@suse.de>
57666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57667         __O_RSYNC if it exists, otherwise to O_SYNC.
57669 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57670             Joseph Myers  <joseph@codesourcery.com>
57672         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57673         /dev/null.
57674         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57675         from /dev/null
57676         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57677         /dev/null.
57679 2012-10-22  Andreas Jaeger  <aj@suse.de>
57681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57682         Define always.
57683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57686         bits/fcntl-linux.h.
57688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57689         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57692         to __O_LARGEFILE.
57693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57694         to __O_LARGEFILE.
57696 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57697             Joseph Myers  <joseph@codesourcery.com>
57699         * config.make.in (NM): New variable.
57701 2012-10-21  Andreas Jaeger  <aj@suse.de>
57703         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57704         definitions and declarations that are provided by
57705         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57707 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57709         [BZ #14683]
57710         * elf/Makefile (tests-static): Add tst-leaks1-static.
57711         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57712         ($(objpfx)tst-leaks1-static): New rule.
57713         ($(objpfx)tst-leaks1-static-mem): Likewise.
57714         (tst-leaks1-static-ENV): New macro.
57715         * elf/dl-open.c (dl_open_worker): Check the main application
57716         only if SHARED is defined.
57717         * elf/tst-leaks1-static.c: New file.
57719 2012-10-20  Andreas Jaeger  <aj@suse.de>
57721         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57722         generic values for Linux.
57723         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57724         and declarations that are provided by <bits/fcntl-linux.h> and
57725         include <bits/fcntl-linux.h>.
57726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57729 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57731         * io/fcntl.h: Move include of <bits/types.h> to the top and
57732         include it unconditionally.
57734 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57736         * wcsmbs/Makefile (tests-ifunc): New variable.
57737         (tests): Add $(tests-ifunc).
57738         * wcsmbs/test-wcschr-ifunc.c: New file.
57739         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57740         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57741         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57742         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57743         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57745         * string/Makefile (tests-ifunc): New variable.
57746         (tests): Add $(tests-ifunc).
57747         * string/test-memccpy.c (TEST_NAME): New macro.
57748         * string/test-memchr.c (TEST_NAME): Likewise.
57749         * string/test-memcmp.c (TEST_NAME): Likewise.
57750         * string/test-memcpy.c (TEST_NAME): Likewise.
57751         * string/test-memmem.c (TEST_NAME): Likewise.
57752         * string/test-memmove.c (TEST_NAME): Likewise.
57753         * string/test-memset.c (TEST_NAME): Likewise.
57754         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57755         * string/test-stpcpy.c (TEST_NAME): Likewise.
57756         * string/test-stpncpy.c (TEST_NAME): Likewise.
57757         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57758         * string/test-strcasestr.c (TEST_NAME): Likewise.
57759         * string/test-strcat.c (TEST_NAME): Likewise.
57760         * string/test-strchr.c (TEST_NAME): Likewise.
57761         * string/test-strcmp.c(TEST_NAME): Likewise.
57762         * string/test-strcpy.c (TEST_NAME): Likewise.
57763         * string/test-strcspn.c (TEST_NAME): Likewise.
57764         * string/test-strlen.c (TEST_NAME): Likewise.
57765         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57766         * string/test-strncmp.c (TEST_NAME): Likewise.
57767         * string/test-strncpy.c (TEST_NAME): Likewise.
57768         * string/test-strnlen.c (TEST_NAME): Likewise.
57769         * string/test-strpbrk.c (TEST_NAME): Likewise.
57770         * string/test-strrchr.c (TEST_NAME): Likewise.
57771         * string/test-strspn.c (TEST_NAME): Likewise.
57772         * string/test-strstr.c (TEST_NAME): Likewise.
57773         * string/test-bcopy-ifunc.c: New file.
57774         * string/test-bzero-ifunc.c: Likewise.
57775         * string/test-memccpy-ifunc.c: Likewise.
57776         * string/test-memchr-ifunc.c: Likewise.
57777         * string/test-memcmp-ifunc.c: Likewise.
57778         * string/test-memcpy-ifunc.c: Likewise.
57779         * string/test-memmem-ifunc.c: Likewise.
57780         * string/test-memmove-ifunc.c: Likewise.
57781         * string/test-mempcpy-ifunc.c: Likewise.
57782         * string/test-memset-ifunc.c: Likewise.
57783         * string/test-rawmemchr-ifunc.c: Likewise.
57784         * string/test-stpcpy-ifunc.c: Likewise.
57785         * string/test-stpncpy-ifunc.c: Likewise.
57786         * string/test-strcasecmp-ifunc.c: Likewise.
57787         * string/test-strcasestr-ifunc.c: Likewise.
57788         * string/test-strcat-ifunc.c: Likewise.
57789         * string/test-strchr-ifunc.c: Likewise.
57790         * string/test-strchrnul-ifunc.c: Likewise.
57791         * string/test-strcmp-ifunc.c: Likewise.
57792         * string/test-strcpy-ifunc.c: Likewise.
57793         * string/test-strcspn-ifunc.c: Likewise.
57794         * string/test-strlen-ifunc.c: Likewise.
57795         * string/test-strncasecmp-ifunc.c: Likewise.
57796         * string/test-strncat-ifunc.c: Likewise.
57797         * string/test-strncmp-ifunc.c: Likewise.
57798         * string/test-strncpy-ifunc.c: Likewise.
57799         * string/test-strnlen-ifunc.c: Likewise.
57800         * string/test-strpbrk-ifunc.c: Likewise.
57801         * string/test-strrchr-ifunc.c: Likewise.
57802         * string/test-strspn-ifunc.c: Likewise.
57803         * string/test-strstr-ifunc.c: Likewise.
57805         * debug/Makefile (tests-ifunc): New variable.
57806         (tests): Add $(tests-ifunc).
57807         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57808         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57809         * debug/test-stpcpy_chk-ifunc.c: New file.
57810         * debug/test-strcpy_chk-ifunc.c: Likewise.
57812 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57814         [BZ #13601]
57815         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57816         header is not read in.
57818 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57820         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57821         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57822         directly.  Pass built executable to script as
57823         $(built-program-cmd).
57824         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57825         $testprogram without using LD_LIBRARY_PATH and $ldso.
57827         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57828         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57829         $(rtld-installed-name).
57830         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57831         (rtld_installed_name): Likewise.
57832         (library_path): Likewise.
57833         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57834         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57835         $(run-program-prefix) to tst-tables.sh.
57836         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57837         it to run tst-table-from and tst-table-to.
57838         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57839         Pass it to tst-table.sh.
57840         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57841         $(run-program-prefix) to tst-gettext.sh.
57842         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57843         tst-translit.sh.
57844         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57845         tst-gettext2.sh.
57846         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57847         to run tst-gettext.
57848         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57849         to run tst-gettext2.
57850         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57851         to run tst-translit.
57852         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57853         $(run-program-prefix) to tst-mtrace.sh.
57854         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57855         to run tst-mtrace.
57856         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57857         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57858         $(rtld-installed-name).
57859         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57860         (rtld_installed_name): Likewise.
57861         (run_program_prefix): New variable.  Use it to run wordexp-test.
57863         * Makeconfig (ARCH): Remove all definitions.
57864         (machine): Likewise.
57865         [ARCH]: Remove conditional code.
57866         [!objdir]: Give error.
57867         [!objdir] (objpfx): Remove.
57868         [!objdir] (common-objpfx): Likewise.
57869         [!objdir] (common-objdir): Likewise.
57870         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57871         AC_CONFIG_FILES call.
57872         * configure: Regenerated.
57874         [BZ #13888]
57875         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57876         or TMPDIR.
57877         (testout): Likewise.
57879         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57880         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57881         $(rtld-installed-name).
57882         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57883         (rtld_installed_name): Likwise.
57884         (runit): Remove function.
57885         (run_getconf): New variable,  Use it for running getconf binary.
57887 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57889         [BZ #14716]
57890         * string/test-memmem.c (check_result): New function.
57891         (do_one_test): Use it.
57892         (check1): New function.
57893         (test_main): Use it.
57895 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57897         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57899 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57901         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57902         (_G_LSEEK64): Likewise.
57903         (_G_MMAP64): Likewise.
57904         (_G_FSTAT64): Likewise.
57905         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57906         (_G_LSEEK64): Likewise.
57907         (_G_MMAP64): Likewise.
57908         (_G_FSTAT64): Likewise.
57909         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57910         unconditional.  Call __mmap64 directly.
57911         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57912         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57913         __lseek64 directly.
57914         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57915         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57916         __mmap64 directly.
57917         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57918         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57919         __lseek64 directly.
57920         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57921         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57922         __lseek64 directly.
57923         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57924         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57925         __lseek64 directly.
57926         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57927         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57928         __fxstat64 directly.
57929         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57930         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57931         unconditional.
57932         (freopen64) [!_G_OPEN64]: Remove conditional code.
57933         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57934         unconditional.
57935         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57936         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57937         unconditional.
57938         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57939         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57940         unconditional.
57941         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57942         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57943         unconditional.
57944         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57945         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57946         unconditional.
57947         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57948         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57949         unconditional.
57950         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57951         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57952         unconditional.
57953         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57955 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57957         [BZ #12140]
57958         * manual/memory.texi (Malloc Tunable Parameters): Add note
57959         about free list pointers overwriting some perturb bytes.
57960         Wording suggested by Roland McGrath.
57962 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57964         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57965         (lgamma_test): Likewise.
57966         (tgamma_test): Likewise.
57968 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57970         [BZ #14700]
57971         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57972         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57974 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57976         * NEWS: Mention BZ #14716.
57977         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57978         when removing AVAILABLE1_USES_J macro.
57980 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57982         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57983         (__bswap_64): __uint64_t for unsigned 64-bit int.
57985 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57987         * include/string.h (memmem): Declare libc hidden alias.
57988         * string/memmem.c (memmem): Define libc hidden alias.
57989         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57990         __read, __close instead of open, read, close.
57992 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57995         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57996         global and hidden.
57997         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57998         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57999         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58000         Likewise.
58001         (__rawmemchr_sse2): Likewise.
58002         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58003         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58004         (__strchr_sse2): Likewise.
58005         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58006         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58007         (__strcasecmp_sse2): Likewise.
58008         (__strncasecmp_sse2): Likewise.
58009         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58010         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58011         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58012         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58013         (__strrchr_sse2): Likewise.
58014         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58015         ifunc-impl-list.c.
58016         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58017         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58018         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58019         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58020         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58022         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58023         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58024         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58025         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58026         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58027         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58028         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58029         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58030         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58031         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58032         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58033         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58034         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58035         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58036         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58037         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58038         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58039         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58040         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58041         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58042         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58043         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58044         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58045         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58047         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58048         global and hidden.
58049         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58050         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58051         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58052         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58053         Likewise.
58054         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58055         Likewise.
58056         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58057         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58058         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58059         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58060         ifunc-impl-list.c.
58061         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58062         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58063         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58064         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58065         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58066         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58067         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58068         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58070         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58071         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58072         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58073         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58074         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58075         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58076         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58077         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58078         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58079         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58080         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58081         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58082         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58083         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58084         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58085         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58086         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58087         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58088         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58089         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58090         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58091         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58092         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58093         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58094         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58095         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58096         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58097         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58098         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58099         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58100         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58101         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58103         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58104         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58105         * include/ifunc-impl-list.h: New file.
58106         * misc/ifunc-impl-list.c: Likewise.
58107         * misc/Makefile (routines): Add ifunc-impl-list.
58108         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58109         * string/test-string.h: Include <ifunc-impl-list.h>.
58110         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58111         TEST_NAME]: New variables.
58112         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58113         are defined.
58114         (test_init): Call __libc_ifunc_impl_list to initialize
58115         func_list if TEST_IFUNC and TEST_NAME are defined.
58117         * string/Makefile (strop-tests): Add bcopy and bzero.
58118         * string/test-bcopy.c: New file.
58119         * string/test-bzero.c: Likewise.
58120         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58121         defined.
58122         * string/test-memset.c: Support bzero test if TEST_BZERO is
58123         defined.
58124         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58125         __libc_memmove.
58126         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58127         __libc_memset.
58128         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58129         of memset.
58131 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58133         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58134         * configure: Regenerated.
58136         * Makeconfig (+link-static-before-libc): Don't include
58137         $(link-static-libc).
58139         * libio/libio.h (_IO_pos_t): Remove.
58141 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58143         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58144         McGrath.
58146 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58148         * crypt/crypt-entry.c: Include fips-private.h.
58149         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58150         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58151         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58152         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58154 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58156         * crypt/crypt-private.h: Include stdbool.h.
58157         (_ufc_setup_salt_r): Return bool.
58158         * crypt/crypt-entry.c: Include errno.h.
58159         (__crypt_r): Return NULL with EINVAL for bad salt.
58160         * crypt/crypt_util.c (bad_for_salt): New.
58161         (_ufc_setup_salt_r): Check that salt is long enough and within
58162         the specified alphabet.
58163         * crypt/badsalttest.c: New file.
58164         * crypt/Makefile (tests): Add it.
58165         ($(objpfx)badsalttest): New.
58167 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58169         * NEWS: Add entry for BZ #14602.
58171 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58173         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58174         type-generic.
58175         * math/libm-test.inc: Update comment listing what functions and
58176         macros are tested.
58177         (isgreater_test): New function.
58178         (isgreaterequal_test): Likewise.
58179         (isless_test): Likewise.
58180         (islessequal_test): Likewise.
58181         (islessgreater_test): Likewise.
58182         (isunordered_test): Likewise.
58183         (main): Call the new functions.
58185 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58187         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58188         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58189         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58190         * sysdeps/i386/configure: Regenerated.
58191         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58192         * sysdeps/mach/configure: Regenerated.
58193         * sysdeps/mach/hurd/configure: Regenerated.
58194         * sysdeps/powerpc/configure: Regenerated.
58195         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58196         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58197         * sysdeps/s390/s390-32/configure: Regenerated.
58198         * sysdeps/s390/s390-64/configure: Regenerated.
58199         * sysdeps/sh/configure: Regenerated.
58200         * sysdeps/sparc/configure: Regenerated.
58201         * sysdeps/unix/sysv/linux/configure: Regenerated.
58202         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58203         * sysdeps/x86_64/configure: Regenerated.
58205         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58206         defined.  Don't check if MAP is NULL.
58208 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58210         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58211         (_G_stat64): Likewise.
58212         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58213         (_G_stat64): Likewise.
58214         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58215         instead of struct _G_stat64.
58216         * libio/fileops.c (mmap_remap_check): Likewise.
58217         (decide_maybe_mmap): Likewise.
58218         (_IO_new_file_seekoff): Likewise.
58219         (_IO_file_stat): Likewise.
58220         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58221         _G_off64_t.
58222         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58223         instead of struct _G_stat64.
58224         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58226 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58228         [BZ #14602]
58229         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58230         Replace with ...
58231         (CHECK_EOL): New macro.
58232         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58233         CHECK_EOL.
58234         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58235         Replace with CHECK_EOL.
58236         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58237         Replace with CHECK_EOL.
58239 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58241         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58242         type-generic.
58243         * math/libm-test.inc: Update comment listing what functions and
58244         macros are tested.
58245         (finite_test): New function.
58246         (isinf_test): Likewise.
58247         (isnan_test): Likewise.
58248         (fpclassify_test): Test subnormal input.
58249         (isfinite_test): Likewise.
58250         (isnormal_test): Likewise.
58251         (main): Call the new functions.
58253 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58255         [BZ #14660]
58256         * Makerules (%.dynsym): Force C locale when running
58257         $(OBJDUMP) --dynamic-syms.
58259 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58261         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58262         <stdint.h>.
58264 2012-10-06  David S. Miller  <davem@davemloft.net>
58266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58267         upper 32-bits of the length value in %o2 since we use branch-on-register
58268         tests which consider the entire 64-bit register.
58270 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58272         * string/test-strstr.c (check2): Add a test for page boundary.
58274 2012-10-05  David S. Miller  <davem@davemloft.net>
58276         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58277         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58278         file.
58279         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58280         sysdep_routines.
58281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58282         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58283         and bzero when HWCAP_SPARC_CRYPTO is present.
58285 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58287         [BZ #14602]
58288         * string/test-strstr.c (check2): New function.
58289         (test_main): Call check2.
58291         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58292         and bug-strchr1.
58293         * string/bug-strcasestr1.c (do_test): Moved to ...
58294         * string/test-strcasestr.c (check1): Here.  New function.
58295         (do_one_test): Break out result checking code into ...
58296         (check_result): This.  New function.
58297         (do_one_test): Call check_result.
58298         (test_main): Call check1.
58299         * string/bug-strchr1.c (do_test): Moved to ...
58300         * string/test-strchr.c (check1): Here.  New function.
58301         (do_one_test): Break out result checking code into ...
58302         (check_result): This.  New function.
58303         (do_one_test): Call check_result.
58304         (test_main): Call check1.
58305         * string/bug-strstr1.c (main): Moved to ...
58306         * string/test-strstr.c (check1): Here.  New function.
58307         (do_one_test): Break out result checking code into ...
58308         (check_result): This.  New function.
58309         (do_one_test): Call check_result.
58310         (test_main): Call check1.
58311         * string/bug-strcasestr1.c: Removed.
58312         * string/bug-strchr1.c: Likewise.
58313         * string/bug-strstr1.c: Likewise.
58315         * elf/Makefile (dl-routines): Add hwcaps.
58316         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58317         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58318         (_dl_important_hwcaps): Moved to ...
58319         * elf/dl-hwcaps.c: Here.  New file.
58320         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58322         [BZ #14557]
58323         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58324         if IS_IN_rtld isn't defined.
58326         * elf/dl-support.c (_dl_sysinfo_map): New.
58327         Include "get-dynamic-info.h" and "setup-vdso.h".
58328         (_dl_non_dynamic_init): Call setup_vdso.
58329         * elf/dynamic-link.h: Don't include <assert.h>.
58330         (elf_get_dynamic_info): Moved to ...
58331         * elf/get-dynamic-info.h: Here.  New file.
58332         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58333         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58334         * elf/setup-vdso.h: Here.  New file.
58335         * elf/rtld.c: Include "setup-vdso.h".
58336         (dl_main): Call setup_vdso.
58338 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58340         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58341         creal in comment listing functions tested.  List finite, isinf,
58342         isnan, isless, islessequal, isgreater, isgreaterequal,
58343         islessgreater, isunordered, lgamma_r and pow10 as functions and
58344         macros not tested.  Mention which functions not tested are aliases
58345         for other functions.  Fix typo.  Note that signs of NaNs are not
58346         tested.
58348         * scripts/config.guess: Update from config.git.
58349         * scripts/config.sub: Likewise.
58351 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58353         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58354         * misc/madvise.c (madvise): Renamed to __madvise.
58355         Make madvise a weak alias.
58356         * include/sys/mman.h: Declare __madvise.
58357         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58358         * sysdeps/unix/syscalls.list
58359         (madvise): Make __madvise the strong name, and madvise a weak alias.
58360         * sysdeps/unix/sysv/linux/syscalls.list
58361         (madvise, mmap): Remove redundant entries.
58362         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58363         * malloc/malloc.c (mtrim): Likewise.
58364         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58366 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58368         * sysdeps/mach/hurd/dl-cache.c: File removed.
58369         * config.h.in (USE_LDCONFIG): New #undef.
58370         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58371         * configure: Regenerated.
58372         * elf/Makefile (dl-routines): Add dl-cache only under
58373         [$(use-ldconfig) = yes].
58374         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58375         cache on [USE_LDCONFIG].
58376         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58377         [USE_LDCONFIG].
58378         * elf/rtld.c (dl_main): Likewise.
58380 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58382         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58383         _SC_LEVEL4_CACHE_LINESIZE.
58385 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58387         * sysdeps/unix/bsd/confstr.h: File removed.
58389 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58391         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58392         sys/sdt-config.h.
58394 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58396         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58397         Make 'mapoff' field ElfW(Off) rather than off_t.
58399 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58401         * nscd/Makefile: Remove nscd-cflags and all its users.
58402         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58403         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58405         [BZ #10631]
58406         * malloc.c (malloc_printerr): Clarify error message.
58408 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58410         [BZ #14648]
58411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58412         Set bit_FMA_Usable if FMA is supported.
58413         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58414         macro.
58415         (bit_FMA4_Usable): Updated.
58416         (index_FMA_Usable): New macro.
58417         (CPUID_FMA): Likewise.
58418         (HAS_FMA): Defined with bit_FMA_Usable.
58420 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58422         * bits/types.h (__swblk_t): Type removed.
58423         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58424         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58425         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58426         (__SWBLK_T_TYPE): Likewise.
58427         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58428         (__SWBLK_T_TYPE): Likewise.
58429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58430         (__SWBLK_T_TYPE): Likewise.
58431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58432         (__SWBLK_T_TYPE): Likewise.
58434 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58435             Honza Horak <hhorak@redhat.com>
58437         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58438         (xdr_mapname): Use YPMAXMAP as maxsize.
58439         (xdr_peername): Use YPMAXPEER as maxsize.
58440         (xdr_keydat): Use YPAXRECORD as maxsize.
58441         (xdr_valdat): Use YPMAXRECORD as maxsize.
58443 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58445         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58447         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58448         * csu/init-first.c: ... here.
58449         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58450         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58451         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58452         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58453         * sysdeps/i386/init-first.c: File removed.
58454         * sysdeps/sh/init-first.c: File removed.
58456 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58458         [BZ #14645]
58459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58460         if x * y might underflow to zero and z is zero.
58461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58463         * math/libm-test.inc (min_subnorm_value): New variable.
58464         (fma_test): Add more tests.
58465         (fma_test_towardzero): Likewise.
58466         (fma_test_downward): Likewise.
58467         (fma_test_upward): Likewise.
58468         (initialize): Set min_subnorm_value.
58470 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58472         [BZ #14638]
58473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58474         0 + 0.
58475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58476         mode for addition resulting in exact zero.
58477         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58479         exact 0 + 0.
58480         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58482         * math/libm-test.inc (fma_test): Add more tests.
58483         (fma_test_towardzero): New function.
58484         (fma_test_downward): Likewise.
58485         (fma_test_upward): Likewise.
58486         (main): Call the new functions.
58488 2012-09-28  David S. Miller  <davem@davemloft.net>
58490         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58492 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58494         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58495         instead of SIGALRM.
58497         * sysdeps/gnu/_G_config.h: Moved to ...
58498         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58499         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58500         * sysdeps/generic/_G_config.h: ... here.
58502         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58504         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58506         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58507         Conditionalize target on [libnss_test1.so-version].
58509         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58511         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58512         (elfobjdir): Move out of conditionals.
58514         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58515         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58516         (__nss_lookup_function): Conditionalize label remove_from_tree on
58517         [!DO_STATIC_NSS || SHARED], matching its only use.
58519 2012-09-28  David S. Miller  <davem@davemloft.net>
58521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58522         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58523         file.
58524         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58525         sysdep_routines.
58526         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58528         when HWCAP_SPARC_CRYPTO is present.
58530 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58532         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58534 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58536         [BZ #6530]
58537         * stdio-common/vfprintf.c (process_string_arg): Revert
58538         2000-07-22 change.
58540 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58542         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58543         for testcase.
58544         * stdio-common/tst-sprintf.c: Include <locale.h>
58545         (main): Test sprintf's handling of incomplete multibyte
58546         characters.
58548 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58550         * elf/dl-runtime.c (VERSYMIDX): Removed.
58551         * elf/dl-version.c (VERSYMIDX): Likewise.
58552         * elf/do-rel.h (VERSYMIDX): Likewise.
58553         (VALIDX): Likewise.
58554         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58555         * elf/rtld.c (VALIDX): Likewise.
58556         (ADDRIDX): Likewise.
58557         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58558         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58559         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58560         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58561         (VALIDX): Likewise.
58562         (ADDRIDX): Likewise.
58564 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58566         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58568 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58570         [BZ #11438]
58571         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58572         to global scope.
58573         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58574         addresses are in the same scope as 192.0.2/24.
58575         * posix/gai.conf: Document new scope table defaults.
58577 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58579         [BZ #5298]
58580         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58581         for ftell.  Compute offsets from write pointers instead.
58582         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58584 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58586         [BZ #14543]
58587         * libio/Makefile (tests): New test case tst-fseek.
58588         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58589         combination works in wide mode.
58590         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58591         state when the external buffer state changes.
58593 2012-09-27  David S. Miller  <davem@davemloft.net>
58595         [BZ #14376]
58596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58597         pass reloc->r_addend in as the 'high' argument to
58598         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58602 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58604         * rt/tst-aio2.c: Include <pthread.h>.
58605         * rt/tst-aio3.c: Likewise.
58607 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58609         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58611 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58613         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58614         contents on [SHARED].
58616 2012-09-26  Marek Polacek  <polacek@redhat.com>
58618         [BZ #14530]
58619         [BZ #13741]
58620         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58621         for C++ and GCC <4.3 as well as for non GCC compilers.
58623 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58627 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58629         * Makefile.in (all, install): Declare with .PHONY.
58630         Reported by Michael Hope <michael.hope@linaro.org>.
58632 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58634         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58635         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58636         system header.
58637         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58638         Likewise.
58639         (sydep_routines): Add the new and the internal functions.
58640         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58641         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58643         (GLIBC_2.17): Add the new function.
58644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58645         (GLIBC_2.17): Likewise.
58646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58647         (GLIBC_2.17): Likewise.
58648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58649         (GLIBC_2.17): Likewise.
58650         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58652 2012-09-25  Alan Modra  <amodra@gmail.com>
58654         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58655         Add release barrier before setting once_control to say
58656         initialisation is done.  Add hints on lwarx.  Use macro in
58657         place of isync.
58658         (clear_once_control): Add release barrier.
58660 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58662         [BZ #13629]
58663         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58664         specially.
58665         * math/s_clog10.c (__clog10): Likewise.
58666         * math/s_clog10f.c (__clog10f): Likewise.
58667         * math/s_clog10l.c (__clog10l): Likewise.
58668         * math/s_clogf.c (__clogf): Likewise.
58669         * math/s_clogl.c (__clogl): Likewise.
58670         * math/Makefile (libm-calls): Add x2y2m1.
58671         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58672         (__x2y2m1): Likewise.
58673         (__x2y2m1l): Likewise.
58674         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58675         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58676         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58677         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58678         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58679         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58680         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58681         * sysdeps/i386/fpu/libm-test-ulps: Update.
58682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58684         [BZ #14621]
58685         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58686         int as type of variable DEPTH.
58687         (glob): Use size_t instead of int as type of variables NEWCOUNT
58688         and OLD_PATHC.
58690 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58692         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58693         Add s_sincosf-sse2.
58694         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58695         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58696         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58697         macros for using routine as __sincosf_ia32.
58698         Use macro for function declaration and weak_alias.
58699         * sysdeps/i386/fpu/libm-test-ulps: Update.
58701         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58704         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58705         subnormal argument.
58706         * math/s_cexpf.c (__cexpf): Likewise.
58707         * math/s_csinf.c (__csinf): Likewise.
58708         * math/s_csinhf.c (__csinhf): Likewise.
58709         * math/s_ctanf.c (__ctanf): Likewise.
58710         * math/s_ctanhf.c (__ctanhf): Likewise.
58711         * math/s_ccosh.c (__ccoshf): Likewise.
58712         * math/s_cexp.c (__cexpl): Likewise.
58713         * math/s_csin.c (__csin): Likewise.
58714         * math/s_csinh.c (__csinh): Likewise.
58715         * math/s_ctan.c (__ctan): Likewise.
58716         * math/s_ctanh.c (ctanh): Likewise.
58717         * math/s_ccoshl.c (__ccoshl): Likewise.
58718         * math/s_cexpl.c (__cexpl): Likewise.
58719         * math/s_csinl.c (__csinl): Likewise.
58720         * math/s_csinhl.c (__csinhl): Likewise.
58721         * math/s_ctanl.c (__ctanl): Likewise.
58722         * math/s_ctanhl.c (__ctanhl): Likewise.
58724 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58726         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58727         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58728         (_IO_off_t): Define to __off_t, not _G_off_t.
58729         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58730         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58731         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58732         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58733         type of __dummy and __dummy2 fields.
58734         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58735         (_G_ssize_t): Likewise.
58736         (_G_off_t): Likewise.
58737         (_G_pid_t): Likewise.
58738         (_G_uid_t): Likewise.
58739         (_G_wchar_t): Likewise.
58740         (_G_wint_t): Likewise.
58741         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58742         (_G_ssize_t): Likewise.
58743         (_G_off_t): Likewise.
58744         (_G_pid_t): Likewise.
58745         (_G_uid_t): Likewise.
58746         (_G_wchar_t): Likewise.
58747         (_G_wint_t): Likewise.
58748         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58749         (_G_ssize_t): Likewise.
58750         (_G_off_t): Likewise.
58751         (_G_pid_t): Likewise.
58752         (_G_uid_t): Likewise.
58753         (_G_wchar_t): Likewise.
58754         (_G_wint_t): Likewise.
58756 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58758         * malloc/arena.c: Include malloc-sysdep.h.
58759         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58760         is sufficient to shrink the heap or an unmap is needed.
58761         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58762         new function check_may_shrink_heap.
58763         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58764         new function check_may_shrink_heap.
58766 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58768         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58769         comments.
58771 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58773         * catgets/test-gencat.sh: Add "set -e".
58774         * elf/tst-pathopt.sh: Likewise.
58775         * grp/tst_fgetgrent.sh: Likewise.
58776         * iconvdata/run-iconv-test.sh: Likewise.
58777         * intl/tst-gettext.sh: Likewise.
58778         * intl/tst-gettext2.sh: Likewise.
58779         * intl/tst-gettext4.sh: Likewise.
58780         * intl/tst-gettext6.sh: Likewise.
58781         * intl/tst-translit.sh: Likewise.
58782         * io/ftwtest-sh: Likewise.
58783         * libio/test-freopen.sh: Likewise.
58784         * malloc/tst-mtrace.sh: Likewise.
58785         * posix/globtest.sh: Likewise.
58786         * posix/tst-getconf.sh: Likewise.
58787         * posix/wordexp-tst.sh: Likewise.
58788         * stdio-common/tst-printf.sh: Likewise.
58789         * stdio-common/tst-unbputc.sh: Likewise.
58790         * stdlib/tst-fmtmsg.sh: Likewise.
58791         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58792         * catgets/Makefile: Do not specify -e option when running
58793         testsuite shell scripts.
58794         * elf/Makefile: Likewise.
58795         * grp/Makefile: Likewise.
58796         * iconvdata/Makefile: Likewise.
58797         * intl/Makefile: Likewise.
58798         * io/Makefile: Likewise.
58799         * libio/Makefile: Likewise.
58800         * malloc/Makefile: Likewise.
58801         * posix/Makefile: Likewise.
58802         * stdio-common/Makefile: Likewise.
58803         * stdlib/Makefile: Likewise.
58804         * sysdeps/x86_64/Makefile: Likewise.
58806         * io/ftwtest-sh: Add copyright header.
58807         * posix/globtest.sh: Likewise.
58808         * posix/tst-getconf.sh: Likewise.
58809         * posix/wordexp-tst.sh: Likewise.
58810         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58812 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58814         [BZ #13679]
58815         * Makeconfig (+link): Defined as $(+link-static) if
58816         $(build-shared) isn't yes.
58817         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58818         isn't yes.
58819         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58821         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58823         [BZ #14562]
58824         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58825         new chunk size with MALLOC_ALIGN_MASK.
58827 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58829         [BZ #5044]
58830         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58831         <rounding-mode.h>.
58832         (__printf_fphex): Determine rounding using get_rounding_mode and
58833         round_away.
58834         * stdio-common/tst-printf-round.c (struct hex_test): New
58835         structure.
58836         (hex_tests): New variable.
58837         (test_hex_in_one_mode): New function.
58838         (do_test): Also run tests for hex float output.
58840 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58842         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58843         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58844         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58845         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58846         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58847         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58848         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58849         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58851 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58853         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58854         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58855         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58856         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58858 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58860         [BZ #14579]
58861         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58862         mode only.
58863         * elf/tst-rtld-load-self.sh: New test.
58864         * elf/Makefile: Run it.
58866 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58868         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58869         (tst-writev-ENV): Remove.
58870         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58872 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58874         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58876 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58878         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58879         unconditional.
58880         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58881         Likewise.
58882         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58883         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58884         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58885         Likewise.
58887 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58889         [BZ #14587]
58890         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58891         * config.make.in (have-cpp-asm-debuginfo): Removed.
58892         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58893         * configure: Regenerated.
58895 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58897         [BZ #5044]
58898         * stdio-common/printf_fp.c: Include <stdbool.h> and
58899         <rounding-mode.h>.
58900         (___printf_fp): Determine rounding using get_rounding_mode and
58901         round_away.
58902         * stdio-common/tst-printf-round.c: New file.
58903         * stdio-common/Makefile (tests): Add tst-printf-round.
58904         (link-libm): New variable.
58905         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58907 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58909         [BZ #14576]
58910         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58911         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58912         Likewise.
58913         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58914         Likewise.
58916 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58918         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58919         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58920         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58921         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58923 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58925         [BZ #14518]
58926         * include/rounding-mode.h: New file.
58927         * sysdeps/generic/get-rounding-mode.h: Likewise.
58928         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58929         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58930         (MAX_VALUE): New macro.
58931         (MIN_VALUE): Likewise.
58932         (overflow_value): New function.
58933         (underflow_value): Likewise.
58934         (round_and_return): Use overflow_value and underflow_value to
58935         determine return values in overflow and underflow cases.  Use
58936         round_away to determine rounding depending on rounding mode.
58937         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58938         determine return values in overflow and underflow cases.
58939         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58940         (struct test_results): New structure.
58941         (struct test): Use struct test_results to store expected results
58942         for all rounding modes.
58943         (TEST): Include expected results for all rounding modes.
58944         (test_in_one_mode): New function.
58945         (do_test): Use test_in_one_mode to compute and check results.
58946         Check results for all rounding modes.
58947         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58948         $(link-libm).
58950 2012-12-09  Allan McRae  <allan@archlinux.org>
58952         * sysdeps/i386/fpu/libm-test-ulps: Update
58954 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58956         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58957         (_G_int32_t): Likewise.
58958         (_G_uint16_t): Likewise.
58959         (_G_uint32_t): Likewise.
58960         (_G_HAVE_BOOL): Likewise.
58961         (_G_HAVE_ATEXIT): Likewise.
58962         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58963         (_G_HAVE_IO_FILE_OPEN): Likewise.
58964         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58965         (_G_int32_t): Likewise.
58966         (_G_uint16_t): Likewise.
58967         (_G_uint32_t): Likewise.
58968         (_G_HAVE_BOOL): Likewise.
58969         (_G_HAVE_ATEXIT): Likewise.
58970         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58971         (_G_HAVE_IO_FILE_OPEN): Likewise.
58972         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58973         (_G_int32_t): Likewise.
58974         (_G_uint16_t): Likewise.
58975         (_G_uint32_t): Likewise.
58976         (_G_HAVE_BOOL): Likewise.
58977         (_G_HAVE_ATEXIT): Likewise.
58978         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58979         (_G_HAVE_IO_FILE_OPEN): Likewise.
58981 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58983         * csu/libc-tls.c: Update copyright years.
58985 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58987         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58988         [!_G_USING_THUNKS]: Remove conditional code.
58989         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58990         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58992         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58993         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58994         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58995         (_G_VTABLE_LABEL_PREFIX): Likewise.
58996         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58997         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58998         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58999         (_G_VTABLE_LABEL_PREFIX): Likewise.
59000         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59001         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59002         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59003         (_G_VTABLE_LABEL_PREFIX): Likewise.
59004         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59006 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59008         * libio/Makefile: Include ../Makeconfig before tests.
59009         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59010         only if $(build-shared) is yes.
59012         * iconv/gconv_db.c: Update copyright years.
59014 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59016         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59017         unwind info if defined PIC. Fix special cases description.
59018         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59020         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59021         DP_HI_MASK entry.
59022         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59024 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59026         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59028         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59029         is NULL.
59031         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59032         (LDLIBS-tst-chk4): This.
59033         (LDFLAGS-tst-chk5): Renamed to ...
59034         (LDLIBS-tst-chk5): This.
59035         (LDFLAGS-tst-chk6): Renamed to ...
59036         (LDLIBS-tst-chk6): This.
59037         (LDFLAGS-tst-lfschk4): Renamed to ...
59038         (LDLIBS-tst-lfschk4): This.
59039         (LDFLAGS-tst-lfschk5): Renamed to ...
59040         (LDLIBS-tst-lfschk5): This.
59041         (LDFLAGS-tst-lfschk6): Renamed to ...
59042         (LDLIBS-tst-lfschk6): This.
59044         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59045         on $(common-objpfx)soversions.mk.
59047 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59049         [BZ #10014]
59050         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59051         example host name.
59053 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59055         * malloc/arena.c (arena_get_retry): New function that gets
59056         another arena for the caller to try its request on.
59057         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59058         current arena cannot fulfill the request.
59059         (__libc_memalign): Likewise.
59060         (__libc_memalign): Likewise.
59061         (__libc_pvalloc): Likewise.
59062         (__libc_calloc): Likewise.
59064 2012-09-05  John Tobey  <john.tobey@gmail.com>
59066         [BZ #13542]
59067         * manual/arith.texi (Operations on Complex): Fix description
59068         of carg branch cut.
59070 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59072         [BZ #10014]
59073         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59074         host name.
59076         [BZ #10038]
59077         * manual/memory.texi (Memory): Make order of menu items match
59078         order of sections.
59080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59082         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59083         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59084         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59086 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59088         * csu/libc-tls.c (static_dtv): Renamed to ...
59089         (_dl_static_dtv): This.  Make it global.
59090         (_dl_initial_dtv): Removed.
59091         (__libc_setup_tls): Updated.
59092         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59093         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59094         DL_INITIAL_DTV.
59096 2012-09-06  Petr Machata  <pmachata@redhat.com>
59098         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59099         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59100         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59101         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59103 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59105         [BZ #14545]
59106         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59107         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59108         freeing dtv[-1].
59110 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59112         [BZ #14544]
59113         * Makeconfig (link-static-before-libc): Replace $(+prector)
59114         with $(+prectorT).
59115         (link-static-after-libc): Replace $(+postctor) with
59116         $(+postctorT).
59117         (link-bounded): Replace $(+prector)/$(+postctor) with
59118         $(+prectorT)/$(+postctorT).
59119         (+prectorT): New macro.
59120         (+postctorT): Likewise.
59122 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59124         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59125         (round_str): Handle values above the maximum for IBM long double
59126         as inexact.
59127         * stdlib/tst-strtod-round.c (tests): Regenerated.
59129 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59131         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59132         assembler flag.
59133         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59134         zarch_nohighgprs around the zarch optimized routines.
59135         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59136         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59137         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59138         for zarch.
59140 2012-09-05  David S. Miller  <davem@davemloft.net>
59142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59144         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59145         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59146         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59147         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59148         entries.
59150 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59152         * malloc/arena.c: Fold copyright years.
59153         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59155 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59157         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59159 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59161         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59163 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59165         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59166         change internal state upon failure.
59168 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59170         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59171         * malloc/memusage.c (mmap): Likewise.
59172         (mmap64, mremap): Likewise.  Adjust name in comment.
59174 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59176         * libio/fileops.c: Fix typos in comments.
59177         * libio/oldfileops.c: Likewise.
59178         * libio/wfileops.c: Likewise.
59180 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59182         [BZ #1349]
59183         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59184         (tst-malloc-usable-ENV): Set environment for test case.
59185         * malloc/hooks.c (malloc_check_get_size): New function to get
59186         requested size.
59187         * malloc/malloc.c (musable): Use malloc_check_get_size.
59188         * malloc/tst-malloc-usable.c: New test case.
59190 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59192         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59194 2012-09-05  Allan McRae  <allan@archlinux.org>
59196         [BZ #13966]
59197         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59198         determine header location.
59199         * configure: Regenerated.
59201 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59203         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59204         float format.
59205         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59206         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59207         format.
59208         (test): Regenerate.
59210 2012-09-04  David S. Miller  <davem@davemloft.net>
59212         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59213         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59214         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59216 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59218         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59219         failures.
59221         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59223 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59225         [BZ #9914]
59226         * libio/iogetdelim.c: Include <limits.h>.
59227         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59228         + len + 1 would overflow.
59230 2012-09-03  Andreas Jaeger  <aj@suse.de>
59232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59233         * sysdeps/i386/fpu/libm-test-ulps: Update.
59235 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59237         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59238         Add s_sinf-sse2, s_conf-sse2.
59240         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59241         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59242         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59243         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59245         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59246         for using routine as __sinf_ia32.
59247         Use macro for function declaration and weak_alias.
59248         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59249         for using routine as __cosf_ia32.
59250         Use macro for function declaration and weak_alias.
59252         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59253         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59255         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59256         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59259         * math/libm-test.inc (cos_test): Add more test cases.
59260         (sin_test): Likewise.
59261         (sincos_test): Likewise.
59263 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59265         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59266         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59267         hidden.
59268         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59270 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59272         [BZ #14538]
59273         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59274         first element of the GOT.
59275         (elf_machine_load_address): Return the difference between
59276         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59278 2012-09-01  Allan McRae  <allan@archlinux.org>
59280         [BZ #13412]
59281         * configure.in (AWK): Require gawk version 3.0 or later.
59282         * configure: Regenerated.
59284 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59286         * sysdeps/unix/sysv/linux/kernel-features.h
59287         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59288         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59289         [__NR_clock_getres]: Make code unconditional.
59290         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59291         (clock_getcpuclockid): Remove code left unreachable by removal of
59292         conditionals.
59293         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59294         code unconditional.
59295         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59296         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59297         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59298         Make code unconditional.
59299         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59300         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59301         * sysdeps/unix/sysv/linux/clock_settime.c
59302         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59303         conditional code.
59304         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59305         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59307 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59309         [BZ #14476]
59310         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59311         scripts/test-installation.pl.
59313         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59314         and $ld_so_version if it is set.
59316 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59318         [BZ #14516]
59319         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59320         failure if reading from procfs failed.
59321         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59323 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59325         * sysdeps/unix/sysv/linux/kernel-features.h
59326         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59327         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59328         Remove conditional code.
59329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59330         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59331         Remove conditional code.
59332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59333         * sysdeps/unix/sysv/linux/i386/fxstat.c
59334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59336         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59337         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59339         * sysdeps/unix/sysv/linux/i386/lxstat.c
59340         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59342         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59343         Remove conditional code.
59344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59345         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59346         Remove conditional code.
59347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59348         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59349         <kernel-features.h>.
59350         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59351         Remove.
59352         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59353         Remove conditional code.
59354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59355         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59356         Remove conditional.
59358 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59360         [BZ #5400]
59361         * NEWS: Add fixed bug number.
59363 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59365         [BZ #14519]
59366         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59367         underflowing exponent in case of negative sign.
59368         * stdlib/tst-strtod-round-data: Add more tests.
59369         * stdlib/tst-strtod-round.c (tests): Regenerated.
59371         [BZ #3479]
59372         * stdlib/strtod_l.c (NDIG): Remove.
59373         (HEXNDIG): Likewise.
59374         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59375         smallest representable value.
59376         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59377         lie within an exact representation of 1/2 ulp of the result.
59378         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59379         unconditionally.
59380         (TENS_P9_IDX): Define unconditionally.
59381         (TENS_P9_SIZE): Likewise.
59382         (TENS_P10_IDX): Likewise.
59383         (TENS_P10_SIZE): Likewise.
59384         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59385         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59386         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59387         entries for 10^2^13 and 10^2^14.
59388         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59389         (TENS_P13_IDX): Define.
59390         (TENS_P13_SIZE): Likewise.
59391         (TENS_P14_IDX): Likewise.
59392         (TENS_P14_SIZE): Likewise.
59393         (_fpioconst_pow10): Change array size to
59394         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59395         unconditional.
59396         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59397         1024]: Add entries for 10^2^13 and 10^2^14.
59398         [LAST_POW10 > _LAST_POW10]: Remove #error.
59399         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59400         (_fpioconst_pow10): Change array size to
59401         FPIOCONST_POW10_ARRAY_SIZE.
59402         * stdlib/gen-fpioconst.c: New file.
59403         * stdlib/gen-tst-strtod-round.c: Likewise.
59404         * stdlib/tst-strtod-round-data: Likewise.
59405         * stdlib/tst-strtod-round.c: Likewise.
59406         * stdlib/Makefile (tests): Add tst-strtod-round.
59408         [BZ #14459]
59409         * stdlib/strtod_l.c: Include <stdint.h>.
59410         (NDEBUG): Do not define.
59411         (round_and_return): Change EXPONENT parameter to type intmax_t.
59412         Rearrange calculations to avoid internal overflow possibilities.
59413         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59414         Rearrange calculations to avoid internal overflow possibilities.
59415         Assert that number fits inside MPNSIZE limbs.
59416         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59417         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59418         calculations and add assertions to avoid internal overflow
59419         possibilities.  Add casts to avoid signed/unsigned operations.
59420         * stdlib/tst-strtod-overflow.c: New file.
59421         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59423 2012-08-25  Marek Polacek  <polacek@redhat.com>
59425         * time/time.h: Fix some typos in comments.
59427 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59429         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59430         * posix/tst-rfc3484-2.c: Likewise.
59431         * posix/tst-rfc3484-3.c: Likewise.
59433 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59435         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59436         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59438 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59440         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59441         #include of fxstatat64.c.
59443 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59445         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59446         * shadow/getspent_r.c: Likewise.
59447         * shadow/getspnam.c: Likewise.
59448         * shadow/getspnam_r.c: Likewise.
59449         * gshadow/getsgent.c: Likewise.
59450         * gshadow/getsgent_r.c: Likewise.
59451         * gshadow/getsgnam.c: Likewise.
59452         * gshadow/getsgnam_r.c: Likewise.
59453         * inet/getnetbyad.c: Likewise.
59454         * inet/getnetbyad_r.c: Likewise.
59455         * inet/getnetbynm.c: Likewise.
59456         * inet/getnetbynm_r.c: Likewise.
59457         * inet/getnetent.c: Likewise.
59458         * inet/getnetent_r.c: Likewise.
59459         * inet/getproto.c: Likewise.
59460         * inet/getproto_r.c: Likewise.
59461         * inet/getprtent.c: Likewise.
59462         * inet/getprtent_r.c: Likewise.
59463         * inet/getprtname.c: Likewise.
59464         * inet/getprtname_r.c: Likewise.
59465         * inet/getrpcbyname.c: Likewise.
59466         * inet/getrpcbyname_r.c: Likewise.
59467         * inet/getrpcbynumber.c: Likewise.
59468         * inet/getrpcbynumber_r.c: Likewise.
59469         * inet/getrpcent.c: Likewise.
59470         * inet/getrpcent_r.c: Likewise.
59471         * inet/getaliasent.c: Likewise.
59472         * inet/getaliasent_r.c: Likewise.
59473         * inet/getaliasname.c: Likewise.
59474         * inet/getaliasname_r.c: Likewise.
59475         * nscd/getgrgid_r.c: Likewise.
59476         * nscd/getgrnam_r.c: Likewise.
59477         * nscd/gethstbyad_r.c: Likewise.
59478         * nscd/gethstbynm3_r.c: Likewise.
59479         * nscd/getpwnam_r.c: Likewise.
59480         * nscd/getpwuid_r.c: Likewise.
59481         * nscd/getsrvbynm_r.c: Likewise.
59482         * nscd/getsrvbypt_r.c: Likewise.
59483         * nscd/gai.c: Likewise.
59485         * configure.in (build_nscd): New substituted variable, set
59486         by --disable-build-nscd and defaults to $use_nscd.
59487         * configure: Regenerated.
59488         * config.make.in (build-nscd): New substituted variable.
59489         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59490         Change conditional to require [$(build-nscd) = yes] as well.
59491         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59493         [BZ# 13696]
59494         * configure.in (use_nscd): New substituted variable, set by
59495         --disable-nscd.  If enabled, define USE_NSCD.
59496         * configure: Regenerated.
59497         * config.h.in: Add USE_NSCD.
59498         * config.make.in (use-nscd): New substituted variable.
59499         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59500         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59501         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59502         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59503         (CFLAGS-getgrnam_r.c): Likewise.
59504         (CFLAGS-initgroups.c): Likewise.
59505         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59506         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59507         Variables removed.
59508         * inet/getnetgrent_r.c
59509         (nscd_setnetgrent): New function, broken out of ...
59510         (setnetgrent): ... here.  Call it.
59511         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59512         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59513         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59514         * nscd/Makefile (routines, aux): Move definitions after include of
59515         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59516         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59517         Conditionalize on [USE_NSCD].
59518         (is_nscd, nscd_init_cb): Likewise.
59519         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59520         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59521         * nss/nss_db/db-init.c: Likewise.
59522         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59523         [USE_NSCD].
59524         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59525         (make_request): Use it.
59526         (cache_valid_p): New function.
59527         (__check_pf): Use it.
59528         * NEWS: Add item for --disable-nscd.
59530 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59532         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59533         to support sed >= 4.2.1-20-ga9bf076.
59534         * configure: Regenerated.
59536 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59538         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59539         Conditionalize whole body on [IREL].
59541 2012-08-22  Jeff Law <law@redhat.com>
59543         [BZ #14505]
59544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59545         if the family is PF_UNSPEC.
59547 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59549         * Makerules (lib-version): Rename from V.
59550         (install-lib-nosubdir): Change V to lib-version.
59552 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59554         [BZ #14252]
59555         * powerpc32/power6/wcschr.c: New file.
59556         * powerpc32/power6/wcscpy.c: New file.
59557         * powerpc32/power6/wcsrchr.c: New file.
59558         * powerpc64/power6/wcschr.c: New file.
59559         * powerpc64/power6/wcscpy.c: New file.
59560         * powerpc64/power6/wcsrchr.c: New file.
59562 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59564         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59565         (two_way_short_needle): Use it.
59566         * string/strstr.c (AVAILABLE1_USES_J): Define.
59567         * string/strcasestr.c: Likewise.
59569         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59570         array references.
59571         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59573         [BZ #11607]
59574         * NEWS: Add an entry.
59575         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59576         define their defaults.
59577         (two_way_short_needle): Detect end-of-string on-the-fly.
59578         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59579         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59580         * string/bug-strcasestr1.c: New test.
59581         * string/Makefile: Run it.
59583 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59585         [BZ #11607]
59586         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59587         the first character.
59589 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59591         * csu/elf-init.c (__libc_csu_irel): Function removed.
59592         * csu/libc-start.c (apply_irel): New function.
59593         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59595 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59597         * sysdeps/unix/sysv/linux/kernel-features.h
59598         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59599         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59600         <kernel-features.h>.
59601         [__NR_fadvise64_64]: Make code unconditional.
59602         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59603         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59604         !__NR_fadvise64_64)]: Likewise.
59605         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59606         !__NR_fadvise64_64))]: Likewise.
59607         [__NR_fadvise64]: Make code unconditional.
59608         [!__NR_fadvise64]: Remove conditional code.
59609         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59610         <kernel-features.h>.
59611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59612         unconditional.
59613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59614         conditional code.
59615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59616         not include <kernel-features.h>.
59617         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59618         unconditional.
59619         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59620         conditional code.
59621         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59622         include <kernel-features.h>.
59623         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59624         unconditional.
59625         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59626         conditional code.
59628 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59631         slight instruction rearrangements per scrollpipe analysis.
59632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59634 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59636         * manual/syslog.texi (syslog; vsyslog, closelog):
59637         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59638         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59640         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59641         DSOCAPS to match condition on defining it.
59643 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59645         * sysdeps/unix/sysv/linux/kernel-features.h
59646         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59651         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59652         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59654         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59655         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59657         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59658         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59660         * sysdeps/unix/sysv/linux/kernel-features.h
59661         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59662         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59663         unconditional.
59664         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59665         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59666         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59667         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59668         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59669         Make code unconditional.
59670         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59671         (__mmap64) [!__NR_mmap2]: Likewise.
59672         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59673         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59674         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59675         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59676         [__NR_mmap2]: Make code unconditional.
59677         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59678         (__mmap64) [!__NR_mmap2]: Likewise.
59680 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59682         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59684 2012-08-18  Andreas Jaeger  <aj@suse.de>
59686         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59688 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59690         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59691         * include/unistd.h (__have_sock_cloexec): Likewise.
59692         (__have_pipe2): Likewise.
59693         (__have_dup3): Likewise.
59695 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59697         [BZ #9685]
59698         * include/unistd.h (__have_pipe2): Change define into an extern int.
59699         (__have_dup3): Likewise.
59700         * socket/have_sock_cloexec.c: Include fcntl.h.
59701         (__have_pipe2): New variable.
59702         (__have_dup3): Likewise.
59704 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59706         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59708 2012-08-17  Marek Polacek  <polacek@redhat.com>
59710         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59711         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59713 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59715         * configure.in: Add AC_SUBST for sysheaders.
59716         * configure: Regenerated.
59717         * config.make.in (sysheaders): New substituted variable.
59719         * sysdeps/unix/mkfifo.c: Moved ...
59720         * sysdeps/posix/mkfifo.c: ... here.
59721         * sysdeps/unix/mkfifoat.c: Moved ...
59722         * sysdeps/posix/mkfifoat.c: ... here.
59724         * sysdeps/unix/utime.c: Moved ...
59725         * sysdeps/posix/utime.c: ... here.
59727         * sysdeps/unix/time.c: Moved ...
59728         * sysdeps/posix/time.c: ... here.
59729         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59730         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59732         * sysdeps/unix/nice.c: Moved ...
59733         * sysdeps/posix/nice.c: ... here.
59735         * sysdeps/unix/alarm.c: Moved ...
59736         * sysdeps/posix/alarm.c: ... here.
59738         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59740 2012-08-17  Jeff Law <law@redhat.com>
59742         * intl/Makefile (codeset_mo): New variable.
59743         ($(codeset_mo)): New target.
59744         (tst-codeset.out): Depend on that.  Remove explicit rule.
59745         (tst-gettext3.out, tst-gettext5.out): Likewise.
59746         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59747         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59748         * intl/tst-codeset.sh: Remove.
59749         * intl/tst-gettext3.sh: Likewise.
59750         * intl/tst-gettext5.sh: Likewise.
59752 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59754         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59755         * sysdeps/unix/syscalls.list: ... here.
59757         * sysdeps/posix/getaddrinfo.c
59758         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59759         (gaiconf_init, gaiconf_reload): Use them.
59760         [!_STATBUF_ST_NSEC]
59761         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59762         Define using time_t rather than struct timespec.
59764         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59765         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59766         Macros removed.
59767         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59768         [!NO_THREADS].
59769         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59770         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59771         Likewise.
59773         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59774         __libc_cleanup_push argument.
59776         * bits/param.h: New file.
59777         * misc/sys/param.h: New file.
59778         * include/sys/param.h: New file.
59779         * misc/Makefile (headers): Add bits/param.h.
59780         * sysdeps/generic/sys/param.h: File removed.
59781         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59782         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59783         * sysdeps/mach/hurd/bits/param.h: New file.
59784         * sysdeps/mach/hurd/sys/param.h: File removed.
59786         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59787         last change.
59789         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59790         [_IO_MTSAFE_IO].
59791         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59792         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59793         New macros.
59795         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59796         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59797         rather than -D_IO_MTSAFE_IO conditionally.
59798         * stdio-common/Makefile (CPPFLAGS): Likewise.
59799         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59800         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59801         Use $(libio-mtsafe).
59802         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59803         of -D_IO_MTSAFE_IO.
59804         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59805         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59806         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59807         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59808         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59809         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59810         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59811         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59812         (CFLAGS-fread_u_chk.c): Likewise.
59813         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59814         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59815         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59816         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59817         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59818         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59819         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59820         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59821         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59823         * libio/Makefile: Test [$(libc-reentrant) = yes]
59824         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59826         * Makeconfig
59827         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59828         * sysdeps/pthread/configure: File removed.
59829         * sysdeps/pthread/Makeconfig: New file.
59830         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59831         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59833 2012-08-16  Gary Benson  <gbenson@redhat.com>
59835         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59836         unmapping the first object in a namespace.
59838 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59840         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59841         (__internal_setnetgrent): ... this.  Add internal_function to
59842         definition.  Add libc_hidden_def.
59843         (setnetgrent): Update caller.
59844         (internal_endnetgrent): Renamed to ...
59845         (__internal_endnetgrent): ... this.  Add internal_function to
59846         definition.  Add libc_hidden_def.
59847         (endnetgrent): Update caller.
59848         (internal_getnetgrent_r): Renamed to ...
59849         (__internal_getnetgrent_r): ... this.  Add internal_function to
59850         definition.  Add libc_hidden_def.
59851         (__getnetgrent_r): Update caller.
59852         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59854 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59856         * stdlib/longlong.h: Update from GCC.
59858 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59860         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59861         on _QL, which is set by umul_ppmm but never used.
59862         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59863         variables, which are set by GMP macros but never used.
59864         * stdio-common/_itowa.c (_itowa): Likewise.
59865         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59866         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59868 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59870         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59871         struct La_sh_regs is not constant.
59872         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59873         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59874         and struct La_sparc64_regs are not constant.
59876 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59878         * sysdeps/unix/sysv/linux/kernel-features.h
59879         (__ASSUME_POSIX_TIMERS): Remove.
59880         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59882         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59883         Make code unconditional.
59884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59885         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59886         Make code unconditional.
59887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59888         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59889         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59890         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59891         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59892         Make code unconditional.
59893         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59894         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59895         (__libc_missing_posix_timers): Remove.
59897 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59899         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59900         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59902         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59904         * elf/dl-sym.c: Include <stdlib.h>.
59906         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59907         constants, which avoids warnings in 32-bit builds.
59909         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59910         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59912         * misc/lseek.c: File moved to ...
59913         * io/lseek.c: ... here.
59915         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59917         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59918         shifting LEN more than 31 bits at once.
59920 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59922         [BZ #14195]
59923         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59924         segmentation fault for a case of two empty input strings.
59925         * string/test-strncasecmp.c (check1): Renamed to...
59926         (bz12205): ...this.
59927         (bz14195): Add new testcase for two empty input strings and N > 0.
59928         (test_main): Call new testcase, adapt for renamed function.
59930 2012-08-15  Andreas Jaeger  <aj@suse.de>
59932         [BZ #14090]
59933         * crypt/md5test2.c: New test, based on test supplied by Serge
59934         Belyshev <belyshev@depni.sinp.msu.ru>.
59935         * crypt/Makefile (xtests): Add md5test-giant..
59936         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59938 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59940         [BZ #14090]
59941         * crypt/md5.c (md5_process_block): Don't assume the buffer
59942         length is less than 2**32.
59943         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59944         length is less than 2**64.
59946 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59948         * string/str-two-way.h: Include <sys/param.h>.
59949         (MAX): Macro removed.
59951         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59952         Move #define and #undef of memmove to just before and after
59953         including <string.h>.
59955         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59956         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59957         and after including <string.h>.  Move declarations of
59958         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59959         to before #include "string/memmove.c".
59961         * include/dirent.h: Declare __getdirentries.
59963         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59964         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59966 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59968         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59969         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59970         * sysdeps/i386/configure: Regenerated.
59971         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59972         STABS_CURRENT_FILE, and STABS_FUN.
59973         (END): Remove call to STABS_FUN_END.
59974         (STABS_CURRENT_FILE1): Delete.
59975         (STABS_CURRENT_FILE): Likewise.
59976         (STABS_FUN): Likewise.
59977         (STABS_FUN_END): Likewise.
59978         (STABS_FUN2): Likewise.
59979         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59980         * sysdeps/x86_64/configure: Regenerated.
59982 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59984         * elf/dl-open.c: Include <atomic.h>.
59985         * elf/dl-lookup.c: Likewise.
59987 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59989         * sysdeps/unix/sysv/linux/kernel-features.h
59990         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59991         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59992         unconditionally.
59993         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59994         unconditionally.
59995         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59996         condition on __ASSUME_CLONE_THREAD_FLAGS.
59998 2012-08-14  Andreas Jaeger  <aj@suse.de>
60000         * sysdeps/i386/fpu/libm-test-ulps: Update.
60002 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60004         * include/atomic.h (atomic_exchange_and_add): Split into ...
60005         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60006         New atomic macros.
60008 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60012 2012-08-13  Jeff Law <law@redhat.com>
60014         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60015         null byte in the output string.
60017 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60019         * sysdeps/unix/sysv/linux/kernel-features.h
60020         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60021         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60022         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60023         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60024         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60025         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60026         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60028 2012-08-09  Jeff Law <law@redhat.com>
60030         [BZ #13939]
60031         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60032         When avoid_arena is set, don't retry in the that arena.  Pick the
60033         next one, whatever it might be.
60034         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60035         (arena_lock): Pass in new parameter to arena_get2.
60036         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60037         arena_get2.
60038         (__libc_malloc): Unify retrying after main arena failure with
60039         __libc_memalign version.
60040         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60042 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60044         [BZ #14166]
60045         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60046         to __redirect_strstr.
60047         (__strstr_sse42): Use typeof __redirect_strstr.
60048         (__strstr_ia32): Likewise.
60049         (__libc_strstr): New prototype.
60050         (strstr): Renamed to ...
60051         (__libc_strstr): This.
60052         (strstr): New strong alias of __libc_strstr.
60053         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60054         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60055         __redirect_time.
60056         Include <time.h>.
60057         (__libc_time): New prototype.
60058         (time_ifunc): Replace time with __libc_time.
60059         (time): New strong alias and hidden definition of __libc_time.
60060         (__GI_time): Remove strong alias.
60061         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60062         Include <stddef.h>.
60063         (memmove): Redefined to __redirect_memmove.
60064         (__memmove_sse2): Use typeof __redirect_memmove.
60065         (__memmove_ssse3): Likewise.
60066         (__memmove_ssse3_back): Likewise.
60067         (__libc_memmove): New prototype.
60068         (memmove): Renamed to ...
60069         (__libc_memmove): This.
60070         (memmove): New strong alias of __libc_memmove.
60072 2012-08-08  Mark Salter  <msalter@redhat.com>
60074         * elf/elf.h
60075         (R_MN10300_TLS_GD): Define.
60076         (R_MN10300_TLS_LD): Likewise.
60077         (R_MN10300_TLS_LDO): Likewise.
60078         (R_MN10300_TLS_GOTIE): Likewise.
60079         (R_MN10300_TLS_IE): Likewise.
60080         (R_MN10300_TLS_LE): Likewise.
60081         (R_MN10300_TLS_DTPMOD): Likewise.
60082         (R_MN10300_TLS_DTPOFF): Likewise.
60083         (R_MN10300_TLS_TPOFF): Likewise.
60084         (R_MN10300_SYM_DIFF): Likewise.
60085         (R_MN10300_ALIGN): Likewise.
60086         (R_MN10300_NUM): Update.
60088 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60090         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60091         Remove.
60093 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60095         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60097         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60098         sysdeps/unix -> sysdeps/posix move.
60099         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60101 2012-08-07      Allan McRae     <allan@archlinux.org>
60103         [BZ #14303]
60104         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60105         (SUNOS_CPP): Likewise.
60106         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60107         not found.
60108         (open_input): Call CPP using execvp.
60110 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60112         * sysdeps/unix/sysv/linux/kernel-features.h
60113         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60114         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60115         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60116         (__ASSUME_WAITID_SYSCALL): Likewise.
60117         * sysdeps/unix/sysv/linux/dl-execstack.c
60118         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60119         code unconditional.
60120         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60121         conditional code.
60122         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60123         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60124         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60125         code.
60126         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60127         unconditional.
60128         [__ASSUME_WAITID_SYSCALL]: Likewise.
60129         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60131 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60133         * sysdeps/unix/closedir.c: Renamed to ...
60134         * sysdeps/posix/closedir.c: ... here.
60135         * sysdeps/unix/dirfd.c: Renamed to ...
60136         * sysdeps/posix/dirfd.c: ... here.
60137         * sysdeps/unix/dirstream.h: Renamed to ...
60138         * sysdeps/posix/dirstream.h: ... here.
60139         * sysdeps/unix/fdopendir.c: Renamed to ...
60140         * sysdeps/posix/fdopendir.c: ... here.
60141         * sysdeps/unix/opendir.c: Renamed to ...
60142         * sysdeps/posix/opendir.c: ... here.
60143         * sysdeps/unix/readdir.c: Renamed to ...
60144         * sysdeps/posix/readdir.c: ... here.
60145         * sysdeps/unix/readdir_r.c: Renamed to ...
60146         * sysdeps/posix/readdir_r.c: ... here.
60147         * sysdeps/unix/rewinddir.c: Renamed to ...
60148         * sysdeps/posix/rewinddir.c: ... here.
60149         * sysdeps/unix/seekdir.c: Renamed to ...
60150         * sysdeps/posix/seekdir.c: ... here.
60151         * sysdeps/unix/telldir.c: Renamed to ...
60152         * sysdeps/posix/telldir.c: ... here.
60153         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60154         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60155         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60156         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60158         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60159         * bits/fcntl.h: ... here.
60161         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60162         not 0.
60163         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60164         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60165         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60166         (struct flock): Move l_start, l_len to the beginning.
60167         Use __pid_t for l_pid.
60168         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60169         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60170         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60171         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60172         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60173         [__USE_LARGEFILE64] (struct flock64): New type.
60174         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60176         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60177         * bits/dirent.h: ... here.
60179         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60180         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60182 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60184         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60185         Change from 2.6.0 to 2.6.16.
60186         * sysdeps/unix/sysv/linux/configure: Regenerated.
60187         * sysdeps/unix/sysv/linux/kernel-features.h
60188         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60189         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60190         version.
60191         (__ASSUME_UTIMES): Likewise.
60192         (__ASSUME_CLONE_STOPPED): Remove.
60193         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60194         architectures, not kernel version.
60195         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60196         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60197         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60198         (__ASSUME_WAITID_SYSCALL): Likewise.
60199         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60200         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60201         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60202         refer to older versions.
60204 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60206         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60207         Define alphasort64 as an alias.
60208         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60209         Define versionsort64 as an alias.
60210         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60211         Define scandir64 as an alias.
60212         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60213         Define scandirat64 as an alias.
60214         * dirent/alphasort64.c (alphasort64):
60215         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60216         * dirent/versionsort64.c: Likewise.
60217         * dirent/scandir64.c: Likewise.
60218         * dirent/scandirat64.c: Likewise.
60219         * sysdeps/wordsize-64/alphasort.c: File removed.
60220         * sysdeps/wordsize-64/alphasort64.c: File removed.
60221         * sysdeps/wordsize-64/scandir.c: File removed.
60222         * sysdeps/wordsize-64/scandir64.c: File removed.
60223         * sysdeps/wordsize-64/scandirat.c: File removed.
60224         * sysdeps/wordsize-64/scandirat64.c: File removed.
60225         * sysdeps/wordsize-64/versionsort.c: File removed.
60226         * sysdeps/wordsize-64/versionsort64.c: File removed.
60227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60228         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60229         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60230         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60231         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60232         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60233         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60234         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60236         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60238         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60240         [defined __arch64__ || defined __sparcv9]
60241         (__INO_T_MATCHES_INO64_T): New macro.
60242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60243         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60244         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60245         * sysdeps/unix/sysv/linux/bits/dirent.h
60246         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60247         (_DIRENT_MATCHES_DIRENT64): New macro.
60249         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60250         Define lockf64 as an alias.
60251         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60252         Define fseeko64 as an alias.
60253         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60254         Define ftello64 as an alias.
60255         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60256         Define _IO_fgetpos64 and fgetpos64 as aliases.
60257         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60258         Define _IO_fsetpos64 and fsetpos64 as aliases.
60259         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60260         Conditionalize body on this.
60261         * libio/fseeko64.c: Likewise.
60262         * libio/ftello64.c: Likewise.
60263         * libio/iofgetpos64.c: Likewise.
60264         * libio/iofsetpos64.c: Likewise.
60265         * sysdeps/wordsize-64/lockf.c: File removed.
60266         * sysdeps/wordsize-64/lockf64.c: File removed.
60267         * sysdeps/wordsize-64/fseeko.c: File removed.
60268         * sysdeps/wordsize-64/fseeko64.c: File removed.
60269         * sysdeps/wordsize-64/ftello.c: File removed.
60270         * sysdeps/wordsize-64/ftello64.c: File removed.
60271         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60272         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60273         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60274         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60275         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60276         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60277         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60278         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60279         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60280         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60281         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60282         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60283         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60284         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60286         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60287         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60288         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60290         [defined __arch64__ || defined __sparcv9]
60291         (__OFF_T_MATCHES_OFF64_T): New macro.
60292         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60293         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60295         (__OFF_T_MATCHES_OFF64_T): New macro.
60297 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60299         * stdlib/secure-getenv.c (__secure_getenv): Replace
60300         GLIBC_2_16 with GLIBC_2_17.
60302 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60304         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60305         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60307 2012-08-03  David S. Miller  <davem@davemloft.net>
60309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60311 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60313         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60314         Remove.
60315         (__ASSUME_CORRECT_SI_PID): Likewise.
60316         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60317         (__ASSUME_TMPFS_NAME): Likewise.
60318         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60319         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60320         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60321         (HAVE_AUX_SECURE): Make definition unconditional.
60322         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60323         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60325 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60327         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60328         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60329         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60330         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60331         __eloop_threshold instead of SYMLOOP_MAX.
60333         * sysdeps/generic/eloop-threshold.h: New file.
60334         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60335         of MAXSYMLINKS.
60336         * elf/chroot_canon.c (chroot_canon): Likewise.
60338 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60340         [BZ #13717]
60341         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60342         Change to 2.6.0 everywhere.
60343         * sysdeps/unix/sysv/linux/configure: Regenerated.
60344         * sysdeps/unix/sysv/linux/kernel-features.h
60345         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60346         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60347         kernel versions.
60348         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60349         (__ASSUME_FUTEX_REQUEUE): Remove.
60350         (__ASSUME_STATFS64): Define unconditionally.
60351         (__ASSUME_AT_SECURE): Likewise.
60352         (__ASSUME_CORRECT_SI_PID): Likewise.
60353         (__ASSUME_TGKILL): Define without depending on kernel version for
60354         i386.
60355         (__ASSUME_UTIMES): Likewise.
60356         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60357         kernel version.
60358         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60359         (__ASSUME_TMPFS_NAME): Likewise.
60360         * README: Update reference to Linux kernel versions.
60362 2012-08-02  Marek Polacek  <polacek@redhat.com>
60364         [BZ# 14150]
60365         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60366         libc_cv_asm_type_prefix with %.
60367         * configure: Regenerated.
60368         * include/libc-symbols.h: Remove comment about
60369         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60370         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60371         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60372         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60373         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60374         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60375         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60376         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60377         * elf/tst-unique2mod1.c: Likewise.
60378         * elf/tst-unique1mod2.c: Likewise.
60379         * elf/tst-unique1mod1.c: Likewise.
60380         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60381         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60382         Replace ASM_TYPE_DIRECTIVE with .type.
60383         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60384         * sysdeps/i386/sysdep.h: Likewise.
60385         * sysdeps/x86_64/sysdep.h: Likewise.
60386         * sysdeps/sh/sysdep.h: Likewise.
60387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60388         Do not define ASM_TYPE_DIRECTIVE.
60389         * sysdeps/powerpc/sysdep.h: Likewise.
60390         * sysdeps/powerpc/powerpc32/sysdep.h:
60391         Replace ASM_TYPE_DIRECTIVE with .type.
60392         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60393         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60394         * sysdeps/i386/fpu/e_powf.S: Likewise.
60395         * sysdeps/i386/fpu/e_expl.S: Likewise.
60396         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60397         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60398         * sysdeps/i386/fpu/e_pow.S: Likewise.
60399         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60400         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60401         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60402         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60403         * sysdeps/i386/fpu/e_log2.S: Likewise.
60404         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60405         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60406         * sysdeps/i386/fpu/e_powl.S: Likewise.
60407         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60408         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60409         * sysdeps/i386/fpu/e_logl.S: Likewise.
60410         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60411         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60412         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60413         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60414         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60415         * sysdeps/i386/fpu/e_log.S: Likewise.
60416         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60417         * sysdeps/i386/fpu/e_logf.S: Likewise.
60418         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60419         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60420         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60421         * sysdeps/i386/fpu/e_log10.S: Likewise.
60422         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60423         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60424         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60425         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60426         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60427         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60428         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60429         * sysdeps/i386/i686/strtok.S: Likewise.
60430         * sysdeps/i386/i386-mcount.S: Likewise.
60431         * sysdeps/i386/strtok.S: Likewise.
60432         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60433         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60434         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60435         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60436         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60437         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60438         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60439         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60440         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60441         * sysdeps/x86_64/_mcount.S: Likewise.
60442         * sysdeps/x86_64/strtok.S: Likewise.
60443         * sysdeps/sh/_mcount.S: Likewise.
60445 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60447         * libio/iofopen.c: Include <fcntl.h>.
60448         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60449         (_IO_fopen64, fopen64): Define as aliases.
60450         * libio/iofopen64.c: Include <fcntl.h>.
60451         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60452         Conditionalize body on this.
60453         * sysdeps/wordsize-64/iofopen.c: File removed.
60454         * sysdeps/wordsize-64/iofopen64.c: File removed.
60456 2012-08-01  Marek Polacek  <polacek@redhat.com>
60458         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60459         Use dlfcn directly instead of a variable.
60460         (binfmt-subdir): Do not define.
60461         (dlfcn): Likewise.
60463 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60465         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60466         Remove all definitions.
60467         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60468         <kernel-features.h>.
60469         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60470         (miss_F_GETOWN_EX): Remove all definitions.
60471         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60472         macro definition.
60473         [!__ASSUME_FCNTL64]: Remove conditional code.
60474         [__ASSUME_FCNTL64]: Make code unconditional.
60475         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60476         <kernel-features.h>.
60477         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60478         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60479         (lockf64) [__NR_fcntl64]: Make code unconditional.
60480         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60482         * sysdeps/unix/sysv/linux/kernel-features.h
60483         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60484         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60485         Make code unconditional.
60486         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60487         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60489         [__NR_vfork]: Make code unconditional.
60490         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60491         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60493         [__NR_vfork]: Make code unconditional.
60494         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60495         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60497 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60499         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60500         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60502         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60503         Define mkstemp64 as an alias.
60504         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60505         Define mkstemps64 as an alias.
60506         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60507         Define mkostemp64 as an alias.
60508         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60509         Define mkostemps64 as an alias.
60510         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60511         Conditionalize body on this.
60512         * misc/mkostemp64.c: Likewise.
60513         * misc/mkostemps64.c: Likewise.
60514         * misc/mkstemps64.c: Likewise.
60515         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60516         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60517         * sysdeps/wordsize-64/mkostemp.c: File removed.
60518         * sysdeps/wordsize-64/mkstemp.c: File removed.
60519         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60521         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60522         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60524         [BZ #14138]
60525         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60526         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60527         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60528         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60530         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60531         compat_symbol macros from <shlib-compat.h> rather than the underlying
60532         default_symbol_version and symbol_version macros, so that DEFAULT
60533         lines in shlib-versions are respected.
60534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60536 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60538         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60539         Declare with warn_unused_result.
60540         (setgid, setregid, setegid, setresgid): Likewise.
60541         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60542         Likewise.
60543         * WUR-REPORT: Remove set*id functions.
60545 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60547         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60549 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60551         [BZ #10191]
60552         * include/sys/socket.h (__libc_accept, __libc_accept4):
60553         Add attribute_hidden.
60554         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60556         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60557         use of PTR_MANGLE.
60558         * inet/getnetgrent_r.c (setup): Likewise.
60560         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60562 2012-07-31  David S. Miller  <davem@davemloft.net>
60564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60566 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60568         [BZ #13629]
60569         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60570         value between 1.0 and 2.0 and smaller part has absolute value less
60571         than 1.0.
60572         * math/s_clog10.c (__clog10): Likewise.
60573         * math/s_clog10f.c (__clog10f): Likewise.
60574         * math/s_clog10l.c (__clog10l): Likewise.
60575         * math/s_clogf.c (__clogf): Likewise.
60576         * math/s_clogl.c (__clogl): Likewise.
60577         * math/libm-test.inc (clog_test): Add more tests.
60578         (clog10_test): Likewise.
60579         * sysdeps/i386/fpu/libm-test-ulps: Update.
60580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60582 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60584         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60585         Exit with zero in case no suitable GID is found, and write a
60586         message to standard error.
60588 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60590         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60591         rather than to 1.
60592         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60593         (MAXPATHLEN): Removed.
60594         (NOGROUP, NODEV): New macros.
60595         (setbit, clrbit, isset, isclr): New macros.
60596         (howmany, roundup, powerof2): New macros.
60597         (DEV_BSIZE): New macro.
60599         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60600         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60602         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60603         definition on [!__NO_LONG_DOUBLE_MATH].
60605         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60606         PTR_MANGLE and PTR_DEMANGLE.
60608         * socket/accept4.c (accept4): Rename to __libc_accept4.
60609         Define accept4 as a weak alias.
60611         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60612         on [_DIRENT_HAVE_D_TYPE].
60613         * io/ftw.c (ftw_dir): Likewise.
60615         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60617         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60619         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60620         Use the BSD numbers rather than the arbitrary ones we had.
60621         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60622         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60623         (SIGXCPU, SIGXFSZ): New macros.
60624         (_NSIG): Now 32.
60626         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60627         initializer on [_LIBC_REENTRANT].
60629         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60630         definitions inside [_POSIX_MAPPED_FILES].
60632         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60634         * dirent/opendir.c: Include <fcntl.h>.
60636         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60637         (__libc_getspecific): Likewise.
60638         (__libc_key_create): Likewise.
60640         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60641         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60642         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60643         (tmpfile64): Define as alias.
60644         * sysdeps/wordsize-64/tmpfile.c: File removed.
60645         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60647         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60649         * stdio-common/vfscanf.c: Include <stdbool.h>.
60650         * nss/makedb.c: Likewise.
60651         * stdio-common/_i18n_number.h: Likewise.
60652         * argp/argp-help.c: Likewise.
60653         * posix/wordexp.c: Likewise.
60654         * sysdeps/posix/spawni.c: Likewise.
60655         * nss/nss_files/files-initgroups.c: Likewise.
60656         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60657         * nss/nss_files/files-initgroups.c: Likewise.
60658         * nss/nss_db/db-netgrp.c: Likewise.
60659         * nss/nss_db/db-initgroups.c: Likewise.
60660         * io/fchmodat.c: Include <sys/stat.h>.
60662         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60663         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60665         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60666         [HAVE_MMAP].
60668         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60669         Add multiple inclusion protection.
60671 2012-07-27  David S. Miller  <davem@davemloft.net>
60673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60675 2012-07-27  Gary Benson  <gbenson@redhat.com>
60677         [BZ #14298]
60678         * elf/rtld.c: Include <stap-probe.h>.
60679         (dl_main): Added static probes "init_start" and "init_complete".
60680         * elf/dl-load.c: Include <stap-probe.h>.
60681         (lose): Take new parameter "nsid".
60682         Added static probe "map_failed".
60683         (_dl_map_object_from_fd): Pass namespace id to lose.
60684         Added static probe "map_start".
60685         (open_verify): Pass namespace id to lose.
60686         * elf/dl-open.c: Include <stap-probe.h>.
60687         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60688         and "reloc_complete".
60689         * elf/dl-close.c: Include <stap-probe.h>.
60690         (_dl_close_worker): Added static probes "unmap_start" and
60691         "unmap_complete".
60692         * elf/rtld-debugger-interface.txt: New file documenting the above.
60694 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60696         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60697         rather than a string variable.
60698         * sunrpc/rpc_main.c (h_output): Likewise.
60699         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60701 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60703         * inet/check_native.c: New file.
60705 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60707         [BZ #13629]
60708         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60709         if larger part has absolute value 1.0.
60710         * math/s_clog10.c (__clog10): Likewise.
60711         * math/s_clog10f.c (__clog10f): Likewise.
60712         * math/s_clog10l.c (__clog10l): Likewise.
60713         * math/s_clogf.c (__clogf): Likewise.
60714         * math/s_clogl.c (__clogl): Likewise.
60715         * math/libm-test.inc (clog_test): Add more tests.
60716         (clog10_test): Likewise.
60717         * sysdeps/i386/fpu/libm-test-ulps: Update.
60718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60720         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60721         (pltexit): Likewise.
60722         (La_regs): Likewise.
60723         (La_retval): Likewise.
60724         (int_retval): Likewise.
60725         Update #error for removed macros to refer only to definitions in
60726         tst-audit.h.
60727         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60728         macro.
60729         (pltexit): Likewise.
60730         (La_regs): Likewise.
60731         (La_retval): Likewise.
60732         (int_retval): Likewise.
60733         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60734         macro.
60735         (pltexit): Likewise.
60736         (La_regs): Likewise.
60737         (La_retval): Likewise.
60738         (int_retval): Likewise.
60739         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60740         macro.
60741         (pltexit): Likewise.
60742         (La_regs): Likewise.
60743         (La_retval): Likewise.
60744         (int_retval): Likewise.
60745         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60746         macro.
60747         (pltexit): Likewise.
60748         (La_regs): Likewise.
60749         (La_retval): Likewise.
60750         (int_retval): Likewise.
60751         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60752         macro.
60753         (pltexit): Likewise.
60754         (La_regs): Likewise.
60755         (La_retval): Likewise.
60756         (int_retval): Likewise.
60757         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60758         macro.
60759         (pltexit): Likewise.
60760         (La_regs): Likewise.
60761         (La_retval): Likewise.
60762         (int_retval): Likewise.
60763         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60764         macro definitions in tst-audit.h.
60765         * sysdeps/i386/tst-audit.h: New file.
60766         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60767         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60768         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60769         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60770         * sysdeps/sh/tst-audit.h: Likewise.
60771         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60772         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60773         * sysdeps/x86_64/tst-audit.h: Likewise.
60775 2012-07-26  Andreas Jaeger  <aj@suse.de>
60777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60778         ptrace.
60780         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60781         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60782         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60783         PTRACE_O_MASK.
60784         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60785         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60786         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60788         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60789         value.
60791         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60792         _sigsys.
60793         (si_call_addr, si_syscall, si_arch): Define new macro.
60794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60795         _sigsys.
60796         (si_call_addr, si_syscall, si_arch): Define new marcro.
60797         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60798         _sigsys.
60799         (si_call_addr, si_syscall, si_arch): Define new macro.
60800         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60801         _sigsys.
60802         (si_call_addr, si_syscall, si_arch): Define new macro.
60804 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60806         [BZ #13717]
60807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60808         Change to 2.4.21 where previously 2.4.1.
60809         * sysdeps/unix/sysv/linux/configure: Regenerated.
60810         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60811         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60812         Linux kernel version.
60813         (__ASSUME_STD_AUXV): Remove.
60814         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60815         kernel version.
60816         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60817         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60818         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60819         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60820         (__ASSUME_NETLINK_SUPPORT): Likewise.
60821         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60822         (__no_netlink_support): Remove conditional definition.
60823         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60824         Remove.
60825         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60826         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60827         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60828         (if_nameindex_ioctl): Remove.
60829         (if_nameindex_netlink): Do not handle __no_netlink_support.
60830         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60831         code.
60832         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60833         Remove conditional code.
60834         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60835         code.
60836         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60837         unconditional.
60838         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60839         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60840         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60841         Remove.
60842         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60843         [!__ASSUME_STD_AUXV]: Remove conditional code.
60844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60845         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60846         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60848         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60849         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60850         code.
60851         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60853         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60854         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60855         conditional code.
60856         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60858         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60859         code.
60860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60861         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60862         conditional code.
60863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60864         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60865         code unconditional.
60866         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60867         conditional code.
60868         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60869         unconditional.
60870         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60871         conditional code.
60872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60873         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60874         unconditional.
60875         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60876         conditional code.
60877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60878         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60879         code unconditional.
60880         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60881         conditional code.
60882         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60883         unconditional.
60884         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60885         conditional code.
60886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60887         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60888         code unconditional.
60889         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60890         conditional code.
60891         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60892         unconditional.
60893         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60894         conditional code.
60896 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60898         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60899         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60900         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60901         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60902         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60903         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60904         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60905         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60906         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60907         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60908         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60909         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60910         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60911         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60912         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60913         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60914         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60915         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60916         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60918         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60919         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60920         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60922 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60924         * Versions.def: Add GLIBC_2.17.
60925         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60926         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60927         Introduce __libc_secure_getenv.
60928         * stdlib/Versions (2.17): Add secure_getenv
60929         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60930         * stdlib/secure-getenv.c: Rename __secure_getenv to
60931         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60932         symbol __secure_getenv for GLIBC_2.0.
60933         * stdlib/tst-secure-getenv.c: New.
60934         * stdlib/Makefile (tests): Add testcase.
60935         * manual/startup.texi (Environment Access): Document
60936         secure_getenv.
60937         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60938         __libc_secure_getenv.
60939         * inet/ruserpass.c (ruserpass): Likewise.
60940         * malloc/mtrace.c (mtrace): Likewise.
60941         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60942         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60943         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60944         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60945         HAVE_SECURE_GETENV.
60946         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60947         __secure_getenv to __libc_secure_getenv.
60948         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60950         Likewise.
60951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60952         Likewise.
60953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60961 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60963         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60964         (struct La_i86_retval): Likewise.
60965         (struct La_x86_64_regs): Likewise.
60966         (struct La_x86_64_retval): Likewise.
60967         (struct La_x32_regs): Likewise.
60968         (struct La_x32_retval): Likewise.
60969         (struct La_ppc32_regs): Likewise.
60970         (struct La_ppc32_retval): Likewise.
60971         (struct La_ppc64_regs): Likewise.
60972         (struct La_ppc64_retval): Likewise.
60973         (struct La_sh_regs): Likewise.
60974         (struct La_sh_retval): Likewise.
60975         (struct La_s390_32_regs): Likewise.
60976         (struct La_s390_32_retval): Likewise.
60977         (struct La_s390_64_regs): Likewise.
60978         (struct La_s390_64_retval): Likewise.
60979         (struct La_sparc32_regs): Likewise.
60980         (struct La_sparc32_retval): Likewise.
60981         (struct La_sparc64_regs): Likewise.
60982         (struct La_sparc64_retval): Likewise.
60983         (struct audit_ifaces): Remove architecture-specific pltenter and
60984         pltexit members.
60985         * sysdeps/i386/ldsodefs.h: New file.
60986         * sysdeps/powerpc/ldsodefs.h: Likewise.
60987         * sysdeps/s390/ldsodefs.h: Likewise.
60988         * sysdeps/sh/ldsodefs.h: Likewise.
60989         * sysdeps/sparc/ldsodefs.h: Likewise.
60990         * sysdeps/x86_64/ldsodefs.h: Likewise.
60992 2012-07-25  Marek Polacek  <polacek@redhat.com>
60994         [BZ #6808]
60995         * math/libm-test.inc (yn_test): Add another test.
60996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60997         to ERANGE when the result is +-Inf.
60998         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60999         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61000         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61001         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61003 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61005         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61006         equal to 0.
61007         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61008         clock_t.
61009         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61011 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61013         * configure.in <sysdeps resolving>: Correct printing
61014         Implies_before.
61015         * configure: Regenerate.
61017 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61019         * math/w_ilogb.c: Include <limits.h>.
61020         * math/w_ilogbl.c: Likewise.
61022 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61024         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61025         va_copy.  Document allowing for unavailable va_copy only as
61026         pre-C99 compatibility.
61027         * manual/string.texi (Copying and Concatenation): Use va_copy
61028         instead of __va_copy in concat example.
61030 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61032         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61033         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61034         it if not null.
61036         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61037         with O_NOLINK passed to __file_name_lookup.
61039         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61040         with O_NOLINK passed to __file_name_lookup.
61042         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61043         negative N or less than NGIDS.
61045         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61046         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61047         enough.  Use memcpy instead of strncpy.
61049 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61051         * elf/Makefile (check-data): Remove.
61052         (localplt.data): New vpath directive.
61053         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61054         instead of $(check-data).
61055         * scripts/data/localplt-generic.data: Move to ...
61056         * sysdeps/generic/localplt.data: ... here.
61057         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61058         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61059         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61061         ... here.
61062         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61064         ... here.
61065         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61067         ... here.
61068         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61070         ... here.
61071         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61073         ... here.
61074         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61076         ... here.
61078 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61080         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61081         PPC32 and PPC64 files.
61082         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61083         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61085 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61087         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61088         __makecontext_ret to ...
61089         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61090         ... here and call exit if uc_link is NULL.  New file.
61091         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61092         __makecontext_ret.S.
61093         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61094         __makecontext_ret to ...
61095         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61096         ... here and call exit if uc_link is NULL.  New file.
61097         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61098         __makecontext_ret.S.
61100 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61102         * elf/elf.h (R_390_IRELATIVE): New definition.
61103         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61104         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61105         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61107         (elf_machine_lazy_rel): Likewise.
61108         * sysdeps/s390/dl-irel.h: New file.
61109         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61110         * sysdeps/s390/s390-64/memset.S: New asm code.
61111         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61112         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61113         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61114         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61115         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61116         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61117         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61118         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61119         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61120         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61121         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61122         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61123         * sysdeps/s390/s390-32/memset.S: New asm code.
61124         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61126 2012-07-17  Marek Polacek  <polacek@redhat.com>
61128         [BZ #14349]
61129         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61130         * sysdeps/s390/s390-64/configure.in: Likewise.
61131         * sysdeps/sparc/configure.in: Likewise.
61132         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61133         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61134         * sysdeps/i386/configure.in: Likewise.
61135         * sysdeps/x86_64/configure.in: Likewise.
61136         * sysdeps/sh/configure.in: Likewise.
61137         * sysdeps/s390/s390-32/configure: Regenerated.
61138         * sysdeps/s390/s390-64/configure: Likewise.
61139         * sysdeps/x86_64/configure: Likewise.
61140         * sysdeps/sh/configure: Likewise.
61141         * sysdeps/powerpc/powerpc64/configure: Likewise.
61142         * sysdeps/powerpc/powerpc32/configure: Likewise.
61143         * sysdeps/sparc/configure: Likwise.
61144         * sysdeps/i386/configure: Likewise.
61146         * elf/dl-open.c: Comment fixes.
61148 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61150         * Makefile [CXX] (check-data): Remove.
61151         [CXX] (c++-types.data): New vpath directive.
61152         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61153         vpath.  Do not allow for C++ type data being missing.
61154         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61155         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61156         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61157         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61158         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61159         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61160         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61162         ... here.
61163         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61165         ... here.
61166         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61168         ... here.
61169         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61171         ... here.
61172         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61174         ... here.
61175         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61177         ... here.
61178         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61180         ... here.
61181         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61184         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61185         definitions to architecture-specific files.
61186         (TLS_IE): Likewise.
61187         (TLS_LD): Likewise.
61188         (TLS_GD): Likewise.
61189         * sysdeps/i386/tls-macros.h: New file.
61190         * sysdeps/powerpc/tls-macros.h: Likewise.
61191         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61192         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61193         * sysdeps/sh/tls-macros.h: Likewise.
61194         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61195         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61196         * sysdeps/x86_64/tls-macros.h: Likewise.
61198 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61200         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61201         zero value for regular exit case.
61203         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61204         (__start_context): Preserve zero value for regular exit case.
61206 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61207             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61209         * manual/setjmp.texi (setcontext): Clarify normal process
61210         termination when uc_link is the null pointer.
61211         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61212         exit call.
61214 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61216         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61217         preprocessor.  Test for each exception mask separately.
61219 2012-07-16  Andreas Jaeger  <aj@suse.de>
61221         * po/ru.po: Update from translation team.
61223 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61225         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61226         equal to 0.
61227         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61228         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61229         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61230         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61231         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61233 2012-07-13  Andreas Jaeger  <aj@suse.de>
61235         * po/fr.po: Update from translation team.
61237 2012-07-12  Marek Polacek  <polacek@redhat.com>
61239         [BZ #14173]
61240         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61241         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61242         loop condition.
61244 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61246         [BZ #13717]
61247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61248         Change to 2.4.1 where previously 2.4.0.
61249         * sysdeps/unix/sysv/linux/configure: Regenerated.
61250         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61251         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61252         version.
61253         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61254         (__ASSUME_AT_CLKTCK): Remove.
61255         (__ASSUME_AT_PAGESIZE): Likewise.
61256         (__ASSUME_AT_XID): Likewise.
61257         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61258         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61259         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61260         unconditionally.
61261         (HAVE_AUX_PAGESIZE): Likewise.
61262         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61263         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61264         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61266 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61268         [BZ #14307]
61269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61270         the temporary buffer used to invoke __gethostbyname2_r,
61271         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61272         host_data / struct gaih_addrtuple.
61273         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61274         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61275         header file nss/nsswitch.h.
61276         * nss/nsswitch.h (global scope): Add definition of implementation
61277         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61278         resolv/nss_dns/dns-host.c).
61280 2012-07-11  Andreas Jaeger  <aj@suse.de>
61282         * po/fr.po: Update from translation team.
61284         * po/sv.po: Update from translation team
61285         * po/fr.po: Another update from translation team.
61287 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61289         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61290         for subnormals or multiply small sinh result by itself.
61291         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61294 2012-07-11  David S. Miller  <davem@davemloft.net>
61296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61298 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61300         [BZ #14347]
61301         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61302         (INTERNAL_MARK): Shift it here.
61304 2012-07-10  Marek Polacek  <polacek@redhat.com>
61306         [BZ #14151]
61307         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61308         libc_cv_asm_global_directive with .globl.
61309         * configure: Regenerated.
61310         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61311         with .globl.
61312         * sysdeps/i386/configure: Regenerated.
61313         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61314         with .globl.
61315         * sysdeps/x86_64/configure: Regenerated.
61316         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61317         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61318         * elf/tst-unique2mod2.c: Likewise.
61319         * elf/tst-unique2mod1.c: Likewise.
61320         * elf/tst-unique1mod2.c: Likewise.
61321         * elf/tst-unique1mod1.c: Likewise.
61322         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61323         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61324         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61325         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61326         * sysdeps/mach/sysdep.h: Likewise.
61327         * sysdeps/i386/sysdep.h: Likewise.
61328         * sysdeps/i386/i386-mcount.S: Likewise.
61329         * sysdeps/x86_64/_mcount.S: Likewise.
61330         * sysdeps/x86_64/sysdep.h: Likewise.
61331         * sysdeps/sh/_mcount.S: Likewise.
61332         * sysdeps/sh/sysdep.h: Likewise.
61333         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61334         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61335         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61336         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61337         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61338         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61339         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61340         * locale/localeinfo.h: Likewise.
61341         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61342         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61344 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61346         [BZ #14336]
61347         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61348         system".
61349         * manual/message.texi (The Uniforum approach): Likewise.
61350         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61351         (glibc iconv Implementation): Likewise.
61353 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61355         [BZ #14337]
61356         * math/s_clog.c (__clog): Avoid scaling a value down where that
61357         could result in underflow.
61358         * math/s_clog10.c (__clog10): Likewise.
61359         * math/s_clog10f.c (__clog10f): Likewise.
61360         * math/s_clog10l.c (__clog10l): Likewise.
61361         * math/s_clogf.c (__clogf): Likewise.
61362         * math/s_clogl.c (__clogl): Likewise.
61363         * math/libm-test.inc (clog_test): Add more tests.
61364         (clog10_test): Likewise.
61365         * sysdeps/i386/fpu/libm-test-ulps: Update.
61366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61368 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61370         [BZ #14283]
61371         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61372         by 7 not 8 to examine high bit of fractional part.
61374         [BZ #14042]
61375         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61376         for call to __mcount_internal.
61377         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61378         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61379         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61381 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61383         [BZ #14154]
61384         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61385         approximation for values within 0x1p-13f of an odd multiple of
61386         pi/4.
61387         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61388         exception.  Add more tests.
61389         * sysdeps/i386/fpu/libm-test-ulps: Update.
61391         [BZ #6778]
61392         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61393         inputs and return -1 for them.  Do not check for +Inf in case not
61394         reachable for +Inf.
61395         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61396         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61397         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61398         and return -1 for them.  Do not check for +Inf in case not
61399         reachable for +Inf.
61400         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61401         define.
61402         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61403         and return -1 for them.  Do not check for +Inf in case not
61404         reachable for +Inf.
61405         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61406         spurious underflow.
61407         * sysdeps/i386/fpu/libm-test-ulps: Update.
61408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61410 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61412         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61414 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61416         [BZ #14157]
61417         [BZ #14331]
61418         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61419         could result in spurious underflow.  Scale down values above
61420         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61421         * math/s_csqrtf.c (__csqrtf): Likewise.
61422         * math/s_csqrtl.c (__csqrtl): Likewise.
61423         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61424         spurious underflow.
61425         * sysdeps/i386/fpu/libm-test-ulps: Update.
61426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61428 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61430         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61431         xopen-msg.sed.
61432         * catgets/xopen-msg.awk: New file.
61433         * catgets/xopen-msg.sed: Removed.
61435         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61436         po2text.sed.
61437         * intl/po2test.awk: New file.
61438         * intl/po2test.sed: Removed.
61440 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61442         [BZ #14328]
61443         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61444         or multiply small sinh result by itself.
61445         * math/s_ctanf.c (__ctanf): Likewise.
61446         * math/s_ctanh.c (__ctanh): Likewise.
61447         * math/s_ctanhf.c (__ctanhf): Likewise.
61448         * math/s_ctanhl.c (__ctanhl): Likewise.
61449         * math/s_ctanl.c (__ctanl): Likewise.
61450         * math/libm-test.inc (ctan_test_tonearest): New function.
61451         (ctan_test_towardzero): Likewise.
61452         (ctan_test_downward): Likewise.
61453         (ctan_test_upward): Likewise.
61454         (ctanh_test_tonearest): Likewise.
61455         (ctanh_test_towardzero): Likewise.
61456         (ctanh_test_downward): Likewise.
61457         (ctanh_test_upward): Likewise.
61458         (main): Call these new functions.
61459         * sysdeps/i386/fpu/libm-test-ulps: Update.
61460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61462 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61464         * .gitignore: Delete /ports entry.
61466 2012-07-03  Andreas Jaeger  <aj@suse.de>
61468         * po/bg.po: Update from translation team.
61469         * po/cs.po: Likewise.
61470         * po/de.po: Likewise.
61471         * po/hr.po: Likewise.
61472         * po/nl.pl: Likewise.
61473         * po/pl.po: Likewise.
61474         * po/vi.po: Likewise.
61476 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61478         * Makeconfig [!+link] (+link-before-libc): New variable.
61479         [!+link] (+link-after-libc): Likewise.
61480         [!+link] (+link-tests): Likewise.
61481         [!+link] (+link): Define in terms of $(+link-before-libc) and
61482         $(+link-after-libc).
61483         [!+link-static] (+link-static-before-libc): New variable.
61484         [!+link-static] (+link-static-after-libc): Likewise.
61485         [!+link-static] (+link-static-tests): Likewise.
61486         [!+link-static] (+link-static): Define in terms of
61487         $(+link-static-before-libc) and $(+link-static-after-libc).
61488         [build-shared] (link-libc-before-gnulib): New variable.
61489         [build-shared] (link-libc-tests): Likewise.
61490         [build-shared] (link-libc): Define in terms of
61491         $(link-libc-before-gnulib).
61492         [!build-shared] (link-libc-tests): New variable.
61493         (link-libc-static-tests): New variable.
61494         [!gnulib] (gnulib-arch): New variable.
61495         [!gnulib] (gnulib-tests): Likewise.
61496         [!gnulib] (static-gnulib-arch): Likewise.
61497         [!gnulib] (static-gnulib-tests): Likewise.
61498         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61499         Define with "=" instead of ":=".
61500         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61501         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61502         * Rules (binaries-all-notests): New variable.
61503         (binaries-all-tests): Likewise.
61504         (binaries-static-notests): Likewise.
61505         (binaries-static-tests): Likewise.
61506         (binaries-all): Define using $(binaries-all-notests) and
61507         $(binaries-all-tests).
61508         (binaries-static): Define using $(binaries-static-notests) and
61509         $(binaries-static-tests).
61510         (binaries-shared-tests): New variable.
61511         (binaries-shared-notests): Likewise.
61512         (binaries-shared): Remove variable.
61513         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61514         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61515         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61516         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61517         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61518         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61519         * elf/Makefile (sln-modules): New variable.
61520         (extra-objs): Add $(sln-modules:=.o).
61521         (ldconfig-modules): Add static-stubs.
61522         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61523         * elf/static-stubs.c: New file.
61525         [BZ #14283]
61526         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61527         by 7 not 8 to examine high bit of fractional part.  Use volatile
61528         variables when splitting into final array of floats if
61529         __FLT_EVAL_METHOD__ != 0.
61530         * math/libm-test.inc (cos_test): Add another test.
61531         (sin_test): Likewise.
61532         * sysdeps/i386/fpu/libm-test-ulps: Update.
61534         [BZ #14273]
61535         * math/libm-test.inc (cosh_test): Add more tests.
61537         * version.h (RELEASE): Set to "development".
61538         (VERSION): Set to "2.16.90".
61540 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61542         * NEWS: Update copyright. Remove last-updated date.
61543         Mention math library bug fixes and timezone data changes.
61544         * README: Mention GNU/Hurd, x32, and HPPA support status.
61546 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61548         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61550 2012-06-27  Andreas Jaeger  <aj@suse.de>
61552         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61554 2012-06-25  Andreas Jaeger  <aj@suse.de>
61556         * sysdeps/s390/fpu/libm-test-ulps: Update.
61558 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61559             Thomas Schwinge  <thomas@codesourcery.com>
61561         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61562         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61563         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61564         fanotify_mark.
61566 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61568         * sysdeps/mach/start.c: Remove file.
61569         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61570         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61571         * sysdeps/sh/init-first.c: Likewise.
61573         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61574         registers for frame unwinding purposes, add CFI directives.
61575         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61576         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61577         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61578         Likewise.
61580         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61581         __fortify_fail returning.
61582         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61584         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61585         sysdeps/sh/____longjmp_chk.S.
61586         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61587         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61588         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61589         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61591         * sysdeps/sh/abort-instr.h: New file.
61592         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61593         process in case exit returns.
61595         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61596         initialize the GOT register before use.
61598         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61599         calculation of ARGC > 4.
61601         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61602         meaningful names to some local labels.
61604 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61605             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61607         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61608         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61609         (__arch_compare_and_exchange_val_16_acq): Likewise.
61610         (__arch_compare_and_exchange_val_32_acq): Likewise.
61611         (atomic_exchange_and_add): Fix gUSA sequence.
61612         (atomic_add): Likewise.
61613         (atomic_add_negative): Likewise.
61614         (atomic_add_zero): Likewise.
61615         (atomic_bit_test_set): Likewise.
61617 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61619         [BZ #13579]
61620         * include/link.h (struct link_map): Add l_free_initfini.
61621         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61622         l_initfini.
61623         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61624         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61625         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61626         set.
61628 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61630         * configure.in: Use AC_LANG_SOURCE.
61631         * configure: Regenerate.
61633 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61635         * configure.in (libc_cv_localstatedir): New substituted variable.
61636         * configure: Regenerated.
61637         * config.make.in (localstatedir): New variable, substituted from
61638         libc_cv_localstatedir.
61639         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61640         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61641         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61642         * sysdeps/gnu/configure: Regenerated.
61644 2012-06-21  Jeff Law  <law@redhat.com>
61646         [BZ #14277]
61647         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61648         free.  Simplify list management for _LIBC case.
61650 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61652         [BZ #14273]
61653         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61654         Clear sign bit of 64-bit integer value before comparing against
61655         overflow value.
61657         * sysdeps/mach/configure: Regenerated.
61659 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61661         [BZ #14278]
61662         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61664 2012-06-21  Jeff Law  <law@redhat.com>
61666         [BZ #13882]
61667         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61668         uint16_t for elements in the "seen" array to avoid char overflows.
61669         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61670         * elf/dl-open.c (dl_open_worker): Likewise.
61672 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61674         * scripts/list-sources.sh: Scan PORTS for translations.
61675         * po/libc.pot: Regenerated.
61677 2012-06-21  Andreas Jaeger  <aj@suse.de>
61679         [BZ #12194]
61680         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61681         warning.
61682         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61683         * bits/byteswap-16.h (__bswap_16): Likewise.
61684         * bits/byteswap.h (__bswap_constant_16): Likewise.
61686 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61688         [BZ #14117]
61689         * sysdeps/i386/fpu_control.h: Removed.
61690         * sysdeps/x86_64/fpu_control.h: Moved to ...
61691         * sysdeps/x86/fpu_control.h: Here.
61693         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61694         (_FPU_SETCW): Likewise.
61696 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61698         [BZ #14117]
61699         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61700         * sysdeps/x86/fpu/bits/mathinline.h: This.
61701         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61703         [BZ #14050]
61704         [BZ #14117]
61705         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61706         functions if __x86_64__ is defined.
61708 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61710         * string/endian.h: Add !__ASSEMBLER__ condition for including
61711         conversion interfaces.
61713 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61715         [BZ #14241]
61716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61717         of ABS(x) in calculating zero to negative powers other than odd
61718         integers.
61719         * math/libm-test.inc (pow_test): Add more tests.
61721 2012-06-15  Andreas Jaeger  <aj@suse.de>
61723         * manual/contrib.texi (Contributors): Update entry of Liubov
61724         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61725         Machado Filho.
61727 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61729         * string/string.h: Add __wur to GNU version of strerror_r.
61731 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61733         [BZ #14229]
61734         * string/Makefile (tests): Add tst-strtok_r.
61735         * string/tst-strtok_r.c: New file.
61736         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61737         RAX_LP/RDX_LP on SAVE_PTR.
61739 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61741         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61743 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61745         * libm_test.inc (csqrt_test): Allow more spurious underflow
61746         exceptions.
61747         (j0_test): Likewise.
61748         (j1_test): Likewise.
61749         (y0_test): Likewise.
61750         (y1_test): Likewise.
61752 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61754         * po/Makefile (libc.pot): Use UTF-8 charset.
61756 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61758         [BZ #14210]
61759         Suppress sign-conversion warning from FD_SET.
61760         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61761         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61762         not unsigned long int.
61763         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61765 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61767         [BZ #14050]
61768         [BZ #14117]
61769         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61770         __extern_always_inline instead of __extern_inline.
61771         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61772         (__signbit): Likewise.
61773         (__signbitl): Support C++ namespace.
61774         (lrintf): New inline function.
61775         (lrint): Likewise.
61776         (llrintf): Likewise.
61777         (llrint): Likewise.
61778         (fmaxf): Likewise.
61779         (fmax): Likewise.
61780         (fminf): Likewise.
61781         (fmin): Likewise.
61782         (rint): Likewise.
61783         (rintf): Likewise.
61784         (ceil): Likewise.
61785         (ceilf): Likewise.
61786         (floor): Likewise.
61787         (floorf): Likewise.
61788         (nearbyint): Likewise.
61789         (nearbyintf): Likewise.
61791 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61793         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61794         non-default versions.
61796 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61798         [BZ #14218]
61799         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61801 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61803         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61804         (FE_UPWARD, FE_DOWNWARD): Don't define.
61805         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61806         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61808         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61809         reading it.
61810         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61811         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61813 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61815         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61816         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61817         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61818         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61820 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61822         [BZ #14117]
61823         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61824         * sysdeps/i386/fpu/Implies: New file.
61825         * sysdeps/x86_64/fpu/Implies: Likewise.
61826         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61827         * sysdeps/x86/fpu/bits/fenv.h: This.
61829         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61830         __SSE_MATH__.
61832 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61834         [BZ #14134]
61835         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61836         character 0xffff that matches the last element of the
61837         conversion table.
61839 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61841         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61842         fmodl commit.
61844 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61846         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61847         values higher than 25.6283.
61849 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61851         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61852         subnormal exponent extraction and add some __builtin_expect.
61853         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61854         Fix for subnormal mantissa calculation.
61856 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61858         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61859         cpu2 is -1 and errno is not ENOSYS.
61861 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61863         [BZ #14117]
61864         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61865         * sysdeps/x86/bits/string.h: This.
61866         * sysdeps/x86_64/bits/string.h: Removed.
61868         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61869         if not compiling for x86-64, but compiling for >= i486.
61871         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61872         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61874         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61875         New macro from Linux kernel 3.4.0.
61876         (FP_XSTATE_MAGIC2): Likewise.
61877         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61878         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61879         (struct _fpx_sw_bytes): New struct.
61880         (struct _xsave_hdr): Likewise.
61881         (struct _ymmh_state): Likewise.
61882         (struct _xstate): Likewise.
61884         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61885         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61886         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61887         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61888         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61889         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61891         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61892         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61893         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61894         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61895         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61896         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61898 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61900         [BZ #13743]
61901         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61902         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61903         (sysdep_headers): Include sys/platform/ppc.h.
61904         * sysdeps/powerpc/test-gettimebase.c: Test for
61905         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61906         * manual/Makefile (appendices): Include platform.texi.
61907         * manual/contrib.texi (Contributors): Update @node pointers.
61908         * manual/maint.texi (Maintenance): Likewise.
61909         (Platform): New node.
61910         * manual/platform.texi: New file.  Document the new features.
61912 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61913             Jakub Jelinek  <jakub@redhat.com>
61915         [BZ #14188]
61916         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61917         where __builtin_expect is unavailable.
61919 2012-06-03  David S. Miller  <davem@davemloft.net>
61921         * stdlib/longlong.h: Updated from GCC.
61923 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61925         [BZ #14042]
61926         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61927         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61928         __mcount_internal.
61929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61930         (GLIBC_2.16): Likewise.
61932 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61934         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61936 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61939         (default-abi): New variable.
61940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61941         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61942         variable.
61943         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61944         Likewise.
61945         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61946         Likewise.
61947         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61948         Likewise.
61950         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61951         definition.  Document in comment.
61953 2012-06-01  David S. Miller  <davem@davemloft.net>
61955         * stdlib/longlong.h: Updated from GCC.
61957 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61959         [BZ #14117]
61960         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61961         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61962         sys/debugreg.h sys/io.h here.
61963         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61964         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61965         sys/io.h.
61966         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61967         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61968         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61969         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61970         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61971         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61973         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61974         Define only if __x86_64__ is defined.
61976 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61978         [BZ #14048]
61979         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61980         Use int64_t for variable i.
61981         * math/libm-test.inc (fmod_test): Add more tests.
61983         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61984         z computation is not scheduled after fetestexcept.
61985         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61986         Use math_force_eval instead of asm to ensure calculation scheduled
61987         before exception test.
61988         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61989         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61991 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61994         computation is not scheduled after fetestexcept.
61996 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61998         [BZ #14117]
61999         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62000         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62002 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62004         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62005         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62007 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62009         [BZ #14117]
62010         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62011         <bits/wordsize.h>.
62012         (__WCHAR_MIN): Support __WORDSIZE == 64.
62013         (__WCHAR_MAX): Likewise.
62015         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62016         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62018         [BZ #14183]
62019         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62020         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62022         [BZ #14117]
62023         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62024         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62026         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62027         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62029         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62030         Defined to 1 if __x86_64__ isn't defined.
62031         (_STAT_VER_LINUX_OLD): New.
62032         (st_atime): Remove duplicate.
62033         (st_mtime): Likewise.
62034         (st_ctime): Likewise.
62036 2012-05-31  David S. Miller  <davem@davemloft.net>
62038         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62039         entries.
62041 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62043         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62044         gen-libm-test.pl.
62046         [BZ #14132]
62047         * elf/dl-reloc.c: Include <_itoa.h>.
62048         (_dl_reloc_bad_type): Remove use of INTUSE.
62049         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62050         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62051         * stdio-common/psiginfo.c (psiginfo): Likewise.
62052         * stdio-common/psignal.c (psignal): Likewise.
62053         * string/strsignal.c (strsignal): Likewise.
62054         * include/signal.h (_sys_siglist): Declare hidden proto.
62055         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62056         INTVARDEF with libc_hidden_data_def.
62057         * stdio-common/itoa-udigits.c: Likewise.
62058         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62059         (_itoa_lower_digits_internal): Remove declaration.
62060         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62061         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62062         (_sys_sigabbrev_internal): Remove aliases.
62063         (_sys_siglist): Define hidden alias.
62065 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62068         bits/sysctl.h.
62070 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62072         [BZ #14117]
62073         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62074         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62076         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62077         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62078         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62079         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62080         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62081         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62083         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62084         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62085         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62087         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62088         with __addr.
62089         (insw): Likewise.
62090         (insl): Likewise.
62091         (outsb): Likewise.
62092         (outsw): Likewise.
62093         (outsl): Likewise.
62095         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62096         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62097         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62099         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62100         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62101         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62102         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62103         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62104         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62106         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62107         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62109         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62110         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62112         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62113         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62114         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62116         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62117         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62118         to ...
62119         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62121         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62122         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62123         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62125         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62126         for x86-64.
62127         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62129 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62131         * math/math.h (M_El): Use two more decimal places.
62132         (M_LOG2El): Likewise.
62133         (M_LOG10El): Likewise.
62134         (M_LN2l): Likewise.
62135         (M_LN10l): Likewise.
62136         (M_PIl): Likewise.
62137         (M_PI_2l): Likewise.
62138         (M_PI_4l): Likewise.
62139         (M_1_PIl): Likewise.
62140         (M_2_PIl): Likewise.
62141         (M_2_SQRTPIl): Likewise.
62142         (M_SQRT2l): Likewise.
62143         (M_SQRT1_2l): Likewise.
62145 2012-05-31  David S. Miller  <davem@davemloft.net>
62147         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62148         values between float registers.
62149         * sysdeps/sparc/sparc64/memset.S: Likewise.
62150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62152 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62154         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62155         -D_FORTIFY_SOURCE=1.
62156         (CPPFLAGS-tst-longjmp_chk.c): Define.
62157         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62158         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62159         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62160         CFLAGS-tst-wchar-h.c.
62162 2012-05-31  Marek Polacek  <polacek@redhat.com>
62164         [BZ #14132]
62165         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62166         __endmntent_internal): Remove declaration.
62167         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62168         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62169         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62171 2012-05-30  David S. Miller  <davem@davemloft.net>
62173         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62174         (___Q_simulate_exceptions): Use real FP ops rather than writing
62175         into the %fsr.
62176         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62177         Likewise.
62179 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62181         [BZ #14117]
62182         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62183         * sysdeps/x86/bits/xtitypes.h: This.
62185         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62186         * sysdeps/x86/bits/wordsize.h: This.
62188         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62189         * sysdeps/x86/bits/huge_vall.h: This.
62191         * sysdeps/i386/bits/select.h: Removed.
62192         * sysdeps/x86_64/bits/select.h: Renamed to ...
62193         * sysdeps/x86/bits/select.h: This.
62195         * sysdeps/i386/bits/setjmp.h: Removed.
62196         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62197         * sysdeps/x86/bits/setjmp.h: This.
62199         * sysdeps/i386/bits/mathdef.h: Removed.
62200         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62201         * sysdeps/x86/bits/mathdef.h: This.
62203 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62205         [BZ #14132]
62206         * include/sys/socket.h (__connect_internal)
62207         (__libc_sa_len_internal): Remove declaration.
62208         (__connect, __libc_sa_len): Declare hidden_proto.
62209         (SA_LEN): Remove use of INTUSE.
62210         * socket/connect.c: Add libc_hidden_def.
62211         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62212         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62213         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62214         alias.
62215         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62216         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62217         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62218         of adding _internal alias.
62220 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62222         [BZ #14117]
62223         * sysdeps/i386/bits/link.h: Removed.
62224         * sysdeps/i386/bits/linkmap.h: Likewise.
62225         * sysdeps/x86_64/bits/link.h: Renamed to ...
62226         * sysdeps/x86/bits/link.h: This.
62227         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62228         * sysdeps/x86/bits/linkmap.h: This.
62230         * sysdeps/i386/bits/endian.h: Removed.
62231         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62232         * sysdeps/x86/bits/endian.h: This.
62234         * sysdeps/i386/bits/byteswap.h: Removed.
62235         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62236         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62237         * sysdeps/x86/bits/byteswap.h: This.
62238         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62239         * sysdeps/x86/bits/byteswap-16.h: This.
62240         * sysdeps/i386/Implies: Add x86.
62241         * sysdeps/x86_64/Implies: Likewise.
62243 2012-05-30  David S. Miller  <davem@davemloft.net>
62245         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62246         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62247         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62248         (FP_TRAPPING_EXCEPTIONS): Define.
62249         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62250         (FP_TRAPPING_EXCEPTIONS): Define.
62251         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62252         subnormals only when inexact has been signalled or underflow
62253         exceptions are enabled.
62254         (_FP_PACK_CANONICAL): Likewise.
62256 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62258         [BZ #14183]
62259         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62260         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62262 2012-05-30  Richard Henderson  <rth@twiddle.net>
62264         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62265         with #ifndef NOT_IN_libc.
62267         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62268         marked to avoid plt entry.
62270 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62272         [BZ #14112]
62273         * Makeconfig (default-abi): New macro.
62274         (abi-includes): Likewise.
62275         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62276         $(abi-$(default-abi)-lib-soname) for soname if defined.
62277         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62278         abi-variants.
62279         * Makefile (installed-stubs): Likewise.
62280         * include/stubs-biarch.h: Removed.
62281         * scripts/lib-names.awk: Only handle one library at a time.
62282         * scripts/soversions.awk: Remove WORDSIZE support.
62283         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62284         entries.
62285         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62286         Removed.
62287         (syscall-list-default-condition): Likewise.
62288         (syscall-list-default-condition): Likewise.
62289         (syscall-list-includes): Likewise.
62290         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62291         syscall-list-* with abi-*.  Handle undefined abi-variants.
62292         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62293         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62294         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62295         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62296         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62297         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62298         Removed.
62299         (syscall-list-32-options): Likewise.
62300         (syscall-list-32-condition): Likewise.
62301         (syscall-list-64-options): Likewise.
62302         (syscall-list-64-condition): Likewise.
62303         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62304         macro.
62305         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62306         Renamed to ...
62307         (abi-*): This.
62308         (abi-64-ld-soname): New macro.
62309         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62310         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62311         Renamed to ...
62312         (abi-*): This.
62313         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62314         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62316 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62318         * sysdeps/unix/sysv/linux/kernel-features.h
62319         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62320         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62321         include <kernel-features.h>.
62322         [!__NR_ftruncate64]: Remove conditional code.
62323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62324         [__NR_ftruncate64]: Make code unconditional.
62325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62326         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62327         include <kernel-features.h>.
62328         [!__NR_ftruncate64]: Remove conditional code.
62329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62330         [__NR_ftruncate64]: Make code unconditional.
62331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62333         include <kernel-features.h>.
62334         [!__NR_ftruncate64]: Remove conditional code.
62335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62336         [__NR_ftruncate64]: Make code unconditional.
62337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62339         include <kernel-features.h>.
62340         [!__NR_ftruncate64]: Remove conditional code.
62341         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62342         [__NR_ftruncate64]: Make code unconditional.
62343         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62345         * configure.in (libc_cv_fpie): Weaken to a compile test using
62346         LIBC_TRY_CC_OPTION.
62347         * configure: Regenerated.
62349 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62355         Refreshed.
62356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62362         Refreshed.
62364 2012-05-27  David S. Miller  <davem@davemloft.net>
62366         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62367         (___Q_zero): New.
62368         (__Q_simulate_exceptions): Return void.  Change to simulate
62369         exceptions by writing into the %fsr.
62370         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62371         (__Qp_handle_exceptions): Likewise.
62372         (numbers): Delete.
62373         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62374         __Qp_handle_exceptions.
62375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62376         __Qp_handle_exceptions.
62377         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62378         as unused and give dummy FP_RND_NEAREST initializer.
62379         (FP_INHIBIT_RESULTS): Define.
62380         (___Q_simulate_exceptions): Update declaration.
62381         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62382         formatting.
62383         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62384         as unused and give dummy FP_RND_NEAREST initializer.
62385         (__Qp_handle_exceptions): Update declaration.
62386         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62387         formatting.
62389 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62391         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62392         the temporary FPU control word.
62393         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62394         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62395         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62396         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62397         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62398         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62399         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62400         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62401         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62402         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62403         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62405 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62407         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62408         fields.
62410 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62412         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62413         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62414         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62415         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62416         Likewise.
62417         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62418         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62419         Likewise.
62421 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62423         * po/h.po: Update from translation team.
62425 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62427         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62429         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62430         handling of denormals.
62431         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62432         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62433         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62434         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62435         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62438         Likewise.
62440 2012-05-26  Marek Polacek  <polacek@redhat.com>
62442         [BZ #14152]
62443         * math/libm-test.inc (fma_test): Don't always expect underflow
62444         exception.
62446 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62448         [BZ #12416]
62449         * elf/tst-execstack.c: Include stackinfo.h.
62450         (do_test): Adjust test case to ensure that pthread_getattr_np
62451         behaviour remains the same after marking stack executable.
62453 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62455         * sysdeps/unix/sysv/linux/kernel-features.h
62456         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62457         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62458         kernel-features.h.
62459         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62460         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62461         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62462         kernel-features.h.
62463         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62464         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62466 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62468         * configure.in: Define the default includes to being none.
62469         * configure: Regenerated.
62471 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62473         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62474         * sysdeps/x86_64/setjmp.S: Likewise.
62475         * sysdeps/i386/bsd-setjmp.S: Likewise.
62476         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62477         * sysdeps/i386/setjmp.S: Likewise.
62478         * sysdeps/i386/__longjmp.S: Likewise.
62479         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62480         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62482         * include/stap-probe.h: New file.
62483         * configure.in: Handle --enable-systemtap.
62484         * configure: Regenerated.
62485         * config.h.in (USE_STAP_PROBE): New #undef.
62486         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62487         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62488         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62490 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62492         [BZ #13717]
62493         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62494         to 2.4.0 where earlier.
62495         * sysdeps/unix/sysv/linux/configure: Regenerated.
62496         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62497         <kernel-features.h>.
62498         [__ASSUME_32BITUIDS]: Make code unconditional.
62499         [!__ASSUME_32BITUIDS]: Remove conditional code.
62500         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62501         <kernel-features.h>.
62502         [__ASSUME_32BITUIDS]: Make code unconditional.
62503         [!__ASSUME_32BITUIDS]: Remove conditional code.
62504         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62505         [__ASSUME_32BITUIDS]: Make code unconditional.
62506         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62507         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62508         <kernel-features.h>.
62509         [__ASSUME_32BITUIDS]: Make code unconditional.
62510         [!__ASSUME_32BITUIDS]: Remove conditional code.
62511         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62512         <kernel-features.h>.
62513         [__ASSUME_32BITUIDS]: Make code unconditional.
62514         [!__ASSUME_32BITUIDS]: Remove conditional code.
62515         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62516         <kernel-features.h>.
62517         [__ASSUME_32BITUIDS]: Make code unconditional.
62518         [!__ASSUME_32BITUIDS]: Remove conditional code.
62519         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62520         <kernel-features.h>.
62521         [__ASSUME_32BITUIDS]: Make code unconditional.
62522         [!__ASSUME_32BITUIDS]: Remove conditional code.
62523         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62524         <kernel-features.h>.
62525         [__ASSUME_32BITUIDS]: Make code unconditional.
62526         [!__ASSUME_32BITUIDS]: Remove conditional code.
62527         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62528         <kernel-features.h>.
62529         [__ASSUME_32BITUIDS]: Make code unconditional.
62530         [!__ASSUME_32BITUIDS]: Remove conditional code.
62531         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62532         <kernel-features.h>.
62533         [__ASSUME_32BITUIDS]: Make code unconditional.
62534         [!__ASSUME_32BITUIDS]: Remove conditional code.
62535         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62536         <kernel-features.h>.
62537         [__ASSUME_32BITUIDS]: Make code unconditional.
62538         [!__ASSUME_32BITUIDS]: Remove conditional code.
62539         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62540         <kernel-features.h>.
62541         [__ASSUME_32BITUIDS]: Make code unconditional.
62542         [!__ASSUME_32BITUIDS]: Remove conditional code.
62543         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62544         <kernel-features.h>.
62545         [__ASSUME_32BITUIDS]: Make code unconditional.
62546         [!__ASSUME_32BITUIDS]: Remove conditional code.
62547         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62548         <kernel-features.h>.
62549         [__NR_setresgid] (__setresgid): Do not declare.
62550         [__ASSUME_32BITUIDS]: Make code unconditional.
62551         [!__ASSUME_32BITUIDS]: Remove conditional code.
62552         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62553         <kernel-features.h>.
62554         [__NR_setresuid] (__setresuid): Do not declare.
62555         [__ASSUME_32BITUIDS]: Make code unconditional.
62556         [!__ASSUME_32BITUIDS]: Remove conditional code.
62557         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62558         <kernel-features.h>.
62559         [__ASSUME_32BITUIDS]: Make code unconditional.
62560         [!__ASSUME_32BITUIDS]: Remove conditional code.
62561         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62562         <kernel-features.h>.
62563         [__ASSUME_32BITUIDS]: Make code unconditional.
62564         [!__ASSUME_32BITUIDS]: Remove conditional code.
62565         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62566         <kernel-features.h>.
62567         [__ASSUME_32BITUIDS]: Make code unconditional.
62568         [!__ASSUME_32BITUIDS]: Remove conditional code.
62569         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62570         <kernel-features.h>.
62571         [__ASSUME_32BITUIDS]: Make code unconditional.
62572         [!__ASSUME_32BITUIDS]: Remove conditional code.
62573         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62574         <kernel-features.h>.
62575         [__ASSUME_32BITUIDS]: Make code unconditional.
62576         [!__ASSUME_32BITUIDS]: Remove conditional code.
62577         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62578         <kernel-features.h>.
62579         [__ASSUME_32BITUIDS]: Make code unconditional.
62580         [!__ASSUME_32BITUIDS]: Remove conditional code.
62581         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62582         <kernel-features.h>.
62583         [__ASSUME_32BITUIDS]: Make code unconditional.
62584         [!__ASSUME_32BITUIDS]: Remove conditional code.
62585         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62586         <kernel-features.h>.
62587         [__ASSUME_32BITUIDS]: Make code unconditional.
62588         [!__ASSUME_32BITUIDS]: Remove conditional code.
62589         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62590         <kernel-features.h>.
62591         [__ASSUME_32BITUIDS]: Make code unconditional.
62592         [!__ASSUME_32BITUIDS]: Remove conditional code.
62593         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62594         <kernel-features.h>.
62595         [__ASSUME_32BITUIDS]: Make code unconditional.
62596         [!__ASSUME_32BITUIDS]: Remove conditional code.
62597         * sysdeps/unix/sysv/linux/kernel-features.h
62598         (__ASSUME_SETRESUID_SYSCALL): Remove.
62599         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62600         (__ASSUME_32BITUIDS): Likewise.
62601         (__ASSUME_LDT_WORKS): Likewise.
62602         (__ASSUME_O_DIRECTORY): Likewise.
62603         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62604         architecture but not kernel version.
62605         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62606         (__ASSUME_MMAP2_SYSCALL): Likewise.
62607         (__ASSUME_STAT64_SYSCALL): Likewise.
62608         (__ASSUME_IPC64): Likewise.
62609         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62610         <kernel-features.h>.
62611         [__ASSUME_32BITUIDS]: Make code unconditional.
62612         [!__ASSUME_32BITUIDS]: Remove conditional code.
62613         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62614         <kernel-features.h>.
62615         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62616         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62617         132096]: Remove conditional code.
62618         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62619         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62620         <kernel-features.h>.
62621         [__ASSUME_32BITUIDS]: Make code unconditional.
62622         [!__ASSUME_32BITUIDS]: Remove conditional code.
62623         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62624         <kernel-features.h>.
62625         [__ASSUME_32BITUIDS]: Make code unconditional.
62626         [!__ASSUME_32BITUIDS]: Remove conditional code.
62627         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62628         <kernel-features.h>.
62629         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62630         unconditional.
62631         (__setresgid): Do not declare.
62632         [__ASSUME_32BITUIDS]: Make code unconditional.
62633         [!__ASSUME_32BITUIDS]: Remove conditional code.
62634         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62635         <kernel-features.h>.
62636         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62637         unconditional.
62638         (__setresuid): Do not declare.
62639         [__ASSUME_32BITUIDS]: Make code unconditional.
62640         [!__ASSUME_32BITUIDS]: Remove conditional code.
62641         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62642         <kernel-features.h>.
62643         [__ASSUME_32BITUIDS]: Make code unconditional.
62644         [!__ASSUME_32BITUIDS]: Remove conditional code.
62645         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62646         <kernel-features.h>.
62647         [__ASSUME_32BITUIDS]: Make code unconditional.
62648         [!__ASSUME_32BITUIDS]: Remove conditional code.
62650 2012-05-25  Richard Henderson  <rth@twiddle.net>
62652         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62653         dl_hwcap to ifunc resolver.
62654         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62655         elf_ifunc_invoke.
62656         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62657         dl_hwcap to ifunc resolver.
62658         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62660 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62662         [BZ #14153]
62663         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62664         for |x| <= 2**-26, not 2**-57.
62665         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62666         exception.
62668 2012-05-24  Jeff Law  <law@redhat.com>
62670         * stdio-common/Makefile (tests): Add bug25.
62671         * stdio-common/bug25.c: New test.
62673 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62675         [BZ #13576]
62676         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62677         multiple of MALLOC_ALIGNMENT in size.
62678         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62680 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62682         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62683         Require >= 256.
62684         (FILENAME_MAX): Use macro-int-constant.
62685         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62686         (_IOFBF): Use macro-int-constant.
62687         (_IOLBF): Likewise.
62688         (_IONBF): Likewise.
62689         (SEEK_CUR): Likewise.
62690         (SEEK_END): Likewise.
62691         (SEEK_SET): Likewise.
62692         (TMP_MAX): Likewise.
62693         (EOF): Use macro-int-constant.  Require < 0.
62694         (NULL): Use macro-constant.  Require == 0.
62695         (stdin): Require type to be FILE *.
62696         (stdout): Likewise.
62697         (stderr): Likewise.
62698         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62699         macro-int-constant.
62700         (EXIT_SUCCESS): Likewise.
62701         (NULL): Use macro-constant.  Require == 0.
62702         (RAND_MAX): Use macro-int-constant.
62703         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62704         [C99-based standards] (strtof): Require function.
62705         [C99-based standards] (strtold): Likewise.
62706         [C99-based standards] (strtoll): Likewise.
62707         [C99-based standards] (strtoull): Likewise.
62708         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62709         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62710         [ISO || ISO99 || ISO11] (math.h): Likewise.
62711         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62712         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62713         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62715 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62717         [BZ #14132]
62718         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62719         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62720         * intl/dgettext.c (DCGETTEXT): Likewise.
62721         * intl/gettext.c (DCGETTEXT): Likewise.
62722         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62723         * posix/regex_internal.h (gettext): Likewise.
62724         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62725         Remove declaration.
62726         * include/argz.h (__argz_count_internal)
62727         (__argz_stringify_internal): Remove declaration.
62728         (__argz_count, __argz_stringify): Declare hidden proto.
62729         * intl/dcgettext.c: Remove use of INTDEF.
62730         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62731         * string/argz-stringify.c: Likewise.
62732         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62733         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62734         Declare hidden proto.
62735         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62736         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62737         Declare hidden proto.
62738         * include/stdio.h (__asprintf_internal): Don't declare.
62739         (__asprintf): Don't define as macro.  Declare hidden proto.
62740         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62741         (__fsetlocking): Declare hidden proto.
62742         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62743         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62744         hidden proto.
62745         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62746         (_IO_setlinebuf): Remove use of INTUSE.
62747         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62748         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62749         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62750         Remove declaration.
62751         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62752         (_IO_do_flush): Remove use of INTUSE.
62753         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62754         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62755         (_IO_adjust_column, _IO_least_wmarker)
62756         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62757         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62758         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62759         (_IO_default_doallocate, _IO_wdefault_doallocate)
62760         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62761         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62762         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62763         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62764         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62765         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62766         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62767         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62768         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62769         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62770         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62771         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62772         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62773         proto.
62774         (_IO_flush_all_internal, _IO_adjust_column_internal)
62775         (_IO_default_uflow_internal, _IO_default_finish_internal)
62776         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62777         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62778         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62779         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62780         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62781         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62782         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62783         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62784         (_IO_file_close_internal, _IO_file_close_it_internal)
62785         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62786         (_IO_file_init_internal, _IO_file_attach_internal)
62787         (_IO_file_fopen_internal, _IO_file_read_internal)
62788         (_IO_file_sync_internal, _IO_file_seek_internal)
62789         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62790         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62791         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62792         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62793         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62794         (_IO_list_all_internal, _IO_link_in_internal)
62795         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62796         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62797         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62798         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62799         (_IO_do_write_internal, _IO_padn_internal)
62800         (_IO_getline_info_internal, _IO_getline_internal)
62801         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62802         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62803         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62804         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62805         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62806         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62807         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62808         with libc_hidden_ver, remove use of INTUSE.
62809         * libio/genops.c: Likewise.
62810         * libio/freopen.c: Likewise.
62811         * libio/freopen64.c: Likewise.
62812         * libio/iofclose.c: Likewise.
62813         * libio/iofdopen.c: Likewise.
62814         * libio/iofflush.c: Likewise.
62815         * libio/iofflush_u.c: Likewise.
62816         * libio/iofgets.c: Likewise.
62817         * libio/iofgets_u.c: Likewise.
62818         * libio/iofopen.c: Likewise.
62819         * libio/iofopncook.c: Likewise.
62820         * libio/iofread.c: Likewise.
62821         * libio/iofread_u.c: Likewise.
62822         * libio/ioftell.c: Likewise.
62823         * libio/iofwrite.c: Likewise.
62824         * libio/iogetline.c: Likewise.
62825         * libio/iogets.c: Likewise.
62826         * libio/iogetwline.c: Likewise.
62827         * libio/iopadn.c: Likewise.
62828         * libio/iopopen.c: Likewise.
62829         * libio/ioseekoff.c: Likewise.
62830         * libio/ioseekpos.c: Likewise.
62831         * libio/iosetbuffer.c: Likewise.
62832         * libio/iosetvbuf.c: Likewise.
62833         * libio/ioungetc.c: Likewise.
62834         * libio/ioungetwc.c: Likewise.
62835         * libio/iovdprintf.c: Likewise.
62836         * libio/iovsprintf.c: Likewise.
62837         * libio/iovsscanf.c: Likewise.
62838         * libio/memstream.c: Likewise.
62839         * libio/obprintf.c: Likewise.
62840         * libio/oldfileops.c: Likewise.
62841         * libio/oldiofclose.c: Likewise.
62842         * libio/oldiofdopen.c: Likewise.
62843         * libio/oldiofopen.c: Likewise.
62844         * libio/oldiopopen.c: Likewise.
62845         * libio/oldstdfiles.c: Likewise.
62846         * libio/putc.c: Likewise.
62847         * libio/setbuf.c: Likewise.
62848         * libio/setlinebuf.c: Likewise.
62849         * libio/stdfiles.c: Likewise.
62850         * libio/strops.c: Likewise.
62851         * libio/vasprintf.c: Likewise.
62852         * libio/vscanf.c: Likewise.
62853         * libio/vsnprintf.c: Likewise.
62854         * libio/vswprintf.c: Likewise.
62855         * libio/wfiledoalloc.c: Likewise.
62856         * libio/wfileops.c: Likewise.
62857         * libio/wgenops.c: Likewise.
62858         * libio/wmemstream.c: Likewise.
62859         * libio/wstrops.c: Likewise.
62860         * libio/__fpurge.c: Likewise.
62861         * libio/__fsetlocking.c: Likewise.
62862         * assert/assert.c: Likewise.
62863         * debug/fgets_chk.c: Likewise.
62864         * debug/fgets_u_chk.c: Likewise.
62865         * debug/fread_chk.c: Likewise.
62866         * debug/fread_u_chk.c: Likewise.
62867         * debug/gets_chk.c: Likewise.
62868         * debug/obprintf_chk.c: Likewise.
62869         * debug/vasprintf_chk.c: Likewise.
62870         * debug/vdprintf_chk.c: Likewise.
62871         * debug/vsnprintf_chk.c: Likewise.
62872         * debug/vsprintf_chk.c: Likewise.
62873         * malloc/mtrace.c: Likewise.
62874         * misc/error.c: Likewise.
62875         * misc/syslog.c: Likewise.
62876         * stdio-common/asprintf.c: Likewise.
62877         * stdio-common/fxprintf.c: Likewise.
62878         * stdio-common/getw.c: Likewise.
62879         * stdio-common/isoc99_fscanf.c: Likewise.
62880         * stdio-common/isoc99_scanf.c: Likewise.
62881         * stdio-common/isoc99_vfscanf.c: Likewise.
62882         * stdio-common/isoc99_vscanf.c: Likewise.
62883         * stdio-common/isoc99_vsscanf.c: Likewise.
62884         * stdio-common/printf-prs.c: Likewise.
62885         * stdio-common/printf_fp.c: Likewise.
62886         * stdio-common/printf_fphex.c: Likewise.
62887         * stdio-common/printf_size.c: Likewise.
62888         * stdio-common/putw.c: Likewise.
62889         * stdio-common/scanf.c: Likewise.
62890         * stdio-common/sprintf.c: Likewise.
62891         * stdio-common/tmpfile.c: Likewise.
62892         * stdio-common/vfprintf.c: Likewise.
62893         * stdio-common/vfscanf.c: Likewise.
62894         * stdlib/strfmon_l.c: Likewise.
62895         * sunrpc/openchild.c: Likewise.
62896         * sunrpc/xdr_stdio.c: Likewise.
62897         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62898         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62900 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62902         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62904         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62905         in the third column, to generate for the shared library an IFUNC
62906         that uses _dl_vdso_vsym.
62907         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62908         * Makeconfig (object-suffixes-noshared): New variable.
62910         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62911         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62912         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62913         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62915         [BZ #14132]
62916         * include/sys/time.h (__gettimeofday): Remove macro.
62917         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62918         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62919         Remove INTDEF.
62920         (__gettimeofday): Add libc_hidden_def.
62921         (gettimeofday): Add libc_hidden_weak.
62922         * sysdeps/mach/gettimeofday.c: Likewise.
62923         * sysdeps/posix/gettimeofday.c: Likewise.
62924         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62925         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62926         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62927         (__gettimeofday_internal): Remove strong_alias.
62928         (__gettimeofday): Add libc_hidden_def.
62929         (gettimeofday): Add libc_hidden_weak.
62930         * sysdeps/unix/syscalls.list (gettimeofday):
62931         Remove __gettimeofday_internal alias.
62933 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62934             H.J. Lu  <hongjiu.lu@intel.com>
62936         [BZ #12495]
62937         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62938         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62939         (largebin_index_32_big): New.
62940         (largebin_index): Use it for 16-byte alignment.
62941         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62942         correction with front_misalign.
62944 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62948         Likewise.
62949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62950         Likewise.
62951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62952         Likewise.
62953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62954         Likewise.
62955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62956         Likewise.
62957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62958         Likewise.
62959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62960         Likewise.
62961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62962         Likewise.
62963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62964         Likewise.
62965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62966         Likewise.
62967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62968         Likewise.
62969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62970         Likewise.
62972         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62973         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62975 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62977         [BZ #10846]
62978         [BZ #14036]
62979         * math/libm-test.inc (exp_test): Add test from bug 14036.
62980         (pow_test): Add test from bug 10846.
62982         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62983         and other flags.
62984         (special_function): Do not include flags in test name.
62985         (parse_args): Likewise.
62986         * sysdeps/i386/fpu/libm-test-ulps: Update.
62987         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62988         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62989         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62992         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62993         exceptions.
62994         * math/libm-test.inc ("Philosophy"): Update comment about
62995         exception testing.
62996         (UNDERFLOW_EXCEPTION): New macro.
62997         (UNDERFLOW_EXCEPTION_OK): Likewise.
62998         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62999         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63000         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63001         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63002         (INVALID_EXCEPTION_OK): Update value.
63003         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63004         (OVERFLOW_EXCEPTION_OK): Likewise.
63005         (IGNORE_ZERO_INF_SIGN): Likewise.
63006         (test_exceptions): Handle underflow exceptions.
63007         (acos_test): Update for underflow exception expectations.
63008         (cexp_test): Likewise.
63009         (clog_test): Likewise.
63010         (clog10_test): Likewise.
63011         (csqrt_test): Likewise.
63012         (ctan_test): Likewise.
63013         (ctanh_test): Likewise.
63014         (exp_test): Likewise.
63015         (exp10_test): Likewise.
63016         (exp2_test): Likewise.
63017         (expm1_test): Likewise.
63018         (fma_test): Likewise.
63019         (j0_test): Likewise.
63020         (jn_test): Likewise.
63021         (nexttoward_test): Likewise.
63022         (pow_test): Likewise.
63023         (scalbn_test): Likewise.
63024         (scalbln_test): Likewise.
63025         (tan_test): Likewise.
63026         (y1_test): Likewise.
63027         * sysdeps/i386/fpu/libm-test-ulps: Update.
63028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63030 2012-05-23  David S. Miller  <davem@davemloft.net>
63032         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63033         (__libc_sigaction): Remove unused local variables.
63035 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63037         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63039 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63041         mktime: avoid signed integer overflow
63042         * time/mktime.c (__mktime_internal): Do not mishandle the case
63043         where diff == INT_MIN.
63045         mktime: simplify computation of average
63046         * time/mktime.c (ranged_convert): Use new time_t_avg function
63047         instead of rolling our own (probably-slower) code.
63049         mktime: do not assume signed right shift propagates sign bit
63050         * time/mktime.c (isdst_differ): New static function.
63051         (__mktime_internal): No need to normalize tm_isdst now.
63052         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63053         tm_isdst values.
63055         mktime: merge another wrapv change from gnulib
63056         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63057         from some compilers.
63059         mktime: remove incorrect attempt at unusual arithmetics
63060         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63061         The code didn't really work on such machines anyway.
63062         (TYPE_MINIMUM): Assume two's complement.
63063         (twos_complement_arithmetic): Verify that long_int and time_t
63064         are two's complement (or unsigned, in the latter case).
63066         mktime: check signed shifts on long_int and time_t, too
63067         * time/mktime.c (SHR): Check that shifts work as desired
63068         on the types long_int and time_t too, as SHR is used on
63069         such types.
63071         mktime: do not assume 'long' is wide enough
63072         * time/mktime.c (verify): Move decl up.
63073         (long_int): New type.
63074         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63075         to remove assumption in the code that 'long' is wide enough to
63076         store year values.  This assumption is not true on x32 and on
63077         some non-glibc platforms.
63079         mktime: merge wrapv change from gnulib
63080         * time/mktime.c (WRAPV): New macro.
63081         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63082         (guess_time_tm, __mktime_internal): Do not assume that signed
63083         integer overflow wraps around; modern compilers generate code
63084         where this assumption is no longer valid.
63086 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63088         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63089         Replace "jmp L(pseudo_end)" with "ret".
63090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63091         Likewise.
63093 2012-05-23  Andreas Jaeger  <aj@suse.de>
63095         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63096         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63098 2012-05-23  Andreas Jaeger  <aj@suse.de>
63099             Maximilian Attems  <max@stro.at>
63101         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63102         New macros.
63104 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63106         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63107         code so that pseudo_end is just ret and the stack pointer is
63108         correct also for static library in error case.
63110 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63112         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63113         move to syscalls.list.
63114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63119         * manual/install.texi (Running make install): Do not mention Linux
63120         kernel version for which pt_chown is not needed.
63121         (Linux): Do not mention problems with nscd with 2.0 kernels.
63122         * INSTALL: Regenerated.
63124 2012-05-23  Andreas Jaeger  <aj@suse.de>
63126         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63127         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63128         macro.
63129         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63131         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63133         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63134         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63135         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63136         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63137         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63138         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63139         * sysdeps/unix/sysv/linux/bits/in.h
63140         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63142 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63144         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63145         (PREPARE_VERSION): Just use assert instead, it will be elided
63146         under [NDEBUG] anyway.
63148 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63150         * sysdeps/unix/sysv/linux/Makefile: Include
63151         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63152         (sysdep_routines): Remove sysctl.
63153         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63154         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63155         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63156         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63157         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63159 2012-05-22  Andreas Jaeger  <aj@suse.de>
63161         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63162         that pseudo_end is just ret and the stack pointer is correct also
63163         for static library in error case.
63165 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63167         [BZ #14122]
63168         * nss/nsswitch.c (defconfig_entries): New variable.
63169         (__nss_database_lookup): Don't leak defconfig entries.
63170         (nss_parse_service_list): Don't leak on error paths.
63171         (free_database_entries): New function.
63172         (free_defconfig): New function.
63173         (free_mem): Move common code to free_database_entries.
63175 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63177         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63178         Add arch_prctl.
63179         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63181         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63182         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63184         New macro.
63185         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63186         (INTERNAL_SYSCALL_TYPES): Likewise.
63187         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63188         (LOAD_REGS_TYPES_[1-6]): Likewise.
63189         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63190         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63192 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63194         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63195         copysignl for GLIBC_2_0.
63196         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63197         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63198         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63199         logbl for GLIBC_2_0.
63200         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63201         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63203 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63206         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63208         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63209         Use "neg %eax".
63211         * time/mktime.c: Update copyright years.
63213 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63215         mktime: merge comment-quoting-style change from gnulib
63216         * time/mktime.c: Quote 'like this' in comments.
63217         The GNU coding standards suggest that we no longer quote `like this',
63218         as "`" and "'" are typically rendered asymmetrically nowadays.
63219         The typical gnulib style is to quote 'like this' when quoting
63220         code, and "like this" when quoting English.
63222         * time/mktime.c (compile-command): Add "-I.".
63224         mktime: merge mktime-internal.h change from gnulib
63225         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63227         mktime: merge time_r change from gnulib
63228         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63230         mktime: merge DEBUG change from gnulib
63231         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63232         case system <time.h> has a #define.
63234         mktime: merge <sys/types.h> change from gnulib
63235         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63236         since <time.t> is now guaranteed to define time_t.
63238         mktime: merge HAVE_CONFIG_H change from gnulib
63239         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63241 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63244         Use "neg %eax".
63246         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63247         __rlim_t cast.
63248         (struct rusage): Use anonymous union to pad each field to
63249         __syscall_slong_t.
63251 2012-05-21  David S. Miller  <davem@davemloft.net>
63253         * Makefules (o-iterator): Remove .s cases.
63254         (compile-command.s): Delete.
63255         (COMPILE.s): Delete.
63256         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63258 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63260         * configure.in (libc_cv_predef_stack_protector): Only consider
63261         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63262         * configure: Regenerated.
63264 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63267         New macro.  Use R*LP on int and pointer.
63268         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63269         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63270         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63271         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63273         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63274         [__WORDSIZE_TIME64_COMPAT32] instead of
63275         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63276         (struct utmp): Likewise.
63277         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63278         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63279         Renamed to ...
63280         (__WORDSIZE_TIME64_COMPAT32): This.
63281         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63282         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63283         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63284         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63285         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63286         (__WORDSIZE_TIME64_COMPAT32): New macro.
63288 2012-05-21  Andreas Jaeger  <aj@suse.de>
63290         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63291         only if [SHARED]. Add prototype for __wcschr_ia32.
63293 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63295         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63296         of %rbp unmolested in the jmp_buf while mangling the low bits.
63297         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63298         unmolested high bits of %rbp while demangling the low bits.
63299         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63301 2012-05-21  Andreas Jaeger  <aj@suse.de>
63303         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63304         * sunrpc/svc_simple.c: Use it for registerrpc.
63305         * sunrpc/xcrypt.c: Use it for passwd2des.
63307         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63309 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63311         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63312         Don't define if [__SYSCALL_WORDSIZE != 32].
63313         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63314         New macro.
63316 2012-05-21  Bruno Haible  <bruno@clisp.org>
63317             Andreas Jaeger  <aj@suse.de>
63319         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63320         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63321         inptr and inend for must_buffer_ch.
63322         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63323         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63324         * stdio-common/Makefile (tests): Remove bug15.
63325         (bug15-ENV): Remove macro.
63326         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63327         anymore.
63329 2012-05-19  Andreas Jaeger  <aj@suse.de>
63330             Roland McGrath  <roland@hack.frob.com>
63332         * manual/contrib.texi: Completely rewritten. It contains now an
63333         alphabetical list of contributors and their contributions.
63335 2012-05-21  Richard Henderson  <rth@twiddle.net>
63337         * misc/getauxval.c (__getauxval): Use unsigned long int.
63338         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63339         (getauxval): Use unsigned long int.
63341 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63343         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63345 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63347         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63348         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63349         __alignof__ (long double).
63351 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63355 2012-05-20  Richard Henderson  <rth@twiddle.net>
63357         * misc/getauxval.c: New file.
63358         * misc/sys/auxv.h: New file.
63359         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63360         (routines): Add getauxval.
63361         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63362         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63363         * elf/dl-sysdep.c (_dl_auxv): Remove.
63364         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63365         * elf/dl-support.c (_dl_auxv): New variable.
63366         (_dl_aux_init): Initialize it.
63367         * manual/startup.texi (Auxiliary Vector): New node.
63368         * sysdeps/generic/bits/hwcap.h: New file.
63369         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63370         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63371         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63372         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63373         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63374         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63376         Update.
63377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63380         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63386 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63390 2012-05-19  David S. Miller  <davem@davemloft.net>
63392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63394 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63396         [BZ #14123]
63397         * math/s_ccosh.c: Include <float.h>
63398         (__ccosh): Avoid internal overflow calculating sinh and cosh
63399         values before multiplying by sin and cos values.
63400         * math/s_ccoshf.c: Likewise.
63401         * math/s_ccoshl.c: Likewise.
63402         * math/s_csin.c: Likewise.
63403         * math/s_csinf.c: Likewise.
63404         * math/s_csinl.c: Likewise.
63405         * math/s_csinh.c: Likewise.
63406         * math/s_csinhf.c: Likewise.
63407         * math/s_csinhl.c: Likewise.
63408         * math/libm-test.inc (ccos_test): Add more tests.
63409         (ccosh_test): Likewise.
63410         (csin_test): Likewise.
63411         (csinh_test): Likewise.
63412         * sysdeps/i386/fpu/libm-test-ulps: Update.
63413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63415 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63417         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63418         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63420         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63422 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63424         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63425         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63426         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63427         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63428         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63429         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63430         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63431         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63432         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63433         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63434         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63435         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63436         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63437         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63438         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63439         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63440         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63441         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63442         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63443         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63444         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63445         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63446         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63447         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63448         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63449         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63450         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63451         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63452         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63453         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63454         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63456 2012-05-18  Andreas Jaeger  <aj@suse.de>
63458         * csu/.gitignore: Delete.
63460 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63462         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63463         (timex): Use __syscall_slong_t.
63465 2012-05-18  Andreas Jaeger  <aj@suse.de>
63466             Carlos O'Donell  <carlos_odonell@mentor.com>
63468         * manual/install.texi (Configuring and compiling): Update
63469         description about files modified in the source directory.
63470         * INSTALL: Regenerated.
63472 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63474         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63475         value.  Use "or" to set return value to -1.
63476         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63477         negate return value.
63479 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63481         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63482         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63483         failure if the compiler has Graphite support disabled.
63484         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63485         Likewise.
63486         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63487         (CFLAGS-memmove.c): Likewise.
63488         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63489         Likewise.
63491 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63493         * sysdeps/x86_64/x32/_itoa.h: New file.
63495         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63496         getdents system call only if kernel and user dirents have the
63497         same d_ino and d_off.
63499         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63500         LLONG_MAX != LONG_MAX.
63501         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63502         (_fitoa_word): Likewise.
63504         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63505         years.
63506         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63507         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63508         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63510         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63511         include <bits/wordsize.h>.  Check __x86_64__ instead of
63512         __WORDSIZE.
63513         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63514         if __x86_64__ is defined.  Use anonymous union on fpstate.
63516         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63517         anonymous union.
63519 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63521         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63522         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63524         Refer to _rtld_local_ro instead of _rtld_global_ro.
63525         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63526         Likewise.
63527         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63528         Likewise.
63529         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63530         Likewise.
63531         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63532         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63533         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63535         [BZ #10882]
63536         * sysdeps/powerpc/powerpc32/dl-machine.c
63537         (__elf_machine_runtime_setup) [PROF]: Don't reference
63538         _dl_prof_resolve.
63540 2012-05-18  Andreas Jaeger  <aj@suse.de>
63542         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63543         function only available for GCCs before 3.4 since GCC 3.4
63544         introduced a builtin.
63545         (lrint): Likewise.
63546         (llrintf): Likewise.
63547         (llrint): Likewise.
63548         (fmaxf): Likewise.
63549         (fmax): Likewise.
63550         (fminf): Likewise.
63551         (fmin): Likewise.
63552         (rint): Likewise.
63553         (rintf): Likewise.
63554         (nearbyint): Likewise.
63555         (nearbyintf): Likewise.
63556         (ceil): Likewise.
63557         (ceilf): Likewise.
63558         (floor): Likewise.
63559         (floorf): Likewise.
63561 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63563         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63564         on both fields and cast pointer to __syscall_ulong_t.
63566         * bits/types.h (__fsword_t): New type.
63567         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63568         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63569         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63570         (__FSWORD_T_TYPE): Likewise.
63571         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63572         (__FSWORD_T_TYPE): Likewise.
63573         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63574         (__FSWORD_T_TYPE): Likewise.
63575         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63576         (__FSWORD_T_TYPE): Likewise.
63577         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63578         __SWORD_TYPE with __fsword_t.
63579         (statfs64): Likewise.
63581 2012-05-17  David S. Miller  <davem@davemloft.net>
63583         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63585 2012-05-17  Andreas Jaeger  <aj@suse.de>
63587         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63588         warning.
63590 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63592         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63594 2012-05-17  Andreas Jaeger  <aj@suse.de>
63596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63597         when it is used.
63599 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63601         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63603 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63605         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63606         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63608 2012-05-17  Andreas Jaeger  <aj@suse.de>
63609             Carlos O'Donell  <carlos_odonell@mentor.com>
63611         [BZ #14059]
63612         * sysdeps/x86_64/multiarch/init-arch.h
63613         (bit_YMM_Usable): Rename to...
63614         (bit_AVX_Usable): ... this.
63615         (bit_FMA4_Usable): New macro.
63616         (bit_XMM_state): New macro.
63617         (bit_YMM_state): New macro.
63618         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63619         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63620         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63621         (CPUID_OSXSAVE): New macro.
63622         (CPUID_AVX): New macro.
63623         (CPUID_FMA4): New macro.
63624         (index_YMM_Usable): Rename to...
63625         (index_AVX_Usable): ... this.
63626         (HAS_AVX): Use HAS_ARCH_FEATURE.
63627         (HAS_FMA4): Likewise.
63628         (HAS_YMM_USABLE): Remove.
63629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63630         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63631         are present.
63632         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63633         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63634         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63635         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63636         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63638 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63640         * math/libm-test.c: Support platforms without multiple rounding modes.
63641         * math/bug-nextafter.c: Support platforms without FP exceptions.
63642         * math/bug-nexttoward.c: Likewise.
63643         * math/test-fenv.c: Likewise.
63644         * math/test-misc.c: Likewise.
63645         * stdlib/bug-getcontext.c: Likewise.
63647 2012-05-17  Andreas Jaeger  <aj@suse.de>
63649         * manual/examples/search.c (critter_cmp): Change signature to
63650         avoid warnings.
63651         * manual/string.texi (Collation Functions): Likewise.
63653 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63655         * bits/types.h: Fold copyright years.
63656         * bits/typesizes.h: Likewise.
63657         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63658         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63659         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63661         * time/time.h: Likewise.
63663 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63665         [BZ #208]
63666         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63667         in instead of returning them.  Return void.
63668         (__libc_mallinfo): Accumulate over all arenas.
63669         (__malloc_stats): Adjust for change in int_mallinfo interface.
63671 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63673         [BZ #10375]
63674         * configure.in (NM): Add AC_CHECK_TOOL for it.
63675         (libc_extra_cflags): New substituted variable.
63676         Check for -fstack-protector being used implicitly.
63677         * configure: Regenerated.
63678         * config.make.in (config-extra-cflags): New variable,
63679         gets @libc_extra_cflags@.
63680         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63682         [BZ #10375]
63683         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63684         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63685         * configure: Regenerated.
63686         * config.make.in (CPPUNDEFS): New substituted variable.
63687         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63688         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63689         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63693         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63694         (mq_attr): Use __syscall_slong_t.
63696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63698         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63699         Check __x86_64__ instead of __WORDSIZE.
63700         (_STAT_VER_LINUX): Likewise.
63701         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63702         __syscall_ulong_t and __syscall_slong_t.
63703         (stat64): Likewise.
63705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63707         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63709 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63711         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63713 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63715         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63716         __syscall_ulong_t.
63718         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63719         include <bits/wordsize.h>.  Check __x86_64__ instead of
63720         __WORDSIZE.
63721         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63722         defined.
63723         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63726         include <bits/wordsize.h>.  Check __x86_64__ instead of
63727         __WORDSIZE.
63728         (user_regs_struct): Use "__extension__ unsigned long long"
63729         instead of "unsigned long" if __x86_64__ is defined.
63730         (user): Likewise.  Pad after pointer field if __ILP32__ is
63731         defined.
63733 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63735         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63736         versions 5 to 9.
63737         * configure: Regenerated.
63738         * manual/install.texi (texinfo): Increase version requirement to
63739         4.5 or later.
63740         * INSTALL: Regenerated.
63742         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63744 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63746         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63748         * sysdeps/x86_64/x32/ffs.c: New file.
63750         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63751         __syscall_ulong_t.
63752         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63753         defined.  Use __syscall_ulong_t.
63754         (shminfo): Use __syscall_ulong_t.
63755         (shm_info): Likewise.
63757         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63758         __syscall_ulong_t.
63760         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63761         <bits/wordsize.h>.
63762         (msgqnum_t): Use __syscall_ulong_t.
63763         (msglen_t): Likewise.
63764         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63765         __syscall_ulong_t.
63767         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63768         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63770         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63772         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63773         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63775         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63776         __syscall_slong_t.
63778         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63779         include <bits/wordsize.h>.  Check __x86_64__ instead of
63780         __WORDSIZE.
63782         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63783         "unsigned long long int" if __x86_64__ is defined.
63784         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63786         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63787         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63788         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63790         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63791         <stdint.h>.
63792         (GET_PC): Cast to uintptr_t first.
63793         (GET_FRAME): Likewise.
63794         (GET_STACK): Likewise.
63796         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63797         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63798         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63799         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63800         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63801         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63802         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63803         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63804         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63805         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63806         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63807         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63808         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63809         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63810         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63811         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63812         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63813         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63814         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63815         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63816         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63817         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63818         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63819         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63820         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63821         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63822         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63823         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63824         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63826 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63828         * Makerules (+depfiles): Also collect depfiles from .oS in
63829         $(extra-objs).
63830         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63831         .oS, $(libnldbl-routines)).
63833         * Makerules (native-compile-mkdep-flags): Define.
63834         * sunrpc/Makefile (extra-objs): Add $(addprefix
63835         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63836         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63837         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63838         calling $(make-target-directory).
63840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63842         * bits/types.h (__snseconds_t): Removed.
63843         * time/time.h (struct timespec): Replace __snseconds_t with
63844         __syscall_slong_t.
63845         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63846         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63847         Likewise.
63848         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63849         (__SNSECONDS_T_TYPE): Likewise.
63850         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63851         (__SNSECONDS_T_TYPE): Likewise.
63852         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63853         (__SNSECONDS_T_TYPE): Likewise.
63855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63857         * sysdeps/mach/hurd/bits/typesizes.h
63858         (__SYSCALL_SLONG_TYPE): New macro.
63859         (__SYSCALL_ULONG_TYPE): Likewise.
63861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63863         * bits/types.h (__syscall_slong_t): New type.
63864         (__syscall_ulong_t): Likewise.
63866         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63867         (__SYSCALL_ULONG_TYPE): Likewise.
63868         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63869         (__SYSCALL_SLONG_TYPE): Likewise.
63870         (__SYSCALL_ULONG_TYPE): Likewise.
63871         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63872         (__SYSCALL_SLONG_TYPE): Likewise.
63873         (__SYSCALL_ULONG_TYPE): Likewise.
63874         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63875         (__SYSCALL_SLONG_TYPE): Likewise.
63876         (__SYSCALL_ULONG_TYPE): Likewise.
63878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63880         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63881         Add sigaltstack-offsets.sym.
63882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63883         <sigaltstack-offsets.h>.
63884         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63885         longjmp_msg pointer.
63886         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63887         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63888         signal stack.
63889         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63891 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63893         * elf/stackguard-macros.h: Remove file.
63894         * sysdeps/generic/stackguard-macros.h: New file.
63895         * sysdeps/i386/stackguard-macros.h: Likewise.
63896         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63897         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63898         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63899         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63900         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63901         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63902         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63903         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63904         <elf/stackguard-macros.h>.
63906         [BZ #14109]
63907         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63908         __aligned__ in attribute.
63909         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63910         (gregset_t): Likewise.
63912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63914         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63915         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63916         * sysdeps/x86_64/x32/Implies-after: New file.
63918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63920         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63921         and access return value for _dl_profile_fixup.  Use R10_LP to
63922         load frame size.
63924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63926         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63930         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63931         * sysdeps/x86_64/x32/sysdep.h: New file.
63933 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63935         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63936         * sysdeps/x86_64/setjmp.S: Likewise.
63938 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63940         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63941         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63942         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63943         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63944         remove unused global constant.
63946 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63948         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63949         include of <not-cancel.h>.
63951 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63953         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63955 2012-05-15  Jeff Law  <law@redhat.com>
63956             Andreas Jaeger  <aj@suse.de>
63958         [BZ #13594]
63959         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63960         out from...
63961         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63962         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63963         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63964         code changing __hst_map_handle.map.
63966 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63968         * configure.in (sysnames): Look for Implies-before and Implies-after
63969         files.
63970         * configure: Regenerated.
63972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63974         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63975         8-byte data alignment with LP_SIZE alignment.
63977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63979         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63980         into R10_LP.
63982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63984         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63988         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63989         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63990         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63991         Likewise.
63992         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63996         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63997         (stackinfo_sub_sp): Likewise.
63999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64001         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64002         RAX_LP.
64004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64006         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64007         into R*_LP.
64009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64011         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64012         sizes into R*_LP.
64014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64016         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64020         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64021         into R11_LP and load __x86_64_shared_cache_size_half into
64022         R8_LP.
64024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64026         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64027         R8_LP.
64029 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64032         logb for POWER7.
64033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64034         logbf for POWER7.
64035         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64036         logbl for POWER7.
64037         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64038         powerpc32/power7/fpu/s_logb.c via #include.
64039         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64040         powerpc32/power7/fpu/s_logbf.c via #include.
64041         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64042         powerpc32/power7/fpu/s_logbl.c via #include.
64044 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64046         * README.libm: Remove file.
64048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64050         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64051         count for x32.  Use R*_LP and omit operand-size suffix.
64053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64055         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64056         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64057         * sysdeps/x86_64/x32/shlib-versions: New file.
64059 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64061         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64062         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64063         Use _dl_fatal_printf instead.
64065 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64067         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64068         set if not set by the user.  Do not allow for being unset.
64069         * sysdeps/unix/sysv/linux/configure: Regenerated.
64071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64073         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64074         the `q' suffix from lea and replace .quad with ASM_ADDR.
64076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64079         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64080         instead of $17.
64081         (PTR_DEMANGLE): Likewise.
64083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64085         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64086         (LP_OP): Likewise.
64087         (ASM_ADDR): Likewise.
64088         (RAX_LP): Likewise.
64089         (RBP_LP): Likewise.
64090         (RBX_LP): Likewise.
64091         (RCX_LP): Likewise.
64092         (RDI_LP): Likewise.
64093         (RSI_LP): Likewise.
64094         (RSP_LP): Likewise.
64095         (R8_LP): Likewise.
64096         (R9_LP): Likewise.
64097         (R10_LP): Likewise.
64098         (R10_LP): Likewise.
64099         (R11_LP): Likewise.
64100         (R12_LP): Likewise.
64101         (R13_LP): Likewise.
64102         (R14_LP): Likewise.
64103         (R15_LP): Likewise.
64105 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64107         * sysdeps/x86_64/x32/dl-machine.h: New file.
64109 2012-05-14  Andreas Jaeger  <aj@suse.de>
64111         * manual/Makefile (subdir): Remove export of subdir.
64112         (all): Remove target.
64113         (.PHONY): Remove all from list.
64114         (mkinstalldirs): Remove.
64115         (.PHONY): Remove installdirs from list.
64116         ($(inst_infodir)/libc.info): Use make-target-directory.
64117         (installdirs): Remove.
64118         (subdir_%): Remove.
64119         (glibc-targets): Remove.
64120         (lib): Remove.
64121         (stubs): Remove.
64122         ($(objpfx)stubs ../po/manual.pot): Remove.
64123         ($(objpfx)stamp%): Remove.
64124         (make-target-directory): Remove.
64125         (subdir_install): Remove.
64126         (routines): Remove.
64127         (aux): Remove.
64128         (sources): Remove.
64129         (objects): Remove.
64130         (headers): Remove.
64132         [BZ #13750]
64133         * manual/.gitignore: Remove, it's not needed anymore.
64134         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64135         all files in it.
64136         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64137         directory.
64138         (texis): Renamed to $(objpfx)texis.
64139         (texis-path): New, contains path to generated files.
64140         (chapters.%): Use texis-path for complete path, add extra argument
64141         libc-texinfo.sh.
64142         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64143         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64144         (summary,texi, stamp-summary): Use complete path of
64145         files. Generate files in build dir.
64146         (dir-add.texi): Build in build dir.
64147         (libm-err.texi,stamp-libm-err): Likewise.
64148         (version.texi, stamp-version): Likewise.
64149         (.%c.texi): Likewise.
64150         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64151         (mostlyclean): Remove target.
64152         (realclean): Remove target.
64153         (generated): Add new variable with contents from mostlyclean and
64154         realclean, remove entries duplicated in common-mostlyclean, add
64155         stamp-libm-err and stamp-version.
64156         (generated-dirs): Add libc directory.
64157         ($(inst_infodir)/libc.info): Install files from build dir.
64159         * manual/install.texi (Configuring and compiling): Adjust since
64160         the info files are not part of the tar ball anymore.
64162 2012-05-14  Andreas Jaeger  <aj@suse.de>
64164         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64165         variable.
64167 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64169         [BZ #13717]
64170         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64171         to 2.2.0 where earlier.
64172         * sysdeps/unix/sysv/linux/configure: Regenerated.
64173         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64174         Remove conditional code.
64175         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64176         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64177         Remove conditional code.
64178         [!__NR_lchown]: Likewise.
64179         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64180         [__NR_lchown]: Likewise.
64181         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64182         comment referencing __ASSUME_LCHOWN_SYSCALL.
64183         * sysdeps/unix/sysv/linux/i386/sigaction.c
64184         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64185         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64186         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64187         Remove conditional code.
64188         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64189         (__protocol_available): Remove #if 0 code.
64190         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64191         conditional code.
64192         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64193         * sysdeps/unix/sysv/linux/kernel-features.h
64194         (__ASSUME_GETCWD_SYSCALL): Don't define.
64195         (__ASSUME_REALTIME_SIGNALS): Likewise.
64196         (__ASSUME_PREAD_SYSCALL): Likewise.
64197         (__ASSUME_PWRITE_SYSCALL): Likewise.
64198         (__ASSUME_POLL_SYSCALL): Likewise.
64199         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64200         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64201         non-SPARC.
64202         (__ASSUME_SIOCGIFNAME): Don't define.
64203         (__ASSUME_MSG_NOSIGNAL): Likewise.
64204         (__ASSUME_SENDFILE): Define unconditionally.
64205         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64206         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64207         conditional code.
64208         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64209         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64210         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64211         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64212         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64213         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64214         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64216         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64219         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64222         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64223         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64225         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64228         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64229         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64231         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64234         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64237         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64239         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64240         Remove conditional code.
64241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64242         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64243         Remove conditional code.
64244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64245         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64246         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64247         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64248         Remove conditional code.
64249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64250         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64251         Remove conditional code.
64252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64253         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64254         Remove conditional code.
64255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64256         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64257         Remove conditional code.
64258         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64259         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64260         Remove conditional code.
64261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64262         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64263         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64264         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64265         * sysdeps/unix/sysv/linux/sigaction.c
64266         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64267         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64268         * sysdeps/unix/sysv/linux/sigpending.c
64269         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64270         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64271         * sysdeps/unix/sysv/linux/sigprocmask.c
64272         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64273         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64274         * sysdeps/unix/sysv/linux/sigsuspend.c
64275         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64276         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64277         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64278         (__libc_missing_rt_sigs): Remove.
64279         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64280         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64281         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64282         Remove conditional code.
64283         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64284         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64285         return 1.
64286         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64287         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64288         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64289         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64291 2012-05-14  Andreas Jaeger  <aj@suse.de>
64293         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64294         it's not used in glibc.
64295         (__coshm1): Likewise.
64296         (__acosh1p): Likewise.
64297         (__sgn): Likewise.
64299         * manual/string.texi (Copying and Concatenation): Add missing
64300         variable in concat example.
64301         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64305         [BZ #14103]
64306         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64307         __builtin_clzl with __builtin_clzll.
64309 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64311         [BZ #14104]
64312         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64313         libc_freeres_ptr.
64315 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64317         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64318         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64319         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64320         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64322 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64324         * NEWS: Update ia64 info.
64326 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64328         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64329         used as bcopy.
64331 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64333         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64334         * sysdeps/unix/syscalls.list (dup3): Likewise.
64335         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64336         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64338 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64340         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64341         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64343 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64345         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64346         thread pointer.
64347         (TLS_IE): Use mov/add instead of movq/addq to load thread
64348         pointer.
64349         (TLS_GD_PREFIX): New.
64350         (TLS_GD): Use it.
64352 2012-05-11  David S. Miller  <davem@davemloft.net>
64354         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64355         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64356         (_FPU_SETCW): Likewise.
64358 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64360         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64361         is 32-byte aligned.
64363 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64365         [BZ #11837]
64366         * iconvdata/gb18030.c: Update tables.
64367         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64368         characters specially.
64369         (BODY for TO_LOOP): Add encoding of missing ranges.
64371 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64373         [BZ #13673]
64374         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64375         * sysdeps/mach/hurd/dup3.c: Likewise.
64376         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64377         * sysdeps/powerpc/memmove.c:: Likewise.
64379 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64382         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64384 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64386         * elf/elf.h (R_X86_64_RELATIVE64): New.
64387         (R_X86_64_NUM): Updated.
64388         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64389         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64390         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64391         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64392         tst-quad1pie tst-quad2pie
64393         (modules-names): Add tst-quadmod1 tst-quadmod2.
64394         ($(objpfx)tst-quad1): New dependency.
64395         ($(objpfx)tst-quad2): Likewise.
64396         ($(objpfx)tst-quad1pie): Likewise.
64397         ($(objpfx)tst-quad2pie): Likewise.
64398         * sysdeps/x86_64/tst-quad1.c: New file.
64399         * sysdeps/x86_64/tst-quad1pie.c: New file.
64400         * sysdeps/x86_64/tst-quad2.c: Likewise.
64401         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64402         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64403         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64404         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64405         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64409         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64410         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64411         * streams/stropts.h (t_scalar_t): Define type.
64413         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64414         (_PATH_PRESERVE): Set to "/var/lib".
64415         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64417         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64418         instead of int.
64420         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64421         if __dir_mkfile succeeded.
64423         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64424         checking for _hurd_dtablesize.  Unlock it right after having
64425         finished _hurd_dtable allocation.
64427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64429         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64430         * sysdeps/mach/hurd/configure: Regenerated.
64431         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64432         special-casing to...
64433         * sysdeps/gnu/configure.in: ... this new file.
64434         * sysdeps/unix/sysv/linux/configure: Regenerated.
64435         * sysdeps/gnu/configure: New generated file.
64437         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64438         for Linux: use nsec instead of usec, as well as:
64439         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64440         members of type struct timespec.
64441         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64442         New macros.
64443         (struct stat64): Likewise.
64444         (_STATBUF_ST_NSEC): New macro.
64445         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64447         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64448         __strtoul_internal rather than strtoul.
64450 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64452         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64453         and reject them.
64455 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64457         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64458         which preserves existing values.
64459         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64461 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64463         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64464         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64465         greater than FD_SETSIZE.
64467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64469         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64470         allocated, call __vm_protect to finish enabling the existing space, and
64471         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64472         allocate the remainder.
64474 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64476         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64477         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64481         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64482         sysdeps/mach/hurd/readlink.c.
64484         * posix/tst-sysconf.c (posix_options): Only use
64485         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64486         _POSIX_SYNCHRONIZED_IO when they are defined
64487         * sysdeps/mach/hurd/bits/posix_opt.h:
64488         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64489         (_XOPEN_REALTIME): Undefine macro.
64490         (_XOPEN_REALTIME_THREADS): Undefine macro.
64491         (_XOPEN_SHM): Undefine macro.
64492         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64493         macro to -1.
64494         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64495         macro to -1.
64496         (_POSIX_ASYNC_IO): Undefine macro.
64497         (_POSIX_PRIORITIZED_IO): Undefine macro.
64498         (_POSIX_SPIN_LOCKS): Define macro to -1.
64500         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64501         SA_NODEFER, SA_RESETHAND.
64502         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64503         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64504         F_DUPFD_CLOEXEC.
64506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64508         * elf/Makefile (pldd-modules): Define unconditionally.
64510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64512         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64516         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64517         Return ENOENT when name is empty.
64518         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64522         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64524         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64528         Fix mlock in all cases except non-readable pages.
64529         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64530         instead of VM_PROT_ALL as parameter to __vm_wire function.
64532         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64533         (__mkdir): When path is `/', just fail with EEXIST.
64534         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64538         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64539         <sys/uio.h> (for writev).
64540         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64541         and <sys/param.h> (for MIN).
64543 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64545         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64546         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64547         if interrupted.
64549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64551         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64552         Depend on against $(link-rpcuserlibs).
64554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64556         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64557         (__libc_stack_end): Do not use attribute_relro.
64558         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64559         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64560         to libthread-provided value.
64561         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64562         attribute_relro.
64564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64566         [BZ #3748]
64567         * bits/libc-lock.h (__libc_once_get): New macro.
64568         * sysdeps/mach/bits/libc-lock.h: Likewise.
64569         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64570         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64571         instead of using implementation details.
64573         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64574         * libio/freopen.c: Likewise.
64575         * libio/freopen64.c: Likewise.
64576         * misc/syslog.c: Likewise.
64577         * nscd/connections.c: Likewise.
64578         * nscd/netgroupcache.c: Likewise.
64579         * sysdeps/posix/getcwd.c: Likewise.
64581 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64583         * math/w_ilogbf.c: Add #include <limits.h>.
64585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64587         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64588         path instead of returning without unlocking.
64590         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64591         immediate-write ioctls.
64592         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64594 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64596         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64597         __builtin_frame_address instead of making assumptions about the
64598         location of the return address relative to DATA.  Force early load of
64599         the return address.
64600         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64601         __builtin_frame_address.
64603         dup3 for GNU Hurd.
64604         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64605         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64606         implement dup3 and do some further code clean-ups.
64607         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64608         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64610 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64612         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64614         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64615         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64616         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64617         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64618         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64619         d->port.lock.
64621         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64622         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64623         when handler == SIG_ERR, not when handler != SIG_ERR.
64625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64627         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64628         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64629         definitions.
64631         accept4 for GNU Hurd.
64632         * include/sys/socket.h (__libc_accept4): New prototype.
64633         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64634         to implement __libc_accept4.
64635         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64636         __libc_accept4.
64637         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64639         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64640         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64641         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64642         signal-defines.sym.
64644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64646         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64650         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64651         assertion on O_CLOEXEC flag.
64652         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64653         * hurd/intern-fd.c: Likewise.
64654         * hurd/port2fd.c: Likewise.
64656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64658         [BZ #3906]
64659         * bits/in.h (IPV6_PKTINFO): Define new macro.
64660         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64662 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64664         [BZ #13954]
64665         [BZ #13955]
64666         [BZ #13956]
64667         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64668         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64669         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64670         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64671         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64672         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64673         * math/libm-test.inc (logb_test) : Additional logb tests.
64675 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64676             Andreas Jaeger  <aj@suse.de>
64678         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64679         * configure: Regenerated.
64680         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64681         * config.make.in (link-obsolete-rpc): New substituted variable.
64682         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64683         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64684         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64685         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64686         so that libc.a contains the symbols.
64687         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64688         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64689         * sunrpc/auth_none.c: Likewise.
64690         * sunrpc/auth_unix.c: Likewise.
64691         * sunrpc/authdes_prot.c: Likewise.
64692         * sunrpc/authuxprot.c: Likewise.
64693         * sunrpc/clnt_gen.c: Likewise.
64694         * sunrpc/clnt_perr.c: Likewise.
64695         * sunrpc/clnt_raw.c: Likewise.
64696         * sunrpc/clnt_simp.c: Likewise.
64697         * sunrpc/clnt_tcp.c: Likewise.
64698         * sunrpc/clnt_udp.c: Likewise.
64699         * sunrpc/clnt_unix.c: Likewise.
64700         * sunrpc/des_crypt.c: Likewise.
64701         * sunrpc/des_soft.c: Likewise.
64702         * sunrpc/get_myaddr.c: Likewise.
64703         * sunrpc/key_call.c: Likewise.
64704         * sunrpc/key_prot.c: Likewise.
64705         * sunrpc/netname.c: Likewise.
64706         * sunrpc/pm_getmaps.c: Likewise.
64707         * sunrpc/pm_getport.c: Likewise.
64708         * sunrpc/pmap_clnt.c: Likewise.
64709         * sunrpc/pmap_prot.c: Likewise.
64710         * sunrpc/pmap_prot2.c: Likewise.
64711         * sunrpc/pmap_rmt.c: Likewise.
64712         * sunrpc/publickey.c: Likewise.
64713         * sunrpc/rpc_cmsg.c: Likewise.
64714         * sunrpc/rpc_common.c: Likewise.
64715         * sunrpc/rpc_dtable.c: Likewise.
64716         * sunrpc/rpc_prot.c: Likewise.
64717         * sunrpc/rpc_thread.c: Likewise.
64718         * sunrpc/rtime.c: Likewise.
64719         * sunrpc/svc.c: Likewise.
64720         * sunrpc/svc_auth.c: Likewise.
64721         * sunrpc/svc_raw.c: Likewise.
64722         * sunrpc/svc_run.c: Likewise.
64723         * sunrpc/svc_tcp.c: Likewise.
64724         * sunrpc/svc_udp.c: Likewise.
64725         * sunrpc/svc_unix.c: Likewise.
64726         * sunrpc/svcauth_des.c: Likewise.
64727         * sunrpc/xcrypt.c: Likewise.
64728         * sunrpc/xdr.c: Likewise.
64729         * sunrpc/xdr_array.c: Likewise.
64730         * sunrpc/xdr_float.c: Likewise.
64731         * sunrpc/xdr_intXX_t.c: Likewise.
64732         * sunrpc/xdr_mem.c: Likewise.
64733         * sunrpc/xdr_rec.c: Likewise.
64734         * sunrpc/xdr_ref.c: Likewise.
64735         * sunrpc/xdr_sizeof.c: Likewise.
64736         * sunrpc/xdr_stdio.c: Likewise.
64738 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64740         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64741         change.  Update copyright years.
64743 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64745         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64747 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64748             Joseph Myers  <joseph@codesourcery.com>
64749             Paul Pluzhnikov  <ppluzhnikov@google.com>
64751         [BZ #14012]
64752         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64753         requiring rpcgen.
64754         [cross-compiling] (extra-libs): Likewise.
64755         [cross-compiling] (extra-libs-others): Likewise.
64756         [cross-compiling] (librpcsvc-routines): Likewise.
64757         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64758         [cross-compiling] (omit-deps): Likewise.
64759         (sunrpc-CPPFLAGS): New variable.
64760         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64761         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64762         (cross-rpcgen-objs): New variable.
64763         (extra-objs): Append $(cross-rpcgen-objs).
64764         ($(cross-rpcgen-objs)): New rule.
64765         ($(objpfx)cross-rpcgen): Likewise.
64766         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64767         comment.
64768         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64769         ($(objpfx)x%.stmp): Likewise.
64770         * sunrpc/proto.h [IS_IN_build] (_): Define.
64771         [IS_IN_build] (_libc_intl_domainname): Likewise.
64773 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64776         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64777         and R_X86_64_TPOFF64.
64779 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64781         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64782         sysdeps/unix/sysv/syscalls.list.
64783         (stime): Likewise.
64784         (utime): Likewise.
64785         * sysdeps/unix/sysv/syscalls.list: Remove file.
64787 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64789         [BZ #3440]
64790         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64791         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64792         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64793         (__LC_IDENTIFICATION): Make these macros useful in #if
64794         expressions, as required by C99.
64796 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64798         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64799         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64800         after this.
64802 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64804         * stdlib/longlong.h: Updated from GCC.
64806 2012-05-09  Andreas Jaeger  <aj@suse.de>
64808         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64809         default is first entry.
64810         (run_mode): Set type.
64811         (main): Remove informal message about syslog.
64812         (options): Fix typo.
64814         [BZ #14053]
64815         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64816         to asm.
64817         (lrint): Likewise.
64818         (llrintf): Likewise.
64819         (llrint): Likewise.
64820         (rint): Likewise.
64821         (rintf): Likewise.
64822         (nearbyint): Likewise.
64823         (nearbyintf): Likewise.
64825 2012-05-09  Andreas Jaeger  <aj@suse.de>
64826             Pedro Alves  <palves@redhat.com>
64828         * nscd/nscd.c (run_mode): Use enum.
64829         (main): Cleanup coding style issue.
64831 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64832             Andreas Jaeger  <aj@suse.de>
64834         * nscd/nscd.c (go_background): Replaced with...
64835         (run_mode): ... this.
64836         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64837         (options): Add -F --foreground.
64838         (main): Implement it.
64839         (parse_opt): Parse it.
64841 2012-05-09  Andreas Jaeger  <aj@suse.de>
64843         [BZ #14083]
64844         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64845         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64846         -Wconversion warning.
64847         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64848         Likewise.
64850 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64852         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64853         == 0.
64854         (LC_ALL): Use macro-int-constant.
64855         (LC_COLLATE): Likewise.
64856         (LC_CTYPE): Likewise.
64857         (LC_MESSAGES): Likewise.
64858         (LC_MONETARY): Likewise.
64859         (LC_NUMERIC): Likewise.
64860         (LC_TIME): Likewise.
64861         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64862         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64864         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64865         Specify type.
64866         [C99-based standards] (float_t): Expect type.
64867         [C99-based standards] (double_t): Expect type.
64868         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64869         type.
64870         [C99-based standards] (HUGE_VALL): Likewise.
64871         [C99-based standards] (INFINITY): Likewise.
64872         [C99-based standards] (NAN): Likewise.
64873         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64874         [C99-based standards] (FP_NAN): Likewise.
64875         [C99-based standards] (FP_NORMAL): Likewise.
64876         [C99-based standards] (FP_SUBNORMAL): Likewise.
64877         [C99-based standards] (FP_ZERO): Likewise.
64878         [C99-based standards] (FP_FAST_FMA): Use
64879         optional-macro-int-constant.  Specify type.  Require == 1.
64880         [C99-based standards] (FP_FAST_FMAF): Likewise.
64881         [C99-based standards] (FP_FAST_FMAL): Likewise.
64882         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64883         [C99-based standards] (FP_ILOGBNAN): Likewise.
64884         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64885         Specify type.
64886         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64887         [C99-based standards] (math_errhandling): Specify type.
64888         [ISO99 || ISO11] (signgam): Do not allow.
64889         [non-C99-based standards] (copysignf): Do not allow.
64890         [non-C99-based standards] (exp2f): Likewise.
64891         [non-C99-based standards] (log2f): Likewise.
64892         [non-C99-based standards] (modff): Allow.
64893         [non-C99-based standards] (erff): Do not allow.
64894         [non-C99-based standards] (erfcf): Likewise.
64895         [non-C99-based standards] (gammaf): Likewise.
64896         [non-C99-based standards] (hypotf): Likewise.
64897         [non-C99-based standards] (j0f): Likewise.
64898         [non-C99-based standards] (j1f): Likewise.
64899         [non-C99-based standards] (jnf): Likewise.
64900         [non-C99-based standards] (lgammaf): Likewise.
64901         [non-C99-based standards] (tgammaf): Likewise.
64902         [non-C99-based standards] (y0f): Likewise.
64903         [non-C99-based standards] (y1f): Likewise.
64904         [non-C99-based standards] (ynf): Likewise.
64905         [non-C99-based standards] (isnanf): Likewise.
64906         [non-C99-based standards] (acoshf): Likewise.
64907         [non-C99-based standards] (asinhf): Likewise.
64908         [non-C99-based standards] (atanhf): Likewise.
64909         [non-C99-based standards] (cbrtf): Likewise.
64910         [non-C99-based standards] (expm1f): Likewise.
64911         [non-C99-based standards] (ilogbf): Likewise.
64912         [non-C99-based standards] (log1pf): Likewise.
64913         [non-C99-based standards] (logbf): Likewise.
64914         [non-C99-based standards] (nextafterf): Likewise.
64915         [non-C99-based standards] (remainderf): Likewise.
64916         [non-C99-based standards] (rintf): Likewise.
64917         [non-C99-based standards] (scalbf): Likewise.
64918         [non-C99-based standards] (copysignl): Likewise.
64919         [non-C99-based standards] (exp2l): Likewise.
64920         [non-C99-based standards] (log2l): Likewise.
64921         [non-C99-based standards] (modfl): Allow.
64922         [non-C99-based standards] (erfl): Do not allow.
64923         [non-C99-based standards] (erfcl): Likewise.
64924         [non-C99-based standards] (gammal): Likewise.
64925         [non-C99-based standards] (hypotl): Likewise.
64926         [non-C99-based standards] (j0l): Likewise.
64927         [non-C99-based standards] (j1l): Likewise.
64928         [non-C99-based standards] (jnl): Likewise.
64929         [non-C99-based standards] (lgammal): Likewise.
64930         [non-C99-based standards] (tgammal): Likewise.
64931         [non-C99-based standards] (y0l): Likewise.
64932         [non-C99-based standards] (y1l): Likewise.
64933         [non-C99-based standards] (ynl): Likewise.
64934         [non-C99-based standards] (isnanl): Likewise.
64935         [non-C99-based standards] (acoshl): Likewise.
64936         [non-C99-based standards] (asinhl): Likewise.
64937         [non-C99-based standards] (atanhl): Likewise.
64938         [non-C99-based standards] (cbrtl): Likewise.
64939         [non-C99-based standards] (expm1l): Likewise.
64940         [non-C99-based standards] (ilogbl): Likewise.
64941         [non-C99-based standards] (log1pl): Likewise.
64942         [non-C99-based standards] (logbl): Likewise.
64943         [non-C99-based standards] (nextafterl): Likewise.
64944         [non-C99-based standards] (remainderl): Likewise.
64945         [non-C99-based standards] (rintl): Likewise.
64946         [non-C99-based standards] (scalbl): Likewise.
64947         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64948         [non-C99-based standards] (FP_*): Do not allow.
64949         [C99-based standards] (FP_*): Change to
64950         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64951         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64952         allow.
64953         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64954         (SIG_ERR): Likewise.
64955         [X/Open-based standards] (SIG_HOLD): Likewise.
64956         (SIG_IGN): Likewise.
64957         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64958         positive value.
64959         (SIGFPE): Likewise.
64960         (SIGILL): Likewise.
64961         (SIGINT): Likewise.
64962         (SIGSEGV): Likewise.
64963         (SIGTER): Likewise.
64964         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64965         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64966         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64967         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64968         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64969         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64970         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64971         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64972         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64973         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64974         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64975         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64976         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64977         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64978         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64979         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64980         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64981         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64982         [X/Open-based standards] (SIGTRAP): Likewise.
64983         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64984         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64985         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64986         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64987         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64988         allow.
64990 2012-05-08  Ian Wienand  <ianw@vmware.com>
64992         [BZ #14080]
64993         * time/tzset.c (__tzset_parse_tz): Update default rules for
64994         daylight time changes in the Energy Policy Act of 2005.
64996 2012-05-09  Andreas Jaeger  <aj@suse.de>
64998         [BZ #13983]
64999         * elf/ldconfig.c (parse_conf): Change string to make clear that
65000         ldconfig only issued a warning if ld.so.conf does not exist.
65002 2012-05-08  David S. Miller  <davem@davemloft.net>
65004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65005         movxtod instead of popping the value on the stack.
65007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65009 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65011         * config.h.in: Add HAVE_ARM_PCS_VFP.
65013 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65015         [BZ #13979]
65016         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65017         checking but the checks are disabled for any reason.
65019 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65021         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65022         and ELF64_R_TYPE with ELFW(R_TYPE).
65024 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65026         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65027         (ulimit): Likewise.
65029         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65030         (settimeofday): Likewise.
65032 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65034         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65035         a struct th_u2 inside the union, and move tu_block/tu_code into
65036         a new th_u3 union of tu_block/tu_code inside of that.  Move
65037         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65038         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65039         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65040         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65041         (th_stuff): Change to th_u1.tu_stuff.
65042         (th_data): Define.
65043         (th_msg): Change to th_u1.th_u2.tu_data.
65045 2012-05-07  David S. Miller  <davem@davemloft.net>
65047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65049         [BZ #14074]
65050         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65051         (SETUP_PIC_REG): Use it.
65052         (SETUP_PIC_REG_LEAF): Use it.
65054 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65056         [BZ #13885]
65057         [BZ #13923]
65058         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65059         USE_AS_EXPM1L.
65060         (EXPL_FINITE): Likewise.
65061         (FLDLOG): Likewise.
65062         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65063         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65064         e_expl.S.
65065         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65066         USE_AS_EXPM1L.
65067         (EXPL_FINITE): Likewise.
65068         (FLDLOG): Likewise.
65069         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65070         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65071         e_expl.S.
65072         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65073         test of -max_value argument for long double.
65074         * sysdeps/i386/fpu/libm-test-ulps: Update.
65075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65077 2012-05-06  David S. Miller  <davem@davemloft.net>
65079         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65080         quad soft-float symbols whose references which are compiler
65081         generated.
65082         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65084 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65086         [BZ #13884]
65087         [BZ #13914]
65088         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65089         USE_AS_EXP10L.
65090         (EXPL_FINITE): Likewise.
65091         (FLDLOG): Likewise.
65092         (c0): Likewise.
65093         (c1): Likewise.
65094         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65095         Adjust comments for base varying.
65096         (__expl_finite): Change alias to EXPL_FINITE.
65097         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65098         e_expl.S.
65099         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65100         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65101         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65102         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65103         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65104         USE_AS_EXP10L.
65105         (EXPL_FINITE): Likewise.
65106         (FLDLOG): Likewise.
65107         (c0): Likewise.
65108         (c1): Likewise.
65109         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65110         Adjust comments for base varying.
65111         (__expl_finite): Change alias to EXPL_FINITE.
65112         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65113         tests for bugs.
65114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65116         [BZ #14064]
65117         * math/libm-test.inc (check_float_internal): Correct ulp
65118         calculation for subnormal expected results.
65120 2012-05-06  Andreas Jaeger  <aj@suse.de>
65122         * Makeconfig (+math-flags): New, set to -frounding-math.
65123         (+cflags): Add +math-flags so that all of glibc gets compiled with
65124         it.
65126         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65128 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65130         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65131         Disable one test.
65133         [BZ #13787]
65134         [BZ #13922]
65135         [BZ #14036]
65136         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65137         (__ieee754_expl): Allow for and saturate large arguments.
65138         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65139         (u_threshold): Likewise.
65140         (__exp): Call __ieee754_exp before checking for overflow and
65141         underflow.
65142         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65143         (u_threshold): Likewise.
65144         (__expf): Call __ieee754_expf before checking for overflow and
65145         underflow.
65146         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65147         (u_threshold): Likewise.
65148         (__expl): Call __ieee754_expl before checking for overflow and
65149         underflow.
65150         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65151         (__ieee754_expl): Allow for and saturate large arguments.
65152         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65153         missing overflow exception on overflow.
65154         (expm1_test): Do not allow missing overflow exception on overflow.
65156         * sysdeps/i386/fpu/e_expl.c: Move to ...
65157         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65158         rather than using inline asm.
65159         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65160         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65161         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65163         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65164         (nice): Likewise.
65165         (poll): Likewise.
65166         (signal): Likewise.
65167         (time): Likewise.
65168         (times): Likewise.
65170 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65172         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65173         sysdeps/unix/common/syscalls.list.
65174         (fchmod): Likewise.
65175         (fchown): Likewise.
65176         (ftruncate): Likewise.
65177         (getrusage): Likewise.
65178         (gettimeofday): Likewise.
65179         (setpgid): Likewise.
65180         (setregid): Likewise.
65181         (setreuid): Likewise.
65182         (sigaction): Likewise.
65183         (truncate): Likewise.
65184         (vhangup): Likewise.
65185         * sysdeps/unix/common/syscalls.list: Remove file.
65186         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65187         * sysdeps/unix/sysv/linux/Implies: Likewise.
65189 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65191         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65193         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65194         Moved to ...
65195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65196         Here.
65197         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65198         to ...
65199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65200         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65201         to ...
65202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65203         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65204         to ...
65205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65206         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65207         to ...
65208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65209         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65210         to ...
65211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65212         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65213         to ...
65214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65215         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65216         to ...
65217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65218         Here.
65219         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65220         to ...
65221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65222         Here.
65223         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65224         to ...
65225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65226         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65227         Moved to ...
65228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65229         Here.
65230         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65231         to ...
65232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65234 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65236         * sysdeps/unix/common/bits/dirent.h: Remove file.
65237         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65239         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65240         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65241         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65242         * sysdeps/unix/bsd/isatty.c: Likewise.
65243         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65244         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65245         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65247 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65249         [BZ #13563]
65250         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65251         long double comparison inaccuracies.
65252         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65255 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65257         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65258         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65260 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65262         [BZ #14049]
65263         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65264         nonzero digits before rounding a hex value.
65265         * stdlib/tst-strtod.c (tests): Add another test.
65267 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65269         * sysdeps/s390/fpu/libm-test-ulps: Update.
65271 2012-05-03  Andreas Jaeger  <aj@suse.de>
65273         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65274         does not get optimized out.
65275         (malloc_opt_barrier): New.
65277 2012-05-03  Andreas Jaeger  <aj@suse.de>
65278             Roland McGrath  <roland@hack.frob.com>
65280         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65281         intermediate file deletion.
65282         (generated): Add .symlist files.
65284 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65286         [BZ #13775]
65287         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65288         Redirect under this condition.
65289         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65290         [__USE_GNU] (__dprintf_chk): Not under this condition.
65291         [__USE_GNU] (__vdprintf_chk): Likewise.
65292         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65293         under this condition.
65294         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65295         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65296         [__USE_XOPEN2K8] (vdprintf): Likewise.
65297         [__USE_GNU] (__dprintf_chk): Not under this condition.
65298         [__USE_GNU] (__vdprintf_chk): Likewise.
65299         [__USE_GNU] (dprintf): Likewise.
65300         [__USE_GNU] (vdprintf): Likewise.
65302 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65304         * elf/Makefile (common-generated): Set this instead of generated for
65305         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65306         $(all-built-dso)-derived lists.
65308 2012-05-03  Andreas Jaeger  <aj@suse.de>
65310         * sysdeps/i386/fpu/libm-test-ulps: Update.
65312         * FAQ: Removed.
65313         * FAQ.in: Likewise.
65314         * scripts/gen-FAQ.pl: Likewise.
65315         * manual/install.texi (Installation): Point to online location of
65316         FAQ.
65317         * Makefile (files-for-dist): Remove FAQ.
65318         (FAQ): Remove.
65320 2012-05-02  Allan McRae  <allan@archlinux.org>
65322         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65323         (LDFLAGS-reldepmod5.so): Likewise.
65324         (LDFLAGS-reldep6mod1.so): Likewise.
65325         (LDFLAGS-reldep6mod4.so): Likewise.
65326         (LDFLAGS-reldep8mod3.so): Likewise.
65327         (LDFLAGS-unload4mod1.so): Likewise.
65328         (LDFLAGS-unload4mod2.so): Likewise.
65329         (LDFLAGS-tst-initorder): Likewise.
65330         (LDFLAGS-tst-initordera2.so): Likewise.
65331         (LDFLAGS-tst-initordera3.so): Likewise.
65332         (LDFLAGS-tst-initordera4.so): Likewise.
65333         (LDFLAGS-tst-initorderb2.so): Likewise.
65334         (LDFLAGS-noload): Likewise.
65335         (LDFLAGS-next): Likewise.
65336         (LDFLAGS-order2mod1.so): Likewise.
65337         (LDFLAGS-order2mod2.so): Likewise.
65338         (LDFLAGS-tst-initorder2): Likewise.
65339         (LDFLAGS-tst-initorder2a.so): Likewise.
65340         (LDFLAGS-tst-initorder2b.so): Likewise.
65341         (LDFLAGS-tst-initorder2c.so): Likewise.
65342         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65344 2012-05-02  David S. Miller  <davem@davemloft.net>
65346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65348 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65350         [BZ #14055]
65351         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65353 2012-05-02  Andreas Jaeger  <aj@suse.de>
65355         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65356         since we manipulate rounding mode.
65357         (CPPFLAGS-test-idouble.c): Likewise.
65358         (CPPFLAGS-test-ifloat.c): Likewise.
65359         (CFLAGS-test-ldouble.c): Likewise.
65360         (CFLAGS-test-double.c): Likewise.
65361         (CFLAGS-test-float.c): Likewise.
65362         (CFLAGS-test-misc.c): Likewise.
65363         (CFLAGS-test-test-fenv.c): Likewise.
65365 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65367         [BZ #2550]
65368         [BZ #2570]
65369         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65370         comparisons to determine direction to adjust input.
65372 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65374         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65375         output to the target.
65377         * scripts/localplt.awk: New file.
65378         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65379         (check-localplt-CFLAGS): Variable removed.
65380         ($(all-built-dso:=.jmprel)): New static pattern rule.
65381         (generated): Add those targets.
65382         (localplt-built-dso): New variable.
65383         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65385         * elf/check-localplt.c: File removed.
65387         * scripts/check-execstack.awk: New file.
65388         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65389         (check-execstack-CFLAGS): Variable removed.
65390         ($(objpfx)check-execstack.h): Target removed.
65391         ($(objpfx)execstack-default): New target.
65392         (generated): Add that instead of check-execstack.h.
65393         ($(all-built-dso:=.phdr)): New static pattern rule.
65394         (generated): Add those targets.
65395         * elf/check-execstack.c: File removed.
65397         * scripts/check-textrel.awk: New file.
65398         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65399         (check-textrel-CFLAGS): Variable removed.
65400         (all-built-dso): Use := to define.o
65401         ($(all-built-dso:=.dyn)): New static pattern rule.
65402         (generated): Add those targets.
65403         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65404         * config.make.in (READELF): New substituted variable.
65405         * elf/check-textrel.c: File removed.
65407 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65409         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65410         allow.
65411         * conform/data/ctype.h-data [C99-based standards] (isblank):
65412         Expect function.
65413         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65414         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65415         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65416         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65417         Specify type.  Require positive value.
65418         (EILSEQ): Likewise.
65419         (ERANGE): Likewise.
65420         [ISO || POSIX] (EILSEQ): Do not expect.
65421         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65422         Specify type.  Require positive value.
65423         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65424         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65425         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65426         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65427         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65428         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65429         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65430         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65431         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65432         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65433         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65434         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65435         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65436         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65437         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65438         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65439         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65440         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65441         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65442         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65443         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65444         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65445         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65446         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65447         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65448         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65449         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65450         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65451         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65452         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65453         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65454         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65455         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65456         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65457         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65458         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65459         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65460         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65461         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65462         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65463         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65464         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65465         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65466         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65467         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65468         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65469         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65470         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65471         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65472         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65473         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65474         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65475         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65476         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65477         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65478         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65479         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65480         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65481         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65482         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65483         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65484         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65485         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65486         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65487         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65488         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65489         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65490         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65491         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65492         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65493         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65494         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65495         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65496         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65497         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65498         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65499         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65500         Require >= 2.
65501         (FLT_ROUNDS): Expect as macro, not constant.
65502         (FLT_MANT_DIG): Use macro-int-constant.
65503         (DBL_MANT_DIG): Likewise.
65504         (LDBL_MANT_DIG): Likewise.
65505         (FLT_DIG): Likewise.
65506         (DBL_DIG): Likewise.
65507         (LDBL_DIG): Likewise.
65508         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65509         (DBL_MIN_EXP): Likewise.
65510         (LDBL_MIN_EXP): Likewise.
65511         (FLT_MAX_EXP): Use macro-int-constant.
65512         (DBL_MAX_EXP): Likewise.
65513         (LDBL_MAX_EXP): Likewise.
65514         (FLT_MAX_10_EXP): Likewise.
65515         (DBL_MAX_10_EXP): Likewise.
65516         (LDBL_MAX_10_EXP): Likewise.
65517         (FLT_MAX): Use macro-constant.
65518         (DBL_MAX): Likewise.
65519         (LDBL_MAX): Likewise.
65520         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65521         (DBL_EPSILON): Likewise.
65522         (LDBL_EPSILON): Likewise.
65523         (FLT_MIN): Likewise.
65524         (DBL_MIN): Likewise.
65525         (LDBL_MIN): Likewise.
65526         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65527         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65528         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65529         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65530         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65531         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65532         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65533         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65534         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65535         [ISO11] (FLT_TRUE_MIN): Likewise.
65536         [ISO11] (LDBL_TRUE_MIN): Likewise.
65537         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65538         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65539         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65540         (SCHAR_MAX): Likewise.
65541         (UCHAR_MAX): Likewise.
65542         (CHAR_MIN): Likewise.
65543         (CHAR_MAX): Likewise.
65544         (MB_LEN_MAX): Use macro-int-constant.
65545         (SHRT_MIN): Use macro-int-constant.  Specify type.
65546         (SHRT_MAX): Likewise.
65547         (USHRT_MAX): Likewise.
65548         (INT_MAX): Likewise.
65549         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65550         bound negative.
65551         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65552         bound with "U".
65553         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65554         bound with "L".
65555         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65556         bound negative.  Suffix upper bound with "L".
65557         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65558         bound with "UL".
65559         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65560         Specify type.
65561         [C99-based standards] (LLONG_MAX): Likewise.
65562         [C99-based standards] (ULLONG_MAX): Likewise.
65563         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65564         == 0.
65565         [ISO11] (max_align_t): Require type.
65566         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65568         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65569         from $CFLAGS, without defining away __attribute__ calls.
65570         (checknamespace): Use $CFLAGS_namespace.
65572         * conform/conformtest.pl (@keywords): Only include C99 keywords
65573         for standards based on C99 or C11.
65575         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65576         Disable tests.
65577         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65578         UNIX98]: Likewise.
65580         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65581         usability of symbols in #if.
65583         * conform/conformtest.pl: If macro or constant types start
65584         "promoted:", expect the symbol to be of the following type
65585         promoted by the integer promotions.
65587         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65588         in one place.  Also handle "macro-constant".
65590         * conform/conformtest.pl: Only accept expected macro values with
65591         "==".  Parse all "macro" lines in one place.
65592         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65594         * conform/conformtest.pl: Handle braced types on "constant" lines
65595         instead of handling "typed-constant".
65596         * conform/data/signal.h-data: Use "constant" instead of
65597         "typed-constant".
65599         * conform/conformtest.pl: Handle "optional-" at start of lines in
65600         one place rather than duplicating several cases.  Handle each
65601         format of "macro" line with initial "optional-".
65603         * conform/conformtest.pl: Only accept expected constant or
65604         optional-constant values with "==".  Parse all "constant" lines in
65605         one place.  Parse all "optional-constant" lines in one place.
65606         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65607         * conform/data/fmtmsg.h-data: Likewise.
65608         * conform/data/netinet/in.h-data: Likewise.
65609         * conform/data/tar.h-data: Likewise.
65610         * conform/data/limits.h-data: Use "==" form on "constant" and
65611         "optional-constant" lines.
65613         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65614         Use -std=c99 for XOPEN2K.
65615         (@knownproblems): Remove.
65616         (newtoken): Don't check %isknown.
65618         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65619         Do not expect macro.
65620         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65621         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65622         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65623         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65624         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65625         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65626         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65627         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65628         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65629         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65630         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65631         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65632         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65633         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65634         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65635         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65636         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65637         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65638         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65639         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65640         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65641         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65642         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65643         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65644         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65645         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65646         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65647         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65648         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65649         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65650         [XPG3] (acosh): Likewise.
65651         [XPG3] (asinh): Likewise.
65652         [XPG3] (atanh): Likewise.
65653         [XPG3] (cbrt): Likewise.
65654         [XPG3] (expm1): Likewise.
65655         [XPG3] (ilogb): Likewise.
65656         [XPG3] (log1p): Likewise.
65657         [XPG3] (logb): Likewise.
65658         [XPG3] (nextafter): Likewise.
65659         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65660         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65661         [XPG3] (remainder): Likewise.
65662         [XPG3] (rint): Likewise.
65663         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65664         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65665         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65666         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65667         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65668         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65669         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65670         [UNIX98 || XOPEN2K] (scalb): Expect.
65671         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65672         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65673         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65674         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65675         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65676         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65677         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65678         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65679         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65680         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65681         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65682         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65683         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65684         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65685         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65686         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65687         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65688         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65689         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65690         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65691         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65692         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65693         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65694         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65695         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65696         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65697         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65698         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65699         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65700         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65701         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65702         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65703         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65704         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65705         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65706         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65707         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65708         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65709         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65710         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65711         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65712         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65713         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65714         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65715         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65716         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65717         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65718         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65719         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65720         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65721         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65722         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65723         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65724         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65725         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65726         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65727         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65728         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65729         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65730         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65731         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65732         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65733         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65734         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65735         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65736         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65737         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65738         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65739         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65740         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65741         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65742         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65743         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65744         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65745         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65746         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65747         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65748         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65749         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65750         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65751         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65752         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65753         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65754         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65755         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65756         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65757         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65758         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65759         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65760         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65761         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65762         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65763         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65764         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65765         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65766         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65767         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65768         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65769         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65770         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65771         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65772         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65773         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65774         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65775         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65776         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65777         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65778         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65779         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65780         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65781         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65782         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65783         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65784         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65785         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65786         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65787         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65788         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65789         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65790         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65791         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65792         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65793         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65794         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65795         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65796         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65797         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65798         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65799         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65800         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65801         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65802         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65803         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65804         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65805         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65806         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65807         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65809         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65810         _XOPEN_SOURCE_EXTENDED for XPG4.
65812         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65814         * Makeconfig (localtime): Remove variable.
65815         (inst_localtime-file): Likewise.
65817 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65820         Update.
65821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65822         Update.
65823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65824         Update.
65825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65826         Update.
65827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65828         Update.
65829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65830         Update.
65831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65832         Update.
65833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65834         Update.
65835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65836         Update.
65838 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65840         [BZ #2550]
65841         [BZ #2570]
65842         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65843         comparisons to determine direction to adjust input.
65844         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65845         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65846         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65847         Likewise.
65848         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65849         Likewise.
65850         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65851         Likewise.
65852         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65853         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65854         Likewise.
65855         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65856         Likewise.
65857         * math/libm-test.inc (nexttoward_test): Add more tests.
65859 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65861         [BZ #14040]
65862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65863         in version GLIBC_2.1, not GLIBC_2.0.
65864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65865         Likewise.
65867 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65869         [BZ #13942]
65870         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65871         (1 - x) * (1 + x).
65872         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65873         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65874         * math/libm-test.inc (acos_test): Add more tests.
65875         (asin_test): Likewise.
65876         * sysdeps/i386/fpu/libm-test-ulps: Update.
65877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65879         [BZ #14034]
65880         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65881         of square root.
65882         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65883         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65884         * math/libm-test.inc (acos_test_tonearest): New function.
65885         (acos_test_towardzero): Likewise.
65886         (acos_test_downward): Likewise.
65887         (acos_test_upward): Likewise.
65888         (asin_test_tonearest): Likewise.
65889         (asin_test_towardzero): Likewise.
65890         (asin_test_downward): Likewise.
65891         (asin_test_upward): Likewise.
65892         (main): Call the new functions.
65893         * sysdeps/i386/fpu/libm-test-ulps: Update.
65894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65896         [BZ #13884]
65897         [BZ #13924]
65898         * math/e_exp10.c: Include <float.h>.
65899         (__ieee754_exp10): Handle underflow here rather than multiplying
65900         large negative argument by M_LN10.
65901         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65902         of __ieee754_expf.
65903         * math/e_exp10l.c: Include <float.h>.
65904         (__ieee754_exp10l): Handle underflow here rather than multiplying
65905         large negative argument by M_LN10l.
65906         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65907         spurious overflow exception on underflow.
65909 2012-04-29  Marek Polacek  <polacek@redhat.com>
65911         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65912         (__fortify_function): New macro.
65913         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65914         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65915         __extern_always_inline.
65916         * libio/bits/stdio2.h: Likewise.
65917         * libio/bits/stdio.h: Likewise.
65918         * string/string.h: Likewise.
65919         * string/bits/string3.h: Likewise.
65920         * include/stdio.h: Likewise.
65921         * stdlib/bits/stdlib.h: Likewise.
65922         * stdlib/stdlib.h: Likewise.
65923         * rt/bits/mqueue2.h: Likewise.
65924         * rt/mqueue.h: Likewise.
65925         * posix/bits/unistd.h: Likewise.
65926         * posix/unistd.h: Likewise.
65927         * io/bits/poll2.h: Likewise.
65928         * io/bits/fcntl2.h: Likewise.
65929         * io/fcntl.h: Likewise.
65930         * io/sys/poll.h: Likewise.
65931         * misc/bits/syslog.h: Likewise.
65932         * misc/bits/syslog-ldbl.h: Likewise.
65933         * misc/sys/syslog.h: Likewise.
65934         * socket/bits/socket2.h: Likewise.
65935         * socket/sys/socket.h: Likewise.
65936         * debug/tst-chk1.c: Likewise.
65937         * wcsmbs/bits/wchar2.h: Likewise.
65938         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65939         * wcsmbs/wchar.h: Likewise.
65941 2012-04-29  Andreas Jaeger  <aj@suse.de>
65943         * Makerules (tests): Remove enable-check-abi protection.
65944         (check-abi-warn): Remove.
65945         (check-abi-%): Remove check-abi-warn usage.
65947         * configure.in: Remove check-abi configure option.
65948         * configure: Regenerated.
65949         * config.make.in (enable-check-abi): Remove.
65951 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65953         [BZ #14033]
65954         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65955         double functions to double *_finite functions.
65957         [BZ #13941]
65958         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65959         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65960         LDBL_MIN_EXP.
65961         * stdio-common/Makefile (tests): Add tst-sprintf3.
65962         * stdio-common/tst-sprintf3.c: New file.
65964         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65965         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65967 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65969         * conform/conformtest.pl: Remove duplicate typed-constant
65970         handling.
65972 2012-04-28  David S. Miller  <davem@davemloft.net>
65974         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65975         (check-abi-%): Remove AWK script prerequisite and explicit
65976         abilist directory.
65977         (check-abi): Rewrite to just diff the symlist with the abilist.
65978         (config-tls, config-abi-config): Delete, no longer used.
65979         (update-abi-%): Remove AWK script and explicit abilist directory.
65980         (update-abi): Rewrite to simply compare and conditionally copy the
65981         symlist and the sysdep abilist file.  Remove update-abi-config
65982         checks.
65983         * abilist/ld.abilist: Remove.
65984         * abilist/libBrokenLocale.abilist: Remove.
65985         * abilist/libanl.abilist: Remove.
65986         * abilist/libcrypt.abilist: Remove.
65987         * abilist/libdl.abilist: Remove.
65988         * abilist/librt.abilist: Remove.
65989         * abilist/libthread_db.abilist: Remove.
65990         * abilist/libutil.abilist: Remove.
65991         * scripts/extract-abilist.awk: Remove.
65992         * scripts/merge-abilist.awk: Remove.
65993         * sysdeps/generic/libcidn.abilist: New file.
65994         * sysdeps/generic/libnss_compat.abilist: New file.
65995         * sysdeps/generic/libnss_db.abilist: New file.
65996         * sysdeps/generic/libnss_dns.abilist: New file.
65997         * sysdeps/generic/libnss_files.abilist: New file.
65998         * sysdeps/generic/libnss_hesiod.abilist: New file.
65999         * sysdeps/generic/libnss_nis.abilist: New file.
66000         * sysdeps/generic/libnss_nisplus.abilist: New file.
66001         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66002         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66003         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66004         file.
66005         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66006         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66007         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66008         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66009         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66010         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66011         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66012         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66013         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66014         file.
66015         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66016         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66017         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66018         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66019         file.
66020         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66021         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66022         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66023         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66024         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66025         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66026         file.
66027         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66028         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66029         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66030         file.
66031         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66033         New file.
66034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66035         New file.
66036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66037         New file.
66038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66039         New file.
66040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66041         New file.
66042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66043         New file.
66044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66045         New file.
66046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66047         New file.
66048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66049         New file.
66050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66051         New file.
66052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66053         New file.
66054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66055         New file.
66056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66057         New file.
66058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66059         file.
66060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66061         New file.
66062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66063         New file.
66064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66065         file.
66066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66067         New file.
66068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66069         New file.
66070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66071         file.
66072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66073         New file.
66074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66075         New file.
66076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66077         New file.
66078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66079         New file.
66080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66081         New file.
66082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66083         New file.
66084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66086         file.
66087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66088         New file.
66089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66090         file.
66091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66092         file.
66093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66094         file.
66095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66096         file.
66097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66098         file.
66099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66100         New file.
66101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66102         file.
66103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66104         file.
66105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66106         New file.
66107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66108         file.
66109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66111         file.
66112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66113         New file.
66114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66115         file.
66116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66117         file.
66118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66119         file.
66120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66121         file.
66122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66123         file.
66124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66125         New file.
66126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66127         file.
66128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66129         file.
66130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66131         New file.
66132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66133         file.
66134         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66135         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66136         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66137         file.
66138         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66139         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66140         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66141         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66142         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66143         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66144         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66145         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66146         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66147         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66150         file.
66151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66152         New file.
66153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66154         file.
66155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66156         file.
66157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66158         file.
66159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66160         file.
66161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66162         file.
66163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66164         New file.
66165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66166         New file.
66167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66168         file.
66169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66170         New file.
66171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66172         file.
66173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66175         file.
66176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66177         New file.
66178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66179         file.
66180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66181         file.
66182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66183         file.
66184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66185         file.
66186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66187         file.
66188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66189         New file.
66190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66191         New file.
66192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66193         file.
66194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66195         New file.
66196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66197         file.
66199 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66201         * conform/conformtest.pl: Fix typo in handling typed-constant from
66202         allow-header.
66204 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66206         * README: Cut down references to pre-2.6 Linux kernels and
66207         Linuxthreads.  Update lists of configurations in libc and ports
66208         and sort alphabetically.  Say "or newer" with Linux kernel version
66209         requirements.
66211         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66213 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66215         [BZ #887]
66216         * math/libm-test.inc (logb_test_downward): New test to expose
66217         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66218         rounding mode.
66220 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66222         [BZ #14027]
66223         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66224         to be done.
66225         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66226         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66228 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66230         * sysdeps/unix/i386/brk.S: Remove file.
66231         * sysdeps/unix/i386/dl-brk.S: Likewise.
66232         * sysdeps/unix/i386/pipe.S: Likewise.
66233         * sysdeps/unix/i386/sigreturn.S: Likewise.
66234         * sysdeps/unix/i386/syscall.S: Likewise.
66235         * sysdeps/unix/i386/vfork.S: Likewise.
66236         * sysdeps/unix/i386/wait.S: Likewise.
66238         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66239         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66241         * configure.in (arm*-none*): Do not allow without
66242         --enable-hacker-mode.
66243         (netbsd*): Remove case setting base_os.
66244         (386bsd*): Likewise.
66245         (freebsd*): Likewise.
66246         (bsdi*): Likewise.
66247         (osf*): Likewise.
66248         (sunos*): Likewise.
66249         (ultrix*): Likewise.
66250         (newsos*): Likewise.
66251         (dynix*): Likewise.
66252         (*bsd*): Likewise.
66253         (sysv*): Likewise.
66254         (isc*): Likewise.
66255         (esix*): Likewise.
66256         (sco*): Likewise.
66257         (minix*): Likewise.
66258         (irix4*): Likewise.
66259         (irix6*): Likewise.
66260         (solaris[2-9]*): Likewise.
66261         (none): Likewise.
66262         * configure: Regenerated.
66264 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66266         [BZ #11521]
66267         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66268         overflow or cancellation in calculating denominator.
66269         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66270         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66271         down expression to avoid unexpected rounding in newer GCCs.
66272         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66274 2012-04-26  David S. Miller  <davem@davemloft.net>
66276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66277         long-double compat symbols.
66278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66292 2012-04-25  David S. Miller  <davem@davemloft.net>
66294         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66295         HWCAP_* values only after the memory barriers have been defined.
66296         (atomic_full_barrier): Define.
66297         (atomic_read_barrier): Define.
66298         (atomic_write_barrier): Define.
66300 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66302         * shlib-versions: Add libgcc_s version information.
66303         * sysdeps/generic/libgcc_s.h: Remove.
66304         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66305         libgcc_s.h.
66306         * sysdeps/gnu/unwind-resume.c: Likewise.
66307         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66309 2012-04-25  David S. Miller  <davem@davemloft.net>
66311         * sysdeps/unix/sparc/brk.S: Delete.
66312         * sysdeps/unix/sparc/dl-brk.S: Delete.
66313         * sysdeps/unix/sparc/pipe.S: Delete.
66314         * sysdeps/unix/sparc/sysdep.S: Delete.
66315         * sysdeps/unix/sparc/sysdep.h: Delete.
66316         * sysdeps/unix/sparc/vfork.S: Delete.
66317         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66318         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66319         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66320         (ret_ERRVAL, r0, r1, MOVE): Define.
66321         (JUMPTARGET): Remove.
66322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66323         sysdeps/unix/sparc/sysdep.h
66324         (ENTRY, END): Remove.
66325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66327 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66329         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66330         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66331         -DIS_IN_build.
66333         * timezone/README: Update upstream location and email address for
66334         tzcode and tzdata.
66335         * timezone/zdump.c: Update from tzcode 2012b.
66336         * timezone/zic.c: Likewise.
66338         * configure.in (libc_cv_as_needed): Remove test.
66339         * configure: Regenerated.
66340         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66341         conditional definition.
66342         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66343         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66344         * config.make.in (have-as-needed): Remove variable.
66346 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66347             Paul Pluzhnikov  <ppluzhnikov@google.com>
66349         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66350         strings correctly.
66352 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66354         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66355         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66356         * sysdeps/sh/strlen.S: Likewise.
66358 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66360         * sysdeps/unix/fork.S: Remove file.
66361         * sysdeps/unix/i386/fork.S: Likewise.
66362         * sysdeps/unix/sparc/fork.S: Likewise.
66364         * sysdeps/unix/system.c: Remove file.
66365         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66367         * sysdeps/unix/getegid.S: Remove file.
66368         * sysdeps/unix/geteuid.S: Likewise.
66370 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66372         * scripts/check-localplt.awk: New file.
66373         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66374         of diff.
66375         * scripts/data/localplt-generic.data: Add a comment.
66377         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66378         NODE when __dir_mkfile failed.
66379         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66380         Reported by Ludovic Courtès <ludo@gnu.org>.
66382 2012-04-24  Andreas Jaeger  <aj@suse.de>
66384         * Makerules (common-clean): Also remove gen-as-const-headers
66385         files.
66387 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66389         * Makerules (native-compile): Do not change working directory for
66390         build.  Use $(OUTPUT_OPTION) in command.
66391         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66393 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66395         [BZ #13886]
66396         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66397         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66398         * math/libm-test.inc (floor_test): Add more tests.
66399         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66401 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66403         * sysdeps/unix/getdents.c: Remove file.
66404         * sysdeps/unix/sysv/getdents.c: Likewise.
66405         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66407         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66408         sysdeps/unix/mman/syscalls.list.
66409         (mmap): Likewise.
66410         (mprotect): Likewise.
66411         (msync): Likewise.
66412         (munmap): Likewise.
66413         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66414         * sysdeps/unix/mman/syscalls.list: Remove.
66415         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66417         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66418         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66419         * configure: Regenerated.
66420         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66421         $(libgcc_s_suffix).
66422         * config.make.in (libgcc_s_suffix): Remove variable.
66424 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66426         * sysdeps/unix/sysv/gethostname.c: Move to ...
66427         * sysdeps/posix/gethostname.c: ... here.
66429         * sysdeps/unix/execve.S: Remove file.
66431         * sysdeps/unix/_exit.S: Remove file.
66433 2012-04-23  Andreas Jaeger  <aj@suse.de>
66435         [BZ #13739]
66436         * manual/Makefile: Remove make dist support, there's no
66437         need for a stand-alone documentation tar ball.
66438         (TEXI2DVI): Define always, it's not in Makeconfig.
66439         (dist): Removed.
66440         (tar-it): Removed.
66441         (edition): Removed.
66442         (glibc-doc-$(edition).tar): Removed
66443         (%.Z): Removed.
66444         (%.gz): Removed.
66445         (%.uu): Removed.
66446         (ETAGS): Remove, it's in Makeconfig.
66447         (move-if-change): Remove, it's in Makeconfig.
66449 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66451         [BZ #13970]
66452         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66453         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66454         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66455         (strtod_l, strtof_l, strtold_l): Remove __wur.
66456         It is not necessarily an error to ignore strtol's return value.
66457         One can reliably look at the stored endptr to decide whether
66458         the number had valid syntax.
66460 2012-04-21  Andreas Jaeger  <aj@suse.de>
66462         [BZ #13739]
66463         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66465 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66467         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66468         * sysdeps/unix/sysv/Versions: Remove file.
66470 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66472         [BZ #13927]
66473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66475 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66477         [BZ #7064]
66478         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66479         version from __vm86.
66481 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66483         * sysdeps/unix/common/lxstat.c: Remove file.
66484         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66486         * sysdeps/unix/sysv/Makefile: Remove file.
66488         * sysdeps/unix/sysv/direct.h: Remove file.
66490         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66491         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66492         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66493         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66494         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66495         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66496         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66498         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66500         * sysdeps/unix/xmknod.c: Remove file.
66501         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66503         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66505         * sysdeps/unix/sysv/i386/time.S: Remove file.
66507         * sysdeps/unix/fxstat.c: Remove file.
66508         * sysdeps/unix/xstat.c: Likewise.
66509         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66511         * sysdeps/unix/sysv/sigaction.c: Remove file.
66513         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66514         (sysdep_headers): Remove variable.
66515         [termio.h not in sysdep_headers] (generated): Likewise.
66516         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66517         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66518         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66519         * sysdeps/unix/sysv/tcflow.c: Likewise.
66520         * sysdeps/unix/sysv/tcflush.c: Likewise.
66521         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66522         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66523         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66524         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66525         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66527         * sysdeps/unix/siglist.c: Remove file.
66529         * sysdeps/unix/getppid.S: Remove file.
66531         * sysdeps/unix/mkdir.c: Remove file.
66532         * sysdeps/unix/rmdir.c: Likewise.
66534 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66536         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66537         ERR_MAX value.
66538         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66539         errlist-compat value.
66541 2012-04-18  David S. Miller  <davem@davemloft.net>
66543         * sysdeps/generic/memcopy.h (reg_char): Delete.
66544         * debug/strcat_chk.c: Use char, not reg_char.
66545         * debug/strcpy_chk.c: Likewise.
66546         * debug/strncat_chk.c: Likewise.
66547         * debug/strncpy_chk.c: Likewise.
66548         * string/memchr.c: Likewise.
66549         * string/memrchr.c: Likewise.
66550         * string/rawmemchr.c: Likewise.
66551         * string/strcat.c: Likewise.
66552         * string/strchr.c: Likewise.
66553         * string/strchrnul.c: Likewise.
66554         * string/strcmp.c: Likewise.
66555         * string/strcpy.c: Likewise.
66556         * string/strncat.c: Likewise.
66557         * string/strncmp.c: Likewise.
66558         * string/strncpy.c: Likewise.
66560 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66562         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66563         __builtin_memcopy is called when src and dest ranges are known to not
66564         overlap.
66566 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66569         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66570         fwd_align_merge macro call.
66571         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66572         bwd_align_merge macro call.
66573         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66575 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66577         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66578         bwd_align_merge macros.
66579         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66580         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66581         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66583 2012-04-18  David S. Miller  <davem@davemloft.net>
66585         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66587 2012-04-18  Andreas Jaeger  <aj@suse.de>
66589         [BZ# 6794]
66590         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66591         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66592         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66594         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66595         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66596         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66598         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66599         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66600         Adjust for changed ldbl-128 files.
66602         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66603         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66604         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66606 2012-04-17  David S. Miller  <davem@davemloft.net>
66608         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66610 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66612         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66613         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66614         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66615         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66616         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66617         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66619 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66621         [BZ #6794]
66622         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66623         * math/libm-test.inc: Add ilogb errno and exception tests.
66624         * math/w_ilogb.c: New file: ilogb wrapper.
66625         * math/w_ilogbf.c: New file: ilogbf wrapper.
66626         * math/w_ilogbl.c: New file: ilogbl wrapper.
66627         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66628         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66629         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66630         exception being thrown with 0.0 as argument.
66631         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66632         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66633         exception being thrown with 0.0 as argument.
66634         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66635         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66636         exception being thrown with 0.0 as argument.
66637         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66638         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66639         exception being thrown with 0.0 as argument.
66640         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66641         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66642         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66643         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66645         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66646         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66647         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66648         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66650 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66652         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66653         with altivec.
66655 2012-04-16  Marek Polacek  <polacek@redhat.com>
66657         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66659 2012-04-16  Marek Polacek  <polacek@redhat.com>
66661         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66662         operands of fdivp instruction.
66664 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66666         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66667         * elf/tst-auditmod3b.c: Likewise.
66668         * elf/tst-auditmod4b.c: Likewise.
66669         * elf/tst-auditmod5b.c: Likewise.
66670         * elf/tst-auditmod6b.c: Likewise.
66671         * elf/tst-auditmod6c.c: Likewise.
66672         * elf/tst-auditmod7b.c: Likewise.
66673         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66674         * sysdeps/x86_64/preconfigure.in: Likewise.
66675         * sysdeps/x86_64/preconfigure: Regenerated.
66677 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66679         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66680         __ILP32__.
66682 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66684         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66685         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66687 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66689         [BZ #13973]
66690         * locale/iso-639.def: Fix gl language name. Spotted by
66691         Yaron Shahrabani.
66693 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66695         [BZ #2074]
66696         * libio/libio.h (__io_write_fn): Update comment.
66698 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66700         [BZ #2074]
66701         * stdio.texi (Hook Functions): The user provided writer function
66702         is not allowed to return -1.
66704 2012-04-11  David S. Miller  <davem@davemloft.net>
66706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66708 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66710         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66711         Add a leading slash to rtkaio.
66713 2012-04-11  Jim Meyering  <meyering@redhat.com>
66715         [BZ #11959]
66716         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66717         It is not necessarily an error to ignore fwrite's return
66718         value.  One can reliably use ferror to test for errors after
66719         the fact.
66721 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66723         * bits/types.h (__snseconds_t): New type.
66724         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66726         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66728         (__SNSECONDS_T_TYPE): Likewise.
66729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66730         (__SNSECONDS_T_TYPE): Likewise.
66731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66732         (__SNSECONDS_T_TYPE): Likewise.
66734 2012-04-10  Andreas Jaeger  <aj@suse.de>
66736         [BZ #2636]
66737         * manual/time.texi (Processor Time): Return type of times is
66738         elapsed real time since an arbitrary point in the past.
66739         (CPU Time): Move CLK_TCK from here...
66740         (Processor Time): ...to here.  Correct description.
66741         * manual/conf.texi (Constants for Sysconf): Correct description of
66742         _SC_CLK_TCK.
66744 2012-04-10  David S. Miller  <davem@davemloft.net>
66746         [BZ #13967]
66747         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66748         where the is a gap between DT_REL(A) and DT_JMPREL.
66750 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66752         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66753         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66754         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66756 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66758         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66759         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66760         (dl_main): Handle --inhibit-cache.
66761         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66762         _dl_inhibit_cache.
66763         * elf/dl-load.c (_dl_map_object): Use it.
66764         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66766 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66768         [BZ #13872]
66769         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66770         (__ieee754_powl): Saturate large exponents rather than testing for
66771         overflow of y*log2(x).
66772         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66773         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66774         exceptions.
66776         [BZ #11521]
66777         * math/s_ctan.c: Include <float.h>.
66778         (__ctan): Avoid internal overflow or cancellation in calculating
66779         denominator.
66780         * math/s_ctanf.c: Likewise.
66781         * math/s_ctanl.c: Likewise.
66782         * math/s_ctanh.c: Likewise.
66783         * math/s_ctanhf.c: Likewise.
66784         * math/s_ctanhl.c: Likewise.
66785         * math/libm-test.inc (ctan_test): Add more tests.
66786         (ctanh_test): Likewise.
66787         * sysdeps/i386/fpu/libm-test-ulps: Update.
66788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66790 2012-04-09  Andreas Jaeger  <aj@suse.de>
66792         [BZ #6894]
66793         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66794         is an optional BSD extension.
66796         [BZ #10254]
66797         * manual/stdio.texi (Opening Streams): Document additional fopen
66798         parameters.
66800 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66802         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66803         %eax without telling the compiler.
66805 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66807         [BZ # 13963]
66808         * manual/install.texi: Use sourceware.org.
66810 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66812         [BZ #13873]
66813         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66814         (__ieee754_pow): Generate overflow and underflow using huge*huge
66815         and tiny*tiny rather than just returning constant infinity or zero
66816         for large exponents.
66817         * math/libm-test.inc (pow_test): Require overflow exceptions for
66818         applicable cases of large exponents.
66820         [BZ #706]
66821         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66822         (__ieee754_pow): Use iterative multiplication algorithm only for
66823         integer exponents with absolute value below 1024.  Check for odd
66824         integer exponents when using algorithm for real exponents.
66825         * math/libm-test.inc (pow_test): Add more tests.
66826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66828 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66830         [BZ #13705]
66831         * math/libm-test.inc (exp_test): Do not allow overflow exception
66832         on underflow test.
66834 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66836         [BZ #13705]
66837         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66838         instead of __kernel_standard_f.
66840 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66842         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66843         * sysdeps/x86_64/memset_chk.S: Likewise.
66845 2012-04-08  Andreas Jaeger  <aj@suse.de>
66847         [BZ #10153]
66848         * manual/startup.texi (Environment Access): Describe return value
66849         for putenv and setenv.
66851         [BZ #6895]
66852         * manual/filesys.texi (Directory Entries): Add description for
66853         DT_LNK.
66855         [BZ #6890]
66856         * manual/filesys.texi (Directory Entries): Clarify that it's file
66857         system not operating system in the description of DT_UNKNOWN.
66859         [BZ #6578]
66860         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66862 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66864         [BZ #6649]
66865         * manual/llio.texi (Opening and Closing Files): Add cross
66866         reference to explain mode argument.
66868 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66870         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66871         * sysdeps/x86_64/memset_chk.S: Likewise.
66873 2012-04-07  David S. Miller  <davem@davemloft.net>
66875         * elf/elf.h (R_SPARC_WDISP10): Define.
66876         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66877         R_SPARC_SIZE32.
66878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66879         R_SPARC_SIZE64 and R_SPARC_H34.
66881 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66883         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66884         conditions and remove no longer applicable assertion.
66886 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66888         * bits/byteswap.h: Include <features.h>.
66889         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66890         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66892 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66894         * bits/byteswap.h (__bswap_16): Removed.
66895         Include <bits/byteswap-16.h> to get __bswap_16.
66896         * sysdeps/i386/bits/byteswap.h: Likewise.
66897         * sysdeps/s390/bits/byteswap.h: Likewise.
66898         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66899         * bits/byteswap-16.h: New file.
66900         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66901         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66902         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66903         * string/Makefile (headers): Add bits/byteswap-16.h.
66905 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66907         [BZ #13895]
66908         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66909         extra indirection.
66910         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66911         * nss/tst-nss-static.c: New.
66913 2012-04-06  Robert Millan  <rmh@gnu.org>
66915         [BZ #6486]
66916         * manual/llio.texi (File Position Primitive): lseek
66917         refers to WHENCE when it really means OFFSET.
66919 2012-04-06  Andreas Jaeger  <aj@suse.de>
66921         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66922         strncmp declarations.
66924         * abilist/libc.abilist: Add __poll and __ppoll.
66926 2012-04-05  David S. Miller  <davem@davemloft.net>
66928         * scripts/check-local-headers.sh: Accept a host triplet in the
66929         path matched by the exclude regexp.
66931         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66932         definition.
66933         * sysdeps/powerpc/powerpc32/dl-machine.h
66934         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66935         * sysdeps/s390/s390-32/dl-machine.h
66936         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66937         * sysdeps/sparc/sparc32/dl-machine.h
66938         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66939         * sysdeps/sparc/sparc64/dl-machine.h
66940         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66942         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66943         lazy binding.
66944         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66945         undefined symbol errors.
66947         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66948         DT_NEEDED entries.
66950 2012-04-05  Michael Matz  <matz@suse.de>
66952         [BZ #13592]
66953         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66955 2012-04-05  Andreas Jaeger  <aj@suse.de>
66957         [BZ #13908]
66958         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66959         comment.
66961 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66963         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66964         which ROUND is no valid rounding mode.
66966 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66968         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66969         read again.
66970         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66972 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66974         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66975         an exception using FPU order intentionally.
66977 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66979         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66980         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66981         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66982         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66984 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66986         [BZ #12340]
66987         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66988         EINVAL when BUFLEN is too smal.
66990 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66992         [BZ #13553]
66993         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66994         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66996 2012-04-03  Andreas Jaeger  <aj@suse.de>
66998         [BZ #13938]
66999         * manual/setjmp.texi (System V contexts): Fix sentence.
67001         [BZ #13926]
67002         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67003         New macro for this case.
67004         [!__GNUC__] (__bswap_64): New inline function for this case.
67005         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67006         * bits/byteswap.h: Likewise.
67007         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67008         ull, guard with __GLIBC_HAVE_LONG_LONG.
67010         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67011         __GLIBC_HAVE_LONG_LONG.
67013         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67014         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67016 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67018         [BZ #13691]
67019         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67020         inptr and inend, rather than using last_ch.
67022 2012-04-02  David S. Miller  <davem@davemloft.net>
67024         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67025         * stdio-common/printf-parse.h (read_int): Change return type to
67026         'int', return -1 on INT_MAX overflow.
67027         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67028         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67029         overflows INT_MAX.  Check for overflow of in-format-string precision
67030         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67031         SIZE_MAX not INT_MAX for integer overflow test.
67032         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67033         skip the construct in the format string but do not record anything.
67034         * stdio-common/bug22.c: Adjust to test both width/prevision
67035         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67036         explicitly for proper errno values.
67038 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67040         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67041         CHAR_MAX.
67042         * string/test-strcmp.c [! WIDE]: Likewise.
67043         * time/tst-mktime2.c: Likewise for INT_MAX.
67044         * string/test-string.h: #include <sys/param.h> for MIN.
67046         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67047         * sysdeps/i386/init-first.c (init): Likewise.
67048         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67049         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67050         * sysdeps/sh/init-first.c (init): Likewise.
67052 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67054         * po/ru.po: Update from translation team.
67055         * po/vi.po: Likewise.
67057 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67059         * resolv/nss_dns/dns-host.c: Merge copyright years.
67061 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67063         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67064         Optimize memcpy with prefetch if
67065         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67066         src, dst pointers have unequal 16 byte alignments.
67068 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67070         [BZ #13928]
67071         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67072         from a CNAME entry and return the minimum ttl for the query.
67073         (gaih_getanswer_slice): Likewise.
67075 2012-03-30  Jeff Law  <law@redhat.com>
67077         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67078         due to long keys.
67079         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67080         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67082         * resolv/nss_dns/dns-host.c: Update copyright year.
67084 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67086         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67087         requests to save a system call.  Fix check that all bytes are sent.
67089         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67090         comments for sendmmsg.
67092 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67094         [BZ #13691]
67095         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67096         with only 1 character between 0x0041 and 0x01b0.
67097         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67098         * wcsmbs/tst-mbsnrtowcs.c: New file.
67100 2012-03-29  David S. Miller  <davem@davemloft.net>
67102         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67103         small copies by hand.
67105 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67107         [BZ #13761]
67108         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67109         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67110         group memberships.
67112 2012-03-28  David S. Miller  <davem@davemloft.net>
67114         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67115         that branches into memcpy.
67116         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67117         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67118         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67119         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67121         bits.
67122         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67123         implementation too.
67124         * sysdeps/sparc/mempcpy.S: New file.
67126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67127         the IFUNC routine in the libc case.
67128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67130         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67131         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67132         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67133         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67134         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67135         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67136         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67137         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67139         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67140         loop to 256 bytes instead of 64 bytes and fix test signedness.
67142         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67143         * sysdeps/sparc/sparc32/Makefile: rather than here...
67144         * sysdeps/sparc/sparc64/Makefile: and here.
67146 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67148         * malloc/mallocbug.c: Avoid warnings about unused variables.
67150 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67152         [BZ #13760]
67153         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67154         in the right place. Discard and retry query if response is
67155         larger than input buffer size.
67157 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67159         [BZ #369]
67160         [BZ #2678]
67161         [BZ #3866]
67162         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67163         x for large integer exponent.
67164         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67165         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67166         sign of result as needed afterwards.
67167         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67168         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67169         result for underflowing pow the same as for overflow.
67170         (__kernel_standard_l): Handle powl overflow and underflow here
67171         rather than calling __kernel_standard.
67172         * math/libm-test.inc (pow_test): Add more tests.
67174         [BZ #3868]
67175         [BZ #13879]
67176         [BZ #13910]
67177         [BZ #13911]
67178         [BZ #13912]
67179         [BZ #13913]
67180         [BZ #13915]
67181         [BZ #13916]
67182         [BZ #13917]
67183         [BZ #13918]
67184         [BZ #13919]
67185         [BZ #13920]
67186         [BZ #13921]
67187         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67188         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67189         (__kernel_standard_l): New function.
67190         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67191         __kernel_standard.
67192         * math/w_acosl.c (__acosl): Likewise.
67193         * math/w_asinl.c (__asinl): Likewise.
67194         * math/w_atan2l.c (__atan2l): Likewise.
67195         * math/w_atanhl.c (__atanhl): Likewise.
67196         * math/w_coshl.c (__coshl): Likewise.
67197         * math/w_exp10l.c (__exp10l): Likewise.
67198         * math/w_exp2l.c (__exp2l): Likewise.
67199         * math/w_fmodl.c (__fmodl): Likewise.
67200         * math/w_hypotl.c (__hypotl): Likewise.
67201         * math/w_j0l.c (__j0l, __y0l): Likewise.
67202         * math/w_j1l.c (__j1l, __y1l): Likewise.
67203         * math/w_jnl.c (__jnl, __ynl): Likewise.
67204         * math/w_lgammal.c (__lgammal): Likewise.
67205         * math/w_log10l.c (__log10l): Likewise.
67206         * math/w_log2l.c (__log2l): Likewise.
67207         * math/w_logl.c (__logl): Likewise.
67208         * math/w_powl.c (__powl): Likewise.
67209         * math/w_remainderl.c (__remainderl): Likewise.
67210         * math/w_scalbl.c (sysv_scalbl): Likewise.
67211         * math/w_sinhl.c (__sinhl): Likewise.
67212         * math/w_sqrtl.c (__sqrtl): Likewise.
67213         * math/w_tgammal.c (__tgammal): Likewise.
67214         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67215         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67216         * math/libm-test.inc (acos_test): Add more tests.
67217         (acosh_test): Likewise.
67218         (asin_test): Likewise.
67219         (atanh_test): Likewise.
67220         (exp_test): Likewise.
67221         (exp10_test): Likewise.
67222         (exp2_test): Likewise.
67223         (expm1_test): Likewise.
67224         (lgamma_test): Likewise.
67225         (log_test): Likewise.
67226         (log10_test): Likewise.
67227         (log1p_test): Likewise.
67228         (log2_test): Likewise.
67229         (pow_test): Do not allow some spurious overflow exceptions.
67230         (sqrt_test): Add more tests.
67231         (tgamma_test): Likewise.
67232         (y0_test): Likewise.
67233         (y1_test): Likewise.
67234         (yn_test): Likewise.
67236 2012-03-27  Anton Blanchard  <anton@samba.org>
67238         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67239         MAP_HUGETLB.
67240         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67241         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67242         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67244 2012-03-27  David S. Miller  <davem@davemloft.net>
67246         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67248         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67249         have-as-vis3 check.
67251 2012-03-27  Andreas Jaeger  <aj@suse.de>
67253         * sysdeps/x86_64/elf/configure.in: Moved to ...
67254         * sysdeps/x86_64/configure.in: ... here.
67255         * sysdeps/x86_64/elf/start.S: Moved to ...
67256         * sysdeps/x86_64/start.S: ... here.
67257         * sysdeps/x86_64/elf/configure: Delete.
67259         * sysdeps/x86_64/configure.in: Merge contents from
67260         sysdeps/i386/configure.in (without i686 check).
67262         * sysdeps/i386/elf/Versions: Merge into ...
67263         * sysdeps/i386/Versions: ... this.
67264         * sysdeps/i386/elf/Versions: Delete file.
67265         * sysdeps/i386/elf/start.S: Moved to ...
67266         * sysdeps/i386/start.S: ...here.
67267         * sysdeps/i386/elf/configure.in: Merge into...
67268         * sysdeps/i386/configure.in: ...here.
67269         * sysdeps/i386/elf/configure.in: Delete file.
67270         * sysdeps/i386/elf/configure: Delete file.
67272         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67273         * debug/backtracesyms.c: ... here.
67274         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67275         * debug/backtracesymsfd.c: ... here.
67276         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67277         * sysdeps/generic/ifunc-sel.h: ... here.
67279         * sysdeps/unix/i386/start.c: Delete file.
67280         * sysdeps/unix/sparc/start.c: Delete file.
67281         * sysdeps/unix/start.c: Delete file.
67283         * sysdeps/sh/elf/configure.in: Moved to ...
67284         * sysdeps/sh/configure.in: ... here.
67285         * sysdeps/sh/elf/start.S: Moved to ...
67286         * sysdeps/sh/start.S: ... here.
67287         * sysdeps/sh/elf/configure: Delete file.
67289         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67290         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67291         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67292         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67293         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67294         * sysdeps/powerpc/powerpc64/start.S: here.
67295         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67296         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67297         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67298         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67299         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67301         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67302         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67303         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67304         * sysdeps/powerpc/powerpc32/start.S: ... here.
67305         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67306         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67307         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67309         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67310         * sysdeps/powerpc/ifunc-sel.h: ... here.
67311         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67312         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67314         * sysdeps/sparc/elf/configure.in: Moved to ...
67315         * sysdeps/sparc/configure.in: ... here.
67316         * sysdeps/sparc/elf/configure: Delete file.
67317         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67318         * sysdeps/sparc/sparc32/start.S: ... here.
67319         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67320         * sysdeps/sparc/sparc64/start.S: ... here.
67321         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67322         * sysdeps/sparc/sparc32/Makefile: ... this.
67323         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67324         * sysdeps/sparc/sparc64/Makefile: ... this.
67326         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67327         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67328         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67329         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67330         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67331         * sysdeps/s390/s390-32/setjmp.S: ... here.
67332         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67333         * sysdeps/s390/s390-32/configure.in: ... here.
67334         * sysdeps/s390/s390-32/elf/configure: Delete file.
67335         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67336         * sysdeps/s390/s390-32/start.S: ... here.
67338         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67339         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67340         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67341         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67342         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67343         * sysdeps/s390/s390-64/setjmp.S: ... here.
67344         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67345         * sysdeps/s390/s390-64/configure.in: ... here
67346         * sysdeps/s390/s390-64/elf/configure: Delete file.
67347         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67348         * sysdeps/s390/s390-64/start.S: ... here.
67349         * sysdeps/s390/s390-64/elf/configure: Delete.
67351         * configure.in: Remove support for elf directories in sysdeps.
67353         * configure: Regenerated.
67354         * sysdeps/i386/configure: Regenerated.
67355         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67356         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67357         * sysdeps/s390/s390-32/configure: Regenerated.
67358         * sysdeps/s390/s390-64/configure: Regenerated.
67359         * sysdeps/sh/configure: Regenerated.
67360         * sysdeps/sparc/configure: Regenerated.
67361         * sysdeps/x86_64/configure: Regenerated.
67363 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67368         denormal result into account.
67370 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67372         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67373         Reported by Allan McRae <allan@archlinux.org>.
67375 2012-03-23  Jeff Law  <law@redhat.com>
67377         * nss/getnssent.c (__nss_getent): Fix typo.
67379 2012-03-23  David S. Miller  <davem@davemloft.net>
67381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67383 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67385         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67386         to pad to uint64_t for each field.
67387         (dl_tls_index): Replace unsigned long with uint64_t.
67389 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67390         Paul Pluzhnikov  <ppluzhnikov@google.com>
67392         [BZ #6528]
67393         * grp/Makefile (otherlibs): Don't set it.
67394         * inet/Makefile (otherlibs): Likewise.
67395         * login/Makefile (otherlibs): Likewise.
67396         * nscd/Makefile (otherlibs): Likewise.
67397         * posix/Makefile (otherlibs): Likewise.
67398         * pwd/Makefile (otherlibs): Likewise.
67399         * rt/Makefile (otherlibs): Likewise.
67400         * sunrpc/Makefile (otherlibs): Likewise.
67401         * nss/Makefile (otherlibs): Likewise.
67402         Add libnss_files to routines and static-only-routines.
67403         ($(objpfx)getent): Remove rule.
67404         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67405         static-only-routines.
67407 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67409         [BZ #13892]
67410         * math/s_cexp.c: Include <float.h>.
67411         (__cexp): Handle exp result overflowing not necessarily
67412         overflowing both real and imaginary parts of result.
67413         * math/s_cexpf.c: Likewise.
67414         * math/s_cexpl.c: Likewise.
67415         * math/libm-test.inc (cexp_test): Add more tests.
67416         * sysdeps/i386/fpu/libm-test-ulps: Update.
67417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67419 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67421         * include/link.h (ELFW): New macro.
67422         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67423         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67425 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67427         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67428         with uint64_t.
67430 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67432         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67433         declaration.
67434         (struct La_x32_retval): Likewise.
67436 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67438         * sysdeps/x86_64/preconfigure.in: New file.
67439         * sysdeps/x86_64/preconfigure: New generated file.
67441 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67443         [BZ #13824]
67444         * math/e_exp2l.c: Include <float.h>.
67445         (__ieee754_exp2l): Handle overflow and underflow cases
67446         separately.  Only pass fractional part of argument to
67447         __ieee754_expl.
67448         * math/libm-test.inc (exp2_test): Add more tests.
67450         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67451         negating x to take absolute value.
67452         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67453         Likewise.
67454         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67455         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67456         Likewise.
67457         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67458         computing low part if x was negated.
67459         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67461 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67463         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67464         la_x32_gnu_pltexit.
67465         (pltexit): Cast int_retval to ptrdiff_t.
67466         * elf/tst-auditmod3b.c: Likewise.
67467         * elf/tst-auditmod4b.c: Likewise.
67468         * elf/tst-auditmod5b.c: Likewise.
67469         * elf/tst-auditmod6b.c: Likewise.
67470         * elf/tst-auditmod6c.c: Likewise.
67471         * elf/tst-auditmod7b.c: Likewise.
67473         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67474         and x32_gnu_pltexit.
67476         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67477         __ELF_NATIVE_CLASS.
67478         (La_x32_regs): New macro.
67479         (La_x32_retval): Likewise.
67480         (la_x32_gnu_pltenter): New function prototype.
67481         (la_x32_gnu_pltexit): Likewise.
67483 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67485         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67486         exponent.
67488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67490         * configure.in (libc_cv_cc_nofma): Check for option to disable
67491         generation of FMA instructions.
67492         * configure: Regenerate.
67493         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67494         * sysdeps/ieee754/dbl-64/Makefile: New file.
67495         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67496         Remove brandred-fma4.
67497         (CFLAGS-brandred-fma4.c): Remove.
67498         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67499         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67500         define.
67501         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67502         define.
67504 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67506         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67507         LLONG_MAX != LONG_MAX.
67508         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67509         (_fitoa_word): Likewise.
67510         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67511         LLONG_MAX != LONG_MAX.
67512         * stdio-common/_itowa.h: Include <_itoa.h>.
67513         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67514         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67515         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67516         only if not defined.
67517         (_ITOA_WORD_TYPE): Likewise.
67518         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67519         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67521 2012-03-21  David S. Miller  <davem@davemloft.net>
67523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67525 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67527         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67528         of x86_64 when setting libc_cv_slibdir, libdir and
67529         libc_cv_localedir.
67530         * sysdeps/unix/sysv/linux/configure: Regenerated.
67532 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67534         * manual/lang.texi (Old Varargs): Remove section.
67535         (How Variadic): Update menu.
67536         (va_start): Do not mention varargs.h.
67538 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67539             Joseph Myers  <joseph@codesourcery.com>
67541         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67542         link test.
67543         * configure: Regenerated.
67545 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67547         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67548         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67549         conformtest.pl
67551 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67553         * NOTES: Remove.
67554         * Makefile (files-for-dist): Remove NOTES.
67555         (NOTES): Remove rule.
67556         * README: Don't refer to NOTES.
67557         * manual/creature.texi: Don't include macros.texi.
67558         * manual/intro.texi (creature.texi): Remove comment referring to
67559         NOTES.
67561         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67562         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67563         * configure: Regenerated.
67564         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67565         LIBC_TRY_CC_OPTION.
67566         (libc_cv_as_i686): Likewise.
67567         (libc_cv_cc_avx): Likewise.
67568         (libc_cv_cc_sse2avx): Likewise.
67569         (libc_cv_cc_fma4): Likewise.
67570         (libc_cv_cc_novzeroupper): Likewise.
67571         * sysdeps/i386/configure: Regenerated.
67573         [BZ #13883]
67574         * sysdeps/i386/fpu/s_cexp.S: Remove.
67575         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67576         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67577         * math/libm-test.inc (cexp_test): Add more tests.
67578         * sysdeps/i386/fpu/libm-test-ulps: Update.
67579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67581 2012-03-21  Allan McRae  <allan@archlinux.org>
67583         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67585 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67587         [BZ #13871]
67588         * math/w_exp2.c: Do not include <float.h>.
67589         (o_threshold, u_threshold): Remove.
67590         (__exp2): Calculate result before checking finiteness and calling
67591         __kernel_standard.
67592         * math/w_exp2f.c: Likewise.
67593         * math/w_exp2l.c: Likewise.
67594         * math/libm-test.inc (exp2_test): Require overflow exception for
67595         1e6 input.
67597         [BZ #3866]
67598         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67599         range of signed 64-bit integers before using fistpll.  Remove
67600         checks for whether integers fit in mantissa bits.
67601         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67602         the range of signed 32-bit integers before using fistpl.  Remove
67603         checks for whether integers fit in mantissa bits.
67604         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67605         (__ieee754_powl): Test for y outside the range of signed 64-bit
67606         integers before using fistpll.  Reduce 64-bit values to 63-bit
67607         ones as needed.
67608         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67609         divide-by-zero is raised for zero to large negative powers.
67610         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67611         (__ieee754_powl): Test for y outside the range of signed 64-bit
67612         integers before using fistpll.  Reduce 64-bit values to 63-bit
67613         ones as needed.
67614         * math/libm-test.inc (pow_test): Add more tests.
67616 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67618         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67619         <stdio-common/_itoa.h>.
67620         * debug/segfault.c: Likewise.
67621         * elf/dl-cache.c: Likewise.
67622         * elf/dl-minimal.c: Likewise.
67623         * elf/dl-misc.c: Likewise.
67624         * elf/dl-sysdep.c: Likewise.
67625         * elf/dl-version.c: Likewise.
67626         * elf/rtld.c: Likewise.
67627         * hurd/hurdsock.c: Likewise.
67628         * hurd/lookup-retry.c: Likewise.
67629         * malloc/malloc.c: Likewise.
67630         * malloc/mtrace.c: Likewise.
67631         * nscd/nscd_getgr_r.c: Likewise.
67632         * nscd/nscd_getpw_r.c: Likewise.
67633         * nscd/nscd_getserv_r.c: Likewise.
67634         * posix/getopt_init.c: Likewise.
67635         * posix/wordexp.c: Likewise.
67636         * stdio-common/_itoa.c: Likewise.
67637         * stdio-common/printf_fphex.c: Likewise.
67638         * stdio-common/vfprintf.c: Likewise.
67639         * string/_strerror.c: Likewise.
67640         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67641         * sysdeps/i386/i686/hp-timing.h: Likewise.
67642         * sysdeps/mach/_strerror.c: Likewise.
67643         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67644         * sysdeps/mach/hurd/sethostid.c: Likewise.
67645         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67646         * sysdeps/mach/xpg-strerror.c: Likewise.
67647         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67648         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67649         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67650         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67651         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67652         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67653         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67654         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67655         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67656         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67657         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67658         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67659         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67660         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67661         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67662         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67663         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67664         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67665         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67666         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67667         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67669         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67671         * stdio-common/_itoa.h: Moved to ...
67672         * sysdeps/generic/_itoa.h: Here.
67674         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67676         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67677         instead of "_itoa.h" and "_itowa.h".
67678         * stdio-common/vfprintf.: Likewise.
67680 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67682         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67683         <bits/wordsize.h>.
67684         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67685         (__signbit): Likwise.
67686         (llrintf): Likwise.
67687         (llrint): Likwise.
67689 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67691         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67692         __WORDSIZE != 64.
67694 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67696         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67697         OVERFLOW_EXCEPTION_OK.
67698         * math/libm-test.inc ("Philosophy"): Update comment about
67699         exception testing.
67700         (OVERFLOW_EXCEPTION): Define.
67701         (OVERFLOW_EXCEPTION_OK): Likewise.
67702         (INVALID_EXCEPTION_OK): Renumber.
67703         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67704         (IGNORE_ZERO_INF_SIGN): Likewise.
67705         (test_exceptions): Handle FE_OVERFLOW.
67706         (exp10_test): Expect overflow exceptions.
67707         (exp2_test): Likewise.
67708         (expm1_test): Likewise.
67709         (nextafter_test): Likewise.
67710         (pow_test): Likewise.
67711         (scalbn_test): Likewise.
67712         (scalbln_test): Likewise.
67714 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67716         * sysdeps/x86_64/bits/atomic.h
67717         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67718         64bit integer.
67719         (atomic_exchange_acq): Likewise.
67720         (__arch_exchange_and_add_body): Likewise.
67721         (__arch_add_body): Likewise.
67722         (atomic_add_negative): Likewise.
67723         (atomic_add_zero): Likewise.
67725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67727         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67728         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67730 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67732         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67733         Check __x86_64__ instead of __WORDSIZE.
67735 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67737         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67739 2012-03-19  David S. Miller  <davem@davemloft.net>
67741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67743         * sysdeps/sparc/fpu/fenv_private.h: New file.
67744         * sysdeps/sparc/fpu/math_private.h: Use it.
67745         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67746         Remove.
67747         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67748         (libc_feholdexcept_setroundl): Remove.
67749         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67750         Remove.
67751         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67752         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67756         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67757         int64_t instead of long int.
67758         (INSERT_WORDS64): Likwise.
67760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67762         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67763         _Unwind_GetCFA return to _Unwind_Ptr first.
67765 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67767         [BZ #13629]
67768         * math/s_clog.c: Include <float.h>.
67769         (__clog): Scale large or subnormal inputs.
67770         * math/s_clogf.c: Likewise.
67771         * math/s_clogl.c: Likewise.
67772         * math/s_clog10.c: Include <float.h>.
67773         (M_LOG10_2): Define.
67774         (__clog10): Scale large or subnormal inputs.
67775         * math/s_clog10f.c: Likewise.
67776         * math/s_clog10l.c: Likewise.
67777         * math/libm-test.inc (clog_test): Add more tests.
67778         (clog10_test): Likewise.
67779         * sysdeps/i386/fpu/libm-test-ulps: Update.
67780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67782         [BZ #11451]
67783         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67784         x and y.
67785         * math/libm-test.inc (atan2_test): Add another test.
67787         * Makerules (common-objdir-compile): Remove.
67788         * sysdeps/unix/Makefile (config-generated): Do not add
67789         $(unix-generated) to variable.
67790         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67791         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67792         Remove rule.
67793         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67794         Likewise.
67795         [generic bits/local_lim.h] (before-compile): Do not append to
67796         variable.
67797         [generic bits/local_lim.h] (common-generated): Likewise.
67798         [generic sys/param.h] (before-compile): Do not append to variable.
67799         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67800         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67801         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67802         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67803         include.
67804         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67805         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67806         [generic sys/param.h] ($(addprefix
67807         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67808         [generic sys/param.h] (common-generated): Do not append to
67809         variable.
67810         [generic sys/param.h] (sysdep_headers): Likewise.
67811         [generic bits/errno.h] (before-compile): Do not append to
67812         variable.
67813         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67814         rule.
67815         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67816         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67817         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67818         [generic bits/errno.h] (common-generated): Do not append to
67819         variable.
67820         [generic bits/ioctls.h] (before-compile): Do not append to
67821         variable.
67822         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67823         rule.
67824         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67825         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67826         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67827         rule.
67828         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67829         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67830         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67831         [generic bits/ioctls.h] (common-generated): Do not append to
67832         variable.
67833         [generic sys/syscall.h] (syscall.h): Remove variable.
67834         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67835         rule.
67836         [generic sys/syscall.h] (before-compile): Do not append to
67837         variable.
67838         [generic sys/syscall.h] (common-generated): Likewise.
67839         * sysdeps/unix/errnos-tmpl.c: Remove file.
67840         * sysdeps/unix/errnos.awk: Likewise.
67841         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67842         * sysdeps/unix/ioctls.awk: Likewise.
67843         * sysdeps/unix/mk-local_lim.c: Likewise.
67844         * sysdeps/unix/snarf-ioctls: Likewise.
67846 2012-03-19  Richard Henderson  <rth@twiddle.net>
67848         * sysdeps/i386/fpu/fenv_private.h: New file.
67849         * sysdeps/i386/fpu/math_private.h: Use it.
67850         (math_opt_barrier, math_force_eval): Remove.
67851         (libc_feholdexcept_setround_53bit): Remove.
67852         (libc_feupdateenv_53bit): Remove.
67853         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67854         (math_opt_barrier, math_force_eval): Remove.
67855         (libc_feholdexcept): Remove.
67856         (libc_feholdexcept_setround): Remove.
67857         (libc_fetestexcept, libc_fesetenv): Remove.
67858         (libc_feupdateenv_test): Remove.
67859         (libc_feupdateenv, libc_feholdsetround): Remove.
67860         (libc_feresetround): Remove.
67862         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67863         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67865         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67866         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67867         (libc_feupdateenv_testl): New.
67868         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67869         (libc_feupdateenv_testf): New.
67870         (libc_feupdateenv): Use libc_feupdateenv_test.
67871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67872         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67874         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67875         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67876         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67877         (libc_feresetround_noex): New.
67878         (libc_feresetround_noexf): New.
67879         (libc_feresetround_noexl): New.
67880         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67881         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67882         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67883         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67884         SET_RESTORE_ROUND.
67885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67886         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67887         (__cos): Likewise.
67888         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67889         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67890         SET_RESTORE_ROUND_NOEX.
67891         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67892         SET_RESTORE_ROUND_NOEXF.
67893         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67894         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67895         (libc_feholdsetroundf): New.
67896         (libc_feresetround, libc_feresetroundf): New.
67898         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67899         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67900         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67902         * sysdeps/generic/math_private.h: Include <fenv.h>.
67903         (default_libc_feholdexcept): New.
67904         (default_libc_feholdexcept_setround): New.
67905         (default_libc_fesetenv, default_libc_feupdateenv): New.
67906         (libc_feholdexcept): Only define if undefined.
67907         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67908         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67909         (libc_feholdexcept_setroundl): Likewise.
67910         (libc_feholdexcept_setround_53bit): Likewise.
67911         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67912         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67913         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67914         (libc_feupdateenv_53bit): Likewise.
67915         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67916         (libc_feholdexcept): Convert from macro to inline function.
67917         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67918         (libc_fesetenv, libc_feupdateenv): Likewise.
67920         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67921         not previously defined.
67922         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67923         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67924         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67925         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67926         * sysdeps/ieee754/flt-32/math_private.h: New file.
67927         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67928         math_private.h below SET_FLOAT_WORD.
67929         (__isnan, __isinf_ns, __finite): Remove.
67930         (__isnanf, __isinf_nsf, __finitef): Remove.
67932 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67936 2012-03-17  David S. Miller  <davem@davemloft.net>
67938         [BZ #6471]
67939         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67940         for 2.16.
67942 2012-03-16  David S. Miller  <davem@davemloft.net>
67944         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67945         warnings.
67947         [BZ #6471]
67948         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67949         properly.
67950         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67951         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67952         sysdep_routines when subdir is sysvipc.
67953         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67954         __getshmlba helper.
67956         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67960         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67961         [__LP64__].
67963 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67965         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67966         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67967         (__lround): Renamed to ...
67968         (__llround): This.  Replace long int with long long int.
67969         Define lround functions as aliases of llround functions.
67970         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67974         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67975         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67976         adresses to uintptr_t.  Replace "long int" and "unsigned long
67977         int" with "greg_t" on va_arg.
67979 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67981         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67982         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67984         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67985         Move e_machine check before EI_CLASS check.  Handle x32
67986         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67987         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67988         SKIP_EM_IA_64 and include
67989         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67991         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67992         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67993         (add_system_dir): New macro.
67995         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67996         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67998 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68000         [BZ #2551]
68001         [BZ #2552]
68002         [BZ #2553]
68003         [BZ #2554]
68004         [BZ #2562]
68005         [BZ #2563]
68006         [BZ #2565]
68007         [BZ #2566]
68008         [BZ #2576]
68009         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68010         (y0): Likewise.
68011         * math/w_j0f.c (j0f): Likewise.
68012         (y0f): Likewise.
68013         * math/w_j0l.c (__j0l): Likewise.
68014         (__y0l): Likewise.
68015         * math/w_j1.c (j1): Likewise.
68016         (y1): Likewise.
68017         * math/w_j1f.c (j1f): Likewise.
68018         (y1f): Likewise.
68019         * math/w_j1l.c (__j1l): Likewise.
68020         (__y1l): Likewise.
68021         * math/w_jn.c (jn): Likewise.
68022         (yn): Likewise.
68023         * math/w_jnf.c (jnf): Likewise.
68024         (ynf): Likewise.
68025         * math/w_jnl.c (__jnl): Likewise.
68026         (__ynl): Likewise.
68027         * math/libm-test.inc (j0_test): Add more tests.
68028         (j1_test): Likewise.
68029         (jn_test): Likewise.  Add trailing semicolon to existing test.
68030         (y0_test): Likewise.
68031         (y1_test): Likewise.
68032         * sysdeps/i386/fpu/libm-test-ulps: Update.
68033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68035         [BZ #13851]
68036         [BZ #13854]
68037         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68038         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68039         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68040         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68041         (__tanl): Set errno for infinite argument.
68042         * sysdeps/i386/fpu/mptan.c: Remove.
68043         * sysdeps/i386/fpu/s_tan.S: Likewise.
68044         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68045         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68046         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68047         * math/libm-test.inc (tan_test): Add more tests and enable more
68048         tests for double and long double.
68049         * sysdeps/i386/fpu/libm-test-ulps: Update.
68050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68052 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68054         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68055         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68057 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68059         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68060         * configure.in: Use it for both main tree and add-ons.
68061         * configure: Regenerated.
68063 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68065         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68067 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68069         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68070         in comment.
68072         [BZ #13851]
68073         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68074         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68075         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68076         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68077         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68078         infinite argument.
68079         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68081         != 0 for prec == 2.
68082         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68083         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68084         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68085         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68086         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68087         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68088         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68089         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68090         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68091         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68092         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68093         * math/libm-test.inc (cos_test): Add more tests and enable more
68094         tests for long double.
68095         (sin_test): Likewise.
68096         (sincos_test): Likewise.
68097         * sysdeps/i386/fpu/libm-test-ulps: Update.
68098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68100 2012-03-16  David S. Miller  <davem@davemloft.net>
68102         * sysdeps/sparc/fpu/math_private.h: New file.
68104 2012-03-15  David S. Miller  <davem@davemloft.net>
68106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68107         file.
68108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68110         file.
68111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68116         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68117         sysdep routines.
68118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68120         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68121         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68123         * sysdeps/sparc/sparc-ifunc.h: New file.
68124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68125         sparc-ifunc.h
68126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68128         Likewise.
68129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68130         Likewise.
68131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68135         Likewise.
68136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68141         Likewise.
68142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68143         Likewise.
68144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68151         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68162         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68163         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68166         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68169 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68171         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68172         scaling.
68173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68175 2012-03-15  Andreas Jaeger  <aj@suse.de>
68177         [BZ #13852]
68178         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68179         ieee754/flt-32 implementation for sin, cos and sincos.
68180         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68181         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68182         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68183         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68184         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68185         ieee754/flt-32 implementation for tan.
68187         * math/libm-test.inc (cos_test): Enable some large input tests for
68188         float as well
68189         (sin_test): Likewise.
68190         (sincos_test): Likewise.
68191         (tan_test): Add tests for large input.
68193         * sysdeps/i386/fpu/libm-test-ulps: Update.
68195 2012-03-15  Andreas Jaeger  <aj@suse.de>
68197         [BZ #13658]
68198         * math/libm-test.inc (cos_test): Add more test cases.
68199         (sin_test): Likewise.
68200         (sincos_test): Likewise.
68202 2012-03-15  Andreas Jaeger  <aj@suse.de>
68204         [BZ #13837]
68205         * math/libm-test.inc (cos_test): Add a test case for large input
68206         value.
68207         (sin_test): Likewise.
68208         (sincos_test): Likewise.
68210 2012-03-15  Andreas Jaeger  <aj@suse.de>
68211             Joseph Myers  <joseph@codesourcery.com>
68213         [BZ #13658]
68214         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68215         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68216         * sysdeps/i386/fpu/branred.c: Likewise.
68217         * sysdeps/i386/fpu/dosincos.c: Likewise.
68218         * sysdeps/i386/fpu/mpa.c: Likewise.
68219         * sysdeps/i386/fpu/s_cos.S: Likewise.
68220         * sysdeps/i386/fpu/s_sin.S: Likewise.
68221         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68222         * sysdeps/i386/fpu/sincos32.c: Likewise.
68224         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68225         Define.
68226         (libc_feupdateenv_53bit): Define.
68227         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68228         Define.
68229         (libc_feupdateenv_53bit): Define.
68231         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68232         53 bit (without extend i386 double precision).
68234         * math/libm-test.inc (sincos_test): Add tests for large input.
68235         (sin): Likewise.
68236         (cos): Likewise.
68238         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68240 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68244 2012-03-15  David S. Miller  <davem@davemloft.net>
68246         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68247         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68248         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68249         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68262         file.
68263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68265         file.
68266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68268         file.
68269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68271         file.
68272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68274         fmin/fmax sysdep routines.
68275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68277 2012-03-14  David S. Miller  <davem@davemloft.net>
68279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68302         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68305         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68306         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68308         routines.
68309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68310         file.
68311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68313         file.
68314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68316         file.
68317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68319         file.
68320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68322         file.
68323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68325         file.
68326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68327         file.
68328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68329         file.
68330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68331         file.
68332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68333         New file.
68334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68335         file.
68336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68337         file.
68338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68340         file.
68341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68343         file.
68344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68346         file.
68347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68349         VIS3 routines.
68351         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68352         New file.
68354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68356         * sysdeps/sparc/configure.in: New file.
68357         * sysdeps/sparc/configure: Generate.
68358         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68359         * configure: Regenerate.
68360         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68361         * config.make.in (have-as-vis3): New.
68362         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68363         available use -Av9d instead of -Av9a.
68364         * sysdeps/sparc/sparc64/Makefile: Likewise.
68365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68367         New file.
68368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68369         file.
68370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68371         New file.
68372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68373         file.
68374         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68376         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68378         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68380         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68381         fzeros/fnegs to load 0x80000000 into a float register instead of
68382         using the stack.
68383         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68385 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68388         bits/syscall.h.
68389         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68390         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68391         ($(inst_includedir)/bits/syscall.h): Remove rule.
68392         ($(objpfx)bits/syscall.d): Include instead of
68393         $(objpfx)syscall-list.d.
68394         (generated): Change syscall-list.h and syscall-list.d to
68395         bits/syscall.h and bits/syscall.d.
68397 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68399         [BZ #13846]
68400         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68402 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68404         [BZ #13841]
68405         * math/s_csqrt.c: Include <float.h>.
68406         (__csqrt): Scale large or subnormal inputs.
68407         * math/s_csqrtf.c: Likewise.
68408         * math/s_csqrtl.c: Likewise.
68409         * math/libm-test.inc (csqrt_test): Add more tests.
68410         * sysdeps/i386/fpu/libm-test-ulps: Update.
68411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68413         [BZ #13840]
68414         * math/libm-test.inc (hypot_test): Add more tests.
68416 2012-03-13  David S. Miller  <davem@davemloft.net>
68418         [BZ #13840]
68419         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68420         double-precision for the calculation instead of scaling.
68422 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68424         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68425         manipulate bits before adding and subtracting TWO52[sx].
68426         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68427         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68428         Likewise.
68429         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68431 2012-03-13  David S. Miller  <davem@davemloft.net>
68433         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68434         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68436         rtld-global-offsets.h
68437         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68439         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68440         large parameters.
68442         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68444         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68445         'err' in the ifdef scope in which it is actually used.
68447         * nss/nss_db/db-init.c: Include string.h
68449 2012-03-12  David S. Miller  <davem@davemloft.net>
68451         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68452         masking out of the most significant byte of random value used.
68453         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68454         Fix coding style in previous change.
68456         * sysdeps/unix/sysv/linux/kernel-features.h
68457         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68458         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68459         expression.
68460         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68461         later.
68463 2012-03-11  David S. Miller  <davem@davemloft.net>
68465         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68466         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68467         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68468         for 'resultvar' otherwise things get truncated on 64-bit.
68470         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68471         Fix masking out of the most significant byte of random value used.
68473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68475 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68479 2012-03-09  David S. Miller  <davem@davemloft.net>
68481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68482         variables with appropriate CPP guards.
68483         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68484         from the frame pointer, not the stack pointer.  Correct layout
68485         comments.  Fix test on resulting framesize and the management of
68486         the outregs buffer for pltexit.  Preserve floating point return
68487         values across _dl_call_pltexit call.
68488         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68489         framesize and the management of the outregs buffer for pltexit.
68490         Preserve floating point return values across _dl_call_pltexit
68491         call.
68492         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68493         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68494         (la_sparc64_gnu_pltexit): New functions.
68495         (print_exit): Fix format string for return register value.
68497 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68499         * sunrpc/Makefile (others): Add rpcgen.
68500         ($(objpfx)rpcgen): Remove special build rule and dependency on
68501         libc.
68502         * sunrpc/rpcgen.c: New file.
68504 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68506         [BZ #13673]
68507         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68508         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68509         * sysdeps/i386/crti.S: Likewise.
68510         * sysdeps/i386/crtn.S: Likewise.
68511         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68512         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68513         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68514         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68515         * sysdeps/sh/crti.S: Likewise.
68516         * sysdeps/sh/crtn.S: Likewise.
68517         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68519         [BZ #13673]
68520         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68521         with URL.
68522         * locale/programs/locfile-kw.gperf: Likewise.
68523         * locale/programs/charmap-kw.h: Regenerated.
68524         * locale/programs/locfile-kw.h: Likewise.
68526         [BZ #13673]
68527         * intl/plural.y: Replace FSF snail mail address with URL.
68528         * intl/plural.c: Regenerated.
68530 2012-03-09  Richard Henderson  <rth@twiddle.net>
68532         * include/math_private.h: Remove file.
68533         * math/math_private.h: Move file ...
68534         * sysdeps/generic/math_private.h: ... here.
68536         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68537         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68538         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68540         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68541         and <math_private.h>.
68542         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68543         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68544         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68545         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68546         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68547         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68548         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68550         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68551         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68553         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68554         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68555         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68556         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68557         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68558         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68559         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68560         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68561         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68563         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68564         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68565         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68566         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68567         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68568         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68569         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68570         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68571         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68572         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68574         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68575         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68576         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68577         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68578         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68579         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68580         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68581         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68582         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68583         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68584         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68585         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68586         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68587         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68588         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68589         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68590         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68591         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68592         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68593         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68594         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68595         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68596         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68597         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68598         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68599         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68600         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68601         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68603         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68604         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68605         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68606         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68607         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68608         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68609         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68610         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68611         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68612         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68613         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68614         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68615         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68616         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68617         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68618         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68620         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68621         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68622         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68623         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68625         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68626         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68628         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68629         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68630         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68631         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68632         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68633         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68634         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68635         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68636         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68637         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68638         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68639         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68640         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68641         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68642         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68643         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68644         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68645         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68646         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68647         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68648         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68649         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68650         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68651         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68652         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68653         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68654         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68655         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68656         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68657         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68658         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68659         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68660         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68661         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68662         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68663         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68664         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68665         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68666         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68667         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68668         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68669         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68670         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68671         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68672         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68673         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68674         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68675         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68676         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68677         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68678         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68679         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68680         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68681         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68682         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68683         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68684         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68685         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68686         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68687         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68688         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68689         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68690         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68691         * sysdeps/ieee754/k_standard.c: Likewise.
68692         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68693         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68694         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68695         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68696         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68697         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68698         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68699         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68700         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68701         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68703         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68704         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68705         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68706         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68707         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68708         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68709         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68710         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68711         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68712         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68713         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68714         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68715         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68716         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68717         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68718         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68719         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68720         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68721         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68722         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68723         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68724         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68725         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68726         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68727         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68728         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68729         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68730         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68731         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68732         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68733         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68734         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68735         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68736         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68737         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68738         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68739         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68740         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68743         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68744         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68747         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68748         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68749         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68750         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68751         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68752         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68753         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68754         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68756         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68757         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68758         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68759         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68760         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68761         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68762         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68764         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68765         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68766         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68767         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68768         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68769         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68770         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68771         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68772         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68773         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68774         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68775         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68777         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68778         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68779         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68780         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68781         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68782         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68783         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68784         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68785         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68786         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68787         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68788         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68789         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68790         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68791         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68793         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68795         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68796         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68799         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68800         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68801         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68802         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68803         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68804         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68805         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68806         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68807         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68808         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68809         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68810         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68811         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68812         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68813         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68814         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68815         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68816         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68817         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68818         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68819         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68820         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68821         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68822         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68823         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68824         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68825         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68826         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68827         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68828         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68829         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68830         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68831         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68832         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68833         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68834         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68835         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68836         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68837         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68838         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68839         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68840         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68841         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68842         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68843         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68844         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68845         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68846         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68847         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68848         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68849         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68850         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68851         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68852         * sysdeps/ieee754/s_lib_version.c: Likewise.
68853         * sysdeps/ieee754/s_matherr.c: Likewise.
68854         * sysdeps/ieee754/s_signgam.c: Likewise.
68855         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68856         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68857         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68858         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68859         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68860         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68861         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68862         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68863         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68864         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68865         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68866         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68867         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68868         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68869         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68870         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68871         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68872         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68873         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68874         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68875         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68877 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68879         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68880         * sunrpc/rpc_main.c: Likewise.
68881         * sunrpc/rpc_svcout.c: Likewise.
68883 2012-03-09  David S. Miller  <davem@davemloft.net>
68885         * include/math_private.h: New file.
68887 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68889         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68890         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68891         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68892         from <bits/socket_type.h>.
68893         (enum __socket_type): Don't define here.
68894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68896         bits/socket_type.h.
68898         [BZ #13566]
68899         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68900         checking __USE_GNU.
68902         * Makerules ($(inst_includedir)/%.h): New rule.
68903         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68904         (install-others): Remove variable setting.
68905         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68907 2012-03-08  Richard Henderson  <rth@twiddle.net>
68909         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68910         from macro to inline function; merge with the
68911         !__LIBC_INTERNAL_MATH_INLINES version.
68912         (__ieee754_sqrtf): Likewise.
68914         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68915         to inline function.
68916         (__rintf, __floor, __floorf): Likewise.
68918         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68919         macro to inline function.
68920         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68922         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68923         not <math/math_private.h>.
68925 2012-03-08  David S. Miller  <davem@davemloft.net>
68927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68928         copyright year.
68929         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68931 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68933         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68934         normalization.
68935         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68936         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68938 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68940         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68941         be defined individually, they must be defined as a block.  Define
68942         S for printing a string instead of hidint the different by using a
68943         macro for adding the 'l'.
68944         * stdio-common/tst-fphex-wide.c: Adjust.
68946 2012-03-07  Marek Polacek  <polacek@redhat.com>
68948         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68950 2012-03-08  Marek Polacek  <polacek@redhat.com>
68952         [BZ #13806]
68953         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68954         * stdio-common/tst-fphex.c: Define a few macros to make the
68955         test reusable.  Use them.
68956         * stdio-common/tst-fphex-wide.c: New file.
68958 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68960         [BZ #6911]
68961         * manual/macros.texi (gnusystems): New macro.
68962         (nongnusystems): Likewise.
68963         (gnulinuxhurdsystems): Likewise.
68964         (gnuhurdsystems): Likewise..
68965         (gnulinuxsystems): Likewise.
68966         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68967         variants of the GNU system, not "GNU system".
68968         * manual/conf.texi: Likewise.
68969         * manual/errno.texi: Likewise.  Update example of errno macro
68970         expansion.
68971         * manual/filesys.texi: Likewise.
68972         (getumask): Document as specific to GNU/Hurd.
68973         * manual/install.texi: Likewise.  Reword some references to
68974         GNU/Linux.
68975         * manual/intro.texi: Likewise.
68976         * manual/io.texi: Likewise.
68977         (File Name Portability): Detail which constraints are inapplicable
68978         to all GNU systems and which are only inapplicable to GNU/Hurd.
68979         * manual/job.texi: Likewise.
68980         * manual/llio.texi: Likewise.
68981         (O_NOCTTY): Document as present on GNU/Linux.
68982         * manual/maint.texi: Likewise.
68983         * manual/memory.texi: Likewise.
68984         * manual/pattern.texi: Likewise.
68985         * manual/pipe.texi: Likewise.
68986         * manual/process.texi: Likewise.
68987         * manual/resource.texi: Likewise.
68988         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68989         child on GNU/Hurd.
68990         * manual/setjmp.texi: Likewise.
68991         * manual/signal.texi: Likewise.
68992         * manual/startup.texi: Likewise.
68993         * manual/stdio.texi: Likewise.
68994         * manual/terminal.texi: Likewise.
68995         (ONLCR): Document as POSIX.
68996         (OXTABS): Document availability on GNU/Linux as XTABS.
68997         (ONOEOT): Document availability separately from other bits.
68998         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68999         * manual/time.texi: Likewise.
69000         * manual/users.texi: Likewise.
69001         * INSTALL: Regenerated.
69002         * sysdeps/gnu/errlist.c: Regenerated.
69004         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69005         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69006         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69007         puts.
69008         * configure: Regenerated.
69010 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69012         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69013         default includes instead of AC_HEADER_CHECK.
69014         * sysdeps/i386/configure: Regenerated.
69016         [BZ #10716]
69017         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69018         * math/s_cacoshf.c (__cacoshf): Likewise.
69019         * math/s_cacoshl.c (__cacoshl): Likewise.
69020         * math/s_casinh.c (__casinh): Set signs of result from argument.
69021         * math/s_casinhf.c (__casinhf): Likewise.
69022         * math/s_casinhl.c (__casinhl): Likewise.
69023         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69024         (casinh_test): Add more tests.
69025         * sysdeps/i386/fpu/libm-test-ulps: Update.
69026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69028 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69030         * po/zh_TW.po: Update from translation team.
69032         * login/Makefile (distribute): Remove variable.
69033         * catgets/Makefile: Likewise.
69034         * mach/Makefile: Likewise.
69035         * malloc/Makefile: Likewise.
69036         * misc/Makefile: Likewise.
69037         * iconv/Makefile: Likewise.
69038         * nscd/Makefile: Likewise.
69039         * hurd/Makefile: Likewise.
69040         * manual/Makefile: Likewise.
69041         * locale/Makefile: Likewise.
69042         * intl/Makefile: Likewise.
69043         * conform/Makefile: Likewise.
69044         * nss/Makefile: Likewise.
69045         * time/Makefile: Likewise.
69046         * soft-fp/Makefile: Likewise.
69047         * dirent/Makefile: Likewise.
69048         * gmon/Makefile: Likewise.
69049         * po/Makefile: Likewise.
69050         * rt/Makefile: Likewise.
69051         * socket/Makefile: Likewise.
69052         * math/Makefile: Likewise.
69053         * signal/Makefile: Likewise.
69054         * debug/Makefile: Likewise.
69055         * elf/Makefile: Likewise.
69056         * timezone/Makefile: Likewise.
69057         * stdlib/Makefile: Likewise.
69058         * iconvdata/Makefile: Likewise.
69059         * sunrpc/Makefile: Likewise.
69060         * io/Makefile: Likewise.
69061         * argp/Makefile: Likewise.
69062         * inet/Makefile: Likewise.
69063         * hesiod/Makefile: Likewise.
69064         * grp/Makefile: Likewise.
69065         * csu/Makefile: Likewise.
69066         * wctype/Makefile: Likewise.
69067         * crypt/Makefile: Likewise.
69068         * libio/Makefile: Likewise.
69069         * string/Makefile: Likewise.
69070         * nis/Makefile: Likewise.
69071         * resolv/Makefile: Likewise.
69072         * stdio-common/Makefile: Likewise.
69073         * wcsmbs/Makefile: Likewise.
69074         * dlfcn/Makefile: Likewise.
69075         * posix/Makefile: Likewise.
69077         [BZ #6959]
69078         * timezone/Makefile: Don't install timezone files, just the programs
69079         and scripts.
69081 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69083         * nss/databases.def: Add missing gshadow entry.
69085         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69087 2012-03-06  Marek Polacek  <polacek@redhat.com>
69089         [BZ #13726]
69090         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69091         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69092         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69093         * stdio-common/tst-long-dbl-fphex.c: New file.
69095 2012-03-06  David S. Miller  <davem@davemloft.net>
69097         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69098         (set_obp_int): New function.
69099         (get_obp_int): New function.
69100         (__get_clockfreq_via_dev_openprom): Likewise.
69101         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69102         Avoid unused variable warnings on 'val' and use builtin_expect.
69103         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69104         __builtin_expect.
69105         (INLINE_CLONE_SYSCALL): Likewise.
69107 2012-03-05  David S. Miller  <davem@davemloft.net>
69109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69111 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69115         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69116         only for |x| >= 40.
69117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69119 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69121         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69122         Replace gettimeofday with __vdso_gettimeofday.
69124         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69125         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69126         __vdso_clock_gettime and __vdso_getcpu.
69128         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69129         time with __vdso_time.
69131 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69133         * manual/lang.texi (size_t): Note types to which size_t may be
69134         equivalent with the GNU C Library, but do not describe when
69135         differences between them are significant.
69137 2012-03-05  Andreas Jaeger  <aj@suse.de>
69139         * sysdeps/i386/fpu/libm-test-ulps: Update.
69141 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69143         [BZ #3976]
69144         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69145         (__ieee754_pow): Save and restore rounding mode and use
69146         round-to-nearest for main computations.
69147         * math/libm-test.inc (pow_test_tonearest): New function.
69148         (pow_test_towardzero): Likewise.
69149         (pow_test_downward): Likewise.
69150         (pow_test_upward): Likewise.
69151         (main): Call the new functions.
69152         * sysdeps/i386/fpu/libm-test-ulps: Update.
69153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69155         [BZ #3976]
69156         * math/libm-test.inc (cosh_test_tonearest): New function.
69157         (cosh_test_towardzero): Likewise.
69158         (cosh_test_downward): Likewise.
69159         (cosh_test_upward): Likewise.
69160         (sinh_test_tonearest): Likewise.
69161         (sinh_test_towardzero): Likewise.
69162         (sinh_test_downward): Likewise.
69163         (sinh_test_upward): Likewise.
69164         (main): Call the new functions.
69165         * sysdeps/i386/fpu/libm-test-ulps: Update.
69166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69168 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69170         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69171         default stack guard is set in last bytes.
69172         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69174 2012-03-05  Kees Cook  <keescook@chromium.org>
69176         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69178         [BZ #13656]
69179         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69180         possibly allocate from heap instead of stack.
69181         * stdio-common/bug-vfprintf-nargs.c: New file.
69182         * stdio-common/Makefile (tests): Add nargs overflow test.
69184 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69188 2012-03-03  Marek Polacek  <polacek@redhat.com>
69190         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69191         * math/math_private.h: Likewise.
69192         * stdlib/tst-strtod.c: Likewise.
69193         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69194         * sysdeps/x86_64/bits/atomic.h: Likewise.
69196 2012-03-02  David S. Miller  <davem@davemloft.net>
69198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69202         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69203         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69204         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69205         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69207 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69209         [BZ #13792]
69210         * manual/examples/README: New file, says the example source files
69211         can be used under GPL>=2.
69212         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69213         line containing just "*/".
69214         * manual/examples/add.c: Add copyright header (GPL>=2).
69215         * manual/examples/argp-ex1.c: Likewise.
69216         * manual/examples/argp-ex2.c: Likewise.
69217         * manual/examples/argp-ex3.c: Likewise.
69218         * manual/examples/argp-ex4.c: Likewise.
69219         * manual/examples/atexit.c: Likewise.
69220         * manual/examples/db.c: Likewise.
69221         * manual/examples/dir.c: Likewise.
69222         * manual/examples/dir2.c: Likewise.
69223         * manual/examples/execinfo.c: Likewise.
69224         * manual/examples/filecli.c: Likewise.
69225         * manual/examples/filesrv.c: Likewise.
69226         * manual/examples/fmtmsgexpl.c: Likewise.
69227         * manual/examples/genpass.c: Likewise.
69228         * manual/examples/inetcli.c: Likewise.
69229         * manual/examples/inetsrv.c: Likewise.
69230         * manual/examples/isockad.c: Likewise.
69231         * manual/examples/longopt.c: Likewise.
69232         * manual/examples/memopen.c: Likewise.
69233         * manual/examples/memstrm.c: Likewise.
69234         * manual/examples/mkfsock.c: Likewise.
69235         * manual/examples/mkisock.c: Likewise.
69236         * manual/examples/mygetpass.c: Likewise.
69237         * manual/examples/pipe.c: Likewise.
69238         * manual/examples/popen.c: Likewise.
69239         * manual/examples/rprintf.c: Likewise.
69240         * manual/examples/search.c: Likewise.
69241         * manual/examples/select.c: Likewise.
69242         * manual/examples/setjmp.c: Likewise.
69243         * manual/examples/sigh1.c: Likewise.
69244         * manual/examples/sigusr.c: Likewise.
69245         * manual/examples/stpcpy.c: Likewise.
69246         * manual/examples/strdupa.c: Likewise.
69247         * manual/examples/strftim.c: Likewise.
69248         * manual/examples/strncat.c: Likewise.
69249         * manual/examples/subopt.c: Likewise.
69250         * manual/examples/swapcontext.c: Likewise.
69251         * manual/examples/termios.c: Likewise.
69252         * manual/examples/testopt.c: Likewise.
69253         * manual/examples/testpass.c: Likewise.
69254         * manual/examples/timeval_subtract.c: Likewise.
69256         [BZ #13792]
69257         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69258         function to ...
69259         * manual/timeval_subtract.c.texi: ... here, new file.
69261 2012-03-02  David S. Miller  <davem@davemloft.net>
69263         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69265 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69267         [BZ #3976]
69268         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69269         (__sin): Save and restore rounding mode and use round-to-nearest
69270         for all computations.
69271         (__cos): Save and restore rounding mode and use round-to-nearest
69272         for all computations.
69273         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69274         <fenv.h>.
69275         (tan): Save and restore rounding mode and use round-to-nearest for
69276         all computations.
69277         * math/libm-test.inc (cos_test_tonearest): New function.
69278         (cos_test_towardzero): Likewise.
69279         (cos_test_downward): Likewise.
69280         (cos_test_upward): Likewise.
69281         (sin_test_tonearest): Likewise.
69282         (sin_test_towardzero): Likewise.
69283         (sin_test_downward): Likewise.
69284         (sin_test_upward): Likewise.
69285         (tan_test_tonearest): Likewise.
69286         (tan_test_towardzero): Likewise.
69287         (tan_test_downward): Likewise.
69288         (tan_test_upward): Likewise.
69289         (main): Call the new functions.
69290         * sysdeps/i386/fpu/libm-test-ulps: Update.
69291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69293         [BZ #10135]
69294         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69295         small n, then large n, before computing and testing k+n.
69296         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69298         Likewise.
69299         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69300         Likewise.
69301         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69302         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69303         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69304         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69305         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69306         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69307         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69308         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69309         * math/libm-test.inc (scalbn_test): Add more tests.
69310         (scalbln_test): Likewise.
69312         * manual/filesys.texi (mode_t): Describe constraints on size and
69313         signedness, not exact equivalence to a particular type.
69314         (ino_t): Likewise.
69315         (ino64_t): Likewise.
69316         (dev_t): Likewise.
69317         (nlink_t): Likewise.
69318         (blkcnt_t): Likewise.
69319         (blkcnt64_t): Likewise.
69320         * manual/llio.texi (off_t): Likewise.
69322         [BZ #3976]
69323         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69324         (__ieee754_exp): Save and restore rounding mode and use
69325         round-to-nearest for all computations.
69326         * math/libm-test.inc (exp_test_tonearest): New function.
69327         (exp_test_towardzero): Likewise.
69328         (exp_test_downward): Likewise.
69329         (exp_test_upward): Likewise.
69330         (main): Call the new functions.
69331         * sysdeps/i386/fpu/libm-test-ulps: Update.
69332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69334 2012-03-01  Chris Demetriou  <cgd@google.com>
69336         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69337         have predictable order.
69339 2012-03-01  David S. Miller  <davem@davemloft.net>
69341         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69343         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69344         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69345         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69346         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69348         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69349         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69350         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69352         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69353         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69354         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69355         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69356         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69360         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69361         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69362         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69364         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69365         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69366         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69367         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69368         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69369         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69370         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69371         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69372         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69373         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69374         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69375         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69376         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69377         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69378         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69380         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69381         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69382         * sysdeps/sparc/elf/configure: Regenerated.
69384 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69386         * configure.in (AS, LD): Require binutils 2.20 or later.
69387         * configure: Regenerated.
69388         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69389         as required minimum version.
69390         * INSTALL: Regenerated.
69392         [BZ #2541]
69393         [BZ #4108]
69394         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69395         before squaring exponent.
69396         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69397         bottom long double and 27 bits of top long double before squaring
69398         exponent.
69399         * math/libm-test.inc (erfc_test): Add more tests.
69400         * sysdeps/i386/fpu/libm-test-ulps: Update.
69401         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69404 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69406         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69407         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69408         containing bit-fields.
69409         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69410         * soft-fp/single.h (_FP_UNION_S): Likewise.
69411         * soft-fp/double.h (_FP_UNION_D): Likewise.
69413 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69415         [BZ #13786]
69416         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69417         not include ../strcmp.S.
69418         [USE_AS_STRNCASECMP_L]: Likewise.
69419         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69420         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69421         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69422         (__strncasecmp_l_ia32): Define as alias to
69423         __strncasecmp_l_nonascii.
69425         [BZ #5794]
69426         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69427         * sysdeps/i386/fpu/libm-test-ulps: Update.
69428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69430         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69433 2012-02-29  Jeff Law  <law@redhat.com>
69435         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69436         out of bounds read.
69438 2012-02-29  Marek Polacek  <polacek@redhat.com>
69440         [BZ #13706]
69441         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69442         * elf/Makefile: Add rules to run tst-unused-dep.out.
69444 2012-02-28  David S. Miller  <davem@davemloft.net>
69446         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69447         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69448         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69449         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69450         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69451         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69453 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69455         * math/libm-test.inc (llround_test): Move one test from
69456         lround_test.  Use TEST_f_L in moved test.
69457         (lround_test): Move misplaced test to llround_test.  Add testcase
69458         from bug 2561.
69460 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69462         * sysdeps/x86_64/fpu/e_expf.S: New file.
69463         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69465 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69467         [BZ #13637]
69468         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69469         of remain_len that may cause incomplete multi-byte character and
69470         false match.
69471         * posix/bug-regex33.c: New file.
69472         * posix/Makefile (tests): Add bug-regex33.
69474 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69476         * manual/macros.texi: New file.
69477         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69478         * manual/libc.texinfo: Include macros.texi.
69479         * manual/creatute.texi: Likewise.
69480         * manual/install.texi: Likewise.
69481         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69482         @glibcadj{} in references to the GNU C Library.
69483         * manual/charset.texi: Likewise.
69484         * manual/conf.texi: Likewise.
69485         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69486         when not using those macros.
69487         * manual/creature.texi: Likewise.
69488         * manual/crypt.texi: Likewise.
69489         * manual/errno.texi: Likewise.
69490         * manual/filesys.texi: Likewise.
69491         * manual/header.texi: Likewise.
69492         * manual/install.texi: Likewise.
69493         * manual/intro.texi: Likewise.
69494         * manual/io.texi: Likewise.
69495         * manual/job.texi: Likewise.
69496         * manual/lang.texi: Likewise.
69497         * manual/libc.texiinfo: Likewise.
69498         * manual/llio.texi: Likewise.
69499         * manual/locale.texi: Likewise.
69500         * manual/maint.texi: Likewise.
69501         * manual/math.texi: Likewise.
69502         * manual/memory.texi: Likewise.
69503         * manual/message.texi: Likewise.
69504         * manual/nss.texi: Likewise.
69505         * manual/pattern.texi: Likewise.
69506         * manual/process.texi: Likewise.
69507         * manual/resource.texi: Likewise.
69508         * manual/search.texi: Likewise.
69509         * manual/setjmp.texi: Likewise.
69510         * manual/signal.texi: Likewise.
69511         * manual/socket.texi: Likewise.
69512         * manual/startup.texi: Likewise.
69513         * manual/stdio.texi: Likewise.
69514         * manual/string.texi: Likewise.
69515         * manual/sysinfo.texi: Likewise.
69516         * manual/syslog.texi: Likewise.
69517         * manual/terminal.texi: Likewise.
69518         * manual/time.texi: Likewise.
69519         * manual/users.texi: Likewise.
69520         * INSTALL: Regenerated.
69521         * NOTES: Regenerated.
69522         * sysdeps/gnu/errlist.c: Regenerated.
69524 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69526         * include/dirent.h: Include <dirstream.h> before
69527         <dirent/dirent.h>.
69529 2012-02-28  David S. Miller  <davem@davemloft.net>
69531         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69532         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69533         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69534         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69536 2012-02-27  David S. Miller  <davem@davemloft.net>
69538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69540         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69541         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69544         frame pointer instead of stack pointer relative arg slot.
69545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69546         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69547         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69549 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69551         [BZ #3992]
69552         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69554 2012-02-27  David S. Miller  <davem@davemloft.net>
69556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69560         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69561         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69562         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69563         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69565 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69567         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69568         later.  Allow versions 5-9.
69569         * configure: Regenerated.
69570         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69571         required minimum version and 4.6 as recommended version.  Do not
69572         mention bugs in GCC 2.7 and 2.8.
69573         * INSTALL: Regenerated.
69575 2012-02-27  David S. Miller  <davem@davemloft.net>
69577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69583         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69584         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69586         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69587         manipulate bits before adding and subtracting TWO112[sx].
69588         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69590 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69592         [BZ #13775]
69593         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69594         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69595         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69596         being in POSIX, because they are in 1003.1-2008.
69598         * rt/tst-aio.c: Include <fcntl.h>.
69599         * rt/tst-aio7.c: Likewise.
69600         * rt/tst-aio64.c: Likewise.
69602         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69604 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69606         * manual/install.texi (--with-headers): Describe headers as
69607         interface headers, not private headers.
69608         (Specific advice for GNU/Linux systems): Describe use of headers
69609         from "make headers_install", not private headers from older
69610         kernels.
69611         * INSTALL: Regenerated.
69612         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69613         Change to 2.6.19.
69614         * sysdeps/unix/sysv/linux/configure: Regenerated.
69616         * manual/llio.texi (fclean): Remove documentation.
69618         * manual/Makefile (libc-texi-generated): New variable.  Include
69619         version.texi.
69620         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69621         $(libc-texi-generated), not duplicated list of files.
69622         (version.texi, stamp-version): New rules.
69623         (realclean): Remove $(libc-texi-generated), not individual files
69624         from that list.  Do not remove dir-add.texinfo.
69625         * manual/libc.texinfo: Comment out uses of edition numbers and
69626         references to printed manual.  Remove last-updated dates.
69627         (EDITION): Comment out.
69628         (ISBN): Likewise.
69629         (VERSION, UPDATED): Remove.
69630         (version.texi): Include.
69632 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69634         * sysdeps/posix/spawni.c: Include <signal.h>.
69635         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69636         * sysdeps/pthread/aio_fsync.c: Likewise.
69638 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69640         * conform/Makefile (tests): Run only when not cross-compiling and
69641         when fast-check is not defined.
69643         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69644         * conform/data/limits.h-data: Fixes for POSIX2008.
69645         * conform/run-conformtest.sh: Run all tests.
69646         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69647         headers.
69648         * include/bits/dlfcn.h: Likewise.
69649         * include/langinfo.h: Likewise.
69650         * include/monetary.h: Likewise.
69651         * include/sys/poll.h: Likewise.
69653         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69654         for __USE_GNU.
69655         * posix/spawn.h: Define __need_sigset_t.
69656         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69657         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69658         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69659         to get sigevent_t only.
69660         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69661         only for __USE_GNU.
69662         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69663         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69664         process_vm_writev only for __USE_GNU.
69665         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69667         * conform/Makefile: For now ignore errors from run-conformtest.
69668         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69669         POSIX to avoid namespace pollution.  Don't prepend headers.
69670         * conform/data/aio.h-data: Fixes for POSIX testing.
69671         * conform/data/fcntl.h-data: Likewise.
69672         * conform/data/glob.h-data: Likewise.
69673         * conform/data/grp.h-data: Likewise.
69674         * conform/data/pthread.h-data: Likewise.
69675         * conform/data/pwd.h-data: Likewise.
69676         * conform/data/signal.h-data: Likewise.
69677         * conform/data/spawn.h-data: Likewise.
69678         * conform/data/stdio.h-data: Likewise.
69679         * conform/data/stdlib.h-data: Likewise.
69680         * conform/data/stropts.h-data: Likewise.
69681         * conform/data/sys/mman.h-data: Likewise.
69682         * conform/data/sys/stat.h-data: Likewise.
69683         * conform/data/sys/types.h-data: Likewise.
69684         * conform/data/sys/wait.h-data: Likewise.
69685         * conform/data/time.h-data: Likewise.
69686         * conform/data/unistd.h-data: Likewise.
69687         * conform/data/utime.h-data: Likewise.
69689         * io/sys/stat.h: fchmod was always in POSIX.
69690         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69691         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69692         * rt/aio.h: Define __need_timespec before including <time.h>.
69693         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69694         struct.  Add forward declaration of pthread_attr_t and use it in
69695         sigevent.
69696         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69697         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69698         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69699         always remove CLK_TCK definition.
69701 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69703         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69705 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69707         * conform/run-conformtest.sh: New file.
69708         * conform/Makefile: Run run-conformtest for tests.
69709         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69710         support.
69712         * conform/data/uchar.h-data: New file.
69713         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69714         * conform/data/arpa/inet.h-data: Likewise.
69715         * conform/data/assert.h-data: Likewise.
69716         * conform/data/complex.h-data: Likewise.
69717         * conform/data/cpio.h-data: Likewise.
69718         * conform/data/ctype.h-data: Likewise.
69719         * conform/data/dirent.h-data: Likewise.
69720         * conform/data/dlfcn.h-data: Likewise.
69721         * conform/data/errno.h-data: Likewise.
69722         * conform/data/fcntl.h-data: Likewise.
69723         * conform/data/float.h-data: Likewise.
69724         * conform/data/fmtmsg.h-data: Likewise.
69725         * conform/data/fnmatch.h-data: Likewise.
69726         * conform/data/ftw.h-data: Likewise.
69727         * conform/data/glob.h-data: Likewise.
69728         * conform/data/grp.h-data: Likewise.
69729         * conform/data/iconv.h-data: Likewise.
69730         * conform/data/inttypes.h-data: Likewise.
69731         * conform/data/langinfo.h-data: Likewise.
69732         * conform/data/libgen.h-data: Likewise.
69733         * conform/data/limits.h-data: Likewise.
69734         * conform/data/locale.h-data: Likewise.
69735         * conform/data/math.h-data: Likewise.
69736         * conform/data/monetary.h-data: Likewise.
69737         * conform/data/mqueue.h-data: Likewise.
69738         * conform/data/ndbm.h-data: Likewise.
69739         * conform/data/net/if.h-data: Likewise.
69740         * conform/data/netdb.h-data: Likewise.
69741         * conform/data/netinet/in.h-data: Likewise.
69742         * conform/data/nl_types.h-data: Likewise.
69743         * conform/data/poll.h-data: Likewise.
69744         * conform/data/pthread.h-data: Likewise.
69745         * conform/data/pwd.h-data: Likewise.
69746         * conform/data/regex.h-data: Likewise.
69747         * conform/data/sched.h-data: Likewise.
69748         * conform/data/search.h-data: Likewise.
69749         * conform/data/semaphore.h-data: Likewise.
69750         * conform/data/setjmp.h-data: Likewise.
69751         * conform/data/signal.h-data: Likewise.
69752         * conform/data/spawn.h-data: Likewise.
69753         * conform/data/stdarg.h-data: Likewise.
69754         * conform/data/stdio.h-data: Likewise.
69755         * conform/data/stdlib.h-data: Likewise.
69756         * conform/data/string.h-data: Likewise.
69757         * conform/data/strings.h-data: Likewise.
69758         * conform/data/stropts.h-data: Likewise.
69759         * conform/data/sys/ipc.h-data: Likewise.
69760         * conform/data/sys/mman.h-data: Likewise.
69761         * conform/data/sys/msg.h-data: Likewise.
69762         * conform/data/sys/resource.h-data: Likewise.
69763         * conform/data/sys/select.h-data: Likewise.
69764         * conform/data/sys/sem.h-data: Likewise.
69765         * conform/data/sys/shm.h-data: Likewise.
69766         * conform/data/sys/socket.h-data: Likewise.
69767         * conform/data/sys/stat.h-data: Likewise.
69768         * conform/data/sys/statvfs.h-data: Likewise.
69769         * conform/data/sys/time.h-data: Likewise.
69770         * conform/data/sys/timeb.h-data: Likewise.
69771         * conform/data/sys/times.h-data: Likewise.
69772         * conform/data/sys/types.h-data: Likewise.
69773         * conform/data/sys/uio.h-data: Likewise.
69774         * conform/data/sys/un.h-data: Likewise.
69775         * conform/data/sys/utsname.h-data: Likewise.
69776         * conform/data/sys/wait.h-data: Likewise.
69777         * conform/data/syslog.h-data: Likewise.
69778         * conform/data/tar.h-data: Likewise.
69779         * conform/data/termios.h-data: Likewise.
69780         * conform/data/utime.h-data: Likewise.
69781         * conform/data/utmpx.h-data: Likewise.
69782         * conform/data/varargs.h-data: Likewise.
69783         * conform/data/wchar.h-data: Likewise.
69784         * conform/data/wctype.h-data: Likewise.
69785         * conform/data/wordexp.h-data: Likewise.
69787         * include/stropts.h: New file.
69788         * include/uchar.h: New file.
69789         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69790         * include/assert.h: Likewise.
69791         * include/ctype.h: Likewise.
69792         * include/dirent.h: Likewise.
69793         * include/dlfcn.h: Likewise.
69794         * include/fcntl.h: Likewise.
69795         * include/fnmatch.h: Likewise.
69796         * include/glob.h: Likewise.
69797         * include/grp.h: Likewise.
69798         * include/libio.h: Likewise.
69799         * include/locale.h: Likewise.
69800         * include/math.h: Likewise.
69801         * include/net/if.h: Likewise.
69802         * include/netdb.h: Likewise.
69803         * include/netinet/in.h: Likewise.
69804         * include/pthread.h: Likewise.
69805         * include/pwd.h: Likewise.
69806         * include/regex.h: Likewise.
69807         * include/sched.h: Likewise.
69808         * include/search.h: Likewise.
69809         * include/setjmp.h: Likewise.
69810         * include/signal.h: Likewise.
69811         * include/stdio.h: Likewise.
69812         * include/stdlib.h: Likewise.
69813         * include/string.h: Likewise.
69814         * include/sys/cdefs.h: Likewise.
69815         * include/sys/mman.h: Likewise.
69816         * include/sys/msg.h: Likewise.
69817         * include/sys/resource.h: Likewise.
69818         * include/sys/select.h: Likewise.
69819         * include/sys/socket.h: Likewise.
69820         * include/sys/stat.h: Likewise.
69821         * include/sys/statvfs.h: Likewise.
69822         * include/sys/time.h: Likewise.
69823         * include/sys/times.h: Likewise.
69824         * include/sys/uio.h: Likewise.
69825         * include/sys/utsname.h: Likewise.
69826         * include/sys/wait.h: Likewise.
69827         * include/termios.h: Likewise.
69828         * include/time.h: Likewise.
69829         * include/ulimit.h: Likewise.
69830         * include/unistd.h: Likewise.
69831         * include/utime.h: Likewise.
69832         * include/wchar.h: Likewise.
69833         * include/wctype.h: Likewise.
69834         * include/wordexp.h: Likewise.
69836         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69838         * time/time.h: TIME_UTC must be a macro.
69839         Make timespec_get available for ISO C11 only as well.
69841 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69843         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69844         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69846 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69848         * configure.in: Use -o not -a in test for unsupported multi-arch.
69850 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69852         * manual/texinfo.tex: Update to version 2012-01-19.16.
69854 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69856         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69858 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69860         [BZ #13738]
69861         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69862         * manual/fdl-1.3.texi: New file.
69863         * manual/fdl-1.1.texi: File removed.
69865         [BZ #13738]
69866         * manual/libc.texinfo (FDL_VERSION): New @set.
69867         Use it for mention of FDL in cover text.
69868         (Documentation License): Use it in @include file name.
69870 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69871             Roland McGrath  <roland@hack.frob.com>
69873         [BZ #5461]
69874         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69875         (not LONG_LONG_MAX and LONG_LONG_MIN.
69876         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69877         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69878         name.
69879         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69881 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69883         [BZ #2547]
69884         [BZ #11365]
69885         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69886         manipulate bits before adding and subtracting TWO23[sx].
69887         * math/libm-test.inc (nearbyint_test): Add more tests.
69889 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69891         [BZ #2548]
69892         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69893         bits before adding and subtracting TWO23[sx].
69894         * math/libm-test.inc (rint_test): Add more tests.
69895         (rint_test_tonearest): Likewise.
69896         (rint_test_towardzero): Likewise.
69897         (rint_test_downward): Likewise.
69898         (rint_test_upward: Likewise.
69900 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69902         [BZ #10110]
69903         * include/stdc-predef.h: New file.  Extracted from features.h.
69904         * include/features.h: Include stdc-predef.h.
69905         * Makefile (headers): Add stdc-predef.h.
69906         * CONFORMANCE (Compiler limitations): Update.
69908 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69910         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69912 2012-02-21  David S. Miller  <davem@davemloft.net>
69914         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69915         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69917 2012-02-20  David S. Miller  <davem@davemloft.net>
69919         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69920         using a normal save/restore sequence, rather than allocating a
69921         dummy stack frame just to store a frame pointer and restore.
69922         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69924 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69926         * manual/install.texi: Fix stray word in line-wrapped comment.
69928 2012-02-20  David S. Miller  <davem@davemloft.net>
69930         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69931         both binutils and gcc support GOTDATA.
69933         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69934         "rd %pc" in the PIC register setup sequences.
69936         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69937         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69938         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69939         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69940         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69943         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69945         (SYSCALL_ERROR_HANDLER): Likewise.
69946         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69947         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69949         (SYSCALL_ERROR_HANDLER): Likewise.
69951         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69952         (HAVE_GCC_GOTDATA): New.
69953         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69954         relocation support in both binutils and gcc.
69955         * sysdeps/sparc/elf/configure: Regenerate.
69957         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69958         * sysdeps/sparc/sparc32/elf/configure: Delete.
69959         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69960         * sysdeps/sparc/sparc64/elf/configure: Delete.
69961         * sysdeps/sparc/elf/configure.in: New file.
69962         * sysdeps/sparc/elf/configure: Generate.
69964         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69965         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69966         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69967         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69968         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69970 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69972         * manual/install.texi: Do not mention specific glibc version
69973         numbers.
69974         * manual/libc.texinfo (VERSION, UPDATED): Update.
69975         (@copying): Use @copyright{} and range of years.
69977 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69979         [BZ #13695]
69980         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69981         [crti.S not in sysdirs] (generated): Do not append.
69982         [crti.S not in sysdirs] (omit-deps): Likewise.
69983         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69984         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69985         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69986         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69987         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69988         Likewise.
69989         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69990         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69991         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69992         * csu/defs.awk: Remove file.
69993         * sysdeps/generic/initfini.c: Likewise.
69994         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69995         variable.
69996         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69997         Likewise.
69999 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70001         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70002         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70003         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70004         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70005         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70006         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70007         <bits/epoll.h>.
70008         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70009         (__EPOLL_PACKED): Define to empty if not defined by
70010         <bits/epoll.h>.
70011         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70012         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70013         bits/epoll.h.
70015 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70017         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70018         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70019         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70020         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70021         <bits/timerfd.h>.
70022         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70024         bits/timerfd.h.
70026 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70028         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70029         in C locale.
70030         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70031         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70032         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70035 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70037         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70038         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70040 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70042         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70043         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70044         defined.
70045         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70046         Likewise.
70047         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70048         entry for 2.16.
70050 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70052         * math/w_acos.c: Use non-signaling floating-point comparisons.
70053         * math/w_acosf.c: Likewise.
70054         * math/w_acosh.c: Likewise.
70055         * math/w_acoshf.c: Likewise.
70056         * math/w_acoshl.c: Likewise.
70057         * math/w_acosl.c: Likewise.
70058         * math/w_asin.c: Likewise.
70059         * math/w_asinf.c: Likewise.
70060         * math/w_asinl.c: Likewise.
70061         * math/w_atanh.c: Likewise.
70062         * math/w_atanhf.c: Likewise.
70063         * math/w_atanhl.c: Likewise.
70064         * math/w_exp2.c: Likewise.
70065         * math/w_exp2f.c: Likewise.
70066         * math/w_exp2l.c: Likewise.
70067         * math/w_j0.c: Likewise.
70068         * math/w_j0f.c: Likewise.
70069         * math/w_j0l.c: Likewise.
70070         * math/w_j1.c: Likewise.
70071         * math/w_j1f.c: Likewise.
70072         * math/w_j1l.c: Likewise.
70073         * math/w_jn.c: Likewise.
70074         * math/w_jnf.c: Likewise.
70075         * math/w_log.c: Likewise.
70076         * math/w_log10.c: Likewise.
70077         * math/w_log10f.c: Likewise.
70078         * math/w_log10l.c: Likewise.
70079         * math/w_log2.c: Likewise.
70080         * math/w_log2f.c: Likewise.
70081         * math/w_log2l.c: Likewise.
70082         * math/w_logf.c: Likewise.
70083         * math/w_logl.c: Likewise.
70084         * math/w_sqrt.c: Likewise.
70085         * math/w_sqrtf.c: Likewise.
70086         * math/w_sqrtl.c: Likewise.
70087         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70088         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70089         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70090         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70091         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70093 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70095         [BZ #9739]
70096         * manual/string.texi (strnlen): Use correct parameter name in
70097         equivalent expression.
70099 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70101         [BZ #11174]
70102         * manual/users.texi (seteuid): Consistently use neweuid for
70103         argument name.
70105 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70107         [BZ #13704]
70108         * manual/nss.texi (Services in the NSS configuration): Correct
70109         list of services in example configuration file.
70111 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70113         [BZ #11322]
70114         * manual/arith.texi: Remove statements about negative zero
70115         behaving identically to zero.
70117 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70119         [BZ #5993]
70120         * manual/install.texi: Do not document upgrading from libc5.
70122 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70124         [BZ #4596]
70125         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70127 2012-02-18  David S. Miller  <davem@davemloft.net>
70129         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70130         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70131         %o7 across the call.
70132         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70133         instead.
70134         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70135         SETUP_PIC_REG_LEAF.
70136         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70137         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70138         * sysdeps/sparc/crtn.S: Likewise.
70140 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70142         * aout/Makefile: Remove.
70144 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70146         [BZ #13058]
70147         * manual/examples/argp-ex1.c (main): Format definition in GNU
70148         style.
70149         * manual/examples/argp-ex2.c (main): Likewise.
70150         * manual/examples/argp-ex3.c (main): Likewise.
70151         * manual/examples/argp-ex4.c (main): Likewise.
70152         * manual/examples/longopt.c (main): Use new-style prototype
70153         definition.
70154         * manual/examples/strncat.c (main): Specify return type and use
70155         (void) for arguments.
70156         * manual/examples/subopt.c (main): Use char **argv argument.
70158 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70160         [BZ #5077]
70161         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70162         rounding modes.
70164 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70166         [BZ #6907]
70167         * manual/string.texi (strchr): Change when strchrnul is
70168         recommended.
70170 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70172         [BZ #174]
70173         * manual/locale.texi (setlocale): Document LOCPATH.
70175 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70177         [BZ #10210]
70178         * manual/process.texi (execle): Move @dots{} before last argument.
70180 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70182         [BZ #12047]
70183         * manual/charset.texi (Generic Charset Conversion): Fix typo
70184         (LC_TYPE -> LC_CTYPE).
70186 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70188         [BZ #5805]
70189         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70190         (scalbnf): Likewise.
70191         (scalbnl): Likewise.
70192         (scalbln): Likewise.
70193         (scalblnf): Likewise.
70194         (scalblnl): Likewise.
70195         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70196         (vwarnx): Likewise.
70197         (verr): Likewise.
70198         (verrx): Likewise.
70199         * manual/filesys.texi (telldir): Use braces around return type.
70200         * manual/llio.texi (mmap): Add space after comma.
70201         (mmap64): Likewise.
70202         * manual/math.texi (jn): Use @var{} on parameter names.
70203         (jnf): Likewise.
70204         (jnl): Likewise.
70205         (yn): Likewise.
70206         (ynf): Likewise.
70207         (ynl): Likewise.
70208         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70209         line.
70210         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70211         "...".
70212         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70213         (sched_get_priority_max): Likewise.
70214         * manual/signal.texi (sigvec): Add space after comma.
70215         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70216         names.
70217         (if_indextoname): Likewise.
70218         (if_freenameindex): Likewise.
70219         (sendto): Use ',' instead of '.' in prototype.
70220         * manual/startup.texi (syscall): Use @dots{} instead of literal
70221         "...".
70222         * manual/stdio.texi (__fpending): Separate initial words of
70223         paragraph from @deftypefun line.
70224         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70225         "...".
70226         (vsyslog): Use @var{} on parameter names.
70227         * manual/terminal.texi (stty): Use @var{} on parameter names.
70228         * manual/users.texi (getutmp): Use @var{} on parameter names.
70229         (getutmpx): Likewise.
70231 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70233         [BZ #6884]
70234         * manual/stdio.texi (fopen): Fix typos in description of
70235         ",ccs=STRING".
70237 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70239         [BZ #4026]
70240         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70241         get clock_id definition.
70243 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70245         [BZ #4822]
70246         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70247         (madvise): Cast every argument to void on its own.
70249 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70251         [BZ #9902]
70252         * manual/startup.texi (Exit Status): Fix typo.
70254 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70256         [BZ #10140]
70257         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70258         * manual/examples/argp-ex2.c: Likewise.
70259         * manual/examples/argp-ex3.c: Likewise.
70261 2012-02-16  Richard Henderson  <rth@redhat.com>
70263         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70264         * sysdeps/s390/s390-32/initfini.c: Remove.
70265         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70266         * sysdeps/s390/s390-64/initfini.c: Remove.
70268 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70270         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70271         compiler output for sysdeps/generic/initfini.c.
70272         * sysdeps/sh/elf/initfini.c: Remove file.
70274 2012-02-16  David S. Miller  <davem@davemloft.net>
70276         [BZ #11494]
70277         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70279         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70280         * sysdeps/sparc/crti.S: New file.
70281         * sysdeps/sparc/crtn.S: New file.
70282         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70283         * sysdeps/sparc/sparc64/Makefile: Likewise.
70285 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70287         [BZ #3335]
70288         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70290 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70292         [BZ #4822]
70293         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70295         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70296         (write, read, close): Likewise.
70297         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70299 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70301         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70302         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70303         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70304         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70305         <bits/signalfd.h>.
70306         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70308         bits/signalfd.h.
70310 2012-02-14  Marek Polacek  <polacek@redhat.com>
70312         * sysdeps/x86_64/crti.S: New file.
70313         * sysdeps/x86_64/crtn.S: New file.
70314         * sysdeps/x86_64/elf/initfini.c: Remove file.
70316 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70318         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70319         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70320         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70321         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70322         <bits/inotify.h>.
70323         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70324         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70325         bits/inotify.h.
70327 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70329         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70330         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70331         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70332         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70333         <bits/eventfd.h>.
70334         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70336         bits/eventfd.h.
70338 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70340         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70341         __feraiseexcept instead of feraiseexcept.
70343         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70344         nanosleep invocations.
70345         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70346         strings, and add error checking for a nanosleep invocations.
70348 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70350         Replace FSF snail mail address with URLs, as per GNU coding standards.
70351         Most of the snail mail addresses were wrong anyway, and omitting
70352         them makes the source code easier to maintain.  Almost all of the
70353         changes are to license notices and to locale LC_IDENTIFICATION
70354         addresses, except for this one:
70355         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70356         not its snail mail address.
70358 2012-02-09  Richard Henderson  <rth@twiddle.net>
70360         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70361         of kernel-features.h.
70363         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70365 2012-02-08  Marek Polacek  <polacek@redhat.com>
70367         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70368         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70369         * sysdeps/gnu/_G_config.h: Likewise.
70370         * sysdeps/generic/_G_config.h: Likewise.
70372 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70374         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70375         tests.
70376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70378         * sysdeps/powerpc/powerpc32/crti.S: New file.
70379         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70380         * sysdeps/powerpc/powerpc64/crti.S: New file.
70381         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70383         * Makeconfig (have-initfini): Don't set.
70384         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70385         * configure.in (nopic_initfini): Don't substitute.
70386         * config.h.in (HAVE_INITFINI): Don't #undef.
70387         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70388         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70390 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70392         Support crti.S and crtn.S provided directly by architectures.
70393         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70394         [crti.S in sysdirs] (omit-deps): Likewise.
70395         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70396         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70397         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70398         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70399         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70400         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70401         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70402         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70403         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70404         compiler output for sysdeps/generic/initfini.c.
70405         * sysdeps/i386/elf/Makefile: Remove file.
70406         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70408 2012-02-07  Marek Polacek  <polacek@redhat.com>
70410         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70411         * sysdeps/gnu/_G_config.h: Likewise.
70412         * sysdeps/mach/hurd/_G_config.h: Likewise.
70414 2012-02-07  Marek Polacek  <polacek@redhat.com>
70416         * math/Makefile (tests): Add tst-CMPLX2.
70417         * math/tst-CMPLX2.c: New file.
70419 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70421         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70423         * math/libm-test.inc (jn_test): Add missing L suffix.
70425 2012-02-06  Marek Polacek  <polacek@redhat.com>
70427         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70428         * sysdeps/i386/fpu/e_powf.S: Likewise.
70429         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70430         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70431         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70432         * sysdeps/i386/fpu/e_pow.S: Likewise.
70433         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70434         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70435         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70436         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70437         * sysdeps/i386/fpu/e_log2.S: Likewise.
70438         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70439         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70440         * sysdeps/i386/fpu/e_powl.S: Likewise.
70441         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70442         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70443         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70444         * sysdeps/i386/fpu/e_logl.S: Likewise.
70445         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70446         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70447         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70448         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70449         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70450         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70451         * sysdeps/i386/fpu/e_log.S: Likewise.
70452         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70453         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70454         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70455         * sysdeps/i386/fpu/e_logf.S: Likewise.
70456         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70457         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70458         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70459         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70460         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70461         * sysdeps/i386/fpu/e_log10.S: Likewise.
70462         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70463         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70464         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70465         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70466         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70467         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70468         * sysdeps/i386/asm-syntax.h: Likewise.
70469         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70470         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70471         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70472         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70473         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70474         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70475         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70476         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70477         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70478         * sysdeps/powerpc/sysdep.h: Likewise.
70479         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70480         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70482 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70484         [BZ #411]
70485         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70487 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70489         * sysdeps/i386/sysdep.h: Include <features.h>.
70490         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70491         version.
70493 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70495         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70496         Define.
70497         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70498         LOAD_PIC_REG_STR.
70500 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70502         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70503         (SETUP_PIC_REG): Use GET_PC_THUNK.
70504         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70505         macro.
70507 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70509         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70510         for non-PIC compilation.
70511         (SETUP_PIC_REG): Add .p2align directive.
70512         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70513         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70514         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70515         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70516         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70517         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70518         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70519         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70520         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70521         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70522         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70523         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70524         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70525         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70526         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70527         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70528         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70529         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70530         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70531         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70532         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70533         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70534         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70535         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70536         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70537         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70538         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70539         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70540         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70541         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70542         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70543         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70544         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70545         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70546         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70547         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70548         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70549         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70550         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70551         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70552         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70554 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70556         * math/tst-CMPLX.c: Include <stdio.h>.
70558 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70560         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70561         float.
70562         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70563         * sysdeps/sparc/bits/mathdef.h: Likewise.
70565 2012-01-31  Marek Polacek  <polacek@redhat.com>
70567         * libio/libio.h: Don't define _PARAMS.
70568         * locale/programs/config.h: Don't define PARAMS.
70569         * stdlib/strtol_l.c: Likewise.
70570         (__strtol_l): Remove PARAMS from the prototype.
70572 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70574         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70575         names.  Just use the correct names.  Remove unnecessary wrapper
70576         functions.
70577         * malloc/arena.c: Likewise.
70578         * malloc/hooks.c: Likewise.
70580         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70581         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70582         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70584 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70586         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70587         into tail calls.
70588         (update_get_addr): New function.
70589         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70590         GET_ADDR_MODULE parameter.
70592 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70594         * crypt/cert.c: Remove __STDC__ conditionals.
70595         * crypt/crypt-entry.c: Likewise.
70596         * crypt/crypt_util.c: Likewise.
70597         * libio/filedoalloc.c: Likewise.
70598         * libio/fileops.c: Likewise.
70599         * libio/genops.c: Likewise.
70600         * libio/iofclose.c: Likewise.
70601         * libio/iofdopen.c: Likewise.
70602         * libio/iofopen.c: Likewise.
70603         * libio/iofopen64.c: Likewise.
70604         * libio/iogetdelim.c: Likewise.
70605         * libio/iopopen.c: Likewise.
70606         * libio/obprintf.c: Likewise.
70607         * libio/oldfileops.c: Likewise.
70608         * libio/oldiofclose.c: Likewise.
70609         * libio/oldiofdopen.c: Likewise.
70610         * libio/oldiofopen.c: Likewise.
70611         * libio/oldiopopen.c: Likewise.
70612         * libio/wfiledoalloc.c: Likewise.
70613         * libio/wgenops.c: Likewise.
70614         * locale/programs/xmalloc.c: Likewise.
70615         * misc/syslog.c: Likewise.
70616         * stdio-common/xbug.c: Likewise.
70617         * string/memchr.c: Likewise.
70618         * string/memcmp.c: Likewise.
70619         * string/memrchr.c: Likewise.
70620         * string/rawmemchr.c: Likewise.
70621         * sysdeps/posix/getcwd.c: Likewise.
70622         * time/strftime_l.c: Likewise.
70624 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70626         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70627         * config.make.in (config-cflags-sse2avx): Define.
70628         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70629         Fix typo.
70631 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70633         * scripts/config.guess: Update from upstream config git repository.
70634         * scripts/config.sub: Likewise.
70636 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70638         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70639         (EM_NUM): Update.
70640         (R_TILEPRO_*, R_TILEGX_*): New macros.
70642         * scripts/firstversions.awk: Fix bug in version range handling.
70644         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70646         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70648         * include/sys/epoll.h: New file.
70649         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70650         libc_hidden_def.
70652 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70654         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70655         Avoid unnecessary __WORDSIZE == 64 test.
70656         (fmaxf): Use VEX format if possible.
70657         (fmax): Likewise.
70658         (fminf): Likewise.
70659         (fmin): Likewise.
70661         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70662         * math/math_private.h: Remove libc_fegetround* and
70663         libc_fesetround*.
70664         * sysdeps/i386/configure.in: Check for -msse2avx.
70665         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70666         also if SSE2AVX is defined.
70667         Remove libc_fegetround* and libc_fesetround*.
70668         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70669         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70670         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70671         of HAS_YMM_USABLE.
70672         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70673         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70674         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70675         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70676         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70678         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70680 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70682         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70683         size is not set.
70684         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70686 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70688         [BZ #13618]
70689         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70690         relocation.
70691         * Makeconfig (libm): Define.
70692         * elf/Makefile: Add rules to build and run tst-relsort1.
70693         * elf/tst-relsort1.c: New file.
70694         * elf/tst-relsort1mod1.c: New file.
70695         * elf/tst-relsort1mod2.c: New file.
70697 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70699         * math/s_ldexp.c: Remove __STDC__ conditionals.
70700         * math/s_ldexpf.c: Likewise.
70701         * math/s_ldexpl.c: Likewise.
70702         * math/s_nextafter.c: Likewise.
70703         * math/s_nexttowardf.c: Likewise.
70704         * math/s_significand.c: Likewise.
70705         * math/s_significandf.c: Likewise.
70706         * math/s_significandl.c: Likewise.
70707         * math/w_jnl.c: Likewise.
70708         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70709         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70710         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70711         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70712         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70713         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70714         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70715         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70716         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70717         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70718         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70719         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70720         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70721         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70722         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70723         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70724         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70725         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70726         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70727         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70728         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70729         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70730         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70731         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70732         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70733         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70734         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70735         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70736         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70737         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70738         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70739         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70740         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70741         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70742         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70743         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70744         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70745         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70746         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70747         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70748         * sysdeps/ieee754/k_standard.c: Likewise.
70749         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70750         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70751         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70752         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70753         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70755         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70757         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70758         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70759         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70760         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70761         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70762         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70766         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70767         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70768         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70769         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70771         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70772         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70773         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70774         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70776         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70778         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70781         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70785         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70786         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70787         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70789         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70790         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70791         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70792         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70794         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70795         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70796         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70797         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70798         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70800         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70801         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70802         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70803         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70804         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70805         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70807         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70808         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70809         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70810         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70811         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70812         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70813         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70814         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70815         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70816         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70818         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70819         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70820         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70821         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70822         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70823         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70824         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70825         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70826         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70827         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70828         * sysdeps/ieee754/s_matherr.c: Likewise.
70829         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70830         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70834 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70836         * crypt/md5.h: Remove __STDC__ conditionals.
70837         * libio/libioP.h: Likewise.
70838         * locale/programs/config.h: Likewise.
70839         * sysdeps/generic/sysdep.h: Likewise.
70840         * sysdeps/i386/asm-syntax.h: Likewise.
70841         * sysdeps/s390/asm-syntax.h: Likewise.
70842         * sysdeps/unix/sysdep.h: Likewise.
70843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70846 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70848         * libio/libio.h: Remove __STDC__ conditionals.
70849         * malloc/obstack.h: Likewise.
70850         * math/complex.h: Likewise.
70851         * math/math.h: Likewise.
70852         * sysdeps/generic/_G_config.h: Likewise.
70853         * sysdeps/gnu/_G_config.h: Likewise.
70854         * sysdeps/mach/hurd/_G_config.h: Likewise.
70855         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70856         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70857         * sysdeps/sparc/bits/mathdef.h: Likewise.
70859 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70861         [BZ #13583]
70862         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70863         Clean up HAS_* macros.
70864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70865         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70866         possible.
70867         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70868         HAS_AVX.
70869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70870         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70872         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70873         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70875 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70877         * elf/tst-unique3.cc (gets): Remove declaration.
70878         * elf/tst-unique3lib.cc (gets): Likewise.
70879         * elf/tst-unique3lib2.cc (gets): Likewise.
70880         * elf/tst-unique4.cc (gets): Likewise.
70882 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70884         * include/stdio.h: Add C++ protection.  Add gets declarations and
70885         definitions.
70886         * debug/tst-chk1.c: Don't declare gets here.
70887         * stdio-common/tst-gets.c: Likewise.
70889 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70891         * posix/glob: Remove directory.
70893 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70895         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70897 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70899         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70900         of the non-standard EPFNOSUPPORT.
70902 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70904         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70905         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70906         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70908 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70910         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70912 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70914         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70915         transient errors.
70916         * nscd/grpcache.c (cache_addgr): Likewise.
70917         * nscd/hstcache.c (cache_addhst): Likewise.
70918         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70919         * nscd/pwdcache.c (cache_addpw): Likewise.
70920         * nscd/servicescache.c (cache_addserv): Likewise.
70922 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70924         * malloc/malloc.c: Various cleanups.
70925         * malloc/hooks.c: Likewise.
70927         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70928         * stdlib/bug-fmtmsg1.c: New file.
70930         * stdlib/fmtmsg.c (init): Add missing unlock.
70931         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70933 2012-01-12  Marek Polacek  <polacek@redhat.com>
70935         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70936         and _GNU_SOURCE.
70938 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70940         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70941         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70942         macro to ensure uniqueness of label name.
70943         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70944         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70946 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70948         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70950         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70951         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70952         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70955 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70957         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70959         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70960         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70961         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70963         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70965         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70966         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70967         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70968         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70970         * math/bits/math-finite.h: Add ldexp support.
70972 2012-01-10  Marek Polacek  <polacek@redhat.com>
70974         * locale/programs/localedef.h (show_archive_content): Add noreturn
70975         attribute.
70977 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70979         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70981 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70983         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70985         * io/Makefile (headers): Add bits/poll2.h.
70987 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70990         typo #include statement.
70992 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70994         * include/sys/cdefs.h: Define __attribute_alloc_size.
70995         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70996         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70997         * elf/pldd.c: Likewise.
70998         * iconv/iconv_charmap.c: Likewise.
70999         * iconv/iconvconfig.c: Likewise.
71000         * iconv/strtab.c: Likewise.
71001         * locale/programs/locale.c: Likewise.
71002         * locale/programs/localedef.h: Likewise.
71003         * locale/programs/simple-hash.c: Likewise.
71004         * nscd/nscd.h: Likewise.
71005         * nss/makedb.c: Likewise.
71006         * sysdeps/generic/ldconfig.h: Likewise.
71007         * locale/programs/localedef.c: Remove xmalloc prototype.
71008         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71010 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71012         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71013         appropriate.
71015 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71017         * math/Makefile (tests): Add tst-CMPLX.
71018         * math/tst-CMPLX.c: New file.
71020         * math/complex.h (CMPLXL): Fix typo.
71022         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71023         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71024         GLIBC_2.16.
71025         * debug/tst-chk1.c: Add poll and ppoll tests.
71026         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71027         * include/sys/poll.h: Add hidden proto for ppoll.
71028         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71029         * sysdeps/mach/hurd/ppoll.c: Likewise.
71030         * io/ppoll.c: Likewise.
71031         * debug/poll_chk.c: New file.
71032         * debug/ppoll_chk.c: New file.
71033         * include/bits/poll2.h: New file.
71034         * io/bits/poll2.h: New file.
71036         [BZ #1350]
71037         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71039         * configure.in: static is always set to yes.  Remove.
71040         * config.make.in: Don't set build-static.
71041         * Makeconfig: Remove use of build-static.
71042         * dlfcn/Makefile: Likewise.
71043         * elf/Makefile: Likewise.
71044         * math/Makefile: Likewise.
71045         * misc/Makefile: Likewise.
71046         * nptl/Makefile: Likewise.
71047         * sysdeps/mach/hurd/Makefile: Likewise.
71049         * configure.in: PWD_P is not used anymore.
71050         * config.make.in: Remove PWD_P entry.
71052         * configure.in: Remove last remnants of RANLIB.
71053         No need to check for signed size_t anymore.
71054         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71055         and IA-64.
71056         Remove __builtin_expect test because we require at least gcc 3.4.
71057         * aclocal.m4: Likewise.
71059         * wcsmbs/mbrtoc16.c: Implement using towc function.
71060         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71061         * wcsmbs/wcsmbsload.c: Likewise.
71062         * iconv/gconv_simple.c: Likewise.
71063         * iconv/gconv_int.h: Likewise.
71064         * iconv/gconv_builtin.h: Likewise.
71065         * iconv/iconv_prog.c: Remove CHAR16 handling.
71067         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71069         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71071         * configure.in: Remove --with-elf and --enable-bounded options.
71072         Dont set base_machine for ia64.  More non-ELF conditions removed.
71073         Remove testing and setting of leading underscore information.
71074         * config.make.in (build-bounded): Set to no.
71075         * config.h.in: Remove NO_UNDERSCORES entry.
71076         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71077         them.
71078         * csu/start.c: Remove !NO_UNDERSCORE code.
71079         * locale/localeinfo.h: Likewise.
71080         * sysdeps/generic/machine-gmon.h: Likewise.
71081         * sysdeps/generic/sysdep.h: Likewise.
71082         * sysdeps/i386/sysdep.h: Likewise.
71083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71084         * sysdeps/mach/sysdep.h: Likewise.
71085         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71086         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71087         * sysdeps/sh/sysdep.h: Likewise.
71088         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71089         * sysdeps/unix/i386/sysdep.S: Likewise.
71090         * sysdeps/unix/sparc/start.c: Likewise.
71091         * sysdeps/unix/sparc/sysdep.S: Likewise.
71092         * sysdeps/unix/sparc/sysdep.h: Likewise.
71093         * sysdeps/unix/start.c: Likewise.
71094         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71095         * sysdeps/x86_64/sysdep.h: Likewise.
71097 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71099         [BZ #13553]
71100         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71101         for non-gcc.
71102         * argp/argp-fmtstream.h: Use const instead __const.
71103         * argp/argp.h: Likewise.
71104         * assert/assert.h: Likewise.
71105         * bits/fenv.h: Likewise.
71106         * bits/sched.h: Likewise.
71107         * bits/sigset.h: Likewise.
71108         * bits/sigthread.h: Likewise.
71109         * catgets/nl_types.h: Likewise.
71110         * conform/data/pthread.h-data: Likewise.
71111         * crypt/crypt-private.h: Likewise.
71112         * crypt/crypt.h: Likewise.
71113         * crypt/crypt_util.c: Likewise.
71114         * ctype/ctype.h: Likewise.
71115         * debug/execinfo.h: Likewise.
71116         * debug/mbsnrtowcs_chk.c: Likewise.
71117         * debug/mbsrtowcs_chk.c: Likewise.
71118         * debug/wcsnrtombs_chk.c: Likewise.
71119         * debug/wcsrtombs_chk.c: Likewise.
71120         * debug/wcstombs_chk.c: Likewise.
71121         * dirent/dirent.h: Likewise.
71122         * dlfcn/dlfcn.h: Likewise.
71123         * elf/neededtest4.c: Likewise.
71124         * grp/grp.h: Likewise.
71125         * gshadow/gshadow.h: Likewise.
71126         * iconv/gconv.h: Likewise.
71127         * iconv/gconv_int.h: Likewise.
71128         * iconv/gconv_simple.c: Likewise.
71129         * iconv/iconv.h: Likewise.
71130         * iconv/loop.c: Likewise.
71131         * iconv/skeleton.c: Likewise.
71132         * include/aio.h: Likewise.
71133         * include/aliases.h: Likewise.
71134         * include/argz.h: Likewise.
71135         * include/arpa/inet.h: Likewise.
71136         * include/assert.h: Likewise.
71137         * include/dirent.h: Likewise.
71138         * include/dlfcn.h: Likewise.
71139         * include/execinfo.h: Likewise.
71140         * include/fcntl.h: Likewise.
71141         * include/fenv.h: Likewise.
71142         * include/glob.h: Likewise.
71143         * include/grp.h: Likewise.
71144         * include/libintl.h: Likewise.
71145         * include/mntent.h: Likewise.
71146         * include/netdb.h: Likewise.
71147         * include/pwd.h: Likewise.
71148         * include/rpc/netdb.h: Likewise.
71149         * include/sched.h: Likewise.
71150         * include/search.h: Likewise.
71151         * include/shadow.h: Likewise.
71152         * include/signal.h: Likewise.
71153         * include/stdio.h: Likewise.
71154         * include/stdlib.h: Likewise.
71155         * include/string.h: Likewise.
71156         * include/sys/socket.h: Likewise.
71157         * include/sys/stat.h: Likewise.
71158         * include/sys/statfs.h: Likewise.
71159         * include/sys/statvfs.h: Likewise.
71160         * include/sys/syslog.h: Likewise.
71161         * include/sys/time.h: Likewise.
71162         * include/sys/uio.h: Likewise.
71163         * include/time.h: Likewise.
71164         * include/unistd.h: Likewise.
71165         * include/utmp.h: Likewise.
71166         * include/wchar.h: Likewise.
71167         * include/wctype.h: Likewise.
71168         * inet/aliases.h: Likewise.
71169         * inet/arpa/inet.h: Likewise.
71170         * inet/netinet/ether.h: Likewise.
71171         * inet/netinet/in.h: Likewise.
71172         * intl/libintl.h: Likewise.
71173         * io/bits/fcntl2.h: Likewise.
71174         * io/fcntl.h: Likewise.
71175         * io/ftw.h: Likewise.
71176         * io/sys/poll.h: Likewise.
71177         * io/sys/stat.h: Likewise.
71178         * io/sys/statfs.h: Likewise.
71179         * io/sys/statvfs.h: Likewise.
71180         * io/utime.h: Likewise.
71181         * libio/bits/stdio.h: Likewise.
71182         * libio/bits/stdio2.h: Likewise.
71183         * libio/libio.h: Likewise.
71184         * libio/libioP.h: Likewise.
71185         * libio/stdio.h: Likewise.
71186         * locale/lc-ctype.c: Likewise.
71187         * locale/locale.h: Likewise.
71188         * login/utmp.h: Likewise.
71189         * malloc/arena.c: Likewise.
71190         * malloc/malloc.c: Likewise.
71191         * malloc/malloc.h: Likewise.
71192         * malloc/mcheck.c: Likewise.
71193         * malloc/mtrace.c: Likewise.
71194         * math/bits/mathcalls.h: Likewise.
71195         * math/fenv.h: Likewise.
71196         * math/math_private.h: Likewise.
71197         * misc/bits/error.h: Likewise.
71198         * misc/bits/syslog.h: Likewise.
71199         * misc/err.h: Likewise.
71200         * misc/error.h: Likewise.
71201         * misc/fstab.h: Likewise.
71202         * misc/mntent.h: Likewise.
71203         * misc/regexp.h: Likewise.
71204         * misc/search.h: Likewise.
71205         * misc/sgtty.h: Likewise.
71206         * misc/sys/mman.h: Likewise.
71207         * misc/sys/syslog.h: Likewise.
71208         * misc/sys/uio.h: Likewise.
71209         * misc/sys/xattr.h: Likewise.
71210         * misc/ttyent.h: Likewise.
71211         * nis/rpcsvc/ypclnt.h: Likewise.
71212         * nss/nss.h: Likewise.
71213         * posix/bits/unistd.h: Likewise.
71214         * posix/fnmatch.h: Likewise.
71215         * posix/glob.h: Likewise.
71216         * posix/sched.h: Likewise.
71217         * posix/spawn.h: Likewise.
71218         * posix/sys/wait.h: Likewise.
71219         * posix/unistd.h: Likewise.
71220         * posix/wordexp.h: Likewise.
71221         * pwd/pwd.h: Likewise.
71222         * resolv/netdb.h: Likewise.
71223         * resource/sys/resource.h: Likewise.
71224         * rt/aio.h: Likewise.
71225         * rt/bits/mqueue2.h: Likewise.
71226         * rt/mqueue.h: Likewise.
71227         * shadow/shadow.h: Likewise.
71228         * signal/signal.h: Likewise.
71229         * socket/send.c: Likewise.
71230         * socket/sendto.c: Likewise.
71231         * socket/sys/socket.h: Likewise.
71232         * stdio-common/printf.h: Likewise.
71233         * stdlib/bits/stdlib.h: Likewise.
71234         * stdlib/fmtmsg.h: Likewise.
71235         * stdlib/monetary.h: Likewise.
71236         * stdlib/stdlib.h: Likewise.
71237         * stdlib/ucontext.h: Likewise.
71238         * streams/stropts.h: Likewise.
71239         * string/argz.h: Likewise.
71240         * string/bits/string2.h: Likewise.
71241         * string/string.h: Likewise.
71242         * string/strings.h: Likewise.
71243         * sunrpc/rpc/auth.h: Likewise.
71244         * sunrpc/rpc/auth_des.h: Likewise.
71245         * sunrpc/rpc/clnt.h: Likewise.
71246         * sunrpc/rpc/netdb.h: Likewise.
71247         * sunrpc/rpc/pmap_clnt.h: Likewise.
71248         * sunrpc/rpc/xdr.h: Likewise.
71249         * sysdeps/generic/inttypes.h: Likewise.
71250         * sysdeps/generic/net/if.h: Likewise.
71251         * sysdeps/generic/sys/swap.h: Likewise.
71252         * sysdeps/gnu/net/if.h: Likewise.
71253         * sysdeps/gnu/utmpx.h: Likewise.
71254         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71255         * sysdeps/i386/i486/bits/string.h: Likewise.
71256         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71257         * sysdeps/s390/bits/string.h: Likewise.
71258         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71259         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71260         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71261         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71262         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71263         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71264         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71265         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71266         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71267         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71268         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71269         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71270         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71271         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71272         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71273         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71274         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71276         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71277         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71278         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71279         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71280         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71281         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71282         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71283         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71284         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71285         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71286         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71287         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71288         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71289         * sysvipc/sys/ipc.h: Likewise.
71290         * sysvipc/sys/msg.h: Likewise.
71291         * sysvipc/sys/sem.h: Likewise.
71292         * sysvipc/sys/shm.h: Likewise.
71293         * termios/termios.h: Likewise.
71294         * time/sys/time.h: Likewise.
71295         * time/time.h: Likewise.
71296         * wcsmbs/bits/wchar2.h: Likewise.
71297         * wcsmbs/uchar.h: Likewise.
71298         * wcsmbs/wchar.h: Likewise.
71299         * wctype/wctype.h: Likewise.
71301         [BZ #13551]
71302         * Makeconfig: Remove all but ELF support including AIX support.
71303         * Makerules: Likewise.
71304         * config.h.in: Likewise.
71305         * config.make.in: Likewise.
71306         * configure: Likewise.
71307         * configure.in: Likewise.
71308         * csu/Makefile: Likewise.
71309         * csu/version.c: Likewise.
71310         * debug/Makefile: Likewise.
71311         * dlfcn/Makefile: Likewise.
71312         * elf/Makefile: Likewise.
71313         * extra-lib.mk: Likewise.
71314         * iconv/Makefile: Likewise.
71315         * include/libc-symbols.h: Likewise.
71316         * include/shlib-compat.h: Likewise.
71317         * resolv/Makefile: Likewise.
71318         * resolv/res_libc.c: Likewise.
71319         * rt/Makefile: Likewise.
71320         * sysdeps/i386/asm-syntax.h: Likewise.
71321         * sysdeps/i386/sysdep.h: Likewise.
71322         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71323         * sysdeps/mach/sysdep.h: Likewise.
71324         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71325         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71326         * sysdeps/s390/asm-syntax.h: Likewise.
71327         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71328         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71329         * sysdeps/sh/sysdep.h: Likewise.
71330         * sysdeps/unix/sparc/sysdep.h: Likewise.
71331         * sysdeps/wordsize-32/divdi3.c: Likewise.
71332         * sysdeps/x86_64/sysdep.h: Likewise.
71334         * argp/Versions: Remove _argp_unlock_xxx.
71336         [BZ #13559]
71337         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71338         * abilist/libBrokenLocale.abilist: Likewise.
71339         * abilist/libanl.abilist: Likewise.
71340         * abilist/libc.abilist: Likewise.
71341         * abilist/libcrypt.abilist: Likewise.
71342         * abilist/libdl.abilist: Likewise.
71343         * abilist/libm.abilist: Likewise.
71344         * abilist/libnsl.abilist: Likewise.
71345         * abilist/libpthread.abilist: Likewise.
71346         * abilist/libresolv.abilist: Likewise.
71347         * abilist/librt.abilist: Likewise.
71348         * abilist/libthread_db.abilist: Likewise.
71349         * abilist/libutil.abilist: Likewise.
71350         * abilist/libnss_db.abilist: New file.
71352         * scripts/abilist.awk: Add support for indirect functions.
71354         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71356         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71358         * shlib-versions: Remove entries for ports architectures.
71360         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71361         files in ports.
71362         * elf/stackguard-macros.h: Remove support for IA-64.
71363         * elf/tst-auditmod1.c: Likewise.
71364         * sysdeps/generic/ldsodefs.h: Likewise.
71366         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71367         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71368         configure files.
71370         [BZ #13552]
71371         * configure.in: Remove --enable-omitfp support.
71372         * FAQ.in: Adjust.
71373         * config.make.in: Likewise.
71374         * Makeconfig: Likewise.
71375         * manual/install.texi: Likewise.
71377         In case anyone cares, the IA-64 architecture could move to ports.
71378         * sysdeps/ia64/*: Removed.
71379         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71380         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71382         [BZ #13555]
71383         * configure.in: Remove entries for unsupported architectures.
71385         [BZ #13533]
71386         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71387         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71388         routines.
71389         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71390         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71391         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71392         fall back to using wcrtomb.
71393         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71394         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71395         renaming.
71396         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71397         * wcsmbs/tst-c16c32-1.c: New file.
71399         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71400         local variable.
71402         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71404         * elf/tst-unique3.cc: Add explicit declaration of gets.
71405         * elf/tst-unique3lib.cc: Likewise.
71406         * elf/tst-unique3lib2.cc: Likewise.
71407         * elf/tst-unique4.cc: Likewise.
71409         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71411 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71413         [BZ #13566]
71414         * assert/assert.h (static_assert): Don't define for C++.
71415         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71416         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71418 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71420         * iconv/loop.c (single loop): Fix assertion in storing of
71421         remaining bytes.
71423         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71425 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71427         * posix/getconf.c: Update copyright year.
71428         * nss/getent.c: Likewise.
71429         * nss/makedb.c: Likewise.
71430         * iconv/iconvconfig.c: Likewise.
71431         * iconv/iconv_prog.c: Likewise.
71432         * elf/ldconfig.c: Likewise.
71433         * elf/pldd.c: Likewise.
71434         * elf/sotruss.ksh: Likewise.
71435         * catgets/gencat.c: Likewise.
71436         * csu/version.c: Likewise.
71437         * elf/ldd.bash.in: Likewise.
71438         * elf/sprof.c (print_version): Likewise.
71439         * locale/programs/locale.c: Likewise.
71440         * locale/programs/localedef.c: Likewise.
71441         * login/programs/pt_chown.c: Likewise.
71442         * nscd/nscd.c (print_version): Likewise.
71443         * debug/xtrace.sh: Likewise.
71444         * malloc/memusage.sh: Likewise.
71445         * malloc/mtrace.pl: Likewise.
71446         * debug/catchsegv.sh: Likewise.
71448 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71450         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71451         pure attribute.
71453 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71455         [BZ #13533]
71456         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71457         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71458         transformations.
71459         * iconv/gconv_int.h: Likewise.
71460         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71461         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71462         from libc for GLIBC_2.16.
71463         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71464         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71465         * wcsmbs/uchar.h: Really define mbstate_t.
71466         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71467         * wcsmbs/c16rtomb.c: New file.
71468         * wcsmbs/mbrtoc16.c: New file.
71469         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71470         for C/POSIX locale.
71471         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71472         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71474         * wcsmbs/wchar.h: Add missing __restrict.
71476 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71478         [BZ #13532]
71479         * time/Makefile (routines): Add timespec_get.
71480         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71481         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71482         timespec for ISO C11.
71483         * time/timespec_get.c: New file.
71484         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71485         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71487         [BZ #13531]
71488         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71489         * stdlib/stdlib.h: Declare aligned_alloc.
71490         * Versions.def: Add GLIBC_2.16 for libc.
71491         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71493         [BZ 13527]
71494         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71495         ISO C11.
71497         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71498         code.
71500         [BZ #13528]
71501         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71503         [BZ #13529]
71504         * assert/assert.h (static_assert): Define.
71506         * version.h: Update for 2.16 development version.
71508         [BZ #13526]
71509         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71510         _ISOC11_SOURCE.
71512         * version.h (RELEASE): Bump for 2.15 release.
71513         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71515         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71516         Patch by Marek Polacek <mpolacek@redhat.com>.
71518         * bits/byteswap.h: Protect long long constants with __extension__.
71519         * sysdeps/i386/bits/byteswap.h: Likewise.
71520         * sysdeps/ia64/bits/byteswap.h: Likewise.
71521         * sysdeps/s390/bits/byteswap.h: Likewise.
71522         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71524 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71526         [BZ #13540]
71527         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71528         destination buffer.
71529         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71531 2011-12-23  Marek Polacek  <polacek@redhat.com>
71533         * elf/dl-addr.c (determine_info): Add inline keyword.
71534         * elf/tst-auditmod4b.c (check_avx): Likewise.
71535         * elf/tst-auditmod6b.c (check_avx): Likewise.
71536         * elf/tst-auditmod6c.c (check_avx): Likewise.
71537         * elf/tst-auditmod7b.c (check_avx): Likewise.
71539 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71541         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71542         !__SSE_MATH__.
71544 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71546         [BZ #13540]
71547         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71548         processing for last bytes.
71550 2011-08-06  Bruno Haible  <bruno@clisp.org>
71552         [BZ #13061]
71553         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71554         U+0385, not to U+1FEE.
71556         [BZ #13062]
71557         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71558         entry for U+00A5 U+0301.
71560 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71562         [BZ #13166]
71563         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71564         buffer for the output is too small.
71566         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71567         optimization.
71569         [BZ #13185]
71570         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71571         SSE flags if possible.
71573 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71575         [BZ #13540]
71576         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71577         processing for last bytes.
71579 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71581         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71582         (syscall-list-default-options, syscall-list-default-condition)
71583         (syscall-list-includes): Define.
71584         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71585         list of ABIs and options and #if conditions for each ABI.  Do not
71586         handle common syscalls between ABIs specially.
71587         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71588         Remove.
71589         (syscall-list-variants, syscall-list-32bit-options)
71590         (syscall-list-32bit-condition, syscall-list-64bit-options)
71591         (syscall-list-64bit-condition): Define.
71592         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71593         (syscall-list-variants, syscall-list-32bit-options)
71594         (syscall-list-32bit-condition, syscall-list-64bit-options)
71595         (syscall-list-64bit-condition): Define.
71596         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71597         Remove.
71598         (syscall-list-variants, syscall-list-32bit-options)
71599         (syscall-list-32bit-condition, syscall-list-64bit-options)
71600         (syscall-list-64bit-condition): Define.
71601         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71602         Remove.
71603         (syscall-list-variants, syscall-list-32bit-options)
71604         (syscall-list-32bit-condition, syscall-list-64bit-options)
71605         (syscall-list-64bit-condition): Define.
71607 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71609         * locale/iso-639.def: Add brx entry.
71611         [BZ #13328]
71612         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71613         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71615         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71616         __feraiseexcept_renamed.
71618 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71620         [BZ #13538]
71621         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71622         EPOLLET with unsigned values.
71623         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71624         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71626         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71627         to large cancellation.
71628         * math/s_cacoshf.c: Likewise.
71629         * math/s_cacoshl.c: Likewise.
71631 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71633         [BZ #13305]
71634         [BZ #12786]
71635         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71636         * math/s_cacoshf.c: Likewise.
71637         * math/s_cacoshl.c: Likewise.
71639 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71641         [BZ #13439]
71642         * iconv/gconv.h: Define __GCONV_SWAP.
71643         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71644         * iconvdata/utf-16.c: Likewise.
71645         * iconvdata/utf-32.c: Likewise.
71647 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71649         [BZ #13524]
71650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71651         numerator after shifting it by one limb.
71653 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71655         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71656         under [__USE_EXTERN_INLINES].
71658 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71660         [BZ #13446]
71661         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71663 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71665         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71666         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71667         optimized code.
71668         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71669         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71670         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71671         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71672         for strncasecmp/strncasecmp_l compilation.
71673         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71674         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71676 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71678         [BZ #13484]
71679         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71680         of __asm__.
71682 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71684         [BZ #13506]
71685         * time/tzfile.c (__tzfile_read): Check values from file header.
71687 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71689         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71690         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71691         * powerpc/powerpc32/dl-start.S: Likewise.
71692         * powerpc/powerpc32/elf/start.S: Likewise.
71693         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71694         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71695         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71696         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71697         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71698         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71699         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71700         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71701         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71702         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71703         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71704         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71705         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71706         * powerpc/powerpc32/memset.S: Likewise.
71707         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71708         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71709         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71710         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71711         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71712         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71713         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71714         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71715         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71716         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71717         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71718         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71719         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71721 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71723         * math/libm-test.inc: Added more nearbyint tests.
71724         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71725         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71727         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71729 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71731         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71732         FD_CLOEXEC.
71734 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71736         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71737         Add wcscpy-ssse3 wcscpy-c.
71738         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71739         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71740         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71741         * sysdeps/x86_64/wcschr.S: New file.
71742         * sysdeps/x86_64/wcsrchr.S: New file.
71743         * string/test-strcmp.c: Remove checking of wcscmp function for
71744         wrong alignments.
71745         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71746         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71747         wcsrchr-sse2 wcsrchr-c.
71748         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71749         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71750         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71751         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71752         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71753         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71754         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71755         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71756         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71757         * wcsmbc/wcschr.c (WCSCHR): New macro.
71759 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71761         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71762         * wcsmbs/test-wcsrchr.c: New file.
71763         * string/test-strrchr.c: Add wcsrchr support.
71764         (WIDE): New macro.
71765         * wcsmbs/test-wcscpy.c: New file.
71766         * string/test-strcpy.c: Add wcscpy support.
71767         (WIDE): New macro.
71769 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71771         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71772         the inner loop.
71774 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71776         [BZ #13472]
71777         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71779 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71781         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71782         Minor optimizations.
71784         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71785         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71786         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71788 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71790         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71791         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71792         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71793         for gcc to avoid warnings.
71794         * inet/Makefile (tests): Add tst-checks.
71795         * inet/tst-checks.c: New file.
71797         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71798         warning.
71800         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71801         __wmemcmp_sse2.
71803         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71804         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71806         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71808 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71810         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71811         problem.
71813         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71815 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71817         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71818         conditional on GCC version.
71819         (__arch_compare_and_exchange_val_8_acq)
71820         (__arch_compare_and_exchange_val_16_acq)
71821         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71822         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71823         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71825 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71827         * sysdeps/sh/backtrace.c: New file.
71829 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71831         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71832         parenthesis.
71834 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71836         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71837         falling back to utime.
71839 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71841         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71842         expectations for float.
71844 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71846         * locale/weight.h (findidx): Add parameter len.
71847         * locale/weightwc.h (findidx): Likewise.
71848         * posix/fnmatch_loop.c (FCT): Adjust caller.
71849         * posix/regcomp.c (build_equiv_class): Likewise.
71850         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71851         * posix/regexec.c (check_node_accept_bytes): Likewise.
71852         * string/strcoll_l.c (STRCOLL): Likewise.
71853         * string/strxfrm_l.c (STRXFRM): Likewise.
71855 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71857         * Makefile.in: Remove CVSOPT handling.
71858         * configure.in: Remove use of AC_REVISION.
71859         * iconvdata/Makefile (distribute): No need to filter out CVS.
71860         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71861         handling.
71863 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71866         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71867         [USE_AS_STRNCASECMP_L]: Likewise.
71868         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71869         NO_TLS_DIRECT_SEG_REFS.
71870         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71871         Fix argument offsets for non-PIC.
71872         [USE_AS_STRNCASECMP_L]: Likewise.
71873         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71874         NO_TLS_DIRECT_SEG_REFS.
71876 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71878         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71879         O_CLOEXEC.
71880         * locale/loadlocale.c (_nl_load_locale): Likewise.
71882 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71884         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71885         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71886         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71887         (SYSCALL_GETTIME): Set errno on error.
71889         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71890         count references to noai6ai_cached.
71892 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71894         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71896         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71897         FD_CLOEXEC for /proc/self/maps.
71899         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71900         FD_CLOEXEC for /proc/meminfo.
71902         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71903         gai.conf.
71905         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71906         FD_CLOEXEC for given file.
71908         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71910         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71911         FD_CLOEXEC for /etc/hosts.
71912         (_gethtent): Likewise.
71914         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71916         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71917         cancellation and set FD_CLOEXEC for /etc/netgroup.
71919         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71920         reading /etc/publickey.
71922         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71923         allow cancellation when reading /etc/group.
71925         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71926         cancellation.
71927         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71929         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71930         when using data file.
71932         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71934         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71935         (write_nis_obj): Use "c" and "e" in fopen.
71937         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71939         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71941         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71943         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71945         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71946         locale.alias.
71948         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71950         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71952         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71954         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71955         file parsing and set FD_CLOEXEC.
71957 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71959         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71961 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71963         * malloc/arena.c (arena_get2): Don't call reused_arena when
71964         _int_new_arena failed.
71966 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71968         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71969         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71970         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71971         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71972         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71973         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71974         to compile strcasecmp and strncasecmp.
71975         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71976         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71978         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71980 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71982         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71983         locale-defines.sym to gen-as-const-headers.
71984         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71985         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71986         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71987         to compile strcasecmp and strncasecmp.
71988         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71989         strcasecmp_l and strncasecmp_l.
71990         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71991         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71992         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71993         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71994         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71995         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71996         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71997         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71998         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71999         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72000         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72002 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72004         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72005         result of SYSDEP_GETTIME_CPU to retval.
72006         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72007         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72009         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72010         variable.
72012         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72013         mantissa words.
72014         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72016         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72017         from unused variable.
72019         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72020         DWARF definitions.
72021         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72022         for assembling.
72024         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72025         over namespaces.
72027         * sunrpc/rpc_prot.c (rejected): Fix case value.
72029         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72030         unsigned long long int to avoid warnings in shift.
72032         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72033         of use of trans.
72034         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72035         variable tmp.
72037         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72038         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72039         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72041         * nis/nis_table.c (nis_list): Use variable of correct type for
72042         result of __follow_path call.
72044 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72046         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72047         of math functions ceil, trunc, floor, round, and sqrt, when
72048         avaliable on the platform.
72049         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72050         name clash.
72051         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72052         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72053         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72055 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72057         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72058         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72060 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72062         * include/unistd.h: Fix __readlink return type.
72063         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72065 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72067         * stdlib/ucontext.h: Undo last change for makecontext.
72069 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72071         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72073         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72074         * setjmp/setjmp.h: Mark functions as non-leaf.
72075         * setjmp/bits/setjmp2.h: Likewise.
72076         * stdlib/ucontext.h: Likewise.
72078 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72080         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72081         (reused_arena): Don't check arena limit.
72082         (arena_get2): Atomically check arena limit.
72084 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72086         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72087         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72089         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72090         instructions.
72092 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72094         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72095         handler when locking.
72097         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72098         Fix size of allocated buffer.
72100 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72102         [BZ #10103]
72103         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72104         declarations for long double functions.
72105         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72107         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72109 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72111         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72112         installed.
72114         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72115         is disabled.
72117 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72119         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72121 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72123         * include/alloca.h (stackinfo_alloca_round): Define.
72124         (extend_alloca): Use it.
72125         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72126         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72127         here.
72129         * scripts/check-local-headers.sh: Ignore libaudit.h.
72131         * nscd/Makefile (extra-objs): Make recursively expanded.
72133 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72135         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72136         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72138         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72139         * posix/tst-rfc3484-2.c: Likewise.
72140         * posix/tst-rfc3484-3.c: Likewise.
72142         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72143         process_vm_writev.
72144         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72145         process_vm_writev.
72146         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72147         process_vm_writev from libc using GLIBC_2.15 version.
72149         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72151 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72153         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72154         stack usage.
72156 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72158         [BZ #13367]
72159         * nss/getent.c (initgroups_keys): Show error message in case no group
72160         names are given.
72162         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72163         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72164         __bump_nl_timestamp.
72165         * nscd/connections (nscd_init): When host database is served open
72166         netlink socket and request notification about configuration changes.
72167         (main_loop_poll): Track netlink file descriptor and bump timestamp
72168         in case data becomes available.
72169         (main_loop_epoll): Likewise.
72170         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72171         (database_pers_head): Add extra_data fileds.
72172         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72173         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72174         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72175         Adjust caller.
72176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72177         in6ai data, call __free_in6ai.
72178         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72179         Add -DHAVE_NETLINK.
72180         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72181         interface information.  Reuse previous data if netlink timestamp
72182         is not changed.
72183         (__bump_nl_timestamp): New function.
72184         (__free_in6ai): New function.
72186 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72188         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72189         close_not_cancel_no_status here.
72190         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72192 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72194         [BZ #13276]
72195         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72196         return value.
72198         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72199         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72200         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72202 2011-07-03  Andreas Jaeger  <aj@suse.de>
72204         [BZ #10709]
72205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72206         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72207         * math/libm-test.inc (sin_test): Add test case.
72209 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72211         [BZ #13337]
72212         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72213         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72215         * elf/chroot_canon.c (chroot_canon): Cleanups.
72217         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72219         [BZ #13335]
72220         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72221         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72223         * string/test-strchr.c: Make usable for strchrnul testing.
72224         * string/test-strchrnul.c: New file.
72225         * string/Makefile (strop-tests): Add strchrnul.
72227         * po/it.po: Update from translation team.
72228         * po/es.po: Likewise.
72230 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72232         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72233         the three constants needed as parameters.  Drop the others.
72234         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72235         __m128i_strloadu_tolower.
72236         Create and initialize variable zero and use it in all the places
72237         where _mm_setzero_si128 was used.
72239         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72240         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72241         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72242         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72243         anymore.
72244         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72245         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72246         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72247         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72248         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72249         __mpranred, __mptan.
72250         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72251         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72252         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72253         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72254         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72255         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72256         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72257         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72258         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72260 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72262         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72263         redefine if SHARED.
72264         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72267         wide char related routines to wcsmbs subdir.
72269 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72271         [BZ #13344]
72272         * misc/sys/cdefs.h (__THROWNL): Define.
72273         * posix/unistd.h: Use __THREADNL instead of __THREAD
72274         for memory synchronization functions.
72276 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72278         [BZ #13349]
72279         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72280         doesn't exist.
72281         * manual/stdio.texi (Obstack Streams): Node removed.
72283 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72285         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72286         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72287         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72289         * math/math_private.h (math_force_eval): Allow non-addressable
72290         arguments.
72291         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72293 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72295         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72296         file is not needed.
72298         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72299         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72300         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72301         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72302         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72303         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72304         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72305         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72306         Add AVX variants.
72307         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72308         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72309         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72310         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72311         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72312         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72313         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72314         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72315         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72316         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72317         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72318         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72319         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72320         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72321         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72322         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72323         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72324         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72325         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72327         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72328         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72330         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72331         place.  Use VEX encoding when compiling for AVX.
72333 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72335         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72336         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72338         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72340 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72342         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72343         useless if() expression.
72344         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72345         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72346         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72347         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72348         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72349         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72350         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72351         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72352         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72353         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72354         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72355         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72356         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72357         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72358         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72359         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72360         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72361         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72362         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72364         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72366 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72368         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72369         condition.
72370         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72372 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72374         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72375         .text section.  Avoid duplicate constants.
72376         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72377         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72378         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72380         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72381         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72382         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72383         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72384         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72385         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72386         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72387         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72388         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72389         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72390         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72391         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72392         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72393         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72394         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72396         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72397         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72398         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72399         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72400         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72401         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72402         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72403         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72404         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72405         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72406         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72407         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72408         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72409         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72410         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72411         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72412         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72413         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72414         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72415         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72416         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72417         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72418         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72419         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72420         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72422 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72424         * sysdeps/x86_64/dla.h: Move to ...
72425         * sysdeps/x86_64/fpu/dla.h: ...here.
72426         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72427         situations.  Use __builtin_fma only for gcc 4.6 and up.
72429         * config.make.in: Add have-mfma4 entry.
72430         * configure.in: Substitute libc_cv_cc_fma4.
72431         * math/Makefile (dbl-only-routines): Add sincostab.
72432         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72433         Use __sincostab not sincos.
72434         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72435         name is a macro.
72436         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72440         using __copysign.
72441         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72442         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72443         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72444         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72445         and __inv.
72446         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72447         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72448         __copysign.
72449         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72450         define aliases when function name is a macro.
72451         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72452         sysdeps/ieee754/dbl-64/sincos.tbl.
72453         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72454         fma4-enabled routines.
72455         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72456         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72457         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72458         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72459         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72460         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72462         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72463         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72464         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72465         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72466         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72467         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72468         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72469         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72470         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72471         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72472         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72473         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72474         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72475         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72476         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72477         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72478         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72479         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72480         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72481         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72482         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72483         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72484         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72486         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72487         rename.
72488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72491         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72492         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72493         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72494         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72495         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72497 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72499         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72501 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72503         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72505         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72506         prediction.
72507         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72509         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72510         Remove unused variable magic_bits.
72511         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72513         * string/strnlen.c: Define and use STRNLEN macro.
72514         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72515         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72516         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72517         * wcsmbs/wcslen.c: Define and use WCSLEN.
72518         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72519         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72520         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72521         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72522         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72523         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72524         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72526 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72529         strnlen-sse2-no-bsf.
72530         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72531         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72532         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72533         Add strnlen support.
72534         (USE_AS_STRNLEN): New macro.
72535         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72536         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72537         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72538         * sysdeps/x86_64/wcslen.S: New file.
72540 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72542         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72543         XMM-moves are used for copying on small sizes.
72545 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72547         * wcsmbs/Makefile (strop-tests): Add wcschr.
72548         * wcsmbs/test-wcschr.c: New file.
72549         * string/test-strchr.c: Update.
72550         Add wcschr support.
72551         (WIDE): New macro.
72553 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72555         * wcsmbs/Makefile (strop-tests): Add wcslen.
72556         * wcsmbs/test-wcslen.c: New file.
72557         * string/test-strlen.c: Update.
72558         Add wcslen support.
72559         (WIDE): New macro.
72561 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72563         * po/it.po: Update from translation team.
72565 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72567         * sysdeps/x86_64/wcscmp.S: Update.
72568         Fix wrong comparison semantics.
72569         wcscmp shall use signed comparison not unsigned.
72570         Don't use substraction to avoid overflow bug.
72571         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72572         * wcsmbc/wcscmp.c: Likewise.
72573         * string/test-strcmp.c: Likewise.
72574         Add new tests to check cases with negative values.
72576 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72578         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72579         * sysdeps/x86_64/dla.h: ...here.  New file.
72580         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72582         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72585         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72586         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72588         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72590 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72592         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72593         __ynl_finite aliases.
72595 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72599         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72600         define DLA_FMA.
72601         [DLA_FMA] (EMULV): Use DLA_FMA.
72602         [DLA_FMA] (MUL12): Use EMULV.
72603         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72604         that are not needed.
72605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72610         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72611         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72613 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72615         * math/s_nan.c: Undef __nan.
72616         * math/s_nanf.c: Undef __nanf.
72617         * math/s_nanl.c: Undef __nanl.
72618         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72619         "math_private.h".
72621 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72623         * math/s_catan.c: Add branch predictions.
72624         * math/s_catanf.c: Likewise.
72625         * math/s_catanh.c: Likewise.
72626         * math/s_catanhf.c: Likewise.
72627         * math/s_catanhl.c: Likewise.
72628         * math/s_catanl.c: Likewise.
72629         * math/s_cexp.c: Likewise.
72630         * math/s_cexpf.c: Likewise.
72631         * math/s_cexpl.c: Likewise.
72632         * math/s_clog.c: Likewise.
72633         * math/s_clog10.c: Likewise.
72634         * math/s_clog10f.c: Likewise.
72635         * math/s_clog10l.c: Likewise.
72636         * math/s_clogf.c: Likewise.
72637         * math/s_clogl.c: Likewise.
72638         * math/s_csqrt.c: Likewise.
72639         * math/s_csqrtf.c: Likewise.
72640         * math/s_csqrtl.c: Likewise.
72641         * math/s_ctanf.c: Likewise.
72642         * math/s_ctanh.c: Likewise.
72643         * math/s_ctanhf.c: Likewise.
72644         * math/s_ctanhl.c: Likewise.
72645         * math/s_ctanl.c: Likewise.
72647         * math/math_private.h: Define __nan, __nanf, __nanl.
72648         * math/s_cacosh.c: Include <math_private.h>.
72649         * math/s_cacoshl.c: Likewise.
72650         * math/s_casinh.c: Likewise.
72651         * math/s_casinhf.c: Likewise.
72652         * math/s_casinhl.c: Likewise.
72653         * math/s_ccos.c: Rely entire on ccosh.
72654         * math/s_ccosf.c: Rely entire on ccoshf.
72655         * math/s_ccosl.c: Rely entirely on ccoshl.
72656         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72657         Remove tests for FE_INVALID.
72658         * math/s_ccoshf.c: Likewise.
72659         * math/s_ccoshl.c: Likewise.
72660         * math/s_csin.c: Likewise.
72661         * math/s_csinf.c: Likewise.
72662         * math/s_csinh.c Likewise.
72663         * math/s_csinhf.c: Likewise.
72664         * math/s_csinhl.c: Likewise.
72665         * math/s_csinl.c: Likewise.
72666         * math/s_ctan.c: Likewise.
72667         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72668         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72669         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72671 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72674         compilation problems.
72676         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72677         __builtin_expect.
72679 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72681         * sysdeps/i386/configure.in: Test for -mfma4 option.
72682         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72683         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72684         COMMON_CPUID_INDEX_80000001.
72685         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72686         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72687         use it if FMA3 is not supported.
72688         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72690         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72691         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72693 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72695         [BZ #12892]
72696         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72697         it would create a cycle with a link time dependency.
72699 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72701         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72702         instruction.
72703         * string/Makefile (strop-tests): Add rawmemchr.
72704         * string/test-rawmemchr.c: New file.
72706         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72707         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72708         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72709         when compiling str{,n}casecmp and when AVX is available.  Hook up
72710         new optimized code in initializers.
72712 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72714         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72715         __feraiseexcept instead of feraiseexcept.
72717 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72719         * math/math_private.h: Define defaults for libc_fetestexcept and
72720         libc_feupdateenv.
72721         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72722         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72723         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72724         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72725         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72726         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72727         libc_fetestexcept and libc_feupdateenv.
72729         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72730         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72731         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72732         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72733         libc_feholdexcept_setround.
72735         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72736         Add s_nearbyint-c and s_nearbyintf-c.
72737         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72738         nearbyintf inlines.
72739         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72740         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72741         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72742         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72744         * math/math_private.h: Define defaults for libc_fegetround,
72745         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72746         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72747         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72748         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72749         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72750         standard functions.
72751         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72752         Remove comments and hacks for old compiler versions.
72753         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72754         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72755         libc_feholdexceptl.
72757 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72759         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72760         (__feraiseexcept_renamed): Add __NTH.
72761         (feraiseexcept): Add __NTH.  Rename local variables to fix
72762         namespace violations.
72764 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72766         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72768         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72770         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72771         recently added interfaces.
72772         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72774         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72775         about macro parameter expansion.
72777         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72778         __NO_MATH_INLINES is defined.  Cleanups.
72780         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72781         and __floorf is target has SSE4.1.
72782         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72783         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72784         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72785         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72787         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72788         name.
72789         (floorf): Likewise.
72791         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72793 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72795         * misc/sys/cdefs.h: Fix last change.
72797         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72798         database lookup.
72800 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72802         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72804         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72805         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72806         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72807         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72808         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72809         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72810         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72811         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72812         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72813         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72814         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72815         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72816         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72817         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72818         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72819         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72820         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72821         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72822         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72823         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72824         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72825         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72827         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72828         ceil, ceilf, floor, floorf.
72830         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72831         Perform IRELATIVE relocations last.
72833         * elf/do-rel.h: Add another parameter nrelative, replacing the
72834         local variable with the same name.  Change name of the function
72835         to end in Rel or Rela (uppercase).
72836         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72837         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72838         elf_dynamic_do_##reloc function.
72840 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72842         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72843         is sufficient, at least on modern CPUs.
72845         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72847         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72848         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72850         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72851         __expl_finite.
72852         * math/bits/math-finite.h: Add entries for exp.
72853         * math/e_expl.c: Add __*_finite alias.
72854         * sysdeps/i386/fpu/e_exp.S: Likewise.
72855         * sysdeps/i386/fpu/e_expf.S: Likewise.
72856         * sysdeps/i386/fpu/e_expl.c: Likewise.
72857         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72858         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72859         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72860         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72861         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72862         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72863         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72865         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72866         is sufficient, at least on modern CPUs.
72868         * ctype/ctype-info.c (__ctype_init): Define.
72869         * include/ctype.h (__ctype_init): Declare.
72870         (__ctype_b_loc): The variable is always initialized.
72871         (__ctype_toupper_loc): Likewise.
72872         (__ctype_tolower_loc): Likewise.
72873         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72874         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72876 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72878         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72880         * configure.in: Also look in $cxxmachine/include for C++ system
72881         headers.
72883 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72885         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72886         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72887         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72888         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72889         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72890         (USE_AS_WMEMCMP): New macro.
72891         Fixing indents.
72892         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72893         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72894         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72895         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72897         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72898         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72899         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72900         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72901         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72902         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72903         (USE_AS_WMEMCMP): New macro.
72904         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72905         * sysdeps/string/test-memcmp.c: Update.
72906         Fix simple_wmemcmp.
72907         Add new tests.
72908         * wcsmbs/wmemcmp.c: Update.
72909         (WMEMCMP): New macro.
72910         Fix overflow bug.
72912 2011-10-12  Andreas Jaeger  <aj@suse.de>
72914         [BZ #13268]
72915         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72917 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72919         * libio/iofwide.c (do_length): Avoid warning.
72921         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72923 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72925         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72927         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72928         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72929         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72930         * sysdeps/i386/i686/fpu/e_log.S: New file.
72931         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72932         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72934         * ctype/ctype.h: Add support for inlined isXXX functions when
72935         compiling C++ code.
72937 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72939         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72941         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72943 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72945         [BZ #13291]
72946         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72948 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72950         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72951         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72952         feraiseexcept.
72954         * sysdeps/x86_64/memrchr.S: Check for zero size.
72956         * string/stratcliff.c: Add memrchr tests.
72958 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72961         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72962         rawmemchr-sse2 rawmemchr-sse2-bsf.
72963         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72964         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72965         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72966         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72967         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72968         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72969         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72970         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72971         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72972         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72973         * string/memrchr.c (MEMRCHR): New macro.
72975 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72977         Add integration with gcc's -ffinite-math-only and optimize wrapper
72978         functions in libm.
72979         * Versions.def: Define GLIBC_2.15 version for libm.
72980         * math/Makefile (headers): Add bits/math-finite.h.
72981         * math/bits/math-finite.h: New file.
72982         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72983         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72984         * math/e_acoshl.c: Add __*_finite alias.
72985         * math/e_acosl.c: Likewise.
72986         * math/e_asinl.c: Likewise.
72987         * math/e_atan2l.c: Likewise.
72988         * math/e_atanhl.c: Likewise.
72989         * math/e_coshl.c: Likewise.
72990         * math/e_exp10.c: Likewise.
72991         * math/e_exp10f.c: Likewise.
72992         * math/e_exp10l.c: Likewise.
72993         * math/e_exp2l.c: Likewise.
72994         * math/e_fmodl.c: Likewise.
72995         * math/e_gammal_r.c: Likewise.
72996         * math/e_hypotl.c: Likewise.
72997         * math/e_j0l.c: Likewise.
72998         * math/e_j1l.c: Likewise.
72999         * math/e_jnl.c: Likewise.
73000         * math/e_lgammal_r.c: Likewise.
73001         * math/e_log10l.c: Likewise.
73002         * math/e_log2l.c: Likewise.
73003         * math/e_logl.c: Likewise.
73004         * math/e_powl.c: Likewise.
73005         * math/e_sinhl.c: Likewise.
73006         * math/e_sqrtl.c: Likewise.
73007         * math/e_scalb.c: Completely rewritten and optimized.
73008         * math/e_scalbf.c: Likewise.
73009         * math/e_scalbl.c: Likewise.
73010         * math/w_acos.c: Likewise.
73011         * math/w_acosf.c: Likewise.
73012         * math/w_acosl.c: Likewise.
73013         * math/w_acosh.c: Likewise.
73014         * math/w_acoshf.c: Likewise.
73015         * math/w_acoshl.c: Likewise.
73016         * math/w_asin.c: Likewise.
73017         * math/w_asinf.c: Likewise.
73018         * math/w_asinl.c: Likewise.
73019         * math/w_atan2.c: Likewise.
73020         * math/w_atan2f.c: Likewise.
73021         * math/w_atan2l.c: Likewise.
73022         * math/w_atanh.c: Likewise.
73023         * math/w_atanhf.c: Likewise.
73024         * math/w_atanhl.c: Likewise.
73025         * math/w_exp10.c: Likewise.
73026         * math/w_exp10f.c: Likewise.
73027         * math/w_exp10l.c: Likewise.
73028         * math/w_fmod.c: Likewise.
73029         * math/w_fmodf.c: Likewise.
73030         * math/w_fmodl.c: Likewise.
73031         * math/w_j0.c: Likewise.
73032         * math/w_j0f.c: Likewise.
73033         * math/w_j0l.c: Likewise.
73034         * math/w_j1.c: Likewise.
73035         * math/w_j1f.c: Likewise.
73036         * math/w_j1l.c: Likewise.
73037         * math/w_jn.c: Likewise.
73038         * math/w_jnf.c: Likewise.
73039         * math/w_log.c: Likewise.
73040         * math/w_logf.c: Likewise.
73041         * math/w_logl.c: Likewise.
73042         * math/w_log10.c: Likewise.
73043         * math/w_log10f.c: Likewise.
73044         * math/w_log10l.c: Likewise.
73045         * math/w_log2.c: Likewise.
73046         * math/w_log2f.c: Likewise.
73047         * math/w_log2l.c: Likewise.
73048         * math/w_pow.c: Likewise.
73049         * math/w_powf.c: Likewise.
73050         * math/w_powl.c: Likewise.
73051         * math/w_remainder.c: Likewise.
73052         * math/w_remainderf.c: Likewise.
73053         * math/w_remainderl.c: Likewise.
73054         * math/w_scalb.c: Likewise.
73055         * math/w_scalbf.c: Likewise.
73056         * math/w_scalbl.c: Likewise.
73057         * math/w_sqrt.c: Likewise.
73058         * math/w_sqrtf.c: Likewise.
73059         * math/w_sqrtl.c: Likewise.
73060         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73061         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73062         used.
73063         * math/math_private.h: Declare __kernel_standard_f.
73064         * math/w_cosh.c: Remove cruft and optimize a bit.
73065         * math/w_coshf.c: Likewise.
73066         * math/w_coshl.c: Likewise.
73067         * math/w_exp2.c: Likewise.
73068         * math/w_exp2f.c: Likewise.
73069         * math/w_exp2l.c: Likewise.
73070         * math/w_hypot.c: Likewise.
73071         * math/w_hypotf.c: Likewise.
73072         * math/w_hypotl.c: Likewise.
73073         * math/w_lgamma.c: Likewise.
73074         * math/w_lgamma_r.c: Likewise.
73075         * math/w_lgammaf.c: Likewise.
73076         * math/w_lgammaf_r.c: Likewise.
73077         * math/w_lgammal.c: Likewise.
73078         * math/w_lgammal_r.c: Likewise.
73079         * math/w_sinh.c: Likewise.
73080         * math/w_sinhf.c: Likewise.
73081         * math/w_sinhl.c: Likewise.
73082         * math/w_tgamma.c: Likewise.
73083         * math/w_tgammaf.c: Likewise.
73084         * math/w_tgammal.c: Likewise.
73085         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73086         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73087         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73088         Minor optimizations.  Pretty printing.  Remove cruft.
73089         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73090         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73091         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73092         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73093         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73094         * sysdeps/i386/fpu/e_asin.S: Likewise.
73095         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73096         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73097         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73098         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73099         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73100         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73101         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73102         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73103         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73104         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73105         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73106         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73107         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73108         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73109         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73110         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73111         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73112         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73113         * sysdeps/i386/fpu/e_log.S: Likewise.
73114         * sysdeps/i386/fpu/e_log10.S: Likewise.
73115         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73116         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73117         * sysdeps/i386/fpu/e_log2.S: Likewise.
73118         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73119         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73120         * sysdeps/i386/fpu/e_logf.S: Likewise.
73121         * sysdeps/i386/fpu/e_logl.S: Likewise.
73122         * sysdeps/i386/fpu/e_pow.S: Likewise.
73123         * sysdeps/i386/fpu/e_powf.S: Likewise.
73124         * sysdeps/i386/fpu/e_powl.S: Likewise.
73125         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73126         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73127         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73128         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73129         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73130         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73131         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73132         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73133         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73134         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73135         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73136         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73137         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73138         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73139         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73140         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73141         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73142         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73143         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73144         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73145         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73146         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73147         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73148         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73150         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73151         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73152         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73154         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73155         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73156         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73157         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73158         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73159         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73160         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73161         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73162         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73163         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73164         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73165         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73166         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73167         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73168         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73169         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73170         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73171         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73172         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73173         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73174         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73175         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73176         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73177         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73178         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73179         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73180         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73181         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73182         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73183         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73184         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73189         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73190         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73191         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73192         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73193         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73194         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73195         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73198         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73199         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73200         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73201         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73202         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73203         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73204         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73205         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73206         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73208         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73211         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73212         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73213         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73214         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73215         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73216         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73217         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73218         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73219         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73220         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73221         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73222         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73223         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73224         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73225         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73226         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73227         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73228         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73229         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73230         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73231         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73232         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73233         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73234         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73235         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73236         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73237         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73238         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73239         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73240         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73241         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73242         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73243         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73244         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73245         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73246         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73247         (__isnanf): Likewise.
73248         (__isinf_ns): Likewise.
73249         (__isinf_nsf): Likewise.
73250         (__finite): Likewise.
73251         (__finitef): Likewise.
73252         (__ieee754_sqrt): Define as macro.
73253         (__ieee754_sqrtf): Define as macro.
73254         (__ieee754_sqrtl): Define as macro.
73255         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73256         inlined copy.
73257         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73258         __FINITE_MATH_ONLY__ consistent.
73259         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73261 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73263         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73264         of rawmemchr.
73266         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73268 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73270         * po/ja.po: Update from translation team.
73272 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73274         * locale/programs/locarchive.c (prepare_address_space): New function.
73275         (create_archive, enlarge_archive, open_archive): Use it.
73277         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73278         inside [SHARED], where it is used.
73280         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73282         * nss/getent.c (netgroup_keys): Remove unused variable.
73283         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73285 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73287         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73288         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73289         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73290         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73291         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73292         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73293         * math/Makefile (libm-calls): Add s_isinf_ns.
73294         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73295         * math/multc3.c: Likewise.
73296         * math/s_casin.c: Likewise.
73297         * math/s_casinf.c: Likewise.
73298         * math/s_casinl.c: Likewise.
73299         * math/s_ccos.c: Likewise.
73300         * math/s_ccosf.c: Likewise.
73301         * math/s_ccosl.c: Likewise.
73302         * math/s_ctan.c: Likewise.
73303         * math/s_ctanf.c: Likewise.
73304         * math/s_ctanh.c: Likewise.
73305         * math/s_ctanhf.c: Likewise.
73306         * math/s_ctanhl.c: Likewise.
73307         * math/s_ctanl.c: Likewise.
73308         * math/w_fmod.c: Likewise.
73309         * math/w_fmodf.c: Likewise.
73310         * math/w_fmodl.c: Likewise.
73311         * math/w_remainder.c: Likewise.
73312         * math/w_remainderf.c: Likewise.
73313         * math/w_remainderl.c: Likewise.
73314         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73315         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73316         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73317         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73318         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73319         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73320         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73321         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73323         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73324         of the number.
73325         * stdio-common/printf_fphex.c: Likewise.
73326         * stdio-common/printf_size.c: Likewise.
73328         * math/e_exp10.c: Include math_private.h using <...> not "...".
73329         * math/e_exp10f.c: Likewise.
73330         * math/e_exp10l.c: Likewise.
73331         * math/e_exp2l.c: Likewise.
73332         * math/e_j0l.c: Likewise.
73333         * math/e_j1l.c: Likewise.
73334         * math/e_jnl.c: Likewise.
73335         * math/e_lgammal_r.c: Likewise.
73336         * math/e_rem_pio2l.c: Likewise.
73337         * math/e_scalb.c: Likewise.
73338         * math/e_scalbf.c: Likewise.
73339         * math/e_scalbl.c: Likewise.
73340         * math/k_cosl.c: Likewise.
73341         * math/k_sinl.c: Likewise.
73342         * math/k_tanl.c: Likewise.
73343         * math/s_cacoshf.c: Likewise.
73344         * math/s_catan.c: Likewise.
73345         * math/s_catanf.c: Likewise.
73346         * math/s_catanh.c: Likewise.
73347         * math/s_catanhf.c: Likewise.
73348         * math/s_catanhl.c: Likewise.
73349         * math/s_catanl.c: Likewise.
73350         * math/s_ccosh.c: Likewise.
73351         * math/s_ccoshf.c: Likewise.
73352         * math/s_ccoshl.c: Likewise.
73353         * math/s_cexp.c: Likewise.
73354         * math/s_cexpf.c: Likewise.
73355         * math/s_cexpl.c: Likewise.
73356         * math/s_clog.c: Likewise.
73357         * math/s_clog10.c: Likewise.
73358         * math/s_clog10f.c: Likewise.
73359         * math/s_clog10l.c: Likewise.
73360         * math/s_clogf.c: Likewise.
73361         * math/s_clogl.c: Likewise.
73362         * math/s_csin.c: Likewise.
73363         * math/s_csinf.c: Likewise.
73364         * math/s_csinh.c: Likewise.
73365         * math/s_csinhf.c: Likewise.
73366         * math/s_csinhl.c: Likewise.
73367         * math/s_csinl.c: Likewise.
73368         * math/s_csqrt.c: Likewise.
73369         * math/s_csqrtf.c: Likewise.
73370         * math/s_csqrtl.c: Likewise.
73371         * math/s_ctan.c: Likewise.
73372         * math/s_ctanf.c: Likewise.
73373         * math/s_ctanh.c: Likewise.
73374         * math/s_ctanhf.c: Likewise.
73375         * math/s_ctanhl.c: Likewise.
73376         * math/s_ctanl.c: Likewise.
73377         * math/s_ldexp.c: Likewise.
73378         * math/s_ldexpf.c: Likewise.
73379         * math/s_ldexpl.c: Likewise.
73380         * math/s_significand.c: Likewise.
73381         * math/s_significandf.c: Likewise.
73382         * math/s_significandl.c: Likewise.
73383         * math/w_acos.c: Likewise.
73384         * math/w_acosf.c: Likewise.
73385         * math/w_acosh.c: Likewise.
73386         * math/w_acoshf.c: Likewise.
73387         * math/w_acoshl.c: Likewise.
73388         * math/w_acosl.c: Likewise.
73389         * math/w_asin.c: Likewise.
73390         * math/w_asinf.c: Likewise.
73391         * math/w_asinl.c: Likewise.
73392         * math/w_atan2.c: Likewise.
73393         * math/w_atan2f.c: Likewise.
73394         * math/w_atan2l.c: Likewise.
73395         * math/w_atanh.c: Likewise.
73396         * math/w_atanhf.c: Likewise.
73397         * math/w_atanhl.c: Likewise.
73398         * math/w_cosh.c: Likewise.
73399         * math/w_coshf.c: Likewise.
73400         * math/w_coshl.c: Likewise.
73401         * math/w_dremf.c: Likewise.
73402         * math/w_exp10.c: Likewise.
73403         * math/w_exp10f.c: Likewise.
73404         * math/w_exp10l.c: Likewise.
73405         * math/w_exp2.c: Likewise.
73406         * math/w_exp2f.c: Likewise.
73407         * math/w_fmod.c: Likewise.
73408         * math/w_fmodf.c: Likewise.
73409         * math/w_fmodl.c: Likewise.
73410         * math/w_hypot.c: Likewise.
73411         * math/w_hypotf.c: Likewise.
73412         * math/w_hypotl.c: Likewise.
73413         * math/w_j0.c: Likewise.
73414         * math/w_j0f.c: Likewise.
73415         * math/w_j0l.c: Likewise.
73416         * math/w_j1.c: Likewise.
73417         * math/w_j1f.c: Likewise.
73418         * math/w_j1l.c: Likewise.
73419         * math/w_jn.c: Likewise.
73420         * math/w_jnf.c: Likewise.
73421         * math/w_jnl.c: Likewise.
73422         * math/w_lgamma.c: Likewise.
73423         * math/w_lgamma_r.c: Likewise.
73424         * math/w_lgammaf.c: Likewise.
73425         * math/w_lgammaf_r.c: Likewise.
73426         * math/w_lgammal.c: Likewise.
73427         * math/w_lgammal_r.c: Likewise.
73428         * math/w_log.c: Likewise.
73429         * math/w_log10.c: Likewise.
73430         * math/w_log10f.c: Likewise.
73431         * math/w_log10l.c: Likewise.
73432         * math/w_log2.c: Likewise.
73433         * math/w_log2f.c: Likewise.
73434         * math/w_log2l.c: Likewise.
73435         * math/w_logf.c: Likewise.
73436         * math/w_logl.c: Likewise.
73437         * math/w_pow.c: Likewise.
73438         * math/w_powf.c: Likewise.
73439         * math/w_powl.c: Likewise.
73440         * math/w_remainder.c: Likewise.
73441         * math/w_remainderf.c: Likewise.
73442         * math/w_remainderl.c: Likewise.
73443         * math/w_scalb.c: Likewise.
73444         * math/w_scalbf.c: Likewise.
73445         * math/w_scalbl.c: Likewise.
73446         * math/w_sinh.c: Likewise.
73447         * math/w_sinhf.c: Likewise.
73448         * math/w_sinhl.c: Likewise.
73449         * math/w_sqrt.c: Likewise.
73450         * math/w_sqrtf.c: Likewise.
73451         * math/w_sqrtl.c: Likewise.
73452         * math/w_tgamma.c: Likewise.
73453         * math/w_tgammaf.c: Likewise.
73454         * math/w_tgammal.c: Likewise.
73456         * po/ja.po: Update from translation team.
73458 2011-09-29  Andreas Jaeger  <aj@suse.de>
73460         [BZ #13179]
73461         * sunrpc/netname.c (netname2host): Fix logic.
73463         [BZ #6779]
73464         [BZ #6783]
73465         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73466         correctly.
73467         * math/w_remainder.c (__remainder): Likewise.
73468         * math/w_remainderf.c (__remainderf): Likewise.
73469         * math/libm-test.inc (remainder_test): Add test cases.
73471 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73473         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73474         sdiv_qrnnd.
73476 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73478         * string/test-memcmp.c: Avoid unncessary #defines.
73479         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73481 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73483         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73484         Use new sse2 version for core i3 - i7 as it's faster
73485         than sse42 version.
73486         (bit_Prefer_PMINUB_for_stringop): New.
73487         * sysdeps/x86_64/rawmemchr.S: Update.
73488         Replace with faster SSE2 version.
73489         * sysdeps/x86_64/memrchr.S: New file.
73490         * sysdeps/x86_64/memchr.S: Update.
73491         Replace with faster SSE2 version.
73493 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73495         * elf/dl-load.c (lose): Add cast to avoid warning.
73497 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73499         * po/ca.po: Update from translation team.
73501         * inet/getnetgrent_r.c: Hook up nscd.
73502         * nscd/Makefile (routines): Add nscd_netgroup.
73503         (nscd-modules): Add netgroupcache.
73504         (CFLAGS-netgroupcache.c): Define.
73505         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73506         (cache_search): Add const to second parameter.
73507         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73508         INNETGR.
73509         (dbs): Add netgrdb entry.
73510         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73511         (verify_persistent_db): Handle netgrdb.
73512         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73513         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73514         GETFDNETGR.
73515         (netgroup_response_header): Define.
73516         (innetgroup_response_header): Define.
73517         (datahead): Add netgroup_response_header and innetgroup_response_header
73518         elements.
73519         * nscd/nscd.conf: Add entries for netgroup cache.
73520         * nscd/nscd.h (dbtype): Add netgrdb.
73521         (_PATH_NSCD_NETGROUP_DB): Define.
73522         (netgroup_iov_disabled): Declare.
73523         (xmalloc, xcalloc, xrealloc): Move declarations here.
73524         (cache_search): Adjust prototype.
73525         Add netgroup-related prototypes.
73526         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73527         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73528         (__nscd_innetgr): Declare.
73529         * nscd/selinux.c (perms): Use access_vector_t as element type and
73530         add netgroup-related initializers.
73531         * nscd/netgroupcache.c: New file.
73532         * nscd/nscd_netgroup.c: New file.
73533         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73534         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73535         For four parameters use innetgr.
73536         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73537         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73538         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73539         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73541         * nscd/connections.c (register_traced_file): Don't register file
73542         for disabled databases.
73544 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73546         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73548         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73549         from tree and freeing node.
73551 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73553         * nss/nsswitch.c (__nss_database_lookup): Handle
73554         nss_parse_service_list out of memory case.
73556 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73558         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73559         out of memory case.
73561 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73563         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73564         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73565         pass it down.
73566         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73567         elf_machine_rela, elf_machine_lazy_rel.
73568         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73569         (ELF_DYNAMIC_DO_REL): Likewise.
73570         (ELF_DYNAMIC_DO_RELA): Likewise.
73571         (ELF_DYNAMIC_RELOCATE): Likewise.
73572         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73573         to ELF_DYNAMIC_DO_REL.
73574         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73575         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73576         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73577         elf_machine_rela.
73578         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73579         skip_ifunc, don't call ifunc function if non-zero.
73580         (elf_machine_rela): Likewise.
73581         (elf_machine_lazy_rel): Likewise.
73582         (elf_machine_lazy_rela): Likewise.
73583         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73584         (elf_machine_lazy_rel): Likewise.
73585         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73586         Likewise.
73587         (elf_machine_lazy_rel): Likewise.
73588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73589         Likewise.
73590         (elf_machine_lazy_rel): Likewise.
73591         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73592         (elf_machine_lazy_rel): Likewise.
73593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73594         (elf_machine_lazy_rel): Likewise.
73595         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73596         (elf_machine_lazy_rel): Likewise.
73597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73598         (elf_machine_lazy_rel): Likewise.
73599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73600         (elf_machine_lazy_rel): Likewise.
73601         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73602         (elf_machine_lazy_rel): Likewise.
73604 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73606         * nss/nss_files/files-init.c (_nss_files_init): Use static
73607         initialization for all the *_traced_file variables.
73609 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73611         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73613 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73615         [BZ #13226]
73616         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73618 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73620         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73621         Reread the line before reparsing it.
73623 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73625         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73627 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73628             Maxim Kuvyrkov  <maxim@codesourcery.com>
73629             Joseph Myers  <joseph@codesourcery.com>
73631         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73632         if needed for __stack_chk_guard.
73634 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73636         * sysdeps/posix/spawni.c (script_execute): Always define it.
73637         It will be optimized away if unused.
73638         (maybe_script_execute): New function.
73639         (__spawni): Call it.
73641         * Makerules: Don't include tls.make.
73642         (config-tls): Always set to thread.
73643         * tls.make.c: File removed.
73645 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73647         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73648         * config.make.in (CPPFLAGS-config): New substituted variable.
73650 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73652         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73654         [BZ #13192]
73655         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73656         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73658 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73660         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73661         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73662         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73663         (CALL_FAIL): Likewise.
73664         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73665         (CALL_FAIL): Macro removed.
73666         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73668 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73670         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73671         for __FINITE_MATH_ONLY__ == 1.
73673 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73675         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73676         __ieee754_sqrt instead of sqrt.
73677         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73678         __ieee754_sqrtf instead of sqrtf.
73679         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73680         __floorf instead of floorf.
73681         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73682         __floorf, __truncf instead of floorf, truncf.
73684 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73686         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73688         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73689         __extern_always_inline.
73690         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73691         32-bit.
73693 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73695         * elf/rtld.c (dl_main): Also relocate in dependency order when
73696         doing symbol dependency testing.
73698 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73700         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73701         Always define `refsym'.
73703 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73705         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73706         (__FD_ELT): Renamed from __FDELT.
73707         * misc/bits/select2.h (__FD_ELT): Likewise.
73708         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73709         __FD_MASK instead of __FDELT, __FDMASK.
73710         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73711         Likewise.
73712         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73713         Likewise.
73715         * elf/Makefile (gen-ldd): Fix pattern.
73717         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73718         (init_tls): Likewise.
73720 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73722         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73724 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73726         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73727         `struct cmsghdr *' instead of `void *'.
73728         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73729         Likewise.
73731 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73733         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73734         if non-absolute.
73735         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73736         ldd_rewrite_script.
73738 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73740         * configure.in: Remove --with-tls option.
73741         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73742         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73743         out in case it is missing.
73744         * sysdeps/ia64/elf/configure.in: Likewise.
73745         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73746         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73747         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73748         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73749         * sysdeps/sh/elf/configure.in: Likewise.
73750         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73751         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73752         * sysdeps/x86_64/elf/configure.in: Likewise.
73753         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73754         * sysdeps/mach/hurd/tls.h: Likewise.
73756         [BZ #13067]
73757         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73759         [BZ #13090]
73760         * configure.in: Fix use of AC_INIT.
73762         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73764 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73766         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73767         __set_errno.
73768         * malloc/hooks.c: Likewise.
73770         [BZ #11929]
73771         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73772         variables statically.
73773         (narenas): Initialize.
73774         (list_lock): Initialize.
73775         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73776         initializtion of main_arena and list_lock.  Small cleanups.
73777         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73778         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73779         Add initializers to main_arena and mp_.
73780         (malloc_state): Remove pagesize member.  Change all users to use
73781         GLRO(dl_pagesize).
73783         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73784         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73785         is always initialized.
73787         * malloc/malloc.c: Removed unused configurations and dead code.
73788         * malloc/arena.c: Likewise.
73789         * malloc/hooks.c: Likewise.
73790         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73792         * include/tls.h: Removed.  USE___THREAD must always be defined.
73793         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73794         * elf/dl-libc.c: Likewise.
73795         * elf/dl-tsd.c: Likewise.
73796         * include/errno.h: Likewise.
73797         * include/netdb.h: Likewise.
73798         * include/resolv.h: Likewise.
73799         * inet/herrno-loc.c: Likewise.
73800         * inet/herrno.c: Likewise.
73801         * malloc/arena.c: Likewise.
73802         * malloc/hooks.c: Likewise.
73803         * malloc/malloc.c: Likewise.
73804         * resolv/res-state.c: Likewise.
73805         * resolv/res_libc.c: Likewise.
73806         * sysdeps/i386/dl-machine.h: Likewise.
73807         * sysdeps/ia64/dl-machine.h: Likewise.
73808         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73809         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73810         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73811         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73812         * sysdeps/sh/dl-machine.h: Likewise.
73813         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73814         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73815         * sysdeps/unix/i386/sysdep.S: Likewise.
73816         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73817         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73819         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73821         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73822         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73826         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73827         * sysdeps/x86_64/dl-machine.h: Likewise.
73828         * tls.make.c: Likewise.
73830         * configure.in: Remove --with-__thread option.  Make tests for
73831         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73832         tls_model attribute fail if no support is available.  Remove
73833         USE_IN_LIBIO.
73834         * Makeconfig: Adjust for dropped configure option.  All features are
73835         now mandatory.
73836         * Makerules: Likewise.
73837         * Versions.def: Likewise.
73838         * argp/argp-fmtstream.c: Likewise.
73839         * argp/argp-fmtstream.h: Likewise.
73840         * argp/argp-help.c: Likewise.
73841         * assert/assert.c: Likewise.
73842         * config.h.in: Likewise.
73843         * config.make.in: Likewise.
73844         * configure: Likewise.
73845         * configure.in: Likewise.
73846         * csu/Versions: Likewise.
73847         * csu/init.c: Likewise.
73848         * elf/tst-audit2.c: Likewise.
73849         * elf/tst-tls10.c: Likewise.
73850         * elf/tst-tls10.h: Likewise.
73851         * elf/tst-tls11.c: Likewise.
73852         * elf/tst-tls12.c: Likewise.
73853         * elf/tst-tls14.c: Likewise.
73854         * elf/tst-tlsmod11.c: Likewise.
73855         * elf/tst-tlsmod12.c: Likewise.
73856         * elf/tst-tlsmod13.c: Likewise.
73857         * elf/tst-tlsmod13a.c: Likewise.
73858         * elf/tst-tlsmod14a.c: Likewise.
73859         * elf/tst-tlsmod15b.c: Likewise.
73860         * elf/tst-tlsmod16a.c: Likewise.
73861         * elf/tst-tlsmod16b.c: Likewise.
73862         * elf/tst-tlsmod7.c: Likewise.
73863         * elf/tst-tlsmod8.c: Likewise.
73864         * elf/tst-tlsmod9.c: Likewise.
73865         * gmon/gmon.c: Likewise.
73866         * grp/fgetgrent_r.c: Likewise.
73867         * grp/putgrent.c: Likewise.
73868         * hurd/fopenport.c: Likewise.
73869         * include/libc-symbols.h: Likewise.
73870         * include/tls.h: Likewise.
73871         * intl/gettextP.h: Likewise.
73872         * intl/loadinfo.h: Likewise.
73873         * locale/global-locale.c: Likewise.
73874         * locale/localeinfo.h: Likewise.
73875         * mach/devstream.c: Likewise.
73876         * malloc/arena.c: Likewise.
73877         * malloc/set-freeres.c: Likewise.
73878         * misc/err.c: Likewise.
73879         * misc/getttyent.c: Likewise.
73880         * misc/mntent_r.c: Likewise.
73881         * posix/getopt.c: Likewise.
73882         * posix/wordexp.c: Likewise.
73883         * pwd/fgetpwent_r.c: Likewise.
73884         * resolv/Versions: Likewise.
73885         * resolv/res_hconf.c: Likewise.
73886         * shadow/fgetspent_r.c: Likewise.
73887         * shadow/putspent.c: Likewise.
73888         * stdio-common/printf_fphex.c: Likewise.
73889         * stdio-common/tmpfile.c: Likewise.
73890         * stdlib/abort.c: Likewise.
73891         * stdlib/fmtmsg.c: Likewise.
73892         * sunrpc/auth_unix.c: Likewise.
73893         * sunrpc/clnt_perr.c: Likewise.
73894         * sunrpc/clnt_tcp.c: Likewise.
73895         * sunrpc/clnt_udp.c: Likewise.
73896         * sunrpc/clnt_unix.c: Likewise.
73897         * sunrpc/openchild.c: Likewise.
73898         * sunrpc/svc_simple.c: Likewise.
73899         * sunrpc/svc_tcp.c: Likewise.
73900         * sunrpc/svc_udp.c: Likewise.
73901         * sunrpc/svc_unix.c: Likewise.
73902         * sunrpc/xdr.c: Likewise.
73903         * sunrpc/xdr_array.c: Likewise.
73904         * sunrpc/xdr_rec.c: Likewise.
73905         * sunrpc/xdr_ref.c: Likewise.
73906         * sunrpc/xdr_stdio.c: Likewise.
73908 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73910         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73912 2011-07-03  Andreas Jaeger  <aj@suse.de>
73914         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73915         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73916         regenerate with gen-libm-tests.pl.
73918 2010-05-12  Petr Baudis  <pasky@suse.cz>
73920         [BZ #11589]
73921         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73922         around j0() zero points by switching to j1().
73923         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73924         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73925         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73926         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73928 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73930         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73931         instead of 0.
73932         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73933         instead of 0.
73934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73935         Patch in part by Pavel Roskin <proski@gnu.org>.
73937         [BZ #13138]
73938         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73939         realloc.
73940         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73941         Free memory block if necessary.
73943         [BZ #12847]
73944         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73945         be NULL.  Don't lock in this case.
73947 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73949         * elf/elf.h (ELFOSABI_GNU): New macro.
73950         (ELFOSABI_LINUX): Define to that.
73952 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73954         * string/strncat.c (strncat): Undef the symbol in case it has been
73955         defined in bits/string.h.
73957 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73959         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73961         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73962         link map.
73964 2011-08-17  Andreas Jaeger  <aj@suse.de>
73966         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73968 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73969             Ian Lance Taylor  <iant@google.com>
73971         * math/libm-test.inc (lround_test): New testcase.
73972         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73974 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73976         * Makefile: Remove support for automatic cvs check-ins.
73977         * Makerules: Likewise.
73978         * config.make.in: Likewise.
73979         * configure.in: Likewise.
73980         * intl/Makefile: Likewise.
73981         * locale/Makefile: Likewise.
73982         * po/Makefile: Likewise.
73983         * posix/Makefile: Likewise.
73984         * sysdeps/gnu/Makefile: Likewise.
73985         * sysdeps/mach/hurd/Makefile: Likewise.
73986         * sysdeps/sparc/sparc32/Makefile: Likewise.
73988         [BZ #13118]
73989         * posix/Makefile (bug-regex32-ENV): Define.
73990         Patch by John Stanley <jpsinthemix@verizon.net>.
73992         * misc/Makefile (headers): Add bits/select2.h.
73993         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73994         * misc/bits/select2.h: New file.
73995         * include/bits/select2.h: New file.
73996         * debug/Makefile (routines): Add fdelt_chk.
73997         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73998         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73999         FD_ISSET.
74000         * debug/fdelt_chk.c: New file.
74002         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74003         * wcsmbs/test-wmemcmp.c: Likewise.
74004         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74005         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74007 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74009         * string/Makefile (strop-tests): Add memcmp.
74010         * string/test-wmemcmp.c: New file.
74011         * string/test-memcmp.c: Add wmemcmp support.
74013 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74015         [BZ #13153]
74016         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74017         2011-07-19 change.
74019         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74020         garbage value in a __mach_port_mod_refs call in the cases of the
74021         task-self and thread-self ports.
74023 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74025         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74027 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74029         * elf/dl-load.c (lose): Check for non-null L.
74031 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74033         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74035         * elf/dl-libc.c (dlerror_run): Pass back error code from
74036         dl_catch_error.
74038         [BZ #13123]
74039         * elf/dl-load.c (lose): Free l_origin if it is valid.
74041         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74042         names.
74043         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74044         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74045         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74046         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74047         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74048         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74050 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74052         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74053         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74054         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74055         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74056         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74057         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74058         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74059         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74060         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74061         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74063 2011-08-15  Alan Modra  <amodra@gmail.com>
74065         [BZ #13092]
74066         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74067         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74068         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74069         ppc_mcount to static-only-routines.
74070         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74071         __mcount_internal.
74072         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74073         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74075 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74077         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74078         for finite and infinity parameters.
74080 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74082         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74083         and add nop instructions for throughput optimization.
74084         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74086 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74088         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74089         aligned copy for power7 with vector-scalar instructions.
74090         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74092 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74095         AVX check.
74097 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74099         [BZ #13144]
74100         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74101         last change.
74103 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74105         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74106         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74107         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74108         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74109         clock_gettime.
74111 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74113         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74114         Forgot to demangle the pointer.
74116         * sysdeps/i386/sysdep.h: Define atom_text_section.
74117         * sysdeps/x86_64/sysdep.h: Likewise.
74118         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74119         section with atom_text_section.
74120         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74121         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74122         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74123         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74124         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74126         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74127         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74128         already be defined.  Change to take two parameters and don't assign
74129         result to variable.  Adjust all users.
74130         Define INTERNAL_GETTIME if not already defined.
74131         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74132         call.
74133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74134         HAVE_CLOCK_GETTIME_VSYSCALL.
74135         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74137         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74138         gettimeofday vsyscall, just use time.
74140 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74143         <errno.h>.
74145 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74147         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74148         syscall on x86-64.
74149         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74150         syscall.
74151         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74152         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74153         syscall if possible.
74155 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74157         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74158         e_ident.  Don't pass to find_mapsXX.
74159         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74161 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74164         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74165         * sysdeps/x86_64/multiarch/strchr.S: Update.
74166         Check bit_slow_BSF bit.
74167         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74168         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74169         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74171 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74173         [BZ #13134]
74174         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74175         before glibc 2.15.
74176         (tryshell): Define.
74177         (__spawni): Change last parameter to be flag.  Test
74178         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74179         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74180         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74181         * posix/spawni.c: Likewise.
74182         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74183         * posix/spawnp.c: Likewise.  Change normal version to use
74184         SPAWN_XFLAGS_USE_PATH.
74185         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74186         SPAWN_XFLAGS_TRY_SHELL.
74188         [BZ #13150]
74189         * posix/glob.h: Remove gcc 1.x support.
74191         [BZ #13068]
74192         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74194 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74196         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74197         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74198         strrchr-sse2-bsf
74199         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74200         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74201         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74202         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74203         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74204         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74206 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74208         * sysdeps/x86_64/wcscmp.S: New file.
74210         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74211         wcscmp-c wcscmp-sse2
74212         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74213         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74214         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74215         * wcsmbs/wcscmp.c: Allow renaming.
74217 2011-09-05  David S. Miller  <davem@davemloft.net>
74219         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74220         stack slot, rather than the struct return pointer slot.
74221         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74222         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74224         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74226 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74228         * po/ja.po: Update from translation team.
74230         [BZ #13144]
74231         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74232         kernel in 64-bit binaries.
74234 2011-09-01  David S. Miller  <davem@davemloft.net>
74236         * elf/elf.h (HWCAP_SPARC_*): Move to..
74237         * sysdeps/sparc/sysdep.h: this new file and add new values.
74238         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74239         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74240         _DL_HWCAP_COUNT to 24.
74241         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74242         entries.
74243         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74244         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74245         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74247         instead of magic constants.
74248         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74250 2011-08-31  David S. Miller  <davem@davemloft.net>
74252         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74253         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74254         Reimplement to do errno handling inline.
74255         (SYSCALL_ERROR_HANDLER): New macro.
74256         (__SYSCALL_STRING): Do not do errno handling in asm.
74257         (__CLONE_SYSCALL_STRING): Delete.
74258         (__INTERNAL_SYSCALL_STRING): Delete.
74259         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74260         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74261         (PSEUDO): Reimplement to do errno handling inline.
74262         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74263         (SYSCALL_ERROR_HANDLER): New macro.
74264         (__SYSCALL_STRING): Do not do errno handling in asm.
74265         (__CLONE_SYSCALL_STRING): Delete.
74266         (__INTERNAL_SYSCALL_STRING): Delete.
74267         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74268         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74269         i386.
74270         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74271         (inline_syscall*): Add 'err' argument.
74272         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74273         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74274         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74275         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74277         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74278         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74280 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74282         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74284 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74286         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74287         directive.
74289 2011-08-24  David S. Miller  <davem@davemloft.net>
74291         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74293 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74295         * elf/Makefile: Add rules to build and run unload8 test.
74296         * elf/unload8.c: New file.
74297         * elf/unload8mod1.c: New file.
74298         * elf/unload8mod1x.c: New file.
74299         * elf/unload8mod2.c: New file.
74300         * elf/unload8mod3.c: New file.
74302         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74303         it wasn't used.
74305 2011-08-23  David S. Miller  <davem@davemloft.net>
74307         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74308         subtract stack bias.
74309         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74310         %sp not %fp in calculations.
74311         (_JMPBUF_UNWINDS_ADJ): Likewise.
74313         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74314         (aio_suspend): Call it to force an exception region around the
74315         AIO_MISC_WAIT() invocation.
74317 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74319         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74320         backslash.
74322 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74324         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74325         protection macro.
74326         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74327         and <dl-machine.h>.
74328         (Elf64_FuncDesc): Remove.
74330 2011-08-22  David S. Miller  <davem@davemloft.net>
74332         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74333         sigaltstack check, add missing cfi directives.
74334         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74335         missing cfi directives, and sigaltstack handling.
74337 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74339         [BZ #11724]
74340         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74341         object is seen twice.
74342         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74344         * elf/Makefile (distribute): Add tst-initorder2.c.
74345         (tests): Add tst-initorder2.
74346         (modules-names): Add tst-initorder2a tst-initorder2b
74347         tst-initorder2c tst-initorder2d.  Add rules to build them.
74348         ($(objpfx)tst-initorder2.out): New rule.
74349         * elf/tst-initorder2.c: New file.
74350         * elf/tst-initorder2.exp: New file.
74352 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74354         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74356         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74357         dependencies back to end of function.
74359         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74360         $(elfobjdir)/ld.so.
74362 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74364         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74365         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74367         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74368         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74369         of __vdso_gettimeofday.
74370         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74371         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74372         attribute_hidden.
74373         (_libc_vdso_platform_setup): Remove initialization of
74374         __vdso_gettimeofday and __vdso_time.
74376 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74378         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74379         and fgetc_unlocked.
74380         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74381         getc_unlocked.
74383         * elf/dl-open.c (add_to_global): Report additions to the global scope
74384         for LD_DEBUG=scopes.
74385         (dl_open_worker): Also print scope of newly loaded dependencies.
74386         (_dl_show_scope): Indicate if there is no scope.
74388         [BZ #13114]
74389         * stdio-common/Makefile (tests): Add bug24.
74390         * stdio-common/bug24.c: New file.
74392 2011-08-19  Andreas Jaeger  <aj@suse.de>
74394         [BZ #13114]
74395         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74396         non-existant file when using close-on-exec mode.
74398 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74401         the very first instruction.
74403         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74404         the CFI state in the end.
74405         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74406         inclusion of dl-trampoline.h.
74407         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74409 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74411         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74412         expectations for long double.
74414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74415         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74417 2011-08-14  David S. Miller  <davem@davemloft.net>
74419         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74420         artificual limit depends upon the system page size.
74422 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74424         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74425         * resolv/Makefile: Define CFLAGS-libresolv.
74427 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74429         * nss/makedb.c (compute_tables): Make variables used in nested
74430         function static.
74432 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74434         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74435         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74436         if buffer was too small.
74438         * elf/pldd.c (main): Attach to all threads in the process.
74439         Rewrite /proc handling to use *at functions.
74441 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74443         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74444         specifies first scope to show.
74445         (dl_open_worker): Update callers.  Move printing scope of new
74446         object to before the relocation.
74447         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74448         * sysdeps/generic/ldsodefs.h: Update declaration.
74450         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74451         string for the scope number.
74453 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74455         * nscd/servicescache.c (cache_addserv): Make sure written is always
74456         initialized.
74458 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74460         * sysdeps/i386/i486/bits/atomic.h
74461         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74462         statement expression, so as to suppress "set but not used" warning.
74463         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74465         * string/strncat.c (STRNCAT): Use prototype definition.
74467         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74468         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74469         -Iprograms here.
74470         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74471         (localedef-modules): Add localedef.
74472         (locale-modules): Add locale.
74474         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74475         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74476         to avoid a warning.
74478 2011-08-14  David S. Miller  <davem@davemloft.net>
74480         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74481         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74483 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74485         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74486         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74487         * elf/rtld.c (dl_main): Set l_name of vDSO.
74488         Call _dl_show_scope when DL_DEBUG_SCOPES.
74489         (process_dl_debug): Recognize scopes flag and also set it for all.
74490         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74491         Declare _dl_show_scope.
74493         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74494         (do_dlopen): Pass caller_dlopen to dl_open.
74495         (__libc_dlopen_mode): Initialize caller_dlopen.
74497         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74498         of libc.  Make tolower call locale-independent.  Optimize a bit by
74499         using isdigit instead of isalnum.
74500         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74502 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74504         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74505         was a dependency or dynamically loaded.
74507 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74509         * intl/l10nflist.c: Allow architecture-specific pop function.
74510         * sysdeps/x86_64/l10nflist.c: New file.
74512         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74513         classification.
74515 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74517         * include/dirent.h: Add libc_hidden_proto for scandirat and
74518         scandirat64.  Don't declare __scandirat64.
74519         * dirent/scandirat.c: Add libc_hidden_def.
74520         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74521         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74523 2011-08-10  David S. Miller  <davem@davemloft.net>
74525         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74526         enum.
74527         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74528         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74529         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74531 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74533         * Versions.def [libc]: Add GLIBC_2.15.
74534         * dirent/Makefile (routines): Add scandirat and scandirat64.
74535         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74536         GLIBC_2.15.
74537         * dirent/dirent.h: Declare scandirat and scandirat64.
74538         * dirent/scandirat.c: New file.
74539         * dirent/scandirat64.c: New file.
74540         * sysdeps/wordsize-64/scandirat.c: New file.
74541         * sysdeps/wordsize-64/scandirat64.c: New file.
74542         * dirent/opendir.c: Define opendirat.
74543         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74544         using scandirat.
74545         * dirent/scandir64.c: Adjust for scandir.c change.
74546         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74547         __scandirat64, and __scandir_cancel_handler.
74548         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74549         additional parameter and use openat instead of open (outside of ld.so).
74550         Add new __opendir as wrapper around __opendirat.
74551         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74552         here without requiring old scandirat implementation.
74554 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74556         * dirent/scandir.c (cancel_handler): Renamed to
74557         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74558         defined.  Adjust users.
74559         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74560         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74562 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74564         * string/test-string.h (IMPL): Use __STRING to expand name and then
74565         stringify it.
74567         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74568         of cleanups.
74570 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74572         * string/Makefile: Update.
74573         (strop-tests): Append strncat.
74574         * string/test-wcscmp.c: New file.
74575         New comprehensive test for wcscmp.
74576         * string/test-strcmp.c: Update.
74577         (WIDE): New define.
74579 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74581         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74582         line.
74584 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74587         encoding to ACE if AI_IDN.
74589 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74591         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74592         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74594 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74596         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74597         Fix overflow bug in strncat.
74598         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74600         * string/test-strncat.c: Update.
74601         Add new tests for checking overflow bugs.
74603 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74605         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74606         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74607         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74608         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74609         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74610         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74611         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74612         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74613         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74615         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74616         (USE_AS_STRCAT): Define.
74617         Add strcat and strncat support.
74618         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74620 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74622         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74623         __n bigger than INT_MAX+1.
74624         (__strncmp_g): Likewise.
74626 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74628         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74629         * libio/stido.h: Likewise.
74631         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74632         (AF_NFC): Define.
74633         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74634         (AF_NFC): Define.
74636         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74637         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74638         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74639         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74642         [BZ #13021]
74643         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74644         installed.
74646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74647         typo.
74648         (_dl_x86_64_save_sse): Likewise.
74650 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74652         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74653         OSXSAVE.
74654         (_dl_x86_64_save_sse): Likewise.
74656         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74658         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74660 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74663         change.
74664         (_dl_x86_64_save_sse): Use correct AVX check.
74666 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74668         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74669         bug in strncpy/strncat.
74670         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74672 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74674         * string/tester.c (test_strcat): Add tests for different alignments
74675         of source and destination.
74676         (test_strncat): Likewise.
74678 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74680         [BZ #12852]
74681         * posix/glob.c (glob): Check passed in values before using them in
74682         expressions to avoid some overflows.
74683         (glob_in_dir): Likewise.
74685         [BZ #13007]
74686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74687         check for AVX enablement so that we don't crash with old kernels and
74688         new hardware.
74689         * elf/tst-audit4.c: Add same checks here.
74690         * elf/tst-audit6.c: Likewise.
74692         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74694 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74696         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74698 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74700         * po/cs.po: Update from translation team.
74701         * po/bg.po: Likewise.
74703 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74705         * misc/sys/cdefs.h: Add support for const attribute.
74706         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74707         to gnu_dev_{major,minor,makedev} functions.
74709 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74711         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74713 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74715         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74716         strlen results.
74718 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74721         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74722         register in order to avoid conflicts with the soft frame pointer
74723         being held in r11 when necessary.
74724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74725         (INTERNAL_VSYSCALL_NCS): Likewise.
74727 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74729         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74730         * elf/dl-fini.c (_dl_fini): Adjust caller.
74731         * elf/dl-close.c (_dl_close_worker): Likewise.
74732         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74734 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74736         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74737         "aux_cache->nlibs < 0".
74739         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74740         in the reload-count case.
74742 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74745         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74746         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74747         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74748         * sysdeps/x86_64/multiarch/strcat.S: New file.
74749         * sysdeps/x86_64/multiarch/strncat.S: New file.
74750         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74751         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74752         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74753         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74754         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74755         (USE_AS_STRCAT): Define.
74756         Add strcat and strncat support.
74757         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74758         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74759         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74760         * string/strncat.c: Update.
74761         (USE_AS_STRNCAT): Define.
74762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74763         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74764         and i7.
74765         * sysdeps/x86_64/multiarch/init-arch.h
74766         (bit_Prefer_PMINUB_for_stringop): New.
74767         (index_Prefer_PMINUB_for_stringop): Likewise.
74768         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74769         bit_Prefer_PMINUB_for_stringop.
74771 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74773         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74774         buffer64.
74775         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74776         of casting of buffer.
74777         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74778         buffer32 and buffer64.
74779         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74780         writes instead of casting of buffer.
74781         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74782         buffer32.
74783         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74784         casting of buffer.
74786 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74788         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74790 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74792         * nscd/nscd.c (termination_handler): Don't do anything for a database
74793         if it has not yet been initialized.
74795 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74797         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74799 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74801         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74803 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74805         * po/nl.po: Update from translation team.
74806         * po/sv.po: Likewise.
74808 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74810         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74811         now disallowed by GCC.
74813         * configure.in (use-default-link): Default to yes if a test -shared
74814         link meets our qualifications.
74815         * configure: Regenerated.
74817         * config.make.in (output-format): New variable.
74818         * configure.in: Check for ld --print-output-format support.
74819         * configure: Regenerated.
74820         * Makerules ($(common-objpfx)format.lds)
74821         [$(output-format) != unknown]: Just use $(output-format),
74822         instead of the linker-script munging.
74824 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74826         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74827         of $(common-objpfx)shlib.lds.
74828         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74830         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74831         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74833         * configure.in (-z relro check): Adjust test code to add a large
74834         writable data section after it.
74835         * configure: Regenerated.
74837 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74839         * configure.in (-z relro check): Fix test code to make the variable
74840         truly const.
74841         * configure: Regenerated.
74843 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74845         * nscd/nscd.h (struct traced_file): Define.
74846         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74847         elements.  Add traced_files.
74848         (inotify_fd): Declare.
74849         (register_traced_file): Declare.
74850         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74851         (inotify_fd): Export.
74852         (resolv_conf_descr): Remove.
74853         (nscd_init): Move inotify descriptor creation to main.
74854         Don't register files for notification here.
74855         (register_traced_file): New function.
74856         (invalidate_cache): Don't use reset_res to determine whether to call
74857         res_init, go through the list of registered files.
74858         (main_loop_poll): The inotify descriptors are now stored in the
74859         structures for the traced files.
74860         (main_loop_epoll): Likewise.
74861         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74862         to __nss_disable_nscd.
74863         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74864         for a database anymore.  Check the records for all the registered
74865         files instead.
74866         * nss/Makefile (libnss_files-routines): Add files-init.
74867         (libnss_db-routines): Add db-init.
74868         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74869         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74870         * nss/nss_db/db-init.c: New file.
74871         * nss/nss_files/files-init.c: New file.
74872         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74873         __nss_lookup_function.
74874         (__nss_lookup_function): Call nss_load_library.
74875         (nss_load_all_libraries): New function.
74876         (__nss_disable_nscd): Take parameter with callback function for files
74877         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74878         used for the cached services.
74879         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74880         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74881         options for features to all the files in nscd.
74883         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74885 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74887         * csu/elf-init.c (__libc_csu_init): Comment typo.
74889 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74891         * po/pl.po: Update from translation team.
74892         * po/ja.po: Likewise.
74893         * po/ru.po: Likewise.
74894         * po/ko.po: Likewise.
74895         * po/fr.po: Likewise.
74897 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74899         * configure.in (.ctors/.dtors header and trailer check):
74900         Use an empirical test on a built program.
74901         * configure: Regenerated.
74903         * configure.in (-z relro check): Use an empirical test on a built DSO.
74904         Detect, but do not require, on ia64.
74905         * configure: Regenerated.
74907         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74908         Update tests that use readelf to use $READELF instead.
74909         * configure: Regenerated.
74911 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74913         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74914         if the result is not used.
74916 2011-07-05  Andreas Jaeger  <aj@suse.de>
74918         [BZ#9696]
74919         * stdlib/tst-strtod.c: Add testcase.
74921 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74923         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74924         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74925         The latter has a higher limit.  Take additional parameter to pass to
74926         the new function.
74927         (__pathconf): Pass file to __statfs_link_max.
74928         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74929         __statfs_link_max.
74930         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74931         __statfs_link_max.
74933         [BZ #12868]
74934         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74935         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74936         Handle Lustre.
74937         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74938         (__statfs_filesize_max): Likewise.
74939         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74941 2011-07-05  Andreas Jaeger  <aj@suse.de>
74943         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74945 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74947         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74948         `status' variable.
74949         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74950         Likewise.
74952 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74954         * Makefile (strop-tests): Add strncat.
74955         * string/test-strncat.c: New file.
74957 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74959         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74961 2011-06-21  Andreas Jaeger  <aj@suse.de>
74963         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74964         Copy rule from iconvdata/Makefile.
74966 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74968         [BZ #12922]
74969         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74970         but no long options are defined, just return 'W'.
74972 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74974         [BZ #9696]
74975         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74977 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74979         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74980         netgroups to read.
74981         (innetgr): Likewise.
74983 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74985         * config.make.in (install_root): Default to $(DESTDIR).
74987 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74989         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74991 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74993         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74995         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74996         containing directory rather than embedding absolute directory names.
74998         * scripts/check-local-headers.sh: Rewritten using awk.
74999         Match by word, not by line.  Print error messages for matches.
75000         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75002         * Makerules [shlib-lds-flags empty]:
75003         ($(common-objpfx)libc_pic.opts): New target.
75004         ($(common-objpfx)libc_pic.os.clean): New target.
75005         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75007         * config.make.in (OBJCOPY): New variable.
75008         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75009         * configure: Regenerated.
75011         * config.make.in (use-default-link): New variable.
75012         * configure.in (use_default_link): Grok --with-default-link to set it.
75013         * configure: Regenerated.
75014         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75015         (shlib-lds, shlib-lds-flags): Define to empty.
75017         * Makerules (shlib-lds): New variable.
75018         (shlib-lds-flags): New variable.
75019         (build-shlib, build-moduile, build-module-asneeded): Use it.
75020         ($(common-objpfx)libc.so): Use $(shlib-lds).
75021         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75022         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75024         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75025         DT_FLAGS/DT_FLAGS_1 with zero flags.
75027         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75028         linker script munging.
75030 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75032         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75033         as 128-bit value.
75034         * crypt/sha512.c (sha512_process_block): Perform total addition using
75035         128-bit if possible.
75036         (__sha512_finish_ctx): Likewise.
75037         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75038         as 64-bit value.
75039         * crypt/sha256.c (SWAP64): Define.
75040         (sha256_process_block): Perform total addition using 64-bit if
75041         possible.
75042         (__sha256_finish_ctx): Likewise.
75044 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75046         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75047         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75048         * nscd/hstcache.c (cache_addhst): Likewise.
75049         * nscd/grpcache.c (cache_addgr): Likewise.
75050         * nscd/aicache.c (addhstaiX): Likewise.
75051         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75053 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75055         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75056         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75057         * nscd/hstcache.c (cache_addhst): Likewise.
75058         * nscd/grpcache.c (cache_addgr): Likewise.
75059         * nscd/aicache.c (addhstaiX): Likewise.
75061 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75063         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75064         domain only when needed.
75066 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75069         is always restored.
75071 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75073         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75074         are re-adding the entry.
75075         * nscd/servicescache.c (cache_addserv): Likewise.
75077 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75079         * sysdeps/generic/dl-irel.h: fix protection against multiple
75080         inclusions.
75081         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75083 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75085         [BZ #12935]
75086         * malloc/memusage.sh: Fix quoting in message.
75087         * debug/xtrace.sh: Likewise.
75089         * configure.in: Remove support for --experimental-malloc option, make
75090         it the default.
75091         * config.make.in: Likewise.
75092         * malloc/Makefile: Likewise.
75094 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75096         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75097         two-byte characters.
75099 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75101         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75102         AC_CACHE_CHECK invocation.
75103         * configure: Regenerated.
75105         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75107 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75109         [BZ #12350]
75110         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75111         bit from old_res_options.
75113         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75115         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75116         value type for setfct.
75118 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75120         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75121         __gettimeofday instead of gettimeofday.
75123 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75125         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75127 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75129         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75131         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75132         info.
75134 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75137         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75138         strcpy-sse2-unaligned strncpy-sse2-unaligned
75139         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75140         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75141         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75142         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75143         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75144         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75145         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75146         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75147         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75148         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75149         (STRCPY): Support SSE2 and SSSE3 versions.
75151 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75153         [BZ #12874]
75154         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75155         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75156         kernels which artificially limit size of requests.
75158 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75161         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75162         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75163         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75164         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75165         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75166         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75167         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75168         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75169         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75170         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75171         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75172         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75173         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75174         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75176         Enable unaligned load optimization for Intel Core i3, i5 and i7
75177         processors.
75178         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75179         Define.
75180         (index_Fast_Unaligned_Load): Define.
75181         (HAS_FAST_UNALIGNED_LOAD): Define.
75183 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75185         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75187 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75189         [BZ #12907]
75190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75191         until it is clear that the information is realy needed.
75192         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75194 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75198 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75200         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75201         /sys/devices/system/cpu/online if it is usable.
75203         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75204         reading the information from the /proc filesystem to once a second.
75206 2011-06-21  Andreas Jaeger  <aj@suse.de>
75208         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75209         NULL after inclusion of kernel headers.
75211 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75213         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75214         calls to internal_setent.
75216         [BZ #12885]
75217         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75218         addresses using gethostbyname4_r ignore IPv4 addresses.
75220         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75221         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75223         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75225 2011-06-20  David S. Miller  <davem@davemloft.net>
75227         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75228         inclusions.
75229         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75231         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75232         (elf_irel): Use it.
75233         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75234         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75235         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75236         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75237         * sysdeps/x86_64/dl-irel.h: Likewise.
75239         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75240         * elf/dl-sym.c: Likewise.
75242 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75244         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75245         need to dereference resplen2.
75247 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75249         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75251 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75253         * Makeconfig: Define vardbdir and inst_vardbdir.
75254         * nss/Makefile: Add rules to install db-Makefile.
75256         * nss/nss_db/db-XXX.c: Cleanup.
75258         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75259         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75260         GLIBC_PRIVATE.
75261         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75262         * nss/makedb.c: Implement -g option to specify that value strings
75263         are generated and should not be added to table iterated over for
75264         get*ent calls.
75265         * nss/nss_db/db-initgroups.c: New file.
75267         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75268         interface.
75270         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75271         (internal_getgrouplist): Adjust to name change.
75272         Update use_initgroups_entry if this is not the first call.
75273         * nss/databases.def: Add initgroups entry.
75275         * nss/makedb.c (compute_tables): Check result of multiple hash table
75276         sizes to minimize maximum chain length.
75278 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75280         * Versions.def: Add entry for libnss_db.
75281         * shlib-versions: Likewise.
75282         * nss/Makefile: Add rules to build libnss_db.
75283         * nss/Versions: Add libnss_db information.  Organize libnss_files
75284         entries better.
75285         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75286         makedb progra.  Some minor improvements to generate smaller files.
75287         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75288         here from...
75289         * nss/makedb.c: ...here.
75290         Improve database format to be smaller and require less memory at
75291         runtime.
75292         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75293         db anymore.
75294         * nss/nss_db/db-netgrp.c: Likewise.
75295         * nss/nss_db/db-open.c: Likewise.
75296         * nss/nss_files/flies-XXX.x: Adjust comments.
75297         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75298         * nss/nss_files/files-grp.c: Likewise.
75299         * nss/nss_files/files-hosts.c: Likewise.
75300         * nss/nss_files/files-network.c: Likewise.
75301         * nss/nss_files/files-proto.c: Likewise.
75302         * nss/nss_files/files-pwd.c: Likewise.
75303         * nss/nss_files/files-rpc.c: Likewise.
75304         * nss/nss_files/files-service.c: Likewise.
75305         * nss/nss_files/files-sgrp.c: Likewise.
75306         * nss/nss_files/files-spwd.c: Likewise.
75307         * nss/nss_db/db-alias.c: Removed.
75308         * nss/nss_db/dummy-db.h: Removed.
75310 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75312         * nss/makedb.c: Rewritten to not use database library.
75313         * nss/Makefile: Update to build new makedb program.
75315 2011-06-14  Andreas Jaeger  <aj@suse.de>
75317         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75318         memset declaration.
75320 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75323         tmpbuf.
75325 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75327         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75328         * elf/Makefile ($(objpfx)ld.so): Likewise.
75330         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75331         Don't list ld.so twice in dependencies.
75333         * posix/bug-regex31.c: Include <stdlib.h>.
75335         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75337         * nis/nss_compat/compat-spwd.c
75338         (getspent_next_nss_netgr): Remove unused variable.
75339         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75341         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75342         nonmembers" output to use the right array.
75344         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75346         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75348         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75349         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75350         * catgets/gencat.c (read_input_file): Likewise.
75351         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75353         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75354         variable definition inside #if's controlling its use.
75356         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75358         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75360         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75362         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75363         unreachable code.
75365         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75367         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75368         * configure: Regenerated.
75370         * Makerules: Revert last change.
75371         * elf/Makefile: Likewise.
75373 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75375         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75376         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75377         (reloc-link): Likewise.
75379 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75381         * elf/Makefile: Add rules to build pldd.
75382         * elf/pldd.c: New file.
75383         * elf/pldd-xx.c: New file.
75385 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75387         * version.h: Update for 2.15 development version.
75389 2011-06-07  David S. Miller  <davem@davemloft.net>
75391         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75392         ifuncs.
75393         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75394         elf_machine_lazy_rel): Likewise.
75395         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75396         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75397         elf_machine_lazy_rel): Likewise.
75398         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75399         dl_hwcap via passed in argument.
75400         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75401         Likewise.
75403 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75405         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75407 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75409         [BZ #12849]
75410         * manual/fdl-1.1.texi: New file, verbatim from:
75411         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75412         * manual/lgpl-2.1.texi: New file, verbatim from:
75413         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75414         * manual/Makefile (licenses): New variable, list those new file names.
75415         (texis): Use it.
75416         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75418         * manual/fdl.texi: File removed.
75419         * manual/lesser.texi: File removed.
75420         * manual/libc.texinfo (Copying, Documentation License):
75421         Use new @include file names, put @appendix directive before @include.
75423 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75425         [BZ #12841]
75426         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75427         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75428         (mq_open): Add __NTH.
75430 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75433         Assume Intel Core i3/i5/i7 processor if AVX is available.
75435 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75437         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75438         typo.
75440 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75442         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75443         memory.  Use alloca_account.  Fix memory leak when retrying.
75445 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75447         * version.h (RELEASE): Bump for 2.14 release.
75448         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75450         * config.make.in (RANLIB): Remove entry.
75452 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75454         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75455         (libc.pot): Work around missing support for .ksh extension in xgettext.
75457         [BZ #12684]
75458         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75459         if both request failed.
75460         (send_dg): In case of server errors clear resplen or *resplen2.
75462         [BZ #12454]
75463         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75464         when there are multiple maps.
75465         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75466         (_dl_fini): Remove test here.
75468         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75470 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75472         [BZ #12350]
75473         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75474         bit from old_res_options.
75475         (gaih_inet): Likewise.
75477         [BZ #11099]
75478         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75479         as signed.
75481         * resolv/res_init.c (res_setoptions): Make the code more compact.
75483         [BZ #11558]
75484         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75485         set RES_USEVC.
75487         [BZ #11634]
75488         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75490         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75492         [BZ #11781]
75493         * malloc/malloc.h: Declare malloc hook variables as volatile.
75495         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75496         in last patch.
75498         [BZ #11799]
75499         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75500         raise in the comment.
75501         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75502         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75503         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75505 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75507         [BZ #12811]
75508         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75509         grow the buffers more if it already has to be sufficient.
75510         (build_wcs_upper_buffer): Likewise.
75511         * posix/regexec.c (check_matching): Likewise.
75512         (clean_state_log_if_needed): Likewise.
75513         (extend_buffers): Don't enlarge buffers beyond size of the input
75514         buffer.
75515         Patches mostly by Emil Wojak <emil@wojak.eu>.
75516         * posix/bug-regex32.c: New file.
75517         * posix/Makefile (tests): Add bug-regex32.
75519         * locale/findlocale.c (_nl_find_locale): Return right away if
75520         _nl_explode_name failed.
75521         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75523         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75525         * debug/xtrace.sh: Unify messages.
75526         * malloc/memusage.sh: Likewise.
75528         [BZ #12813]
75529         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75530         time symbol from vDSO.  Substitute with vsyscall if not available.
75531         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75532         __vdso_time.
75534         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75535         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75536         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75537         Add sendmmsg and internal_sendmmsg.
75538         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75539         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75540         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75542         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75543         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75544         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75546 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75548         [BZ #12813]
75549         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75550         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75551         available.
75552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75553         __vdso_getcpu.
75555         [BZ #12814]
75556         * iconvdata/Makefile (tests): Add bug-iconv9.
75557         * iconvdata/bug-iconv9.c: New file.
75559 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75561         [BZ #12814]
75562         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75564 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75566         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75567         (struct user_regs_struct): Change intcs field back to cs.
75569 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75571         * po/ja.po: Update from translation team.
75573 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75575         [BZ #12795]
75576         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75577         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75579 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75581         * stdlib/longlong.h: Update from GCC.
75583 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75585         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75586         parameter name.
75587         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75588         Add parameter name.
75589         (__sysconf): Pass it down.
75591 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75593         [BZ #12671]
75594         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75595         some situations.
75596         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75597         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75598         add in in __libc_use_alloca calls.  Adjust callers.
75599         (glob): Use malloc in some situations.
75601         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75602         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75603         pltexit.
75605 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75607         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75608         and CLOCK_BOOTTIME_ALARM.
75610         [BZ #12782]
75611         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75612         is returned.
75614         * string/_strerror.c (__strerror_r): Print negative errors as signed
75615         numbers.
75617         [BZ #12777]
75618         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75619         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75620         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75622         * configure.in: Fix typo in redirection and correct removal of test
75623         files in two cases.
75625         [BZ #12788]
75626         * locale/setlocale.c (new_composite_name): Fix test to check for
75627         identical name of all categories.
75629         [BZ #12792]
75630         * libio/filedoalloc.c (local_isatty): New function.
75631         (_IO_file_doallocate): Use local_isatty.
75632         * stdio-common/perror.c (perror): In case a new stream is used
75633         forward the stream error.
75634         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75635         error flag.
75637 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75639         [BZ #11884]
75640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75641         alloca.
75642         * include/alloca.h (extend_alloca_account): Define.
75644         [BZ #11857]
75645         * posix/regex.h: Fix comments with documentation of user-accessible
75646         fields after compilation and describe correct free'ing of pattern
75647         after re_compile_pattern.
75648         Patch by Reuben Thomas <rrt@sc3d.org>.
75650 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75652         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75653         and -mno-altivec to prevent the compiler from using Altivec and/or
75654         VSX instructions when the corresponding registers are not available.
75656 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75658         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75660 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75662         * libio/freopen.c (freopen): Use __dup2, not dup2.
75663         * libio/freopen64.c (freopen64): Likewise.
75665 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75667         [BZ #12775]
75668         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75669         * math/Makefile (tests): Add test-powl.
75670         (CFLAGS-test-powl.c): Define.
75671         * math/test-powl.c: New file.
75673 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75675         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75677 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75679         [BZ #11837]
75680         * iconvdata/gb18030.c: Update to GB18020-2005.
75682 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75684         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75685         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75686         Patch by Aharon Robbins <arnold@skeeve.com>.
75688         [BZ #11892]
75689         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75690         on the stack.
75692         [BZ #11895]
75693         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75694         through underflows.
75696         [BZ #12766]
75697         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75698         point to strings before performing equality test for error_one_per_line
75699         mode.
75701         [BZ #11697]
75702         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75704         [BZ #11820]
75705         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75706         (struct user_fpregs_struct): Avoid __uint*_t types.
75708         [BZ #6420]
75709         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75710         symbol info.  Use it instead of calling _dl_addr locally.
75711         (lock_and_info): New function.
75712         (tr_freehook): Call lock_and_info and pass symbol info as additional
75713         parameter to tr_where.
75714         (tr_mallochook): Likewise.
75715         (tr_reallochook): Likewise.
75716         (tr_memalignhook): Likewise.
75718         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75719         used and couldn't be at all thread-safe.
75721 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75723         * libio/freopen.c (freopen): Don't close old file descriptor
75724         before the new one is opened.  Instead dup the new file descriptor
75725         to the old one after the new stream is created.
75726         * libio/freopen64.c (freopen64): Likewise.
75727         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75728         * libio/fileops.c (_IO_new_file_close_it): Handle new
75729         _IO_FLAGS2_NOCLOSE flag.
75730         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75731         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75732         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75733         _IO_FLAGS2_NOCLOSE flag.
75734         * include/unistd.h: Add hidden_proto for dup3.
75735         Define __have_dup3.
75736         * io/dup3.c: Define hidden symbol.
75737         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75739         [BZ #7101]
75740         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75741         when an incomplete long option is used.
75742         * posix/tst-getopt_long1.c: New file.
75743         * posix/Makefile (tests): Add tst-getopt_long1.
75745         [BZ #10138]
75746         * scripts/config.guess: Update from autoconf-2.68.
75747         * scripts/config.sub: Likewise.
75749         [BZ #10157]
75750         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75751         tests into ...
75752         (has_cpuclock): ...this.  New function.
75753         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75754         macro here based on has_cpuclock code.
75756         [BZ #10149]
75757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75758         First byte (not low byte) is now always NUL.
75759         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75761         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75762         Use non-cancelable interfaces.
75764         [BZ #9809]
75765         * locale/iso-639.def: Add entry for Sorani.
75767         [BZ #11901]
75768         * include/stdlib.h: Move include protection to the right place.
75769         Define abort_msg_s.  Declare __abort_msg with it.
75770         * stdlib/abort.c (__abort_msg): Adjust type.
75771         * assert/assert.c (__assert_fail_base): New function.  Majority
75772         of code from __assert_fail.  Allocate memory for __abort_msg with
75773         mmap.
75774         (__assert_fail): Now call __assert_fail_base.
75775         * assert/assert-perr.c: Remove bulk of implementation.  Use
75776         __assert_fail_base.
75777         * include/assert.hL Declare __assert_fail_base.
75778         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75779         mmap.
75780         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75782 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75784         [BZ #11952]
75785         [BZ #12453]
75786         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75787         until all modules are registered in the DTV.
75788         * elf/Makefile: Add rules to build and run tst-tls19.
75789         * elf/tst-tls19.c: New file.
75790         * elf/tst-tls19mod1.c: New file.
75791         * elf/tst-tls19mod2.c: New file.
75792         * elf/tst-tls19mod3.c: New file.
75793         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75795         [BZ #12083]
75796         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75797         correctly.
75799         [BZ #12601]
75800         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75801         two-byte sequence errors.
75802         * iconvdata/Makefile (tests): Add bug-iconv8.
75803         * iconvdata/bug-iconv8.c: New file.
75805         [BZ #12626]
75806         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75807         buf2 definition.
75809         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75811         [BZ #12432]
75812         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75813         (dummy_getcfa): New function.
75814         (init): Get _Unwind_GetCFA address, use dummy if not found.
75815         (backtrace_helper): In recursion check, also check whether CFA changes.
75816         (__backtrace): Completely initialize arg.
75818         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75819         storing incomplete byte sequence in state object.  Avoid testing for
75820         guaranteed too small input if we know there is enough data available.
75822 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75824         * Makeconfig (+link-pie): Indent.
75825         * Rules (binaries-pie): Define if $(have-fpie) and
75826         $(build-shared).
75827         (binaries-shared): Also filter out $(binaries-pie).
75828         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75829         * nscd/Makefile (others-pie): Add nscd.
75830         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75831         ($(objpfx)nscd): Remove command override.
75832         * login/Makefile (others-pie): Add pt_chown.
75833         ($(objpfx)pt_chown): Remove command override.
75834         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75835         remove command overrides.
75837 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75839         * libio/tst_putwc.c: Fix error messages.
75841         [BZ #12724]
75842         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75843         currently writing and seek to current position when not.
75844         * libio/Makefile (tests): Add bug-fclose1.
75845         * libio/bug-fclose1.c: New file.
75847 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75849         [BZ #12511]
75850         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75851         don't set DF_1_NODELETE here.
75852         (do_lookup_x): When entering new entry test for copy relocation
75853         and if necessary set DF_1_NODELETE flag.
75854         * elf/tst-unique4.cc: New file.
75855         * elf/tst-unique4.h: New file.
75856         * elf/tst-unique4lib.cc: New file.
75857         * elf/Makefile: Add rules to build and run tst-unique4.
75858         Patch by Piotr Bury <pbury@goahead.com>.
75860 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75862         [BZ #12052]
75863         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75865         [BZ #12625]
75866         * misc/mntent_r.c (addmntent): Flush the stream after the output
75868         [BZ #12393]
75869         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75870         (is_trusted_path_normalize): Skip initial colon.  Append slash
75871         to empty buffer.  Duplicate is_trusted_path code but allow
75872         constructed patch to be prefix.
75873         (is_dst): Allow $ORIGIN followed by /.
75874         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75875         Correct testing of result of is_trusted_path_normalize
75876         (decompose_rpath): Fix warning.
75878 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75880         [BZ #11257]
75881         * grp/initgroups.c (internal_getgrouplist): When we found the service
75882         list through the initgroups entry in nsswitch.conf do not always
75883         continue on a successful lookup.  Don't always use the
75884         __nss_group_database value if it is set.
75885         * nss/nsswitch.conf (initgroups): Change action for successful db
75886         lookup to continue for compatibility.
75888 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75890         [BZ #11532]
75891         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75892         and CP774 modules.
75893         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75894         and CP774 modules.
75895         * iconvdata/tst-tables.sh: Likewise.
75896         * iconvdata/cp770.c: New file.
75897         * iconvdata/cp771.c: New file.
75898         * iconvdata/cp772.c: New file.
75899         * iconvdata/cp773.c: New file.
75900         * iconvdata/cp774.c: New file.
75901         * iconvdata/testdata/CP770: New file.
75902         * iconvdata/testdata/CP770..UTF8: New file.
75903         * iconvdata/testdata/CP771: New file.
75904         * iconvdata/testdata/CP771..UTF8: New file.
75905         * iconvdata/testdata/CP772: New file.
75906         * iconvdata/testdata/CP772..UTF8: New file.
75907         * iconvdata/testdata/CP773: New file.
75908         * iconvdata/testdata/CP773..UTF8: New file.
75909         * iconvdata/testdata/CP774: New file.
75910         * iconvdata/testdata/CP774..UTF8: New file.
75912         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75913         END CHARMAP line.
75914         * iconvdata/gen-8bit-gap.sh: Likewise.
75915         * iconvdata/gen-8bit.sh: Likewise.
75917         * locale/iso-639.def: Add ary entry.
75919         [BZ #11258]
75920         * locale/C-translit.h.in: Add U20A1 transliteration.
75922         [BZ #12178]
75923         * locale/iso-639.def: Add wae entry.
75924         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75926         [BZ #12545]
75927         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75928         for n.
75930         [BZ #12711]
75931         * locale/C-translit.h.in: Add entry for U20B9.
75932         Patch by pravin.d.s@gmail.com.
75934 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75936         [BZ #12713]
75937         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75938         ENAMETOOLONG use generic getcwd.
75939         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75940         in rtld.  Use *stat64.
75941         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75942         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75943         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75944         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75945         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75946         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75947         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75948         __fstatat64 macros.
75949         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75950         * dirent/rewinddir.c: Add libc_hidden_def.
75951         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75952         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75954         * include/dirent.h (__alloc_dir): Add flags parameter.
75955         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75956         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75957         __alloc_dir.
75958         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75959         from fdopendir if O_CLOEXEC is already set.
75961 2011-03-15  Alan Modra  <amodra@gmail.com>
75963         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75964         l_tls_firstbyte_offset non-zero.  Save padding offset in
75965         l_tls_firstbyte_offset for later use.
75966         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75967         freeing static tls block.
75969 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75971         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75972         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75973         being defined by the kernel headers.
75975 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75977         [BZ #12734]
75978         * resolv/resolv.h: Define RES_NOTLDQUERY.
75979         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75980         no-tld-query and set RES_NOTLDQUERY.
75981         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75982         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75983         modern BIND to search name as TLD unless forbidden.
75985 2011-05-07  Petr Baudis  <pasky@suse.cz>
75986             Ulrich Drepper  <drepper@gmail.com>
75988         [BZ #12393]
75989         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75990         (is_trusted_path): ...to here.
75991         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75992         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75993         using is_trusted_path_normalize() in setuid scripts.
75995 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75997         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75998         __BEGIN/__END_DECLS.
76000 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76002         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76003         NSS_STATUS_NOTFOUND if no record was found.
76005 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76007         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76008         (headers-not-in-tirpc): Remove rpc/netdb.h
76009         * resolv/netdb.h: Revert last change.
76011 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76013         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76014         circular dependency between libgcc.a and libc.a.
76016 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76018         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76019         * nis/Makefile: Don't install rpcsvc/*.
76020         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76021         instead of <rpc/types.h>.
76022         (MAXHOSTNAMELEN): Define.
76024 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76026         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76028 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76030         [BZ #12714]
76031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76032         gethostbyname4_r when IPv6 results are possible.
76034 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76036         [BZ #12723]
76037         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76038         _PC_PIPE_BUF handling.
76040 2011-04-30  Bruno Haible  <bruno@clisp.org>
76042         [BZ #12717]
76043         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76044         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76045         to 'int'.
76046         * inet/getnameinfo.c (getnameinfo): Likewise.
76048 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76050         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76051         to groups setting in database lookup.
76052         * nss/nsswitch.conf: Add initgroups entry.
76054 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76056         [BZ #12685]
76057         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76058         mode string.
76059         Patch by Eric Blake <eblake@redhat.com>.
76061 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76063         * sunrpc/Makefile (need-export-routines): Add svc_run.
76064         (routines): Remove svc_run.
76065         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76066         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76067         * sunrpc/svc_run.c (svc_run): Likewise.
76068         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76070 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76073         problem in reallocation in last patch.
76075 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76077         * sunrpc/Makefile: Move inclusion of Rules.
76079 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76081         * nss/nss_files/files-initgroups.c: New file.
76082         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76083         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76084         _nss_files_initgroups_dyn.
76086 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76088         * elf/elf.h (R_ARM_IRELATIVE): Define.
76090 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76092         * po/ru.po: Update from translation team.
76094 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76096         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76097         dependencies.
76099 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76101         [BZ #12653]
76102         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76103         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76104         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76105         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76108 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76110         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76111         differing bytes.
76112         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76114         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76116 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76118         [BZ #12420]
76119         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76120         storing it.
76121         * stdlib/bug-getcontext.c: New file.
76122         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76124 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76126         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76127         instructions into .machine "z9-109".
76128         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76129         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76131 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76133         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76134         between environment variables and auxiliary vector.
76136 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76138         * Makefile: Add rules to build linkobj/libc.so.
76139         * include/libc-symbols.h: Define libc_hidden_nolink.
76140         * include/rpc/auth.h: Mark functions which are to be hidden.
76141         * include/rpc/auth_des.h: Likewise.
76142         * include/rpc/auth_unix.h: Likewise.
76143         * include/rpc/clnt.h: Likewise.
76144         * include/rpc/des_crypt.h: Likewise.
76145         * include/rpc/key_prot.h: Likewise.
76146         * include/rpc/pmap_clnt.h: Likewise.
76147         * include/rpc/pmap_prot.h: Likewise.
76148         * include/rpc/pmap_rmt.h: Likewise.
76149         * include/rpc/rpc_msg.h: Likewise.
76150         * include/rpc/svc.h: Likewise.
76151         * include/rpc/svc_auth.h: Likewise.
76152         * include/rpc/xdr.h: Likewise.
76153         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76154         * nss/Makefile: Likewise.
76155         * sunrpc/Makefile: Don't install headers.  Build library with normal
76156         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76157         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76158         for the compat linking library.  Remove use of INTDEF/INTUSE.
76159         * sunrpc/auth_none.c: Likewise.
76160         * sunrpc/auth_unix.c: Likewise.
76161         * sunrpc/authdes_prot.c: Likewise.
76162         * sunrpc/authuxprot.c: Likewise.
76163         * sunrpc/clnt_gen.c: Likewise.
76164         * sunrpc/clnt_perr.c: Likewise.
76165         * sunrpc/clnt_raw.c: Likewise.
76166         * sunrpc/clnt_simp.c: Likewise.
76167         * sunrpc/clnt_tcp.c: Likewise.
76168         * sunrpc/clnt_udp.c: Likewise.
76169         * sunrpc/clnt_unix.c: Likewise.
76170         * sunrpc/des_crypt.c: Likewise.
76171         * sunrpc/des_soft.c: Likewise.
76172         * sunrpc/get_myaddr.c: Likewise.
76173         * sunrpc/key_call.c: Likewise.
76174         * sunrpc/key_prot.c: Likewise.
76175         * sunrpc/netname.c: Likewise.
76176         * sunrpc/pm_getmaps.c: Likewise.
76177         * sunrpc/pm_getport.c: Likewise.
76178         * sunrpc/pmap_clnt.c: Likewise.
76179         * sunrpc/pmap_prot.c: Likewise.
76180         * sunrpc/pmap_prot2.c: Likewise.
76181         * sunrpc/pmap_rmt.c: Likewise.
76182         * sunrpc/publickey.c: Likewise.
76183         * sunrpc/rpc_cmsg.c: Likewise.
76184         * sunrpc/rpc_common.c: Likewise.
76185         * sunrpc/rpc_dtable.c: Likewise.
76186         * sunrpc/rpc_prot.c: Likewise.
76187         * sunrpc/rpc_thread.c: Likewise.
76188         * sunrpc/rtime.c: Likewise.
76189         * sunrpc/svc.c: Likewise.
76190         * sunrpc/svc_auth.c: Likewise.
76191         * sunrpc/svc_authux.c: Likewise.
76192         * sunrpc/svc_raw.c: Likewise.
76193         * sunrpc/svc_run.c: Likewise.
76194         * sunrpc/svc_simple.c: Likewise.
76195         * sunrpc/svc_tcp.c: Likewise.
76196         * sunrpc/svc_udp.c: Likewise.
76197         * sunrpc/svc_unix.c: Likewise.
76198         * sunrpc/svcauth_des.c: Likewise.
76199         * sunrpc/xcrypt.c: Likewise.
76200         * sunrpc/xdr.c: Likewise.
76201         * sunrpc/xdr_array.c: Likewise.
76202         * sunrpc/xdr_float.c: Likewise.
76203         * sunrpc/xdr_intXX_t.c: Likewise.
76204         * sunrpc/xdr_mem.c: Likewise.
76205         * sunrpc/xdr_rec.c: Likewise.
76206         * sunrpc/xdr_ref.c: Likewise.
76207         * sunrpc/xdr_sizeof.c: Likewise.
76208         * sunrpc/xdr_stdio.c: Likewise.
76210 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76212         [BZ #12650]
76213         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76214         * sysdeps/ia64/dl-tls.h: Likewise.
76215         * sysdeps/powerpc/dl-tls.h: Likewise.
76216         * sysdeps/s390/dl-tls.h: Likewise.
76217         * sysdeps/sh/dl-tls.h: Likewise.
76218         * sysdeps/sparc/dl-tls.h: Likewise.
76219         * sysdeps/x86_64/dl-tls.h: Likewise.
76220         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76222 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76224         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76225         rpath element also skip the following colon.
76226         (expand_dynamic_string_token): Add is_path parameter and pass
76227         down to DL_DST_REQUIRED and _dl_dst_substitute.
76228         (decompose_rpath): Call expand_dynamic_string_token with
76229         non-zero is_path.  Ignore empty rpaths.
76230         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76231         with zero is_path.
76233 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76236         Make cancelable.
76238 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76240         [BZ #12655]
76241         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76242         Patch by Filipe David Manana <fdmanana@apache.org>.
76244 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76247         Maintain aligned stack.
76248         (CHECK_RSP): Remove unused macro.
76250 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76252         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76253         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76255 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76257         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76259         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76261 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76263         [BZ #12518]
76264         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76265         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76266         * sysdeps/x86_64/memmove.c: New file.
76267         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76268         (memcpy): Renamed to ...
76269         (__new_memcpy): This.
76270         (memcpy): Provide GLIBC_2_14 memcpy.
76271         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76272         (memcpy): Provide GLIBC_2_2_5 memcpy.
76274 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76276         [BZ #12631]
76277         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76279 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76281         * misc/syncfs.c: New file.
76282         * misc/Makefile (routines): Add syncfs.
76283         * posix/unistd.h: Declare syncfs.
76284         * sysdeps/unix/syscalls.list: Add syncfs.
76286 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76288         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76289         open_by_handle_at.
76290         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76291         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76293         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76295         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76298 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76300         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76301         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76302         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76304         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76306         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76308         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76309         sync_file_range.c with -fexceptions.
76310         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76311         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76312         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76313         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76314         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76315         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76317         sync_file_range as cancellation point
76318         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76319         now a wrapper around __call_sync_file_range with cancellation handling.
76320         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76321         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76322         function name to __call_sync_file_range.
76323         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76324         Add call_sync_file_range.
76326 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76329         bits/timex.h.
76331 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76333         * iconv/iconv.h: Fix typo in comment.
76334         * io/fcntl.h: Likewise.
76335         * libio/stdio.h: Likewise.
76336         * posix/spawn.h: Likewise.
76337         * posix/unistd.h: Likewise.
76338         * stdlib/stdlib.h: Likewise.
76339         * time/time.h: Likewise.
76340         * wcsmbs/wchar.h: Likewise.
76342         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76343         open_by_handle): Add.
76344         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76345         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76346         Augment a few comments.
76347         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76351         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76352         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76353         open_by_handle.
76355         * io/fcntl.h (AT_EMPTY_PATH): Define.
76357 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76359         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76360         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76361         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76362         to...
76363         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76364         * Versions.def: Add GLIBC_2.14.
76365         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76366         Export.
76368 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76370         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76371         round counter.
76372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76374 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76376         [BZ #12597]
76377         * string/test-strncmp.c (do_page_test): New function.
76378         (check2): Likewise.
76379         (test_main): Call check2.
76380         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76382 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76384         [BZ #12587]
76385         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76386         Handle cache information in CPU leaf 4.
76387         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76389 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76391         [BZ #12583]
76392         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76393         character representation.
76394         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76396 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76398         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76399         END(__isnan) to END(__isnanf) to match function entry point/label
76400         EALIGN(__isnanf,...).
76402 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76404         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76406 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76408         [BZ #12510]
76409         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76410         copy from the symbol referenced in the relocation to initialize the
76411         used variable.
76412         Patch by Piotr Bury <pbury@goahead.com>.
76413         * elf/Makefile: Add rules to build and tst-unique3.
76414         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76415         * elf/tst-unique3.cc: New file.
76416         * elf/tst-unique3.h: New file.
76417         * elf/tst-unique3lib.cc: New file.
76418         * elf/tst-unique3lib2.cc: New file.
76420         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76422 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76424         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76425         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76426         to _start.
76428 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76430         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76431         to-be-loaded object along a path to loader is ld.so.
76433 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76434             Ulrich Drepper  <drepper@gmail.com>
76436         * sysdeps/x86_64/memset.S: After aligning destination, code
76437         branches to different locations depending on the value of
76438         misalignment, when multiarch is enabled. Fix this.
76440 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76442         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76443         Set _x86_64_preferred_memory_instruction for AMD processsors.
76444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76445         Set bit_Prefer_SSE_for_memop for AMD processors.
76447 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76449         * libio/fmemopen.c (fmemopen): Optimize a bit.
76451 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76453         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76455 2011-03-03  Roland McGrath  <roland@redhat.com>
76457         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76459 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76461         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76462         __bzero_ultra1 instead of __memset_ultra1.
76464 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76465             Ulrich Drepper  <drepper@gmail.com>
76467         [BZ #12509]
76468         * include/link.h (struct link_map): Add l_orig_initfini.
76469         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76470         returning unsuccessfully.
76471         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76472         close of a file loaded at startup, restore the original l_initfini
76473         list.
76474         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76475         list, store the pointer.
76476         * elf/Makefile ($(objpfx)noload-mem): New rule.
76477         (noload-ENV): Define.
76478         (tests): Add $(objpfx)noload-mem.
76479         * elf/noload.c: Include <memcheck.h>.
76480         (main): Call mtrace.  Close all opened handles.
76482 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76484         [BZ #12454]
76485         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76486         dependencies are missing.
76488 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76490         Fix __if_freereq crash: Unlike the generic version which uses free,
76491         Hurd needs munmap.
76492         * sysdeps/mach/hurd/ifreq.h: New file.
76494 2011-01-27  Petr Baudis  <pasky@suse.cz>
76495             Ulrich Drepper  <drepper@gmail.com>
76497         [BZ 12445]#
76498         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76499         to extend_alloca().
76500         * stdio-common/bug23.c: New file.
76501         * stdio-common/Makefile (tests): Add bug23.
76503 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76504             Ulrich Drepper  <drepper@gmail.com>
76506         [BZ #12489]
76507         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76508         before performing relro protection.  At old place add assertion
76509         to make sure nothing changed.
76511 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76512             Glauber de Oliveira Costa  <glommer@gmail.com>
76514         * elf/elf.h: Add new ARM TLS relocs.
76516 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76519         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76520         cast from r3.
76521         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76522         'tests' variable.
76523         * sysdeps/wordsize-64/tst-writev.c: New file.
76525 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76527         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76528         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76529         insns in _dl_start to prevent a TOC reference before relocs are
76530         resolved.
76532 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76534         [BZ #12469]
76535         * Makeconfig: Remove RANLIB definition.
76536         * Makerules: Don't use RANLIB.
76537         * aclocal.m4: Remove ranlib test.
76538         * configure.in: No need to check for ranlib.
76539         * elf/rtld-Rules: Don't use RANLIB.
76541 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76543         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76544         protection macro.
76545         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76546         inclusion protection macro.
76548         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76549         SIGRTMIN and SIGRTMAX and print information in that case only when
76550         SIGRTMIN is defined.
76552 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76554         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76555         arginfo fn returning -1.
76557         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76558         and thousands string is zero terminated.
76560 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76562         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76563         sysdeps/unix/sysv/linux/bits/socket.h.
76565 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76567         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76568         (__CPU_COUNT): Remove old macros.
76569         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76570         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76571         (__CPU_ALLOC, __CPU_FREE): Add macros.
76572         (__sched_cpualloc, __sched_cpufree): Add declarations.
76574 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76576         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76577         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76578         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76579         (readdhstai): Return value of addhstaiX call.
76580         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76581         (addgrbyX): Return value returned by cache_addgr.
76582         (readdgrbyname): Return value returned by addgrbyX.
76583         (readdgrbygid): Likewise.
76584         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76585         (addpwbyX): Return value returned by cache_addpw.
76586         (readdpwbyname): Return value returned by addhstbyX.
76587         (readdpwbyuid): Likewise.
76588         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76589         (addservbyX): Return value returned by cache_addserv.
76590         (readdservbyname): Return value returned by addservbyX:
76591         (readdservbyport): Likewise.
76592         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76593         (addhstbyX): Return value returned by cache_addhst.
76594         (readdhstbyname): Return value returned by addhstbyX.
76595         (readdhstbyaddr): Likewise.
76596         (readdhstbynamev6): Likewise.
76597         (readdhstbyaddrv6): Likewise.
76598         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76599         (readdinitgroups): Return value returned by addinitgroupsX.
76600         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76601         (prune_cache): Keep track of timeout value of re-added entries.
76602         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76603         * nscd/nscd.h: Adjust prototypes of readd* functions.
76605 2011-02-04  Roland McGrath  <roland@redhat.com>
76607         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76608         (nis_stats): Likewise.
76609         * nis/nis_modify.c (nis_modify): Likewise.
76610         * nis/nis_remove.c (nis_remove): Likewise.
76611         * nis/nis_add.c (nis_add): Likewise.
76613         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76615         * posix/fnmatch_loop.c: Add some consts.
76617         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76619 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76621         [BZ #12460]
76622         * config.make.in (config-cflags-novzeroupper): Define.
76623         * configure.in: Substitute libc_cv_cc_novzeroupper.
76624         * elf/Makefile (AVX-CFLAGS): Define.
76625         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76626         (CFLAGS-tst-auditmod4a.c): Likewise.
76627         (CFLAGS-tst-auditmod4b.c): Likewise.
76628         (CFLAGS-tst-auditmod6b.c): Likewise.
76629         (CFLAGS-tst-auditmod6c.c): Likewise.
76630         (CFLAGS-tst-auditmod7b.c): Likewise.
76631         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76633 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76635         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76636         function to the callback.
76637         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76639 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76641         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76642         of errno.
76644 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76646         [BZ #11724]
76647         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76648         of constructors.
76649         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76650         of destructors.
76651         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76653         [BZ #11724]
76654         * elf/Makefile: Add rules to build and run new test.
76655         * elf/tst-initorder.c: New file.
76656         * elf/tst-initorder.exp: New file.
76657         * elf/tst-initordera1.c: New file.
76658         * elf/tst-initordera2.c: New file.
76659         * elf/tst-initordera3.c: New file.
76660         * elf/tst-initordera4.c: New file.
76661         * elf/tst-initorderb1.c: New file.
76662         * elf/tst-initorderb2.c: New file.
76663         * elf/tst-order-a1.c: New file.
76664         * elf/tst-order-a2.c: New file.
76665         * elf/tst-order-a3.c: New file.
76666         * elf/tst-order-a4.c: New file.
76667         * elf/tst-order-b1.c: New file.
76668         * elf/tst-order-b2.c: New file.
76669         * elf/tst-order-main.c: New file.
76670         New test case by George Gensure <werkt0@gmail.com>.
76672 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76675         decoding ACE if AI_CANONIDN.
76677 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76679         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76681 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76683         * version.h (RELEASE): Bump for 2.13 release.
76684         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76686         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76688         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76689         MADV_NOHUGEPAGE.
76690         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76691         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76692         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76693         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76694         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76695         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76697         * posix/getconf.c: Update copyright year.
76698         * catgets/gencat.c: Likewise.
76699         * csu/version.c: Likewise.
76700         * debug/catchsegv.sh: Likewise.
76701         * debug/xtrace.sh: Likewise.
76702         * elf/ldconfig.c: Likewise.
76703         * elf/ldd.bash.in: Likewise.
76704         * elf/sprof.c (print_version): Likewise.
76705         * iconv/iconv_prog.c: Likewise.
76706         * iconv/iconvconfig.c: Likewise.
76707         * locale/programs/locale.c: Likewise.
76708         * locale/programs/localedef.c: Likewise.
76709         * malloc/memusage.sh: Likewise.
76710         * malloc/mtrace.pl: Likewise.
76711         * nscd/nscd.c (print_version): Likewise.
76712         * nss/getent.c: Likewise.
76714         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76715         PF_CAIF, and PF_ALG.
76716         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76718 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76720         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76721         (modules-names): Use them.
76722         (ifunc-test-modules, ifunc-pie-tests): Define.
76723         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76724         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76725         (test-extras): Likewise.
76726         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76727         $(compile-command.c).
76728         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76729         (all-built-dso): Define.
76730         (check-textrel.out, check-execstack.out): Depend on it.
76732         * configure.in: Don't override --enable-multi-arch.
76734 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76736         [BZ #6812]
76737         * nscd/hstcache.c (tryagain): Define.
76738         (cache_addhst): Return tryagain not notfound for temporary errors.
76739         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76740         failed.
76742 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76744         [BZ #10563]
76745         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76746         to make the syscall.
76747         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76749         [BZ #12378]
76750         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76751         and fall back to matching as normal character if the string ends before
76752         the matching ']' is found.  This is what POSIX requires.
76753         * posix/testfnm.c: Adjust test result.
76754         * posix/globtest.sh: Adjust test result.  Add new test.
76755         * posix/tst-fnmatch.input: Likewise.
76756         * posix/tst-fnmatch2.c: Add new test.
76758 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76760         * elf/Makefile (check-execstack): Revert last change.  Depend on
76761         check-execstack.h.
76762         (check-execstack.h): New target.
76763         (generated): Add check-execstack.h.
76764         * elf/check-execstack.c: Include "check-execstack.h".
76765         (main): Revert last change.
76766         (handle_file): Return zero if GNU_STACK is absent and
76767         DEFAULT_STACK_PERMS doesn't include PF_X.
76769 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76771         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76772         in child fails because the descriptor is already closed.
76773         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76774         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76775         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76777         [BZ #12397]
76778         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76779         syscall.
76781         [BZ #10484]
76782         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76783         temporary buffer used to handle multi lookups locally.
76784         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76786 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76788         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76789         loader is ld.so.
76791 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76793         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76794         alignment for SSE2.
76796 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76798         [BZ #12394]
76799         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76800         characters.  When rounding increased number of integer digits recompute
76801         number of groups.
76802         * stdio-common/tst-grouping.c: New file.
76803         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76805 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76807         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76808         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76810         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76811         void.
76812         * bits/select.h: Likewise.
76814 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76816         * po/ja.po: Update from translation team.
76818 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76820         [BZ #11155]
76821         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76822         implementation just like for lxstat, fxstatat, et al.
76824 2010-12-27  Jim Meyering  <meyering@redhat.com>
76826         [BZ #12348]
76827         * posix/regexec.c (build_trtable): Return failure indication upon
76828         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76830 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76832         [BZ #12201]
76833         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76834         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76835         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76836         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76838         [BZ #12207]
76839         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76841         [BZ #12204]
76842         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76843         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76845 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76847         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76848         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76849         script has SORT_BY_INIT_PRIORITY.
76850         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76851         NO_CTORS_DTORS_SECTIONS is defined.
76852         * elf/soinit.c: Likewise.
76853         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76854         NO_CTORS_DTORS_SECTIONS is defined.
76855         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76856         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76857         * sysdeps/sh/init-first.c: Likewise.
76858         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76860 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76862         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76863         always use the slow path.
76865 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76867         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76868         similar rule which adds the sysdep directories to the header search in
76869         order to pick up the correct platform stackinfo.h.
76870         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76871         perform test if it is, otherwise return successfully without testing.
76872         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76873         DEFAULT_STACK_PERMS define in stackinfo.h.
76874         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76875         defined in stackinfo.h.
76876         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76877         DEFAULT_STACK_PERMS defined in stackinfo.h.
76878         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76879         * sysdeps/ia64/stackinfo.h: Likewise.
76880         * sysdeps/s390/stackinfo.h: Likewise.
76881         * sysdeps/sh/stackinfo.h: Likewise.
76882         * sysdeps/sparc/stackinfo.h: Likewise.
76883         * sysdeps/x86_64/stackinfo.h: Likewise.
76884         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76885         PF_X for powerpc64.  Retain PF_X for powerpc32.
76887 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76889         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76890         accurately.
76891         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76892         GETDENTS_64BIT_ALIGNED.
76894 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76896         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76898 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76900         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76901         _GNU_SOURCE.
76903         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76904         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76905         Remove __restrict.
76906         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76907         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76909 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76911         [BZ #11655]
76912         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76913         are initialized.
76915 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76917         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76919 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76921         * po/it.po: Update from translation team.
76923 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76925         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76926         unused codes.
76928 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76930         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76932 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76934         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76935         specially.
76936         (gaih_getanswer_slice): Likewise.
76938 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76942 2010-05-31  Petr Baudis  <pasky@suse.cz>
76944         [BZ #11149]
76945         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76946         silently even in the chroot mode.
76948 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76950         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76951         last patch a bit.  Pretty printing
76953 2010-05-31  Petr Baudis <pasky@suse.cz>
76955         [BZ #10085]
76956         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76957         initialization of skip_initgroups_dyn.
76959 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76961         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76962         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76964 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76966         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76968 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76970         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76971         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76972         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76973         ($(objpfx)tst-fnmatch-mem): New rule.
76974         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76975         * posix/tst-fnmatch.c (main): Call mtrace.
76977 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76980         Support Intel processor model 6 and model 0x2c.
76982 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76984         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76985           signed comparison.
76987 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76989         [BZ #12205]
76990         * string/test-strncasecmp.c (check_result): New function.
76991         (do_one_test): Use it.
76992         (check1): New function.
76993         (test_main): Use it.
76994         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76995         Support strcasecmp and strncasecmp.
76997 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76999         [BZ #12194]
77000         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77001         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77003 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77005         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77006         IFUNC support.
77007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77008         memset-x86-64.
77009         * sysdeps/x86_64/multiarch/bzero.S: New file.
77010         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77011         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77012         * sysdeps/x86_64/multiarch/memset.S: New file.
77013         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77015         Set bit_Prefer_SSE_for_memop for Intel processors.
77016         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77017         Define.
77018         (index_Prefer_SSE_for_memop): Define.
77019         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77021 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77023         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77024         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77026 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77028         [BZ #12191]
77029         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77030         (__x86_64_raw_data_cache_size_half): Likewise.
77031         (__x86_64_raw_shared_cache_size): Likewise.
77032         (__x86_64_raw_shared_cache_size_half): Likewise.
77034         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77035         (__x86_64_raw_data_cache_size_half): Likewise.
77036         (__x86_64_raw_shared_cache_size): Likewise.
77037         (__x86_64_raw_shared_cache_size_half): Likewise.
77038         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77039         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77040         and __x86_64_raw_shared_cache_size_half.  Round
77041         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77042         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77043         to multiple of 256 bytes.
77045 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77047         [BZ #12167]
77048         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77049         of inacessible symlinks.  Verify result of symlink before returning it.
77050         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77051         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77053 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77055         * math/math.h (isinf): Fix typo in comment.
77057 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77059         * po/da.po: Update from translation team.
77061 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77063         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77064         is added to the list.
77066 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77067             Ulrich Drepper  <drepper@gmail.com>
77069         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77070         the global list here.  Move code to...
77071         (_dl_add_to_namespace_list): ...here.  New function.
77072         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77073         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77074         * elf/dl-load.c (lose): Don't remove the element from the list.
77075         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77076         (_dl_map_object): Likewise.
77078 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77080         [BZ #12159]
77081         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77082         into all bytes of SSE register.
77083         Patch by Richard Li <richardpku@gmail.com>.
77085 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77087         [BZ #12140]
77088         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77089         perturbing.
77091 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77093         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77094         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77095         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77096         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77098         submachine.
77099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77101 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77103         * include/dlfcn.h (__RTLD_SECURE): Define.
77104         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77105         mode & __RTLD_SECURE instead.
77106         (open_path): Rename preloaded parameter to secure.
77107         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77108         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77109         * elf/dl-deps.c (openaux): Likewise.
77110         * elf/rtld.c (struct map_args): Remove is_preloaded.
77111         (map_doit): Don't use it.
77112         (dl_main): Likewise.
77113         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77114         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77116 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77118         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77119         (sysd-rules-targets): Remove duplicates.
77120         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77121         rtld-%.$o dependency.
77123 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77125         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77126         _dl_map_object do it.
77128 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77130         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77131         fast fma builtins, define the macros in the C99 standard.
77132         (FP_FAST_FMAF): Likewise.
77133         (FP_FAST_FMAL): Likewise.
77134         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77136         * bits/mathdef.h: Update copyright year.
77137         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77139 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77141         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77142         builtins, define the macros in the C99 standard.
77143         (FP_FAST_FMAF): Likewise.
77144         (FP_FAST_FMAL): Likewise.
77145         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77146         multiply/add.
77147         (FP_FAST_FMAF): Likewise.
77149 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77151         [BZ #3268]
77152         * math/libm-test.inc (fma_test): Some new testcases.
77153         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77154         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77155         y and infinite z.  Do multiplication by C already in long double.
77156         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77158         y and infinite z.  Do bitwise or of inexact bit into u.d.
77159         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77160         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77161         * sysdeps/i386/fpu/s_fma.S: Removed.
77162         * sysdeps/i386/fpu/s_fmal.S: Removed.
77164 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77166         [BZ #3268]
77167         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77168         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77169         computation is not scheduled after fetestexcept.  Fix value
77170         of minimum denormal long double.
77172 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77174         [BZ #3268]
77175         * math/libm-test.inc (fma_test): Add some more tests.
77176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77177         correctly.
77179 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77181         * scripts/data/localplt-s390-linux-gnu.data: New file.
77182         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77184 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77186         [BZ #3268]
77187         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77188         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77189         instead of dbl-64.
77190         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77191         inlines.
77192         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77194         if one of x and y is very large and the other is subnormal.
77195         * sysdeps/s390/fpu/s_fmaf.c: New file.
77196         * sysdeps/s390/fpu/s_fma.c: New file.
77197         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77198         * sysdeps/powerpc/fpu/s_fma.S: New file.
77199         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77200         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77201         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77203 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77205         [BZ #3268]
77206         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77207         fma tests.
77208         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77209         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77210         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77211         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77212         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77213         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77214         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77216 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77218         [BZ #12078]
77219         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77220         * posix/bug-regex31.input: Add test case.
77222 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77224         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77225         * posix/bug-regex31.input: New file.
77227         [BZ #12078]
77228         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77229         (parse_sub_exp): Fix last change, use postorder.
77231         * posix/bug-regex31.c: New file.
77232         * posix/Makefile: Add rules to build and run bug-regex31.
77234         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77236         [BZ #12078]
77237         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77239         [BZ #12108]
77240         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77241         to have entries in sys_siglist.
77243         [BZ #12093]
77244         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77245         be NULL.
77247 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77249         [BZ #3268]
77250         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77251         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77252         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77253         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77254         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77255         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77256         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77257         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77258         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77259         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77260         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77261         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77262         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77263         * math/ftestexcept.c (fetestexcept): Likewise.
77264         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77265         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77266         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77267         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77268         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77269         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77270         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77272 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77274         [BZ #12107]
77275         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77276         newline.
77278 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77280         * string/bug-strstr1.c: New file.
77281         * string/Makefile: Add rules to build and run bug-strstr1.
77283 2010-10-05  Eric Blake  <eblake@redhat.com>
77285         [BZ #12092]
77286         * string/str-two-way.h (two_way_long_needle): Always clear memory
77287         when skipping input due to the shift table.
77289 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77291         [BZ #12005]
77292         * malloc/mcheck.c: Handle large requests.
77294         [BZ #12077]
77295         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77296         for strncmp and strncasecmp.
77297         * string/stratcliff.c: Add tests for strcmp and strncmp.
77298         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77300 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77302         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77303         __set_fpscr.
77305 2010-09-30  Andreas Jaeger  <aj@suse.de>
77307         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77308         (CGROUP_SUPER_MAGIC): Define.
77309         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77310         Handle btrfs and cgroup file systems.
77311         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77312         Likewise.
77314 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77316         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77317         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77319 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77321         [BZ #12067]
77322         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77323         trying to locate the ELF header.
77325 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77327         [BZ #11611]
77328         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77329         Mask out sign-bit copies when constructing f_fsid.
77331 2010-09-24  Petr Baudis <pasky@suse.cz>
77333         * debug/stack_chk_fail_local.c: Add missing licence exception.
77334         * debug/warning-nop.c: Likewise.
77336 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77338         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77339         implementing getdents64 using getdents syscall, set d_type if
77340         __ASSUME_GETDENTS32_D_TYPE.
77342 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77344         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77345         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77347 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77349         [BZ #12037]
77350         * posix/unistd.h: Undo change of feature selection for ftruncate from
77351         2010-01-11.
77353 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77355         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77356         detection.
77358 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77360         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77361         fanotify_mark.
77362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77364 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77366         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77367         variables after CHECK_SP call.
77368         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77370 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77371             Ulrich Drepper  <drepper@redhat.com>
77373         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77374         re-relocationg ld.so.
77375         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77376         _dl_init_paths call.
77377         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77378         here anymore.
77380 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77382         * resolv/res_init.c (__res_vinit): Count the default server we added.
77384 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77385             Ulrich Drepper  <drepper@redhat.com>
77387         [BZ #11968]
77388         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77389         (____longjmp_chk): Use %ebx for saving value across system call.
77390         Add unwind info.
77392 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77394         * manual/Makefile: Don't mix pattern rules with normal rules.
77396 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77398         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77399         operation.
77400         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77401         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77402         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77403         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77404         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77405         Likewise.
77407 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77409         [BZ #11979]
77410         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77411         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77413 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77415         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77416         * sysdeps/x86_64/addmul_1.S: Likewise.
77417         * sysdeps/x86_64/lshift.S: Likewise.
77418         * sysdeps/x86_64/mul_1.S: Likewise.
77419         * sysdeps/x86_64/rshift.S: Likewise.
77420         * sysdeps/x86_64/sub_n.S: Likewise.
77421         * sysdeps/x86_64/submul_1.S: Likewise.
77423 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77425         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77426         Define __sched_param instead of SCHED_* and sched_param when
77427         <bits/sched.h> is included with __need_schedparam defined.
77428         * bits/sched.h [__need_schedparam]
77429         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77430         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77431         (__defined_schedparam): Define to 1.
77432         (__sched_param): New structure, identical to sched_param.
77433         (__need_schedparam): Undefine.
77435 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77437         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77438         (epoll_create1): Declare.
77440         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77442 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77444         [BZ #7066]
77445         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77446         shifting retval into place.
77448 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77450         * nis/rpcsvc/nis.h: Update copyright notice.
77451         * nis/rpcsvc/nis.x: Likewise.
77452         * nis/rpcsvc/nis_callback.h: Likewise.
77453         * nis/rpcsvc/nis_callback.x: Likewise.
77454         * nis/rpcsvc/nis_object.x: Likewise.
77455         * nis/rpcsvc/nis_tags.h: Likewise.
77456         * nis/rpcsvc/yp.h: Likewise.
77457         * nis/rpcsvc/yp.x: Likewise.
77458         * nis/rpcsvc/ypupd.h: Likewise.
77459         * nis/yp_xdr.c: Likewise.
77460         * nis/ypupdate_xdr.c: Likewise.
77462         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77463         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77464         (pmap_getport): Use __libc_rpc_getport.
77465         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77466         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77467         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77469 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77472         fanotify_mark.
77474 2010-08-27  Roland McGrath  <roland@redhat.com>
77476         * sysdeps/i386/i686/multiarch/Makefile
77477         (CFLAGS-varshift.c): New variable.
77479 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77481         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77482         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77484         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77486         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77488 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77490         * sysdeps/x86_64/strlen.S: Unroll the loop.
77491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77492         strlen-sse2 strlen-sse2-bsf.
77493         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77494         __strlen_no_bsf if bit_Slow_BSF is set.
77495         (__strlen_sse42): Removed.
77496         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77497         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77499 2010-08-25  Roland McGrath  <roland@redhat.com>
77501         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77502         * sysdeps/x86_64/multiarch/varshift.c: New file.
77503         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77504         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77505         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77506         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77508 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77510         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77511         strlen-sse2 strlen-sse2-bsf.
77512         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77513         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77514         (__strlen_sse2): Removed.
77515         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77516         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77518         bit_Slow_BSF for Atom.
77519         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77520         (index_Slow_BSF): Define.
77521         (HAS_SLOW_BSF): Define.
77523 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77525         [BZ #10851]
77526         * resolv/res_init.c (__res_vinit): When no server address at all
77527         is given default to loopback.
77529 2010-08-24  Roland McGrath  <roland@redhat.com>
77531         * configure.in: Remove config-name.h generation.
77532         * configure: Regenerated.
77533         * config-name.in: File removed.
77534         * scripts/config-uname.sh: New file.
77535         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77536         ($(objdir)config-name.h): New target.
77538         * sunrpc/rpc_parse.h: Avoid nested comment.
77540 2010-08-24  Richard Henderson  <rth@redhat.com>
77541             Ulrich Drepper  <drepper@redhat.com>
77542             H.J. Lu  <hongjiu.lu@intel.com>
77544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77546         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77547         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77548         _mm_alignr_epi8 with _mm_loadu_si128.
77549         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77550         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77551         (__m128i_shift_right): Removed.
77552         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77553         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77554         * sysdeps/x86_64/multiarch/varshift.h: New file.
77555         * sysdeps/x86_64/multiarch/varshift.S: New file.
77557 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77559         * configure.in: Move assembler checks to before sysdep dir checking.
77561 2010-08-20  Petr Baudis  <pasky@suse.cz>
77563         * LICENSES: Sync the sunrpc license.
77565 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77567         * sunrpc/auth_des.c: Update copyright notice once again.
77568         * sunrpc/auth_none.c: Likewise.
77569         * sunrpc/auth_unix.c: Likewise.
77570         * sunrpc/authdes_prot.c: Likewise.
77571         * sunrpc/authuxprot.c: Likewise.
77572         * sunrpc/bindrsvprt.c: Likewise.
77573         * sunrpc/clnt_gen.c: Likewise.
77574         * sunrpc/clnt_perr.c: Likewise.
77575         * sunrpc/clnt_raw.c: Likewise.
77576         * sunrpc/clnt_simp.c: Likewise.
77577         * sunrpc/clnt_tcp.c: Likewise.
77578         * sunrpc/clnt_udp.c: Likewise.
77579         * sunrpc/clnt_unix.c: Likewise.
77580         * sunrpc/des_crypt.c: Likewise.
77581         * sunrpc/des_soft.c: Likewise.
77582         * sunrpc/get_myaddr.c: Likewise.
77583         * sunrpc/getrpcport.c: Likewise.
77584         * sunrpc/key_call.c: Likewise.
77585         * sunrpc/key_prot.c: Likewise.
77586         * sunrpc/openchild.c: Likewise.
77587         * sunrpc/pm_getmaps.c: Likewise.
77588         * sunrpc/pm_getport.c: Likewise.
77589         * sunrpc/pmap_clnt.c: Likewise.
77590         * sunrpc/pmap_prot.c: Likewise.
77591         * sunrpc/pmap_prot2.c: Likewise.
77592         * sunrpc/pmap_rmt.c: Likewise.
77593         * sunrpc/rpc/auth.h: Likewise.
77594         * sunrpc/rpc/auth_unix.h: Likewise.
77595         * sunrpc/rpc/clnt.h: Likewise.
77596         * sunrpc/rpc/des_crypt.h: Likewise.
77597         * sunrpc/rpc/key_prot.h: Likewise.
77598         * sunrpc/rpc/netdb.h: Likewise.
77599         * sunrpc/rpc/pmap_clnt.h: Likewise.
77600         * sunrpc/rpc/pmap_prot.h: Likewise.
77601         * sunrpc/rpc/pmap_rmt.h: Likewise.
77602         * sunrpc/rpc/rpc.h: Likewise.
77603         * sunrpc/rpc/rpc_des.h: Likewise.
77604         * sunrpc/rpc/rpc_msg.h: Likewise.
77605         * sunrpc/rpc/svc.h: Likewise.
77606         * sunrpc/rpc/svc_auth.h: Likewise.
77607         * sunrpc/rpc/types.h: Likewise.
77608         * sunrpc/rpc/xdr.h: Likewise.
77609         * sunrpc/rpc_clntout.c: Likewise.
77610         * sunrpc/rpc_cmsg.c: Likewise.
77611         * sunrpc/rpc_common.c: Likewise.
77612         * sunrpc/rpc_cout.c: Likewise.
77613         * sunrpc/rpc_dtable.c: Likewise.
77614         * sunrpc/rpc_hout.c: Likewise.
77615         * sunrpc/rpc_main.c: Likewise.
77616         * sunrpc/rpc_parse.c: Likewise.
77617         * sunrpc/rpc_parse.h: Likewise.
77618         * sunrpc/rpc_prot.c: Likewise.
77619         * sunrpc/rpc_sample.c: Likewise.
77620         * sunrpc/rpc_scan.c: Likewise.
77621         * sunrpc/rpc_scan.h: Likewise.
77622         * sunrpc/rpc_svcout.c: Likewise.
77623         * sunrpc/rpc_tblout.c: Likewise.
77624         * sunrpc/rpc_util.c: Likewise.
77625         * sunrpc/rpc_util.h: Likewise.
77626         * sunrpc/rpcinfo.c: Likewise.
77627         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77628         * sunrpc/rpcsvc/key_prot.x: Likewise.
77629         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77630         * sunrpc/rpcsvc/mount.x: Likewise.
77631         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77632         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77633         * sunrpc/rpcsvc/rex.x: Likewise.
77634         * sunrpc/rpcsvc/rstat.x: Likewise.
77635         * sunrpc/rpcsvc/rusers.x: Likewise.
77636         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77637         * sunrpc/rpcsvc/spray.x: Likewise.
77638         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77639         * sunrpc/rtime.c: Likewise.
77640         * sunrpc/svc.c: Likewise.
77641         * sunrpc/svc_auth.c: Likewise.
77642         * sunrpc/svc_authux.c: Likewise.
77643         * sunrpc/svc_raw.c: Likewise.
77644         * sunrpc/svc_run.c: Likewise.
77645         * sunrpc/svc_simple.c: Likewise.
77646         * sunrpc/svc_tcp.c: Likewise.
77647         * sunrpc/svc_udp.c: Likewise.
77648         * sunrpc/svc_unix.c: Likewise.
77649         * sunrpc/svcauth_des.c: Likewise.
77650         * sunrpc/xcrypt.c: Likewise.
77651         * sunrpc/xdr.c: Likewise.
77652         * sunrpc/xdr_array.c: Likewise.
77653         * sunrpc/xdr_float.c: Likewise.
77654         * sunrpc/xdr_mem.c: Likewise.
77655         * sunrpc/xdr_rec.c: Likewise.
77656         * sunrpc/xdr_ref.c: Likewise.
77657         * sunrpc/xdr_sizeof.c: Likewise.
77658         * sunrpc/xdr_stdio.c: Likewise.
77660         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77661         handling.
77663 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77665         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77667 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77669         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77670         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77671         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77672         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77673         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77674         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77675         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77676         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77677         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77678         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77679         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77680         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77681         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77682         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77684 2010-07-26  Anton Blanchard  <anton@samba.org>
77686         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77687         * malloc/arena.c (heap_trim): Likewise.
77689 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77691         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77692         here.  Not...
77693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77694         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77696 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77698         * sysdeps/i386/elf/Makefile: New file.
77700 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77702         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77703         from fanotify_init.
77704         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77705         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77707 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77709         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77710         of strncasecmp_l.
77711         * sysdeps/multiarch/strcmp.S: Likewise.
77713 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77715         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77716         strncase_l-nonascii.
77717         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77718         Add strncase_l-ssse3.
77719         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77720         * sysdeps/x86_64/strcmp.S: Likewise.
77721         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77722         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77723         * sysdeps/x86_64/strncase.S: New file.
77724         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77725         * sysdeps/x86_64/strncase_l.S: New file.
77726         * string/Makefile (strop-tests): Add strncasecmp.
77727         * string/test-strncasecmp.c: New file.
77729         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77730         warning.
77732         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77733         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77735 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77737         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77739 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77741         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77742         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77743         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77745 2010-05-01  Alan Modra  <amodra@gmail.com>
77747         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77748         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77749         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77750         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77751         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77752         tidying.  Don't tail-call __sigjmp_save for static lib.
77753         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77754         save location.
77755         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77756         (CALL_MCOUNT): Add eh info, and nop after bl.
77757         (TAIL_CALL_SYSCALL_ERROR): New macro.
77758         (PSEUDO_RET): Use it.
77759         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77760         Correct save location of integer regs and cr.
77761         (_dl_profile_resolve): Correct cr save location.  Delete nops
77762         after bl when SHARED.  Reduce cfi size a little by better
77763         placement of cfi directives.
77764         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77765         make a stack frame.  Instead use parm save area as a temp.
77766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77767         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77769         Don't make a stack frame for parent, use parm save area.
77770         Increase child stack frame to 112 bytes.  Don't save unused reg,
77771         and adjust reg usage.  Set up cfi on error recovery and
77772         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77774         (__makecontext): Add dummy nop after jump to exit.
77775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77776         Use correct parm save area and cr save, reduce stack frame.
77777         Correct cfi for possible PSEUDO_RET frame setup.
77778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77779         Branch to local label emitted by PSEUDO_RET rather than
77780         __syscall_error.
77782 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77784         [BZ #11904]
77785         * locale/programs/locale.c (print_assignment): New function.
77786         (show_locale_vars): Use it.
77788 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77790         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77791         field.
77792         (struct statfs64): Likewise.
77793         (_STATFS_F_FLAGS): Define.
77794         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77795         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77796         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77797         (ST_VALID): Define locally.
77798         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77799         __statvfs_getflags, use the provided value.
77800         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77801         __ASSUME_STATFS_F_FLAGS.
77803         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77805         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77806         Add sys/fanotify.h.
77807         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77808         fanotify_mask for GLIBC_2.13.
77809         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77810         fanotify_init and fanotify_mark.
77811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77812         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77814         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77815         Add prlimit.
77816         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77817         prlimit64 for GLIBC_2.13.
77818         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77819         prlimit64.
77820         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77821         syscall.
77822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77823         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77824         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77825         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77826         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77827         add prlimit alias.
77828         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77830         [BZ #11903]
77831         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77832         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77834         * nss/Makefile: Add rules to build and run tst-nss-test1.
77835         * shlib-versions: Add entry for libnss_test1.
77836         * nss/nss_test1.c: New file.
77837         * nss/tst-nss-test1.c: New file.
77839         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77840         (__nss_configure_lookup): Set appropriate entry in
77841         __nss_configure_lookup to true.
77842         * nss/nsswitch.h: Define enum with indeces of databases in
77843         databases and __nss_database_custom arrays.  Declare
77844         __nss_database_custom.
77845         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77846         to avoid using nscd when custom rules are installed.
77847         * nss/getXXbyYY_r.c: Likewise.
77848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77850         * nss/nss_files/files-parse.c: Whitespace fixes.
77852 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77854         [BZ #11883]
77855         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77856         * posix/fnmatch_loop.c: Likewise.
77858 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77860         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77861         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77862         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77863         * Versions.def [GLIBC_2.13]: Add.
77865 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77867         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77868         Also fail if tpwd after pwuid call is NULL.
77870 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77872         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77873         when converting to ms.
77875 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77877         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77878         EOPNOTSUPP errors with ENOTTY.
77879         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77880         EOPNOTSUPP errors with ENOTTY.
77882 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77884         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77885         Add strcasecmp_l-ssse3.
77886         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77887         strcasecmp.
77888         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77889         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77890         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77892 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77894         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77896         * string/Makefile (strop-tests): Add strcasecmp.
77897         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77898         strcasecmp_l-nonascii.
77899         (gen-as-const-headers): Add locale-defines.sym.
77900         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77901         * sysdeps/x86_64/strcasecmp.S: New file.
77902         * sysdeps/x86_64/strcasecmp_l.S: New file.
77903         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77904         * sysdeps/x86_64/locale-defines.sym: New file.
77905         * string/test-strcasecmp.c: New file.
77907         * string/test-strcasestr.c: Test both ends of the range of characters.
77908         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77910 2010-07-29  Roland McGrath  <roland@redhat.com>
77912         [BZ #11856]
77913         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77915 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77917         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77918         for ld.so.
77920 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77922         * manual/memory.texi (Malloc Tunable Parameters): Document
77923         M_PERTURB.
77925 2010-07-26  Roland McGrath  <roland@redhat.com>
77927         [BZ #11840]
77928         * configure.in (-fgnu89-inline check): Set and substitute
77929         gnu89_inline, not libc_cv_gnu89_inline.
77930         * configure: Regenerated.
77931         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77933 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77935         * string/test-strnlen.c: New file.
77936         * string/Makefile (strop-tests): Add strnlen.
77937         * string/tester.c (test_strnlen): Add a few more test cases.
77938         * string/tst-strlen.c: Better error reporting.
77940         * sysdeps/x86_64/strnlen.S: New file.
77942 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77944         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77945         lower-latency instructions.
77947 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77949         * string/test-strcasestr.c: New file.
77950         * string/test-strstr.c: New file.
77951         * string/Makefile (strop-tests): Add strstr and strcasestr.
77952         * string/str-two-way.h: Don't undefine MAX.
77953         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77955 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77957         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77958         strcasestr-nonascii.
77959         (CFLAGS-strcasestr-nonascii.c): Define.
77960         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77961         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77962         Remove unused attribute.
77964 2010-07-20  Roland McGrath  <roland@redhat.com>
77966         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77967         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77968         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77969         like LD_HWCAP_MASK can disable hwcaps.
77971 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77973         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77975 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77977         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77978         call in strcasestr.
77979         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77980         __strcasestr_sse42_nonascii.
77981         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77982         strcasestr-nonascii.c.
77983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77985 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77987         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77988         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77989         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77990         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77992 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77994         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77995         fcntl.
77997 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77999         [BZ #11577]
78000         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78001         dl_signal_cerror.
78003 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78005         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78006         _PC_PIPE_BUF using F_GETPIPE_SZ.
78008 2010-07-05  Roland McGrath  <roland@redhat.com>
78010         * manual/arith.texi (Rounding Functions): Fix rint description
78011         implicit in round description.
78013 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78015         * elf/Makefile: Fix linking for a few tests to make recent linker
78016         happy.
78018 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78020         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78021         $(common-objpfx)libc_nonshared.a.
78023 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78025         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78026         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78027         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78028         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78029         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78030         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78031         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78032         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78047         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78048         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78049         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78050         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78051         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78052         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78053         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78054         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78055         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78056         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78057         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78058         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78074 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78076         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78077         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78078         * string/memmove.c (memmove): Renamed to ...
78079         (MEMMOVE): ...this.  Default to memmove.
78080         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78081         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78082         (END_CHK): Define.
78083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78084         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78085         mempcpy-ssse3-back memmove-ssse3-back.
78086         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78087         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78088         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78089         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78090         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78091         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78092         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78093         * sysdeps/x86_64/multiarch/memmove.c: New file.
78094         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78095         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78096         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78097         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78098         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78099         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78100         Define.
78101         (index_Fast_Copy_Backward): Define.
78102         (HAS_ARCH_FEATURE): Define.
78103         (HAS_FAST_REP_STRING): Define.
78104         (HAS_FAST_COPY_BACKWARD): Define.
78106 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78108         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78109         Restore proper fallback handling.
78111 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78113         [BZ #11701]
78114         * posix/group_member.c (__group_member): Correct checking loop.
78116         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78117         OOM in getpwuid_r correctly.  Return error number when the caller
78118         should return, otherwise -1.
78119         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78120         call returning > 0 value.
78121         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78123 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78125         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78126         libc_nonshared.a from targets in modules-names.
78128 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78130         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78131         requires it.
78133 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78135         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78136         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78137         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78138         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78140 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78142         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78144 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78146         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78147         and F_GETPIPE_SZ.
78148         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78149         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78150         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78151         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78153         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78155 2010-06-14  Roland McGrath  <roland@redhat.com>
78157         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78159 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78161         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78162         __REDIRECT followed by __THROW.
78163         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78164         * posix/getopt.h (getopt): Likewise.
78166 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78168         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78169         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78170         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78171         in AT_FLAGS.
78172         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78173         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78175 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78177         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78179 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78181         [BZ #11640]
78182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78183         Properly check family and model.
78185 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78187         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78189 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78191         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78193 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78195         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78196         symbol reference.
78198 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78200         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78201         symbol reference.
78203 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78205         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78206         and internal_recvmmsg.
78207         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78208         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78209         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78210         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78212         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78213         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78214         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78216 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78218         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78220 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78222         POWER7 optimizations.
78223         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78224         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78226 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78228         * version.h: Update for 2.13 development version.
78230 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78232         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78233         exceptions.  Return 0.
78235 2010-05-07  Roland McGrath  <roland@redhat.com>
78237         * elf/ldconfig.c (main): Add a const.
78239 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78241         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78242         (args_options): Add no-idn option.
78243         (ahosts_keys_int): Add idn_flags to ai_flags.
78244         (parse_option): Handle 'i' option to clear idn_flags.
78246         * malloc/malloc.c (_int_free): Possible race in the most recently
78247         added check.  Only act on the data if no current modification
78248         happened.
78250 See ChangeLog.17 for earlier changes.