Add fesetexcept: mips.
[glibc.git] / ChangeLog
blob0f78039fc048c59039a112b37e150e0526a2f770
1 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/mips/fpu/fesetexcept.c: New file.
5         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11         * sysdeps/arm/fesetexcept.c: New file.
13         * sysdeps/alpha/fpu/fesetexcept.c: New file.
15         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17         * math/fesetexcept.c: New file.
18         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
19         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
20         * math/fenv.h: Define
21         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
22         <bits/libc-header-start.h> instead of including <features.h>.
23         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
24         declaration.
25         * manual/arith.texi (fesetexcept): Document function.
26         * math/Versions (fesetexcept): New libm symbol at version
27         GLIBC_2.25.
28         * math/Makefile (libm-support): Add fesetexcept.
29         (tests): Add test-fesetexcept and test-fesetexcept-traps.
30         * math/test-fesetexcept.c: New file.
31         * math/test-fesetexcept-traps.c: Likewise.
32         * sysdeps/nacl/libm.abilist: Update.
33         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
34         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
35         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
36         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
37         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
38         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
39         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
46         Likewise.
47         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48         Likewise.
49         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
50         Likewise.
51         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
52         Likewise.
53         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
59         Likewise.
60         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
61         Likewise.
62         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
66 2016-08-16  Florian Weimer  <fweimer@redhat.com>
68         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
69         New.
70         (do_test): Apply default_stack_size_in_mb if not set.
71         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
73 2016-08-15  Andreas Schwab  <schwab@suse.de>
75         [BZ #20435]
76         CVE-2016-6323
77         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
78         as .cantunwind.
80 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
82         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
83         comment from fraiseexcpt.c.
85         * math/test-fexcept.c (feraiseexcept_exact): New function.
86         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
87         (test_except): Likewise.
89 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
91         [BZ #20455]
92         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
93         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
94         to be restored.
96         * math/test-fexcept-traps.c: New file.
97         * math/test-fexcept.c: Likewise.
98         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
99         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
100         macro.
101         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
102         (EXCEPTION_SET_FORCES_TRAP): Likewise.
104 2016-08-09  Torvald Riegel  <triegel@redhat.com>
106         * include/atomic.h (atomic_fetch_and_relaxed,
107         atomic_fetch_and_release, atomic_fetch_or_release,
108         atomic_fetch_xor_release): New.
110 2016-08-06  Christian Seiler  <christian@iwakd.de>
112         [BZ #20444]
113         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
114         MACH_PORT_NULL.
116 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
118         * math/s_fdim.c: Avoid alias renamed.
119         * math/s_fdimf.c: Likewise.
120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
121         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
122         Add s_fdimf-vis3, s_fdim-vis3.
123         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
124         (CFLAGS-s_fdim-vis3.c): Likewise.
125         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
126         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
128 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
131         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
132         Remove s_fdimf-vis3, s_fdim-vis3.
133         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
134         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
141         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
142         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
144 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
146         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
147         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
148         -Wa,-Av9a -mvis.
150 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
152         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
153         LIT() to individual constants in simple expressions
154         after splitting on spaces.
155         (_apply_lit): Rename replaced version, and use it to
156         apply to what appears to be a token.
158         * math/libm-test.inc: Fix many, many issues with
159         spacing.
161 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
163         * math/math.h: Move comment about <bits/mathdef.h> definitions
164         above inclusion of <bits/mathdef.h>.  Do not mention
165         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
167 2016-08-05  Torvald Riegel  <triegel@redhat.com>
169         * include/atomic.h (atomic_exchange_relaxed): New.
171 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
173         * math/e_scalb.c: Do not include <fenv.h>.
174         (invalid_fn): Do calculation resulting in NaN instead of raising
175         FE_INVALID and returning a NaN explicitly.
176         * math/e_scalbf.c: Do not include <fenv.h>.
177         (invalid_fn): Do calculation resulting in NaN instead of raising
178         FE_INVALID and returning a NaN explicitly.
179         * math/e_scalbl.c: Do not include <fenv.h>.
180         (invalid_fn): Do calculation resulting in NaN instead of raising
181         FE_INVALID and returning a NaN explicitly.
183 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
185         * po/de.po: Updated from Translation Project.
186         * po/fi.po: Likewise.
187         * po/sv.po: Likewise.
189 2016-08-04  Florian Weimer  <fweimer@redhat.com>
191         [BZ #20452]
192         Use sysdep.o from libc.a in static libraries.
193         * sysdeps/unix/sysv/linux/i386/Makefile
194         (libpthread-shared-only-routines): Add sysdep.
195         (librt-shared-only-routines): Likewise.
197 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
199         * math/tgmath.h (nextdown): Define if
200         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
201         (nextup): Likewise.
203         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
204         macro.
205         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
206         Document.
207         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
208         Document macro.
209         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
210         (exp10f): Likewise.
211         (exp10l): Likewise.
212         * math/bits/mathcalls.h (exp10): Declare if
213         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
215         * manual/arith.texi (nextup): Fix typo in last change.
217 2016-08-03  Zack Weinberg  <zackw@panix.com>
219         [BZ #19239]
220         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
221         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
222         define major, minor, and makedev to issue deprecation warnings on use.
223         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
224         previously-activated deprecation warnings for these macros and prevent
225         subsequent inclusions of this header from having any effect.
226         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
227         including <sys/sysmacros.h>, and undefine it again afterward.
229 2016-08-03  Zack Weinberg  <zackw@panix.com>
231         * sysdeps/generic/sys/sysmacros.h: Delete file.
232         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
233         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
234         * bits/sysmacros.h: ... here; this encoding is now the generic
235         encoding.  Now defines only the following macros:
236         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
237         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
238         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
240         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
241         bits/sysmacros.h and the above new macros to generate the
242         public implementations of major, minor, and makedev.
243         * misc/tst-makedev.c: New test.
244         * include/sys/sysmacros.h: New wrapper.
246         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
247         (routines): Add makedev.
248         (tests): Add tst-makedev.
249         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
250         gnu_dev_makedev.
251         * posix/Makefile (headers): Remove sys/sysmacros.h.
252         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
254         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
255         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
256         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
257         * sysdeps/unix/sysv/linux/alpha/libc.abilist
258         * sysdeps/unix/sysv/linux/arm/libc.abilist
259         * sysdeps/unix/sysv/linux/hppa/libc.abilist
260         * sysdeps/unix/sysv/linux/i386/libc.abilist
261         * sysdeps/unix/sysv/linux/ia64/libc.abilist
262         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
263         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
264         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
265         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
266         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
267         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
268         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
269         * sysdeps/unix/sysv/linux/nios2/libc.abilist
270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
275         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
276         * sysdeps/unix/sysv/linux/sh/libc.abilist
277         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
278         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
281         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
282         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
283         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
284         Add GLIBC_2.25.
286         * include/features.h (__glibc_clang_prereq): New macro.
287         * misc/sys/cdefs.h (__glibc_clang_has_extension)
288         (__attribute_deprecated_msg__): New macros.
290 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
292         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
293         macro.
294         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
295         * manual/arith.texi (issignaling): Document as ISO from TS
296         18661-1:2014.
297         (nextup): Likewise.
298         (nextupf): Likewise.
299         (nextupl): Likewise.
300         (nextdown): Likewise.
301         (nextdownf): Likewise.
302         (nextdownl): Likewise.
303         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
304         macro.
305         * math/math.h: Define
306         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
307         <bits/libc-header-start.h> instead of including <features.h>.
308         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
309         [__USE_GNU].
310         * math/bits/mathcalls.h (nextdown): Declare if
311         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
312         (nextup): Likewise.
313         (__issignaling): Likewise.
315 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
317         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
318         check, and remove __glibc_likely hint
319         from FP_INFINITE check.
320         * s_csinhf.c (__csinhf): Likewise.
322         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
323         hint from FP_INFINITE check.
324         * s_csinhl.c (__csinhl): Likewise.
326 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
328         * math/Makefile (libm-calls): Insert F placeholder into
329         object names.  Move w_lgamma_compat* routines into
330         (libm-compat-calls): New variable.
331         (libm-compat-calls-ldouble-yes): New variable.
332         (calls): Insert F placeholder.
333         (generated): Redefine using new type-foreach macro call.
334         (routines): Likewise.
336         (types): New variable to hold a list of symbolic names
337         for each type supported by the target machine.
338         (libm-routines): Redefine using new types variable.
339         (type-foreach): macro to replace fooF with the
340         appropriately suffixed foo for each types.
342         (type-ldouble-suffix): New variable.
343         (type-ldouble-routines): Likewise.
344         (type-ldouble-yes): Likewise.
345         (type-double-suffix): Likewise.
346         (type-double-routines): Likewise.
347         (type-float-suffix): Likewise.
348         (type-float-routines): Likewise.
350         (dbl-only-routines): Remove.
351         (long-c-yes): Likewise.
352         (long-m-routines): Likewise.
353         (long-m-support): Likewise.
354         (long-m-yes): Likewise.
355         (test-longdouble-yes): Likewise.
357         (test-float.o): Simplify by increasing the scope of the
358         recipe which adds libm-test.stmp to the vector types.
359         (test-ifloat.o): Likewise.
360         (test-float-finite.o): Likewise.
361         (test-double.o): Likewise
362         (test-idouble.o): Likewise.
363         (test-double-finite.o): Likewise.
364         (test-ldouble.o): Likewise
365         (test-ildoubl.o): Likewise.
366         (test-ldouble-finite.o): Likewise.
368         (libm-tests): Redefine type tests using foreach and the
369         list of types in types.
371         (CPPFLAGS-test-ildoubl.c): Rename to
372         (CPPFLAGS-test-ildouble.c): New variable
374         * math/test-ildoubl.c: Rename to
375         * math/test-ildouble.c: New file.
377 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
379         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
380         Use fabsl instead of fabs.
381         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
382         Likewise.
383         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
384         Add long double suffix to constant to ensure proper
385         promotion to long double.
387 2016-08-03  Tom Tromey  <tom@tromey.com>
389         [BZ #20311]
390         * nptl_db/Makefile (headers): Add proc_service.h.
391         * nptl_db/proc_service.h: Add include guard.  Use
392         __BEGIN/__END_DECLS.
393         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
394         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
395         arguments.
398 2016-08-03  Florian Weimer  <fweimer@redhat.com>
400         [BZ #17730]
401         Avoid using memalign for TCB allocations.
402         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
403         (_dl_allocate_tls_storage): Use malloc and manual alignment.
404         Avoid alignment gap in the TLS_DTV_AT_TP case.
405         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
406         determine the pointer to free.
407         * nptl/tst-tls3-malloc.c: New test.
408         * nptl/Makefile (tests): Add it.
409         (tst-tls3-malloc): Link with libdl, libpthread.
410         (LDFLAGS-tst-tls3-malloc): Set.
411         (tst-tls3-malloc.out): Depend on DSO used in test.
413 2016-08-03  Florian Weimer  <fweimer@redhat.com>
415         [BZ #17730]
416         Avoid using memalign for TLS allocations.
417         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
418         is_static member with to_free member.
419         (union dtv): Use struct dtv_pointer.
420         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
421         dtv_pointer instead of is_static.
422         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
423         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
424         instead of val.
425         (allocate_dtv_entry): New function.
426         (allocate_and_init): Return struct dtv_pointer.  Call
427         allocate_dtv_entry instead of __libc_memalign.
428         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
429         instead of val.
430         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
431         instead of is_static.  Adjust call to allocate_and_init.
432         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
433         struct dtv_pointer instead of val.
435 2016-08-03  Florian Weimer  <fweimer@redhat.com>
437         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
438         (MALLOC_ALIGN_MASK): Move ...
439         * malloc/malloc-internal.h: ... to here.
440         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
442 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
444         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
445         (UDP_ENCAP_GTP1U): Likewise.
447         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
448         (PF_MAX): Update value.
449         (AF_QIPCRTR): New macro.
451 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
453         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
454         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
455         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
456         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
457         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
458         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
459         s_truncf-vis3, s_trunc-vis3.
460         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
461         (CFLAGS-s_ceil-vis3.c): Likewise.
462         (CFLAGS-s_floorf-vis3.c): Likewise.
463         (CFLAGS-s_floor-vis3.c): Likewise.
464         (CFLAGS-s_truncf-vis3.c): Likewise.
465         (CFLAGS-s_trunc-vis3.c): Likewise.
466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
474         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
475         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
476         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
477         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
479 2016-08-02  David S. Miller  <davem@davemloft.net>
481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
482         (__nearbyint_vis3): Don't check for sNaN before float register is
483         loaded with the incoming argument.
484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
485         (__nearbyintf_vis3): Likewise.
486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
487         Likewise.
488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
489         Likewise.
491         * string/test-strncmp.c (do_test_limit): Make sure the test data
492         stream is aligned as required for the type "CHAR".
493         (do_test): Likewise.
495 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
497         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
498         by beq instructions jumping to the end of the function.
499         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
500         clobber list. Use "i" constraint instead of "X".
501         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
502         of "X".
504 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
506         * bits/libc-header-start.h: New file.
507         * Makefile (headers): Add bits/libc-header-start.h.
508         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
509         (__GLIBC_USE): New macro.
510         * libio/stdio.h: Define
511         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
512         <bits/libc-header-start.h> instead of including <features.h>.
513         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
514         (open_memstream): Likewise.
515         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
516         (__asprintf): Likewise.
517         (asprintf): Likewise.
518         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
519         (getdelim): Likewise.
520         (getline): Likewise.
521         * string/string.h: Define
522         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
523         <bits/libc-header-start.h> instead of including <features.h>.
524         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
525         (strndup): Likewise.
526         * wcsmbs/wchar.h: Define
527         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
528         <bits/libc-header-start.h> instead of including <features.h>.
529         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
530         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
532 2016-08-02  Florian Weimer  <fweimer@redhat.com>
534         Support linking against compatibility symbols, for use in tests.
535         * include/libc-symbols.h (symbol_version_reference): New macro.
536         (symbol_version): Use it.
537         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
538         (compat_symbol): Use compat_symbol_reference.
539         (compat_symbol_1, compat_symbol_2): Remove.
540         (compat_symbol_reference, compat_symbol_reference_1)
541         (compat_symbol_reference_2): New macro.  Use
542         symbol_version_reference.
544 2016-08-02  Florian Weimer  <fweimer@redhat.com>
546         [BZ #19469]
547         * malloc/Makefile (CPPFLAGS): Compile tests with
548         -DTEST_NO_MALLOPT.
549         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
551 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
553         [BZ #20033]
554         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
555         finite version.
556         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
557         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
558         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
559         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
560         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
562         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
563         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
567         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
570         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
571         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
572         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
573         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
574         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
575         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
576         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
577         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
578         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
579         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
580         in zero power.
582 2016-08-02  Florian Weimer  <fweimer@redhat.com>
584         [BZ #20370]
585         * malloc/arena.c (get_free_list): Update comment.  Assert that
586         arenas on the free list have no attached threads.
587         (remove_from_free_list): New function.
588         (reused_arena): Call it.
590 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
592         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
593         when it is a NaN.
594         [_IEEE_FP_INEXACT] Remove.
595         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
596         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
597         when it is a NaN.
598         [_IEEE_FP_INEXACT] Remove.
599         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
600         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
601         when it is a NaN.
602         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
603         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
604         when its absolute value is greater than 0x1.0p52.
605         [_IEEE_FP_INEXACT] Remove.
606         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
607         when its absolute value is greater than 0x1.0p23.
608         [_IEEE_FP_INEXACT] Remove.
610 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
612         * version.h (RELEASE): Set to "development"
613         (VERSION): Set to 2.24.90.
614         * NEWS: Add 2.25 section.
616         * version.h (RELEASE): Set to "stable"
617         (VERSION): Set to 2.24.
618         * include/features.h (__GLIBC_MINOR__): Set to 24.
620         * NEWS: Add 2.24 fixed bugs.
621         * po/libc.pot: Regenerate.
623 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
626         [$(subdir) = math] (libm-sysdep_routines): Remove.
627         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
628         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
629         s_truncf-vis3, s_trunc-vis3.
630         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
632         file.
633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
666         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
667         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
668         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
669         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
670         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
671         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
672         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
673         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
674         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
675         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
677 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
679         [BZ #20384]
680         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
681         test-double-libmvec-sincos-avx-main.o,
682         test-double-libmvec-sincos-avx2-main.o,
683         test-double-libmvec-sincos-main.o,
684         test-float-libmvec-sincosf-avx-main.o,
685         test-float-libmvec-sincosf-avx2-main.o and
686         test-float-libmvec-sincosf-main.o.
687         test-float-libmvec-sincosf-avx512-main.o.
688         ($(objpfx)test-double-libmvec-sincos): Also link with
689         $(objpfx)test-double-libmvec-sincos-main.o.
690         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
691         $(objpfx)test-double-libmvec-sincos-avx-main.o.
692         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
693         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
694         ($(objpfx)test-float-libmvec-sincosf): Also link with
695         $(objpfx)test-float-libmvec-sincosf-main.o.
696         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
697         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
698         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
699         test-double-libmvec-sincos-avx512-main.o and
700         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
701         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
702         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
703         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
704         (CFLAGS-test-double-libmvec-sincos.c): Removed.
705         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
706         (CFLAGS-test-double-libmvec-sincos-main.c): New.
707         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
708         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
709         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
710         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
711         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
712         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
713         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
714         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
715         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
716         -DREQUIRE_AVX2.
717         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
718         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
719         -DREQUIRE_AVX512F.
720         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
721         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
722         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
723         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
724         file.
725         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
726         Likewise.
727         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
728         Likewise.
729         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
730         Likewise.
731         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
732         Likewise.
733         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
734         Likewise.
735         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
736         Likewise.
737         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
738         Likewise.
740 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
742         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
744 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
746         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
747         and typo in a comment about AT_HWCAP entry.
749 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
751         * sysdeps/aarch64/libm-test-ulps: Updated.
753 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
755         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
756         of r13 as it is not restored in mvcle case.
758 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
760         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
761         Rename "ret" to "__ret".
762         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
763         inline_syscall5, inline_syscall6): Likewise.
765 2016-07-19   Will Newton  <will.newton@gmail.com>
767         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
768         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
769         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
770         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
771         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
773 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
775         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
776         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
777         -mfpmath=387 with $(rtld-CFLAGS).
778         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
779         $(rtld-CFLAGS).
781 2016-07-18   Ross Burton  <ross.burton@intel.com>
782              Khem Raj  <raj.khem@gmail.com>
784         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
785         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
786         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
787         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
788         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
789         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
790         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
791         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
792         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
793         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
794         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
795         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
796         R_METAG_TLS_DTPOFF): New.
798 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
799             Matt Clay  <mclay@lycos.com>
801         [BZ #20357]
802         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
803         to call __mpsin/__mpcos and to negate values.
804         * math/auto-libm-test-in: Add test.
805         * math/auto-libm-test-out: Regenerate.
807 2016-07-18  Zack Weinberg  <zackw@panix.com>
809         * grp/Makefile: Don't install the internal header grp-merge.h.
811 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
813         * sysdeps/aarch64/libm-test-ulps: Regenerated.
815 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
817         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
819 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
821         [BZ #15368]
822         * sysdeps/unix/sysv/linux/nptl-signals.h
823         (__nptl_clear_internal_signals): New function.
824         (__libc_signal_block_all): Likewise.
825         (__libc_signal_block_app): Likewise.
826         (__libc_signal_restore_set): Likewise.
827         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
828         implementation.
829         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
830         the cached pid/tid value in pthread structure.
832 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
834         [BZ #20347]
835         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
837 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
839         [BZ #20348]
840         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
841         preadv64, pwrite64 and pwritev64.
843 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
845         [BZ #20350]
846         * posix/tst-preadwrite.c: Renamed to ...
847         * posix/tst-preadwrite-common.c: This.
848         (PREAD): Removed.
849         (PWRITE): Likewise.
850         (STRINGIFY): Likewise.
851         (STRINGIFY2): Likewise.
852         (do_prepare): Make it static and remove function arguments.
853         (do_test): Likewise.
854         (PREPARE): Updated.
855         (TEST_FUNCTION): New.
856         (name): Make it static.
857         (fd): Likewise.
858         (do_prepare): Use create_temp_file.
859         (do_test): Renamed to ...
860         (do_test_with_offset): This.  Make it static and accept offset.
861         Properly check return value of PWRITE and PREAD.  Return bytes
862         read.  Don't close fd nor unlink name.
863         * posix/tst-preadwrite.c: Rewrite.
864         * posix/tst-preadwrite64.c: Likewise.
866 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
868         [BZ #20309]
869         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
870         -mtls-dialect=gnu2 works.
871         * configure: Regenerated.
872         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
873         (tests): Add tst-gnu2-tls1.
874         (modules-names): Add tst-gnu2-tls1mod.
875         ($(objpfx)tst-gnu2-tls1): New.
876         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
877         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
878         * elf/tst-gnu2-tls1.c: New file.
879         * elf/tst-gnu2-tls1mod.c: Likewise.
880         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
881         bytes for push in the PLT entry to align the stack.
883 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
885         [BZ #20349]
886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
888 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
890         [BZ #18707]
891         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
892         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
894 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
896         * sysdeps/unix/sysv/linux/sysdep.h
897         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
898         guards.
899         * misc/tst-preadvwritev-common.c: New file.
900         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
901         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
902         a check for files larger than 2GB.
904         * sysdeps/unix/sysv/linux/mips/kernel-features.h
905         (__ASSUME_OFF_DIFF_OFF64): Remove define.
906         * sysdeps/unix/sysv/linux/pread.c
907         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
908         __OFF_T_MATCHES_OFF64_T.
909         * sysdeps/unix/sysv/linux/pread64.c
910         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
911         * sysdeps/unix/sysv/linux/preadv.c
912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
913         * sysdeps/unix/sysv/linux/preadv64.c
914         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
915         * sysdeps/unix/sysv/linux/pwrite.c
916         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
917         * sysdeps/unix/sysv/linux/pwrite64.c
918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
919         * sysdeps/unix/sysv/linux/pwritev.c
920         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
921         * sysdeps/unix/sysv/linux/pwritev64.c
922         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
924 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
927         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
929 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
931         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
933 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
935         [BZ #20240]
936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
937         (CFLAGS-s_modf-ppc32.c): New variable.
938         (CFLAGS-s_modff-ppc32.c): Likewise.
939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
940         (CFLAGS-s_modf-ppc64.c): Likewise.
941         (CFLAGS-s_modff-ppc64.c): Likewise.
943 2016-07-07  Andreas Schwab  <schwab@suse.de>
945         [BZ #20263]
946         * nptl/tst-robust10.c: New test.
947         * nptl/Makefile (tests): Add tst-robust10.
949 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
951         [BZ #20263]
952         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
954 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
956         * sysdeps/s390/linkmap.h (struct link_map_machine):
957         Remove member gotplt and add member jmprel.
958         * sysdeps/s390/s390-32/dl-machine.h
959         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
960         instead of gotplt with &got[3].
961         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
962         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
964 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
966         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
968 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
970         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
971         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
972         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
973         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
974         * libio/vtables.c (_IO_vtable_check)
975         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
976         * libio/libioP.h (IO_set_accept_foreign_vtables)
977         [!PTR_MANGLE]: Do not call PTR_MANGLE.
979 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
981         [BZ #20314]
982         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
983         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
984         $(common-objpfx)cmath.
985         ($(common-objpfx)cstdlib): New target.
986         ($(common-objpfx)cmath): Likewise.
988 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
990         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
992 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
994         [BZ #20327]
995         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
996         are not part of the string.
998 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1000         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1001         * nptl/tst-cancel4-common.h (fifoname): New variable.
1002         (fifofd): Likewise.
1003         (cl_fifo): New function.
1004         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1005         SIGINT.
1006         (tf_open): Add early cancel test.
1008 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1010         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1012 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1014         * sysdeps/generic/ldsodefs.h
1015         (dl_symbol_visibility_binds_local_p): New inline function.
1016         * elf/dl-addr.c (determine_info): Treat hidden and internal
1017         symbols as local.
1018         * elf/dl-lookup.c (do_lookup_x): Likewise.
1019         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1021 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1023         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1024         invalid exception for a sNaN input.
1025         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1026         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1027         (__nearbyint_vis3): Likewise
1028         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1029         (__nearbyintf_vis3): Likewise
1030         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1031         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1032         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1033         Likewise.
1034         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1035         Likewise.
1037 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1039         [BZ #20139]
1040         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1041         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1042         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1043         2.24 or above.
1044         (HAVE_AVX512_ASM_SUPPORT): Removed.
1045         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1046         * sysdeps/x86_64/configure: Regenerated.
1047         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1048         check unconditional.
1049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1050         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1051         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1052         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1053         Likewise.
1054         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1055         Likewise.
1056         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1057         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1058         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1059         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1060         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1061         Likewise.
1062         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1063         Likewise.
1064         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1065         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1067         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1068         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1069         Likewise.
1070         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1071         Likewise.
1072         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1073         Likewise.
1074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1075         Likewise.
1076         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1077         Likewise.
1078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1079         Likewise.
1080         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1081         Likewise.
1082         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1083         Likewise.
1084         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1085         Likewise.
1086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1087         Likewise.
1088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1089         Likewise.
1091 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1093         [BZ #20024]
1094         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1095         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1096         of this implementation of vector function.
1097         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1098         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1100         Likewise.
1101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1103         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1104         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1105         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1106         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1107         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1108         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1109         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1110         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1111         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1112         for testing vector sincos with fixed ABI.
1113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1114         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1115         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1116         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1117         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1118         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1119         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1120         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1121         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1122         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1123         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1124         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1125         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1126         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1127         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1128         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1130 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1132         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1134 2016-06-30  Anton Blanchard  <anton@samba.org>
1136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1137         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1138         s_sinf-ppc64.
1139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1142         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1144 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1148         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1149         e_expf-ppc64.
1150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1153         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1155 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1157         [BZ #20277]
1158         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1159         when SHARED is defined.
1161 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1163         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1164         (index_arch_Prefer_ERMS): Likewise.
1165         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1166         __memcpy_erms for Prefer_ERMS.
1167         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1168         (__memmove_erms): Enabled for libc.a.
1169         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1170         __memmove_erms or Prefer_ERMS.
1171         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1172         __mempcpy_erms for Prefer_ERMS.
1173         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1174         __memset_erms for Prefer_ERMS.
1176 2016-06-30  Andreas Schwab  <schwab@suse.de>
1178         [BZ #20262]
1179         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1180         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1181         of memory.
1183 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1185         [BZ #18645]
1186         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1187         (test-extras): Add tst-cleanupx4aux.
1188         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1189         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1190         tst-cleanupx4aux.o.
1191         * nptl/tst-cleanupx4aux.c: New file.
1193 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1195         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1197 2016-06-29  Andreas Schwab  <schwab@suse.de>
1199         [BZ #20260]
1200         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1201         address before the beginning of the string as an integer to avoid
1202         array-bounds warning.
1204 2016-06-28  Richard Henderson  <rth@redhat.com>
1206         * elf/elf.h (EM_BPF): New.
1207         (EM_NUM): Update.
1208         (R_BPF_NONE, R_BPF_MAP_FD): New.
1210         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1211         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1212         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1213         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1214         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1215         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1216         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1217         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1218         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1219         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1220         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1221         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1222         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1223         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1224         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1225         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1226         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1227         (EM_NUM): Update.
1229 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1231         [BZ #18960]
1232         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1233         Set _nl_current_LC_CATEGORY_used to two instead of one.
1235 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1237         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1238         (do_test): ... this.
1239         (TEST_FUNCTION): New macro.
1240          Include test-skeleton.c.
1241         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1242         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1244 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1246         [BZ #15479]
1247         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1248         floating-point environment rather than just control word.
1249         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1250         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1251         floating-point environment, with "invalid" exceptions merged in,
1252         rather than just control word.
1253         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1254         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1255         "inexact" exceptions.
1257         [BZ #15479]
1258         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1259         floating-point environment rather than just control word.
1260         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1261         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1262         floating-point environment, with "invalid" exceptions merged in,
1263         rather than just control word.
1264         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1265         * math/libm-test.inc (floor_test_data): Do not allow spurious
1266         "inexact" exceptions.
1268         [BZ #15479]
1269         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1270         floating-point environment rather than just control word.
1271         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1272         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1273         floating-point environment, with "invalid" exceptions merged in,
1274         rather than just control word.
1275         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1276         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1277         "inexact" exceptions.
1279 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1281         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1282         __libc_vfork.
1283         (__vfork) [IS_IN (libc)]: Remove alias.
1284         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1285         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1286         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1288 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1290         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1291         of atomic_compare_and_exchange_bool_rel.
1292         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1293         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1294         catomic_compare_and_exchange_bool_rel): Remove.
1295         * sysdeps/aarch64/atomic-machine.h
1296         (atomic_compare_and_exchange_bool_rel): Likewise.
1297         * sysdeps/alpha/atomic-machine.h
1298         (atomic_compare_and_exchange_bool_rel): Likewise.
1299         * sysdeps/arm/atomic-machine.h
1300         (atomic_compare_and_exchange_bool_rel): Likewise.
1301         * sysdeps/mips/atomic-machine.h
1302         (atomic_compare_and_exchange_bool_rel): Likewise.
1303         * sysdeps/microblaze/atomic-machine.h
1304         ( __arch_compare_and_exchange_bool_8_rel,
1305         __arch_compare_and_exchange_bool_16_rel): Likewise.
1306         * sysdeps/powerpc/atomic-machine.h
1307         ( __arch_compare_and_exchange_bool_8_rel,
1308         __arch_compare_and_exchange_bool_16_rel): Likewise.
1309         * sysdeps/powerpc/powerpc32/atomic-machine.h
1310         ( __arch_compare_and_exchange_bool_32_rel,
1311         __arch_compare_and_exchange_bool_64_rel): Likewise.
1312         * sysdeps/powerpc/powerpc64/atomic-machine.h
1313         ( __arch_compare_and_exchange_bool_32_rel,
1314         __arch_compare_and_exchange_bool_64_rel): Likewise.
1315         * sysdeps/tile/atomic-machine.h
1316         (atomic_compare_and_exchange_bool_rel): Likewise.
1318 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1320         [BZ #20296]
1321         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1322         when either argument is a NaN.
1323         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1324         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1326         * math/libm-test.inc (snan_value_ld): New macro.
1327         (isgreater_test_data): Add sNaN tests.
1328         (isgreaterequal_test_data): Likewise.
1329         (isless_test_data): Likewise.
1330         (islessequal_test_data): Likewise.
1331         (islessgreater_test_data): Likewise.
1332         (isunordered_test_data): Likewise.
1333         (nextafter_test_data): Likewise.
1334         (nexttoward_test_data): Likewise.
1335         (remainder_test_data): Likewise.
1336         (remquo_test_data): Likewise.
1337         (significand_test_data): Likewise.
1338         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1340 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1342         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1343         environment macros are defined.
1344         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1346 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1348         [BZ #20191]
1349         Implement vtable verification in libio.
1350         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1351         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1352         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1353         _IO_new_file_init_internal instead of _IO_file_init.
1354         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1355         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1356         * libio/Makefile (routines): Add vtables.
1357         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1358         (_IO_init): Remove, not for internal use.
1359         (_IO_init_internal): Declare, internal replacement for _IO_init.
1360         (_IO_file_init): Remove, not for internal use.
1361         (_IO_new_file_init): Remove, not for internal use.
1362         (_IO_new_file_init_internal): Declare, internal replacement for
1363         _IO_new_file_init.
1364         (_IO_old_file_init): Remove, not for internal use.
1365         (_IO_old_file_init_internal): Declare, internal replacement for
1366         _IO_old_file_init.
1367         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1368         internal use.
1369         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1370         Declare.
1371         (libio_vtable): New macro.
1372         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1373         functions.
1374         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1375         _IO_new_file_init.
1376         (_IO_new_file_init): New externally visible wrapper which disables
1377         vtable verification.
1378         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1379         Define as vtables.
1380         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1381         (_IO_init): New externally visible wrapper which disables
1382         vtable verification.
1383         * libio/iofdopen.c (_IO_new_fdopen): Call
1384         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1385         comment.
1386         * libio/iofopen.c (__fopen_internal): Call
1387         _IO_new_file_init_internal instead of _IO_file_init.
1388         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1389         Define as vtables.
1390         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1391         _IO_new_file_init_internal instead of _IO_file_init.
1392         * libio/iopopen.c (_IO_new_popen): Likewise.
1393         (_IO_proc_jumps): Define as vtable.
1394         * libio/iovdprintf.c (_IO_vdprintf): Call
1395         _IO_new_file_init_internal instead of _IO_file_init.
1396         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1397         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1398         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1399         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1400         _IO_old_file_init.
1401         (_IO_old_file_init): New externally visible wrapper which disables
1402         vtable verification.
1403         (_IO_old_file_jumps): Define as vtable.
1404         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1405         _IO_old_file_init_internal instead of _IO_old_file_init.
1406         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1407         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1408         (_IO_old_proc_jumps): Define as vtable.
1409         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1410         Define as vtables.
1411         * libio/vtables.c: New file.
1412         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1413         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1414         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1415         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1416         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1417         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1418         instead of _IO_init.
1420 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1422         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1424 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1426         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1427         potentially unused.
1429 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1431         * test-skeleton.c (write_message): New function.
1432         * malloc/tst-mallocfork2.c (write_message): Remove.
1433         * debug/tst-longjmp_chk2.c (write_indented): New function.
1434         (write_message): Remove.
1435         (stackoverflow_handler): Call write_indented.
1437 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1439         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1440         "inexact" exceptions after fnstenv.
1441         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1442         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1443         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1445 2015-06-22  Zack Weinberg  <zackw@panix.com>
1447         * sysdeps/generic/bits/hwcap.h: Moved to ...
1448         * bits/hwcap.h: Here.
1450 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1452         * sysdeps/aarch64/memcpy.S (memcpy):
1453         Further tuning for performance.
1455 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1457         [BZ #20284]
1458         * malloc/arena.c (reused_arena): Do not return NULL if we start
1459         out with a non-corrupted arena.
1461 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1463         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1464         * misc/tst-preadvwritev.c: New file.
1465         * misc/tst-preadvwritev64.c: Likewise.
1466         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1467         usage.
1468         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1469         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1470         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1471         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1473 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1475         [BZ #19654]
1476         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1477         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1482         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1483         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1484         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1485         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1486         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1487         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1488         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1489         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1494         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1495         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1496         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1497         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1498         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1499         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1500         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1501         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1503 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1505         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1506         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1508 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1510         * sysdeps/aarch64/memcpy.S (memcpy):
1511         Rewrite of optimized memcpy and memmove.
1512         * sysdeps/aarch64/memmove.S (memmove): Remove
1513         memmove code (merged into memcpy.S).
1515 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1517         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1518         * sysdeps/generic/dl-dtv.h: New file.
1519         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1520         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1521         (dtv_t): Remove.
1522         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1523         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1524         (dtv_t): Remove.
1525         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1526         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1527         (dtv_t): Remove.
1528         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1529         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1530         (dtv_t): Remove.
1531         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1532         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1533         (dtv_t): Remove.
1534         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1535         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1536         (dtv_t): Remove.
1537         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1538         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1539         (dtv_t): Remove.
1540         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1541         (dtv_t): Remove.
1542         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1543         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1544         (dtv_t): Remove.
1545         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1546         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1547         (dtv_t): Remove.
1548         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1549         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1550         (dtv_t): Remove.
1551         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1552         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1553         (dtv_t): Remove.
1554         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1555         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1556         (dtv_t): Remove.
1557         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1558         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1559         (dtv_t): Remove.
1560         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1561         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1562         (dtv_t): Remove.
1563         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1564         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1565         (dtv_t): Remove.
1567 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1569         Revert symbol poisoning of  __malloc_initialize_hook.
1570         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1571         poisoning.
1572         * malloc/Makefile: Remove un-poisoning.
1573         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1574         instead of old__malloc_initialize_hook.
1575         * malloc/malloc-hooks.h: Likewise.
1576         * malloc/malloc.c: Likewise.
1577         * malloc/mcheck-init.c: Likewise.
1579 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1581         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1583 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1585         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1586         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1587         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1588         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1590 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1592         * NEWS: Mention addition of nextup and nextdown.
1593         * manual/arith.texi: Document nextup and nextdown.
1594         * manual/libm-err-tab.pl: Add nextup and nextdown.
1595         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1596         * math/Versions (libm): Add GLIBC_2.24.
1597         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1598         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1599         Add new test.
1600         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1601         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1602         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1603         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1604         (nextup_test_data): Likewise.
1605         (nextdown_test_data): Likewise.
1606         * math/s_nextdown.c: New file.
1607         * math/s_nextdownf.c: Likewise.
1608         * math/s_nextdownl.c: Likewise.
1609         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1610         F(nextup): New function.
1611         F(nextdown): Likewise.
1612         * math/tgmath.h: Add nextup and nextdown.
1613         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1614         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1615         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1616         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1617         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1618         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1619         Add nextup and nextdown.
1620         (CFLAGS-nldbl-nextup.c): New variable.
1621         (CFLAGS-nldbl-nextdown.c): Likewise.
1622         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1623         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1624         * sysdeps/nacl/libm.abilist: Update.
1625         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1626         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1627         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1628         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1629         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1630         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1631         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1632         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1633         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1634         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1635         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1636         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1639         Likewise.
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1642         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1643         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1644         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1646         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1649         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1650         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1652         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1654 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1656         * manual/pattern.texi: Fix typos & grammar errors.
1658 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1660         * manual/search.texi: Fix typos & grammar errors.
1662 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1664         * manual/message.texi: Fix typos & grammar errors.
1666 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1668         * manual/contrib.texi: Fix spelling typos.
1669         * manual/crypt.texi: Likewise.
1670         * manual/filesys.texi: Likewise.
1671         * manual/locale.texi: Likewise.
1672         * manual/message.texi: Likewise.
1673         * manual/nss.texi: Likewise.
1674         * manual/string.texi: Likewise.
1676 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1678         * manual/locale.texi: Fix typos & grammar errors.
1680 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1682         * manual/charset.texi: Fix typos & grammar errors.
1684 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1686         * manual/string.texi: Fix typos.
1688 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1690         * manual/ctype.texi: Fix typos.
1692 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1694         * manual/memory.texi: Fix various typos & grammar errors.
1696 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1698         [BZ #20255]
1699         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1700         * math/libm-test.inc (fdim_test_data): Add another test.
1702         [BZ #6796]
1703         [BZ #20255]
1704         [BZ #20256]
1705         * math/s_fdim.c: Include <math_private.h>.
1706         (__fdim): Use math_narrow_eval on result.
1707         * math/s_fdimf.c: Include <math_private.h>.
1708         (__fdimf): Use math_narrow_eval on result.
1709         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1710         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1711         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1712         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1713         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1714         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1715         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1716         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1717         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1718         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1719         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1720         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1721         overflow.  Add sNaN tests.
1723         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1724         fpclassify.
1725         * math/s_fdimf.c (__fdimf): Likewise.
1726         * math/s_fdiml.c (__fdiml): Likewise.
1728 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1730         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1731         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1733         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1734         ifunc'ed strcasecmp/strncasecmp.
1735         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1736         [EALIGN]: Removed.
1737         [END]: Likewise.
1738         [__strcasecmp]: Define instead of the above to control symbol name.
1739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1740         for __strcasecmp_power8.
1741         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1742         for __strncasecmp_power8.
1743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1745         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1746         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1747         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1748         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1750 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1752         [BZ #20252]
1753         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1754         arguments when second argument is a NaN.
1755         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1756         qNaN tests.
1758         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1759         (conj_test_data): Likewise.
1760         (copysign_test_data): Likewise.
1761         (creal_test_data): Likewise.
1762         (fma_test_data): Likewise.
1763         (fmod_test_data): Likewise.
1765         [BZ #20250]
1766         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1767         itself.
1768         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1769         zero input to itself.
1770         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1771         Likewise.
1772         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1773         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1774         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1775         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1776         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1778 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1780         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1781         * nptl/tst-cancel4-common.c: New file.
1782         * nptl/tst-cancel4-common.h: Likewise.
1783         * nptl/tst-cancel4.c: Move common definitions to
1784         tst-cancel4-common.{c,h} file.
1785         * nptl/tst-cancel4_1.c: New test.
1786         * nptl/tst-cancel4_2.c: New test.
1788 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1790         [BZ #20248]
1791         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1792         (write_message): New function.
1793         (stackoverflow_handler): Call it instead of printf, to avoid
1794         excessive stack usage by printf.
1795         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1797 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1799         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1800         (prio_inherit_missing): Remove define.
1801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1802         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1804         Likewise.
1805         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1806         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1807         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1808         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1809         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1810         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1812 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1814         [BZ #19670]
1815         [BZ #19672]
1817         * io/test-lfs.c (do_prepare): Use xmalloc.
1818         * io/tst-fcntl.c (do_prepare): Likewise.
1819         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1820         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1821         * login/tst-utmp.c (do_prepare): Likewise.
1822         * posix/tst-exec.c (do_prepare): Likewise.
1823         * posix/tst-pathconf.c (prepare): Likewise.
1824         * posix/tst-spawn.c (do_prepare): Likewise.
1825         * posix/tst-truncate.c (do_prepare): Likewise.
1826         * rt/tst-aio.c (do_prepare): Likewise.
1827         * rt/tst-aio64.c (do_prepare): Likewise.
1829 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1831         [BZ #20237]
1832         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1833         (get*ent): Set entidx to NULL during initialization.  If entidx is
1834         NULL, start iteration from the beginning.
1836 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1838         * malloc/malloc.c (musable): Return correct size for dumped fake
1839         mmapped chunk.
1841 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1843         [BZ #20222]
1844         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1845         (_IO_cookie_write): Likewise.
1846         (_IO_cookie_seek): Likewise.
1847         (_IO_cookie_close): Likewise.
1848         (_IO_old_cookie_seek): Likewise.
1849         (set_callbacks): New function.
1850         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1852 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1854         * locale/programs/localedef.c (oldstyle_tables): Remove.
1855         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1857 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1859         [BZ #20240]
1860         * math/Makefile (CFLAGS-s_modf.c): New variable.
1861         (CFLAGS-s_modff.c): Likewise.
1862         (CFLAGS-s_modfl.c): Likewise.
1863         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1865 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1867         [BZ #20215]
1868         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1869         [!__GNUC_PREREQ (3,2)]: Likewise.
1871 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1873         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1874         (msghdr.msg_controllen): Likewise.
1875         (cmsghdr.cmsg_len): Likewise.
1876         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1877         ptw-oldsendmsg.
1878         (CFLAGS-oldrecvmsg.c): Remove rule.
1879         (CFLAGS-oldsendmsg.c): Likewise.
1880         (CFLAGS-recvmsg.c): Add rule.
1881         (CFLAGS-sendmsg.c): Likewise.
1882         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1883         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1884         (CFLAGS-recvmsg.c): Remove rule.
1885         (CFLAGS-sendmsg.c): Likewise.
1886         (CFLAGS-oldrecvmsg.c): Likewise.
1887         (CFLAGS-oldsendmsg.c): Likewise.
1888         (CFLAGS-recvmmsg.c): Likewise.
1889         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1890         to kernel defined interfaces.
1891         (msghdr.msg_controllen): Likewise.
1892         (cmsghdr.cmsg_len): Likewise.
1893         (msghdr.__glibc_reserved1): Remove member.
1894         (msghdr.__glibc_reserved2): Likewise.
1895         (cmsghdr.__glibc_reserved1): Likewise.
1896         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1897         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1898         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1899         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1900         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1901         version.
1902         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1903         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1904         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1905         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1906         Remove recvmsg and sendmsg.
1907         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1908         Likewise.
1909         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1910         Likewise.
1911         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1912         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1913         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1914         Likewise.
1915         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1916         Likewise.
1917         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1918         [libc] (GLIBC_2.24): Likewise.
1919         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1920         Likewise.
1921         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1922         Likewise.
1923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1924         [libc] (GLIBC_2.24): Likewise.
1925         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1926         Likewise.
1927         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1928         Likewise.
1929         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1930         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1931         Likewise.
1932         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1933         Likewise.
1934         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1935         Likewise.
1936         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1937         Likewise.
1938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1939         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1940         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1941         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1942         version for {recv,send,recm,sendm}msg.
1943         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1944         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1945         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1946         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1947         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1948         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1949         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1950         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1951         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1952         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1953         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1954         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1956         Likewise.
1957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1958         Likewise.
1959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1964         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1965         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1966         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1973 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1975         [BZ #19564]
1976         Remove __malloc_initialize_hook from the API.
1977         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1978         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1979         #pragma GCC poison.
1980         * malloc/malloc-hooks.h: New file.
1981         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1982         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1983         (old__malloc_initialize_hook): Rename from
1984         __malloc_initialize_hook to evade poisoning.  Turn into compat
1985         symbol.
1986         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1987         __malloc_initialize_hook.
1988         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1989         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1990         * manual/memory.texi (Hooks for Malloc): Remove
1991         __malloc_initialize_hook.  Adjust hook example.
1993 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1995         [BZ #20235]
1996         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1997         itself.
1998         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1999         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2001         [BZ #20234]
2002         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2003         infinity or NaN input to itself.
2005         [BZ #20233]
2006         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2007         to itself.
2009         [BZ #20232]
2010         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2011         itself.
2013 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2015         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2016         __libc_start_main via GOT.
2018 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2020         * sysdeps/x86_64/memcopy.h: New file.
2021         * sysdeps/x86_64/wordcopy.c: Likewise.
2023 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2025         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2026         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2027         <cstdlib>.
2028         (optimization_barrier): New.
2029         (do_test): Use it.  Call quick_exit in the global namespace.
2030         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2031         instead of <cstdlib>, <thread>.
2032         (optimization_barrier): New.
2033         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2034         Call quick_exit in the global namespace.
2035         (do_test): Call optimization_barrier.  Use pthread_create,
2036         pthread_join instead of std::thread.
2038 2016-06-09  Andreas Schwab  <schwab@suse.de>
2040         [BZ #19755]
2041         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2042         new entries in auto-propagate mode.
2043         * nscd/grpcache.c (cache_addgr): Likewise.
2045 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2047         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2048         New functions.
2049         (add_temp_file): Use them.
2051 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2053         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2055 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2057         [BZ #20229]
2058         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2059         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2060         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2062         [BZ #20228]
2063         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2064         itself.
2065         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2066         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2068         [BZ #20227]
2069         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2070         itself.
2071         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2072         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2073         * math/libm-test.inc (log_test_data): Add sNaN tests.
2075         [BZ #20226]
2076         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2077         itself.
2078         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2079         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2080         (exp10_test_data): Likewise.
2081         (expm1_test_data): Likewise.
2083         [BZ #20225]
2084         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2085         itself.
2086         * math/s_ldexpf.c (__ldexpf): Likewise.
2087         * math/s_ldexpl.c (__ldexpl): Likewise.
2088         * math/w_scalbln.c (__w_scalbln): Likewise.
2089         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2090         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2091         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2092         (scalbln_test_data): Likewise.
2094         [BZ #20224]
2095         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2096         argument to itself.
2097         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2099 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2101         [BZ #19776]
2102         * sysdeps/x86_64/memcpy.S: Make it dummy.
2103         * sysdeps/x86_64/mempcpy.S: Likewise.
2104         * sysdeps/x86_64/memmove.S: New file.
2105         * sysdeps/x86_64/memmove_chk.S: Likewise.
2106         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2107         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2108         * sysdeps/x86_64/memmove.c: Removed.
2109         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2110         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2111         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2112         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2113         Likewise.
2114         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2115         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2117         memcpy-sse2-unaligned, memmove-avx-unaligned,
2118         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2120         (__libc_ifunc_impl_list): Replace
2121         __memmove_chk_avx512_unaligned_2 with
2122         __memmove_chk_avx512_unaligned.  Remove
2123         __memmove_chk_avx_unaligned_2.  Replace
2124         __memmove_chk_sse2_unaligned_2 with
2125         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2126         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2127         with __memmove_avx512_unaligned.  Replace
2128         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2129         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2130         with __memcpy_chk_avx512_unaligned.  Remove
2131         __memcpy_chk_avx_unaligned_2.  Replace
2132         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2133         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2134         Replace __memcpy_avx512_unaligned_2 with
2135         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2136         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2137         with __mempcpy_chk_avx512_unaligned.  Remove
2138         __mempcpy_chk_avx_unaligned_2.  Replace
2139         __mempcpy_chk_sse2_unaligned_2 with
2140         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2141         Replace __mempcpy_avx512_unaligned_2 with
2142         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2143         Replace __mempcpy_sse2_unaligned_2 with
2144         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2145         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2146         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2147         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2148         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2149         (ENTRY): Removed.
2150         (END): Likewise.
2151         (ENTRY_CHK): Likewise.
2152         (libc_hidden_builtin_def): Likewise.
2153         Don't include ../memcpy.S.
2154         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2155         __memcpy_chk_avx512_unaligned_erms and
2156         __memcpy_chk_avx512_unaligned.  Use
2157         __memcpy_chk_avx_unaligned_erms and
2158         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2159         Default to __memcpy_chk_sse2_unaligned.
2160         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2161         Change function suffix from unaligned_2 to unaligned.
2162         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2163         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2164         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2165         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2166         (ENTRY): Removed.
2167         (END): Likewise.
2168         (ENTRY_CHK): Likewise.
2169         (libc_hidden_builtin_def): Likewise.
2170         Don't include ../mempcpy.S.
2171         (mempcpy): New.  Add a weak alias.
2172         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2173         __mempcpy_chk_avx512_unaligned_erms and
2174         __mempcpy_chk_avx512_unaligned.  Use
2175         __mempcpy_chk_avx_unaligned_erms and
2176         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2177         Default to __mempcpy_chk_sse2_unaligned.
2179 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2181         [BZ #19881]
2182         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2183         into ...
2184         * sysdeps/x86_64/memset.S: This.
2185         (__bzero): Removed.
2186         (__memset_tail): Likewise.
2187         (__memset_chk): Likewise.
2188         (memset): Likewise.
2189         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2190         defined.
2191         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2192         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2193         (__memset_zero_constant_len_parameter): Check SHARED instead of
2194         PIC.
2195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2196         memset-avx2 and memset-sse2-unaligned-erms.
2197         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2198         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2199         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2200         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2201         (__bzero): Enabled.
2202         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2203         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2204         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2205         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2206         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2207         (memset): Removed.
2208         (__memset_chk): Likewise.
2209         (MEMSET_SYMBOL): New.
2210         (libc_hidden_builtin_def): Replace __memset_sse2 with
2211         __memset_sse2_unaligned.
2212         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2213         __memset_chk_sse2 and __memset_chk_avx2 with
2214         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2215         Use __memset_chk_sse2_unaligned_erms or
2216         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2217         __memset_chk_avx512_unaligned_erms and
2218         __memset_chk_avx512_unaligned.
2220 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2222         * math/gen-auto-libm-test.c (fp_format_desc): remove
2223         suffix member.
2224         (output_generic_value): Remove usage of suffix member,
2225         and the resulting unuse of the fp_format argument.
2226         (output_for_one_input_case): Remove unused fp_format
2227         parameter.
2229         * math/auto-libm-test-out: Regenerate.
2231         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2232         usage with TEST_COND_ibm128.
2233         (TEST_COND_flt_32): Remove.
2234         (TEST_COND_dbl_64): Remove.
2235         (TEST_COND_ldbl_96_intel): Remove.
2236         (TEST_COND_ldbl_96_m68k): Remove.
2237         (TEST_COND_ldbl_128): Remove.
2239 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2241         * auto-libm-test-in:
2242         Replace flt-32 usage with binary32.
2243         Replace dbl-64 usage with binary64.
2244         Replace ldbl-intel-96 usage with intel96.
2245         Replace ldbl-m68k-96 usage with m68k96.
2246         Replace ldbl-128ibm usage with ibm128.
2247         Replace ldbl-128 usage with binary128.
2249         * auto-libm-test-out: Regenerate.
2251 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2253         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2254         (parse_ulps): Dynamically generate type name matching
2255         string from all_floats.
2256         (get_ulps): Generate the ulps as an array instead.
2257         (output_ulps): Dynamically compose the type based
2258         on the number of supported formats, and print
2259         the indices as type specific helper macros.
2261         * math/libm-test.inc: Remove comment about CHOOSE.
2262         (ulp_data): Generate the type in libm-test-ulps.h.
2263         (ULP_IDX): New macro.
2264         (find_ulps): Update usage of max_ulp.
2266         * math/test-double-vlen2.h (CHOOSE): Remove.
2267         * math/test-double-vlen4.h (CHOOSE): Likewise.
2268         * math/test-double-vlen8.h (CHOOSE): Likewise.
2269         * math/test-float.c (CHOOSE): Likewise.
2270         * math/test-float-finite.c (CHOOSE): Likewise.
2271         * math/test-double.c (CHOOSE): Likewise.
2272         * math/test-double-finite.c (CHOOSE): Likewise.
2273         * math/test-idouble.c (CHOOSE): Likewise.
2274         * math/test-ifloat.c (CHOOSE): Likewise.
2275         * math/test-ildoubl.c (CHOOSE): Likewise.
2276         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2277         * math/test-ldouble.c (CHOOSE): Likewise.
2279         * math/test-float.h (TEST_FLOAT): Remove.
2280         * math/test-double.h (TEST_DOUBLE): Likewise.
2281         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2283 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2285         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2286         (parse_args): Strip C suffix from floating point literals
2287         typed with 'f' and wrap them with LIT().
2289         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2290         (test_ff_f_data_nexttoward): Rename to
2291         (test_fj_f_data): New struct.
2292         (nexttoward_test_data): Relabel tests as
2293         TEST_fj_f instead of TEST_ff_f.
2295 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2297         Emacs bug 23726.
2298         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2299         (__libc_realloc): Correct size computation for dumped fake mmapped
2300         chunks.
2302 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2304         [BZ #20219]
2305         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2306         to itself.
2307         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2309         [BZ #20218]
2310         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2311         to itself.
2312         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2314 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2316         [BZ #20195]
2317         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2318         check to ...
2319         (init_cpu_features): Here.
2321 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2323         [BZ #20214]
2324         * sysdeps/unix/sysv/linux/bits/in.h
2325         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2326          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2327         Define to 1.
2328         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2329          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2330         Define to 0.
2331         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2332         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2334 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2336         [BZ #20198]
2337         * stdlib/Makefile (tests): Add tst-quick_exit, and
2338         tst-thread-quick_exit.
2339         [ifeq ($(have-cxx-thread_local),yes)]
2340         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2341         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2342         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2343         (LDLIBS-tst-thread-quick_exit): Likewise.
2344         [ifneq ($(have-cxx-thread_local),yes)]
2345         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2346         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2347         If run_dtors is true call __call_tls_dtors.
2348         (exit): Call __run_exit_handlers with run_dtors set to true.
2349         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2350         definition.
2351         * stdlib/quick_exit.c (quick_exit): Remove function.
2352         (__new_quick_exit): New function.
2353         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2354         function.
2355         * stdlib/tst-quick_exit.cc: New file.
2356         * stdlib/tst-thread-quick_exit.cc: New file.
2357         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2358         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2359         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2360         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2361         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2362         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2363         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2364         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2365         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2366         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2367         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2368         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2369         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2370         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2371         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2372         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2377         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2378         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2379         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2380         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2381         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2384         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2385         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2386         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2388 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2390         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2391         a typo in comments.
2393 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2395         [BZ #20213]
2396         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2397         argument to itself.
2398         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2400 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2402         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2403         required flags.
2404         (CFLAGS-pwritev64.c): Likewise.
2405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2407         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2408         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2409         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2410         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2411         syscall from auto-generation.
2412         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2413         [WORDSIZE == 64] (pwritev64): Remove macro.
2414         [!PWRITEV] (PWRITEV): Likewise.
2415         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2416         [!PWRITEV] (PWRITE): Likewise.
2417         [!PWRITEV] (OFF_T): Likewise.
2418         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2419         (LO_HI_LONG): Remove macro.
2420         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2421         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2422         (PWRITEV): Remove macro.
2423         (PWRITEV_REPLACEMENTE): Likewise.
2424         (PWRITE): Likewise.
2425         (OFF_T): Likewise.
2426         (pwritev64): New function.
2427         * nptl/tst-cancel4.c (tf_writev): Add test.
2429         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2430         required flags.
2431         (CFLAGS-preadv64.c): Likewise.
2432         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2433         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2434         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2435         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2436         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2437         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2438         syscall from auto-generation.
2439         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2440         [WORDSIZE == 64] (preadv64): Remove macro.
2441         [!PREADV] (PREADV): Likewise.
2442         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2443         [!PREADV] (PREAD): Likewise.
2444         [!PREADV] (OFF_T): Likewise.
2445         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2446         (LO_HI_LONG): Remove macro.
2447         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2448         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2449         (PREADV): Remove macro.
2450         (PREADV_REPLACEMENTE): Likewise.
2451         (PREAD): Likewise.
2452         (OFF_T): Likewise.
2453         (preadv64): New function.
2454         * nptl/tst-cancel4.c (tf_preadv): Add test.
2456 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2458         [BZ #20212]
2459         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2460         argument to itself.
2461         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2463 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2465         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2466         New symbol defined as libc_hidden_def.
2467         (strcasestr): Became a weak alias to __strcasestr.
2468         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2469         according to multi-arch support.  Move __stpncpy hidden
2470         definition from here to...
2471         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2472         symbol stpncpy.
2473         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2474         libc_hidden_builtin_def.
2475         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2476         memset symbol to use when multi-arch support is available.
2478 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2480         * dlfcn/tst-rec-dlopen.c: Include string.h.
2482 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2484         * manual/install.texi: Remove mention of --without-tls
2485         * INSTALL: Regenerate.
2487 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2489         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2490         Remove.
2491         (call_function, interposed_malloc_called): New variables.
2492         (malloc): New function.
2493         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2494         and clear call_function as needed.
2496 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2498         * include/wchar.h (__wmemset): Use __typeof.
2500 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2502         * include/wchar.h (__wmemset): Declare function without typeof.
2504 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2506         [BZ #20205]
2507         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2508         exponent when incrementing negative subnormal with low mantissa
2509         word zero.
2510         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2511         Add another test.
2513 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2515         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2516         __wmemset instead of wmemset.
2518 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2520         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2521         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2522         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2523         __USE_KERNEL_IPV6_DEFS to 0.
2524         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2525         Update comment.
2527 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2529         [BZ #19861]
2530         Do not use IFUNC resolver with potentially unrelocated symbol.
2531         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2532         (DEFINE_FORK): Remove macro and inline definition.
2533         (fork_alias): Renamed from fork_ifunc.
2534         (__fork_alias): Renamed from __fork_ifunc.
2536 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2538         [BZ 19653]
2539         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2540         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2542 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2544         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2545         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2546         i386-linux-gnu).
2547         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2548         Set to no.
2549         * sysdeps/mach/hurd/configure: Refresh.
2551 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2553         [BZ #20178]
2554         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2555         on failure instead of exit.
2557 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2559         [BZ #3629]
2560         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2561         of POSIX.1-2008.
2563 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2565         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2566           Use PLT entry for calling _hurd_self_sigstate.
2568 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2570         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2571         available logical processors with SMT level type sharing L2
2572         cache for Intel processors.
2574 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2576         [BZ #20160]
2577         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2578         argument to itself before returning the result.
2579         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2580         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2581         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2582         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2583         Likewise.
2584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2585         Likewise.
2586         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2587         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2588         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2589         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2590         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2591         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2593         [BZ #20160]
2594         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2595         argument to itself before returning the result.
2596         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2597         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2598         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2599         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2600         Likewise.
2601         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2602         Likewise.
2603         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2604         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2605         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2606         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2607         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2608         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2610 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2612         * libm-test.inc: Replace usage of M_El with
2613         (lit_e): New macro.
2615 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2617         * libm-test.inc: Replace usage of M_PI_4l with
2618         (lit_pi_4_d): New macro.
2620 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2622         * libm-test.inc: Replace usage of M_PIl with
2623         (lit_pi): New macro.
2625 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2627         * libm-test.inc: Replace usage of M_PI2l with
2628         (lit_pi_2_d): New macro.
2630         * math/test-double.h (LITM): New macro.
2631         * math/test-float.h (LITM): Likewise.
2632         * math/test-ldouble.h (LITM): Likewise.
2634 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2636         * libm-test.inc (M_PI_34l): Rename to
2637         (lit_pi_3_m_4_d): New Macro.
2638         (M_PI_34_LOG10El): Rename to
2639         (lit_pi_3_m_4_ln10_m_d): New Macro.
2640         (M_PI2_LOG10El): Rename to
2641         (lit_pi_2_ln10_m_d):  New Macro.
2642         (M_PI4_LOG10El): Rename to
2643         (lit_pi_4_ln10_m_d):  New Macro.
2644         (M_PI_LOG10El): Rename to
2645         (lit_pi_ln10_d):  New Macro.
2647 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2649         [BZ #20157]
2650         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2651         determine whether to negate low half if [_ARCH_PPCGR], and integer
2652         comparison otherwise.
2653         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2654         determine whether to negate low half.
2656         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2657         (NO_TEST_INLINE_DOUBLE): Likewise.
2658         (TEST_COND_x86_64): Likewise.
2659         (TEST_COND_x86): Likewise.
2660         (M_PI_6l): Likewise.
2662 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2664         * math/libm-test.inc:
2665         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2666         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2667         (TEST_LDOUBLE): Update usage to evaluate as true if
2668         the guarded tests match the property being tested.
2669         (LDBL_MAX_EXP): Change to MAX_EXP.
2670         (LDBL_MIN_EXP): Change to MIN_EXP.
2671         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2672         nexttoward tests.
2674 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2676         * math/libm-test.inc:
2677         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2678         (TYPE_MIN): Likewise.
2679         (TYPE_TRUE_MIN): Likewise.
2680         (TYPE_MAX): Likewise.
2681         (MIN_EXP): Likewise.
2682         (MAX_EXP): Likewise.
2683         (MANT_DIG): Likewise.
2685         (FSTR_MAX): New macro.
2686         (__CONCATX): Likewise.
2687         (QTYPE_STR): Likewise.
2688         (TEST_COND_binary32): Likewise.
2689         (TEST_COND_binary64): Likewise.
2690         (TEST_COND_binary128): Likewise.
2691         (TEST_COND_ibm128): Likewise.
2692         (TEST_COND_intel96): Likewise.
2693         (TEST_COND_m68k96): Likewise.
2695         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2696         (TEST_COND_dbl_64): Likewise.
2697         (TEST_COND_ldbl_96_intel): Likewise.
2698         (TEST_COND_ldbl_96_m68k): Likewise.
2699         (TEST_COND_ldbl_128): Likewise.
2700         (TEST_COND_ldbl_128ibm): Likewise.
2702         (plus_zero): Redefine using LIT macro.
2703         (minus_zero): Likewise.
2704         (plus_infty): Redefine as (INF).
2705         (minux_infty): Redefine as (-INF).
2706         (max_value): Redefine as TYPE_MAX.
2707         (min_value): Redefine as TYPE_MIN.
2708         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2710         (print_float): Refactor to use snprintf to convert FLOAT values
2711         to string. This brings it closer to dropin replacement of strtof
2712         for the TS 18661 defined types.
2713         (update_stats): Likewise.
2714         (print_complex_function_ulps): Likewise.
2715         (print_max_error): Likewise.
2716         (print_complex_max_error): Likewise.
2717         (check_float_internal): Likewise.
2719         * math/test-float.h (PREFIX): New macro.
2720         (LIT): Likewise.
2721         (TYPE_STR): Likewise.
2722         (FTOSTR): Likewise.
2724         * math/test-double.h (PREFIX): New macro.
2725         (LIT): Likewise.
2726         (TYPE_STR): Likewise.
2727         (FTOSTR): Likewise.
2729         * math/test-ldouble.h (PREFIX): New macro.
2730         (LIT): Likewise.
2731         (TYPE_STR): Likewise.
2732         (FTOSTR): Likewise.
2734 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2736         [BZ #20156]
2737         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2738         to itself when zero or not finite.
2739         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2740         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2741         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2742         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2744 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2746         [BZ #20153]
2747         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2748         x * x + x for infinities and NaNs.
2750         [BZ #20151]
2751         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2752         argument to itself before returning result.
2753         (__ieee754_y0l): Likewise.
2754         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2755         (__ieee754_y1l).
2757         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2758         (atan_test_data): Likewise.
2759         (ceil_test_data): Likewise.
2760         (cos_test_data): Likewise.
2761         (cosh_test_data): Likewise.
2762         (erf_test_data): Likewise.
2763         (exp2_test_data): Likewise.
2764         (fabs_test_data): Likewise.
2765         (floor_test_data): Likewise.
2766         (ilogb_test_data): Likewise.
2767         (j0_test_data): Likewise.
2768         (j1_test_data): Likewise.
2769         (jn_test_data): Likewise.
2770         (lgamma_test_data): Likewise.
2771         (lrint_test_data): Likewise.
2772         (llrint_test_data): Likewise.
2773         (logb_test_data): Likewise.
2774         (lround_test_data): Likewise.
2775         (llround_test_data): Likewise.
2776         (nearbyint_test_data): Likewise.
2777         (rint_test_data): Likewise.
2778         (round_test_data): Likewise.
2779         (sin_test_data): Likewise.
2780         (sincos_test_data): Likewise.
2781         (sinh_test_data): Likewise.
2782         (sqrt_test_data): Likewise.
2783         (tan_test_data): Likewise.
2784         (tanh_test_data): Likewise.
2785         (tgamma_test_data): Likewise.
2786         (trunc_test_data): Likewise.
2787         (y0_test_data): Likewise.
2788         (y1_test_data): Likewise.
2789         (yn_test_data): Likewise.
2791         * math/libm-test.inc: Update comment about NaN testing.
2792         (TEST_SNAN): New macro.
2793         (snan_value): Likewise.
2794         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2795         (fpclassify_test_data): Add sNaN tests.
2796         (isfinite_test_data): Likewise.
2797         (isinf_test_data): Likewise.
2798         (isnan_test_data): Likewise.
2799         (isnormal_test_data): Likewise.
2800         (issignaling_test_data): Likewise.
2801         (signbit_test_data): Likewise.
2802         * math/gen-libm-test.pl (%beautify): Add snan_value.
2803         (show_exceptions): Add argument $test_snan.
2804         (parse_args): Handle snan_value as non-finite.  Update call to
2805         show_exceptions.
2806         * math/Makefile (libm-test-no-inline-cflags): Add
2807         -fsignaling-nans.
2809 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2811         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2812         (CFLAGS-oldsendmsg.c): Add rule.
2813         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2814         Correct recvmsg symbol name.
2815         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2816         Likewise.
2818 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2820         * sysdeps/unix/sysv/linux/Makefile
2821         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2822         oldsendmmsg.
2823         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2824         sendmmsg.
2825         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2826         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2827         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2828         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2830         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2831         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2833         Likewise.
2834         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2835         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2836         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2837         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2838         iovlen and controllen fields to adjust to POSIX specification.
2839         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2841         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2842         and change to correct expected type.
2843         (msghdr.msg_controllen): Likewise.
2844         (cmsghdr.cmsg_len): Likewise.
2845         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2846         expected POSIX assumption about the size.
2847         (msghdr.msg_controllen): Likewise.
2848         (msghdr.__glibc_reserved1): Likewise.
2849         (msghdr.__glibc_reserved2): Likewise.
2850         (cmsghdr.cmsg_len): Likewise.
2851         (cmsghdr.__glibc_reserved1): Likewise.
2852         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2853         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2854         (CFLAGS-sendmsg.c): Remove rule.
2855         (CFLAGS-recvmsg.c): Likewise.
2856         (CFLAGS-oldsendmsg.c): Add rule.
2857         (CFLAGS-oldrecvmsg.c): Likewise.
2858         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2859         recvmsg and sendmsg.
2860         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2861         Likewise.
2862         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2863         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2864         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2865         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2866         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2867         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2868         Likewise.
2869         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2870         Likewise.
2871         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2872         Likewise.
2873         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2874         Likewise.
2875         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2878         Likewise.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2880         (GLIBC_2.24): Likewise.
2881         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2882         Likewise.
2883         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2886         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2887         Likewise.
2888         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2889         Likewise.
2890         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2893         (GLIBC_2.24): Likewise.
2894         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2895         Likewise.
2896         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2897         Likewise.
2898         * sysdeps/unix/sysv/linux/Makefile
2899         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2900         (CFLAGS-sendmsg.c): Add rule.
2901         (CFLAGS-recvmsg.c): Likewise.
2902         (CFLAGS-oldsendmsg.c): Likewise.
2903         (CFLAGS-oldrecvmsg.c): Likewise.
2904         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2905         initialization.
2906         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2907         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2908         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2909         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2910         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2911         iovlen and controllen fields to adjust to POSIX specification.
2912         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2913         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2914         added recvmsg and sendmsg.
2915         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2916         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2917         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2918         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2919         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2920         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2921         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2922         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2923         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2924         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2925         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2926         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2928         Likewise.
2929         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2931         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2932         Likewise.
2933         Likewise.
2934         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2935         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2936         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2937         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2938         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2939         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2941         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2943         Likewise.
2944         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2945         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2947         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2948         from auto-generation.
2949         (sendmsg): Likewise.
2950         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2951         (sendmsg): Likewise.
2952         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2953         (sendmsg): Likewise.
2954         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2955         (sendmsg): Likewise.
2956         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2957         (sendmsg): Likewise.
2958         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2959         (sendmsg): Likewise.
2960         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2961         Likewise.
2962         (sendmsg): Likewise.
2963         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2964         (sendmsg): Likewise.
2965         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2966         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2967         Remove.
2968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2969         Likewise.
2970         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2971         Undefine.
2972         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2973         Likewise.
2974         * sysdeps/unix/sysv/linux/kernel-features.h
2975         (__ASSUME_SENDMSG_SYSCALL): Define.
2976         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2977         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2978         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2979         Remove.
2980         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2981         Likewise.
2982         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2983         Undefine.
2984         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2985         Likewise.
2986         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2987         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2988         Remove.
2989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2990         Likewise.
2991         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2992         Undefine.
2993         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2996         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2997         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2998         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2999         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3000         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3001         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3002         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3003         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3005 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3007         * stdlib/gen-tst-strtod-round.c: Add backslash to
3008         compile command in comment.
3009         (printfp): Remove the literal suffix, and define an infinite
3010         value as INF to avoid expansion clash with INFINITY.
3011         (round_str): Remove the literal suffix.
3012         (round_for_all): Likewise, remove the now duplicate ldbl-64
3013         entry, and remove some magic constants.
3015         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3016         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3017         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3018         (_CONCAT): New macro.
3019         (CONCAT): Likewise.
3020         (CHOOSE_ld): Likewise.
3021         (CHOOSE_f): Likewise.
3022         (CHOOSE_d): Likewise.
3023         (FTYPE_MEMBER): Likewise.
3024         (BOOL_MEMBER): Likewise.
3025         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3026         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3027         (_XNTRY): Likewise.
3028         (XNTRY): Likewise.
3029         (_ENTRY): Likewise.
3030         (ENTRY): Likewise.
3031         (test_exactness): Generate members via macro.
3032         (test_results): Likewise.
3033         (test): Update members.
3034         (TEST): Redefine using new macros.
3035         (INF): New macro.
3036         (fetestmodes): New structure.
3037         (do_test): Refactor to be type generic.
3038         (test_in_one_mode): Refactor duplicate code into
3039         (GEN_ONE_TEST): New macro.
3041         * stdlib/tst-strtod-round-data.h: Regenerate.
3043         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3044         Extend to pass additional arbitrary parameters to
3045         generators.
3047 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3049         [BZ #15479]
3050         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3051         floating-point state after first floating-point operation on
3052         input.  Restore full floating-point state instead of just rounding
3053         mode.
3054         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3055         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3056         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3057         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3058         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3060         [BZ #15479]
3061         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3062         floating-point state after first floating-point operation on
3063         input.  Restore full floating-point state instead of just rounding
3064         mode.
3065         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3066         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3067         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3068         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3069         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3071 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3073         [BZ #19727]
3074         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3075         valid high surrogate.
3076         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3077         of an utf16 surrogate.
3078         * iconv/gconv_simple.c (BODY): Likewise.
3079         * iconvdata/bug-iconv12.c: New file.
3080         * iconvdata/Makefile (tests): Add bug-iconv12.
3082 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3084         [BZ #19726]
3085         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3086         outptrp in case of an illegal input.
3087         * iconv/tst-iconv6.c: New file.
3088         * iconv/Makefile (tests): Add tst-iconv6.
3090 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3092         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3093         an error in case of a value in range of an utf16 low surrogate.
3095 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3097         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3098         an error in case of a value in range of an utf16 low surrogate.
3100 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3102         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3103         Move to ...
3104         * sysdeps/s390/Makefile: ... here.
3105         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3106         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3107         (BRANCH_ON_COUNT): New define.
3108         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3109         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3110         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3111         run on s390-32, too.
3112         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3113         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3114         run on s390-32, too.
3115         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3116         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3117         run on s390-32, too.
3119 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3121         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3122         etf3eh or new vector loop-variant.
3124 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3126         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3127         etf3eh or new vector loop-variant.
3129 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3131         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3132         or new vector loop-variant.
3134 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3136         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3137         Rename to TR_LOOP and usage of tr instead of troo instruction.
3139 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3141         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3142         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3144 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3146         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3147         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3148         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3149         New override define.
3150         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3154         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3155         * sysdeps/s390/configure.ac: Add test for S390 vector register
3156         support in gcc.
3157         * sysdeps/s390/configure: Regenerated.
3159 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3161         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3162         Install file from $(objpfx)gconv-modules.
3163         ($(objpfx)gconv-modules): Concatenate architecture specific file
3164         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3165         * sysdeps/s390/gconv-modules: New file.
3166         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3167         Deleted.
3168         ($(objpfx)gconv-modules-s390): Deleted.
3169         (sysdeps-gconv-modules): New variable.
3171 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3173         [BZ #15479]
3174         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3175         of immediate operand to rounding instruction.
3176         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3177         Likewise.
3178         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3179         Likewise.
3180         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3181         Likewise.
3183 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3185         * math/libm-test.inc (MIN_EXP): Directly define as
3186         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3188 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3190         * math/libm-test.inc (MANT_DIG): Directly define as
3191         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3193 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3195         * stdlib/gen-tst-strtod-round.c (main):
3196           Change usage to more closely match the generated
3197           output.  Add usage and compilation instructions.
3198           (string_to_fp): Add and use FILE* parameter as
3199           output target.
3200           (print_fp): Likewise.
3201           (round_str): Likewise.
3202           (round_for_all): Likewise.
3203         * stdlib/tst-strtod-round.c (tests): Move into
3204         * stdlib/tst-strtod-round-data.h: New file.
3206 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3208         [BZ #15479]
3209         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3210         (__round): Do not force "inexact" exception.
3211         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3212         variable.
3213         (__round): Do not force "inexact" exception.
3214         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3215         (__roundf): Do not force "inexact" exception.
3216         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3217         (__roundl): Do not force "inexact" exception.
3218         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3219         (__roundl): Do not force "inexact" exception.
3220         * math/libm-test.inc (round_test_data): Do not allow spurious
3221         "inexact" exceptions.
3223         [BZ #15479]
3224         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3225         exception in comment.
3226         (huge): Remove variable.
3227         (__floor): Do not force "inexact" exception.
3228         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3229         "inexact" exception in comment.
3230         (huge): Remove variable.
3231         (__floor): Do not force "inexact" exception.
3232         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3233         exception in comment.
3234         (huge): Remove variable.
3235         (__floorf): Do not force "inexact" exception.
3236         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3237         exception in comment.
3238         (huge): Remove variable.
3239         (__floorl): Do not force "inexact" exception.
3241         [BZ #15479]
3242         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3243         exception in comment.
3244         (huge): Remove variable.
3245         (__ceil): Do not force "inexact" exception.
3246         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3247         "inexact" exception in comment.
3248         (huge): Remove variable.
3249         (__ceil): Do not force "inexact" exception.
3250         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3251         (__ceilf): Do not force "inexact" exception.
3252         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3253         exception in comment.
3254         (huge): Remove variable.
3255         (__ceill): Do not force "inexact" exception.
3257 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3259         * config.h.in (BIND_NOW): New.
3260         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3261         * configure: Regenerated.
3262         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3263         indirect branch via the GOT slot.
3265 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3267         [BZ #19765]
3268         * sysdeps/s390/mempcpy.S: New File.
3269         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3270         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3271         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3272         Add mempcpy variants.
3273         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3274         (memcpy): Adjust to be usable from mempcpy entry point.
3275         (__memcpy_mvcle): Likewise.
3276         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3277         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3278         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3279         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3280         (__memcpy_z10): Likewise.
3281         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3283 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3285         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3286         Remove __GI_ symbol.
3287         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3288         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3289         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3290         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3291         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3292         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3294 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3296         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3297         Use cghi instead of chi to compare 64bit value.
3299 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3301         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3302         Jump to 1MB check before executing mvc-loop.
3304 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3306         [BZ #6527]
3307         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3308         unconditionally.
3309         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3311 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3313         * stdlib/tst-strtod6.c (do_test): Use new type generic
3314         invocation of the test function.
3315         (test): Refactor into ...
3316         (TEST_STRTOD): New macro base function.
3318 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3320         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3321         (TEST_STRTOD): New macro.
3322         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3324 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3326         * stdlib/tst-strtod6.c (do_test): Use new type generic
3327         invocation of the test function.
3328         (test): Refactor into ...
3329         (TEST_STRTOD): New macro base function.
3331 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3333         CVE-2016-4429
3334         [BZ #20112]
3335         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3336         payload.
3338 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3340         [BZ #20111]
3341         * bits/sockaddr.h (_SS_SIZE): Define.
3342         * bits/socket.h (_SS_SIZE): Remove.
3343         (_SS_PADSIZE): Adjust to account for all padding.
3344         (struct sockaddr_storage): Update comment.  Avoid implicit
3345         padding.
3346         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3347         (_SS_PADSIZE): Adjust to account for all padding.
3348         (struct sockaddr_storage): Update comment.  Avoid implicit
3349         padding.
3350         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3351         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3352         (_SS_PADSIZE): Adjust to account for all padding.
3353         (struct sockaddr_storage): Update comment.  Avoid implicit
3354         padding.
3355         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3356         __SS_SIZE is 126 in this version.
3357         * inet/tst-sockaddr.c: New file.
3358         * inet/Makefile (tests): Add tst-sockaddr.c
3359         (tst-sockaddr.c): Compile with non-strict aliasing.
3361 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3363         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3364         [XPG3 || XPG4].
3365         (NL_ARGMAX): Also expect for [XPG3].
3366         (NL_LANGMAX): Likewise.
3367         (NL_MSGMAX): Likewise.
3368         (NL_NMAX): Likewise.
3369         (NL_SETMAX): Likewise.
3370         (NL_TEXTMAX): Likewise.
3371         (NZERO): Likewise.
3372         (TMP_MAX): Likewise.
3373         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3374         variable.
3376         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3377         (PF_MAX): Update value.
3378         (AF_KCM): New macro.
3379         (SOL_NETBEUI): Likewise.
3380         (SOL_LLC): Likewise.
3381         (SOL_DCCP): Likewise.
3382         (SOL_NETLINK): Likewise.
3383         (SOL_TIPC): Likewise.
3384         (SOL_RXRPC): Likewise.
3385         (SOL_PPPOL2TP): Likewise.
3386         (SOL_BLUETOOTH): Likewise.
3387         (SOL_PNPIPE): Likewise.
3388         (SOL_RDS): Likewise.
3389         (SOL_IUCV): Likewise.
3390         (SOL_CAIF): Likewise.
3391         (SOL_ALG): Likewise.
3392         (SOL_NFC): Likewise.
3393         (SOL_KCM): Likewise.
3394         (MSG_BATCH): New enum value and macro.
3396 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3398         [BZ #18185]
3399         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3400         sharing L2 cache to 2 for Knights Landing.
3402 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3404         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3405         (FTW_DP): Do not expect for [XPG3 || XPG4].
3406         (FTW_SL): Do not expect for [XPG3].
3407         (FTW_SLN): Likewise.
3408         (FTW_PHYS): Likewise.
3409         (FTW_MOUNT): Likewise.
3410         (FTW_DEPTH): Likewise.
3411         (FTW_CHDIR): Likewise.
3412         (nftw): Likewise.
3413         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3414         variable.
3416 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3418         * manual/errno.texi: Fix various typos & grammar errors.
3420 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3422         * manual/intro.texi: Fix duplicated typo.
3424 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3426         [BZ #13304]
3427         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3428         <float.h>, <math_private.h> and <stdlib.h>.
3429         (add_split): New function.
3430         (mul_split): Likewise.
3431         (ext_val): New typedef.
3432         (store_ext_val): New function.
3433         (mul_ext_val): New function.
3434         (compare): New function.
3435         (add_split_ext): New function.
3436         (__fmal): After checking for Inf, NaN and zero, compute result as
3437         an exact sum of scaled double values in round-to-nearest before
3438         adding those up and adjusting for other rounding modes.
3439         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3440         tests of fma.
3441         * math/auto-libm-test-out: Regenerated.
3443 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3445         [BZ #20119]
3446         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3447         processor level type mask for CPUID with EAX == 11.
3449 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3451         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3452         logical threads if the HTT bit is 0.
3453         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3454         (index_cpu_HTT): Likewise.
3455         (reg_HTT): Likewise.
3457 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3459         [BZ #20115]
3460         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3461         Remove alignments on jump targets.
3463 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3465         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3466         (getpwent): Likewise.
3467         (setpwent): Likewise.
3468         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3469         variable.
3471         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3472         (remque): Likewise.
3473         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3474         variable.
3476 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3478         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3479         not being tested.
3481 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3483         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3484         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3485         call.
3486         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3487         (__condvar_cleanup1): Likewise.
3489 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3491         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3492         New
3493         (__pthread_unwind): Renamed to ...
3494         (PTHREAD_UNWIND): This.
3495         (__pthread_enable_asynccancel): Replace
3496         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3498 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3500         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3501         (CLONE_NEWCGROUP): New macro.
3503         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3504         (Q_GETNEXTQUOTA): New macro.
3506 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3508         [BZ #19907]
3509         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3510         buffer updated by the previous run.
3511         * string/test-memcpy.c (do_one_test): Likewise.
3512         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3513         * string/test-memmove.c (do_one_test): Likewise.
3515 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3517         [BZ #20094]
3518         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3519         not [__USE_XOPEN].
3520         (unlockpt): Likewise.
3521         (ptsname): Likewise.
3522         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3523         variable.
3525         [BZ #20076]
3526         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3527         instead of [__USE_UNIX98].
3528         (S_ISSOCK): Likewise.
3529         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3530         variable.
3532         [BZ #20074]
3533         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3534         [__USE_POSIX].
3535         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3536         variable.
3538         [BZ #20051]
3539         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3540         (ttyslot): Do not declare.
3541         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3542         (ttyslot): New prototype.
3543         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3544         variable.
3545         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3547 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3549         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3551 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3553         Fix race condition in tst-mallocfork2, use fewer resources.
3554         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3555         to current process group.
3556         (signal_sender): Yield in the non-sleeping case.
3558 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3560         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3561         (ecvt): Likewise.
3562         (fcvt): Likewise.
3563         (gcvt): Likewise.
3564         (getsubopt): Likewise.
3565         (grantpt): Likewise.
3566         (initstate): Likewise.
3567         (l64a): Likewise.
3568         (mktemp): Likewise.
3569         (mkstemp): Likewise.
3570         (ptsname): Likewise.
3571         (random): Likewise.
3572         (realpath): Likewise.
3573         (setstate): Likewise.
3574         (srandom): Likewise.
3575         (ttyslot): Likewise.
3576         (unlockpt): Likewise.
3577         (valloc): Likewise.
3579         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3580         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3581         variable.
3583 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3585         [BZ #20072]
3586         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3587         init_cpu_features only if SHARED is defined.
3588         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3590 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3592         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3593         non-inclusive caches on Intel processors.
3595 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3597         * malloc/malloc.c (dumped_main_arena_start)
3598         (dumped_main_arena_end): New variables.
3599         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3600         (do_check_chunk): Skip dumped fake mmapped chunks.
3601         (munmap_chunk): Likewise.
3602         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3603         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3604         mmapped chunks.
3605         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3606         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3607         and dumped_main_arena_end to cover the dumped heap.
3609 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3611         * conform/data/time.h-data (getdate_err): Do not expect for
3612         [XPG3].
3613         (getdate): Likewise.
3614         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3615         variable.
3617         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3618         (F_ULOCK): Likewise.
3619         (F_TEST): Likewise.
3620         (F_TLOCK): Likewise.
3621         (useconds_t): Likewise.
3622         (intptr_t): Do not expect for [XPG3] or [XPG4].
3623         (brk): Do not expect for [XPG3]
3624         (fchown): Likewise.
3625         (fchdir): Likewise.
3626         (ftruncate): Likewise.
3627         (getdtablesize): Likewise.
3628         (gethostid): Likewise.
3629         (getpagesize): Likewise.
3630         (getpgid): Likewise.
3631         (getsid): Likewise.
3632         (getwd): Likewise.
3633         (lchown): Likewise.
3634         (lockf): Likewise.
3635         (readlink): Likewise.
3636         (sbrk): Likewise.
3637         (setpgrp): Likewise.
3638         (setregid): Likewise.
3639         (setreuid): Likewise.
3640         (symlink): Likewise.
3641         (sync): Likewise.
3642         (truncate): Likewise.
3643         (ualarm): Likewise.
3644         (usleep): Likewise.
3645         (vfork): Likewise.
3646         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3647         variable.
3649         [BZ #20054]
3650         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3651         not [__USE_UNIX98].
3652         * conform/data/unistd.h-data (gethostname): Do not expect for
3653         [XPG3].
3655         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3656         [!POSIX] (S_IFBLK): Likewise.
3657         [!POSIX] (S_IFCHR): Likewise.
3658         [!POSIX] (S_IFIFO): Likewise.
3659         [!POSIX] (S_IFREG): Likewise.
3660         [!POSIX] (S_IFDIR): Likewise.
3661         [!POSIX] (S_IFLNK): Likewise.
3662         [!POSIX] (S_IFSOCK): Likewise.
3663         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3664         variable.
3665         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3667 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3669         * sysdeps/aarch64/memset.S (__memset):
3670         Rewrite of optimized memset.
3672 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3674         [BZ #19703]
3675         Partially async-signal-safe fork for single-threaded processes.
3676         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3677         variable.  Do not acquire and reset/release malloc and libio locks
3678         in single-threaded processes.
3679         * malloc/tst-mallocfork2.c: New file.
3680         * malloc/Makefile (tests): Add it.
3682 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3684         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3685         argument.  Use scratch buffer instead of extend_alloca.
3686         (gethosts): Use scratch buffer instead of extend_alloca.
3687         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3688         extend_alloca.
3689         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3691 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3693         [BZ #20055]
3694         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3695         instead of [__USE_UNIX98].
3696         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3697         [__USE_UNIX98].
3698         * conform/data/termios.h-data (tcgetsid): Do not expect for
3699         [XPG3].
3700         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3701         variable.
3702         (test-xfail-XPG4/termios.h/conform): Likewise.
3704 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3706         Do not use mcheck in localedef.
3707         * locale/programs/localedef.c (turn_on_mcheck)
3708         (__malloc_initialize_hook): Remove.
3710 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3712         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3713         * sysdeps/s390/s390-64/Makefile: Likewise.
3715 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3717         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3718         Remove ifunc-defines.sym.
3719         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3720         Likewise.
3721         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3722         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3723         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3724         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3725         rtld-global-offsets.sym.
3726         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3727         * sysdeps/x86/cpu-features-offsets.sym: This.
3728         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3729         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3731 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3733         [BZ #20073]
3734         * io/sys/stat.h (fchmod): Declare for
3735         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3736         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3737         variable.
3739         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3740         [XPG3] (S_IFSOCK): Likewise.
3741         [XPG3] (S_ISVTX): Likewise.
3742         [XPG3] (S_ISLNK): Likewise.
3743         [XPG3] (S_ISSOCK): Likewise.
3744         [XPG3] (fchmod): Likewise.
3745         [XPG3] (lstat): Likewise.
3746         [XPG3] (mknod): Likewise.
3748         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3749         [XPG3].  Expect type long and XFAIL for [XPG4].
3750         (st_blocks): Likewise.
3752         [BZ #20044]
3753         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3754         (pthread_atfork): New prototype.
3755         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3756         variable.
3758         [BZ #20043]
3759         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3760         prototype.
3762 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3764         [BZ #20017]
3765         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3766         gmtime.
3768 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3770         [BZ #19994]
3771         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3772         flag in _res.options.
3774 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3776         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3777         [XPG3 || XPG4].
3778         (blksize_t): Likewise.
3779         (clockid_t): Likewise.
3780         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3781         variable.
3782         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3784 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3786         * sysdeps/unix/sysv/linux/s390/init-first.c:
3787         Add VDSO_SYMBOL(getcpu).
3788         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3789         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3790         Add VDSO_SYMBOL(getcpu).
3791         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3792         New define HAVE_GETCPU_VSYSCALL.
3793         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3795 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3797         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3798         instead of <sysdeps/x86_64/cacheinfo.c>.
3799         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3800         * sysdeps/x86/cacheinfo.c: Here.
3802 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3804         * malloc/malloc-internal.h: Adjust header file guard.
3806 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3808         [BZ #19787]
3809         * inet/getnameinfo.c (check_sprintf_result): New function.
3810         (CHECKED_SNPRINTF): New macro.
3811         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3812         to the host buffer.
3813         (gni_host_local): Use checked_copy to copy the host name.
3814         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3815         (gni_serv_local): Use checked_copy to copy the service name.
3816         (getnameinfo): Remove unnecessary truncation of result buffers.
3818 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3820         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3821         in case of inet_ntop failure.
3823 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3825         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3826         avoid long lines.
3827         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3828         variables.
3829         (gni_host_inet, gni_host_local): Add comment.
3830         (gni_host): Add comment.  Use temporary to avoid long lines.
3832 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3834         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3835         registers specifiers where general purpose registers specifiers should
3836         have been used.
3838 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3840         [BZ #19779]
3841         CVE-2016-1234
3842         Avoid copying names of directory entries.
3843         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3844         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3845         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3846         (struct readdir_result): New type.
3847         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3848         (GL_READDIR): New macros.
3849         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3850         (convert_dirent, convert_dirent64): New functions.
3851         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3852         convert_dirent64.  Adjust references to the readdir result.
3853         * sysdeps/unix/sysv/linux/i386/glob64.c:
3854         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3855         * posix/bug-glob2.c (LONG_NAME): Define.
3856         (filesystem): Add LONG_NAME.
3857         (my_DIR): Increase the size of room_for_dirent.
3859 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3861         [BZ #20041]
3862         * misc/sys/select.h (__need_timespec): Only define if
3863         [__USE_XOPEN2K].
3864         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3865         variable.
3866         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3867         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3868         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3870 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3871             Segher Boessenkool  <segher@gcc.gnu.org>
3873         [BZ #20004]
3874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3875         (__novec_swapcontext): Add missing load.
3877 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3879         [BZ #20023]
3880         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3881         <time.h>.
3882         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3883         variable.
3884         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3886 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3889         flags CLONE_VM compare.
3891 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3893         [BZ #20031]
3894         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3895         completely empty.
3897 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3899         [BZ #19573]
3900         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3901         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3902         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3903         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3904         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3905         (hesiod_free_list): Mark as hidden.
3906         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3907         res_set, res_get.
3908         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3909         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3910         (hesiod_init): Remove obsolete res_ninit call.
3911         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3912         (hesiod_bind): Do not call init.
3913         (get_txt_records): Use res_mkquery, res_send instead of
3914         res_nmkquery, res_nsend.
3915         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3916         instead of _nss_hesiod_init.
3917         (_nss_hesiod_initgroups_dyn): Likewise.
3918         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3919         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3920         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3922 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3924         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3925         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3927 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3929         * hesiod/hesiod.h: Remove RCS keyword.
3930         * hesiod/hesiod_p.h: Likewise.
3932         * hesiod/hesiod.c: Likewise.
3934 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3936         [BZ #12450]
3937         * locale/iso-639.def: Add Samogitian/sgs.
3939 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3941         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3943         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3945 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3946             Carlos O'Donell  <carlos@redhat.com>
3948         [BZ #19072]
3949         * grp/Makefile (headers): Add grp-merge.h
3950         (routines): Add grp-merge.
3951         * grp/getgrgid_r.c: Include grp-merge.h.
3952         (DEEPCOPY_FN): Define.
3953         (MERGE_FN): Define.
3954         * grp/getgrname_r.c: Include grp-merge.h.
3955         (DEEPCOPY_FN): Define.
3956         (MERGE_FN): Define.
3957         * grp/grp-merge.c: New file.
3958         * grp/grp-merge.h: New file.
3959         * include/grp-merge.h: New file.
3960         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3961         __copy_grp@GLIBC_PRIVATE.
3962         * manual/nss.texi (Actions in the NSS configuration): Describe
3963         return, continue, and merge.
3964         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3965         (DEEPCOPY_FN): Define.
3966         (MERGE_FN): Define.
3967         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3968         (DEEPCOPY_FN): Define.
3969         (MERGE_FN): Define.
3970         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3971         [!MERGE_FN]: Define __merge_einval.
3972         (CHECK_MERGE): Define.
3973         (REENTRANT_NAME): Process merge if do_merge is true.
3974         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3975         (__nss_getent_r): Likewise.
3976         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3977         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3979 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3981         [BZ #20012]
3982         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3983         length to calculate the buffer to read.
3984         (fmemopen_write): Set the buffer position based on bytes written.
3985         (fmemopen_seek): Return EINVAL for invalid whence modes.
3987         [BZ #19957]
3988         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3989         tst-getpid2.
3990         (test): Add tst-clone2.
3991         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3992         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3993         pid/tid fields for CLONE_VM.
3994         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3995         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3996         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3997         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3998         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3999         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4000         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4001         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4003         Likewise.
4004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4005         Likewise.
4006         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4007         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4008         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4009         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4010         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4011         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4012         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4013         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4015 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4017         [BZ #19642]
4018         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4019         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4020         (gni_serv_local, gni_serv): New functions extracted from
4021         getnameinfo.
4022         (getnameinfo): Call gni_host and gni_serv to perform the
4023         processing.  Always free scratch buffer.
4025 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4027         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4028         remaining bytes in the dest string, with zeros.
4030 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4032         [BZ #20010]
4033         CVE-2016-3706
4034         * sysdeps/posix/getaddrinfo.c
4035         (convert_hostent_to_gaih_addrtuple): New function.
4036         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4037         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4038         AF_INET data.
4040 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4042         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4043         callback function gl_readdir.
4044         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4045         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4046         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4047         memcpy to copy the name.
4048         * manual/pattern.texi (Calling Glob): Document requirements for
4049         implementations of the gl_readdir callback function.
4050         * manual/examples/mkdirent.c: New example.
4051         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4052         per the manual guidance.
4053         * posix/tst-gnuglob.c (my_readdir): Likewise.
4055 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4057         [BZ #20014]
4058         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4059         not [__USE_POSIX].
4060         (getchar_unlocked): Likewise.
4061         (putc_unlocked): Likewise.
4062         (putchar_unlocked): Likewise.
4063         (flockfile): Likewise.
4064         (ftrylockfile): Likewise.
4065         (funlockfile): Likewise.
4066         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4067         variable.
4068         (test-xfail-XPG4/stdio.h/conform): Likewise.
4070         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4071         Expect constant.
4072         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4073         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4074         variable.
4075         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4076         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4078         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4079         [__USE_LARGEFILE64] (off64_t): Likewise.
4080         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4081         variable.
4083 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4085         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4087 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4089         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4090         * resolv/res_init.c: Likewise.
4091         * resolv/res_mkquery.c: Likewise.
4093 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4095         * resolv/res_init.c (isascii): Do not define.  Use definition in
4096         <ctype.h>.
4097         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4098         (LOG_AUTH): Remove.
4099         (SPRINTF): Remove, adjust caller.
4100         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4104         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4105         SUNSECURITY conditional.
4106         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4108 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4110         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4111         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4112         Remove BSD-related preprocessor conditionals.
4113         * conf/portability.h: Remove.
4115 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4117         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4118         * resolv/res_data.c: Likewise.
4120 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4122         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4123         * resolv/res_data.c: Remove code conditional on ultrix.
4125 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4127         * resolv/res_init.c (RFC1535): Do not define.  Remove
4128         RFC1535 preprocessor conditionals.
4129         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4130         because there configuration options which make the resolver
4131         behavior different.
4133 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4135         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4136         RESOLVSORT preprocessor conditionals.
4137         * resolv/nss_dns/dns-host.c: Likewise.
4138         * resolv/res_init.c: Likewise.
4140 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4142         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4143         is never defined.
4145 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4147         * inet/inet_lnaof.c: Remove SCSS keyword.
4148         * inet/inet_mkadr.c: Likewise.
4149         * inet/inet_net.c: Likewise.
4150         * inet/inet_netof.c: Likewise.
4151         * inet/rcmd.c: Likewise.
4152         * inet/rexec.c: Likewise.
4153         * inet/ruserpass.c: Likewise.
4155 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4157         * resolv/inet_addr.c: Remove _LIBC conditionals.
4158         * resolv/res_data.c: Likewise.
4159         * resolv/res_init.c: Likewise.
4160         * resolv/res_mkquery.c: Likewise.
4161         * resolv/res_libc.c: Update comment.
4162         * resolv/README: Update.
4164 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4166         * resolv/gethnamaddr.c: Remove SCSS keyword.
4167         * resolv/herror.c: Likewise.
4168         * resolv/inet_addr.c: Likewise.
4169         * resolv/inet_net_ntop.c: Likewise.
4170         * resolv/inet_net_pton.c: Likewise.
4171         * resolv/inet_neta.c: Likewise.
4172         * resolv/inet_ntop.c: Likewise.
4173         * resolv/inet_pton.c: Likewise.
4174         * resolv/ns_date.c: Remove RCS keyword.
4175         * resolv/ns_name.c: Likewise.
4176         * resolv/ns_netint.c: Likewise.
4177         * resolv/ns_parse.c: Likewise.
4178         * resolv/ns_print.c: Likewise.
4179         * resolv/ns_samedomain.c: Likewise.
4180         * resolv/ns_ttl.c: Likewise.
4181         * resolv/nsap_addr.c: Likewise.
4182         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4183         * resolv/res_data.c: Remove RCS keyword.
4184         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4185         * resolv/res_init.c: Likewise.
4186         * resolv/res_mkquery.c: Likewise.
4187         * resolv/res_query.c: Likewise.
4188         * resolv/res_send.c: Likewise.
4190 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4192         * conform/data/stdio.h-data (fdopen): Expect also for
4193         [XPG3 || XPG4].
4195         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4196         (fseeko): Likewise.
4197         (ftello): Likewise.
4198         (ftrylockfile): Likewise.
4199         (funlockfile): Likewise.
4200         (getc_unlocked): Likewise.
4201         (getchar_unlocked): Likewise.
4202         (putc_unlocked): Likewise.
4203         (putchar_unlocked): Likewise.
4205 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4207         [BZ #19868]
4208         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4209         DNS packet syntax checks (which were not needed before).  Skip
4210         over non-PTR records.
4212 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4214         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4215         definition.  Include <stddef.h> instead.
4217 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4219         [BZ #19831]
4220         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4221         function.
4222         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4223         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4225 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4227         [BZ #19862]
4228         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4229         (getanswer_r): Do not call syslog.
4230         (gaih_getanswer_slice): Likewise.
4231         * resolv/gethnamaddr.c (AskedForGot): Remove.
4232         (getanswer): Do not call syslog.
4233         (gethostbyaddr): Likewise.
4235 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4237         * conform/data/signal.h-data (union sigval): Expect also if
4238         [XOPEN2K].
4239         (struct sigevent): Likewise.
4240         (SIGEV_NONE): Likewise.
4241         (SIGEV_SIGNAL): Likewise.
4242         (SIGEV_THREAD): Likewise.
4243         (SIGRTMIN): Likewise.
4244         (SIGRTMAX): Likewise.
4245         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4246         variable.
4247         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4249 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4251         [BZ #19830]
4252         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4253         (gaih_getanswer_slice): Likewise.
4254         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4255         Also check for availability of RR metadata.
4257 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4259         [BZ #19825]
4260         * resolv/res_send.c (send_vc): Remove early *resplen2
4261         initialization.  Set *resplen2 on socket error.  Call
4262         close_and_return_error for other errors.
4264 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4266         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4267         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4268         (SCM_IUCV_TRGCLS): New define.
4270 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4272         [BZ #20005]
4273         * libio/fmemopen.c (fmemopen_write): Update internal position after
4274         write.
4275         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4276         * stdio-common/tst-fmemopen4.c: New file..
4278 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4280         [BZ #19996]
4281         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4282         not [__USE_XOPEN2K].
4283         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4284         variable.
4286         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4287         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4288         variable.
4290         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4291         [__USE_XOPEN2K8].
4292         [__USE_LARGEFILE64] (off64_t): Likewise.
4293         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4294         variable.
4296 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #19989]
4299         * libio/stdio.h (cuserid): Do not declare if
4300         [__USE_XOPEN2K && !__USE_GNU].
4301         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4302         variable.
4304 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4306         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4307         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4309         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4310         ifunc'ed strcspn.
4311         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4312         [EALIGN]: Removed.
4313         [END]: Likewise
4314         [STRSPN]: Define instead of the above to control symbol name.
4315         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4316         New file.
4317         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4318         Likewise.
4319         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4320         Likewise.
4321         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4322         Likewise.
4323         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4324         [INITIAL_MASK]: New macro.
4325         [STRCSPN]: Likewise.
4326         [UPDATE_MASK]: Likewise.
4327         [USE_AS_STRCSPN]: Lisewise.
4329 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4331         [BZ #19931]
4332         * stdio-common/tst-vfprintf-width-prec.c: New file.
4333         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4334         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4335         (generated): Add mtrace-related files.
4336         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4337         (tst-%-mem.out): New pattern rule, replaces
4338         tst-printf-bz18872-mem.out.
4339         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4340         specifier, deallocate any previously allocated work buffer.
4342 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4344         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4345         Add nop before __startcontext, add explaining comments.
4347 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4349         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4350         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4351         completely different API.
4353         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4354         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4355         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4356         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4357         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4358         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4359         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4360         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4361         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4362         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4364 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4366         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4368 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4370         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4371         when it is the default of 0.
4373 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4375         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4376         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4377         (sysdep_routines): Add new strcasestr targets.
4378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4379         (__libc_ifunc_impl_list): Likewise.
4380         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4381         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4382         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4383         * sysdeps/powerpc/powerpc64/power8/Makefile:
4384         New file to add strcasestr-ppc64 to sysdep_routines.
4385         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4386         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4388 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4390         * benchtests/Makefile (wcsmbs-benchset): Include only for
4391         native builds and runs.
4392         (LOCALES): Likewise.
4393         (bench-build): Build timing-type here instead of the bench
4394         target.  Generate locale only for native builds.
4395         * benchtests/README: Add note for cross-building.
4397         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4399         * benchtests/README: Update README to include instructions on
4400         using bench-build.
4402         * Makefile.in (bench-build): New target.
4403         * Rules (PHONY): Add bench-build target.
4404         * benchtests/Makefile (bench): Depend on bench-build.
4405         (bench-build): New target.
4407 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4409         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4410         profil_reply_port.
4411         (profile_waiter): Do not initialize profil_reply_port.
4412         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4413         frequency instead of tick length in us.
4415 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4417         [BZ #18712]
4418         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4419         (__old_mempcpy_small): Likewise.
4420         (__old_strcpy_small): Likewise.
4421         (__old_stpcpy_small): Likewise.
4422         (__old_strpbrk_c2): Fix compat symbol name.
4423         (__old_strpbrk_c3): Likewise.
4424         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4425         (__mempcpy_small): Remove.
4426         (__strcpy_small): Remove.
4427         (__stpcpy_small): Remove.
4429 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4431         [BZ #19400]
4432         * locale/iso-639.def: Add the Talossan/tzl language.
4434 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4436         [BZ #16983]
4437         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4438         comment.  Add "ln" to strchr check on postal_fmt.
4440 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4442         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4443         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4444         tel_dom_fmt.
4446 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4448         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4449         (sysdep_routines): Added __strlen_power8.
4450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4451         __strlen_power8 entry.
4452         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4453         Implementation for POWER8.
4454         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4455         for __strlen_power8.
4456         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4457         Implementation for POWER8.
4459 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4461         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4463 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4465         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4466         Goldmont and Airmont processors.
4468 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4470         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4471         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4472         (__STRING2_SMALL_GET32): Remove.
4473         (memset): Remove.
4474         (__memset_1): Remove.
4475         (__memset_gc): Remove.
4476         (__mempcpy): Remove.
4477         (mempcpy): Remove.
4478         (__mempcpy_args): Remove.
4479         (strchr): Remove.
4480         (strcpy): Remove.
4481         (strcpy_args): Remove.
4482         (__stpcpy_args): Remove.
4483         (__strcmp_cc): Remove.
4484         (__strcmp_gc): Remove.
4485         (strstr): Remove.
4487 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4489         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4490         * nis/nis_call.c (nis_server_cache_add): Likewise.
4492 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4494         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4496 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4498         * malloc/arena.c (__malloc_fork_lock_parent)
4499         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4500         internal_function attribute.
4502 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4504         * stdio-common/printf_fp.c (__printf_fp_l):
4505         Rename ___printf_fp_l to __printf_fp_l and
4506         remove strong alias. Use libc_hidden_def instead
4507         of ldbl_hidden_def macro.
4509 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4511         Remove malloc hooks from fork handler.  They are no longer needed
4512         because malloc runs right before fork, and no malloc calls from
4513         other fork handlers are not possible anymore.
4514         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4515         declarations.
4516         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4517         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4518         (atfork_recursive_cntr): Remove.
4519         (__malloc_fork_lock_parent): Do not override malloc hooks and
4520         thread_arena.
4521         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4522         thread_arena.
4523         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4524         thread_arena instead of save_arena.
4526 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4528         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4529         (thread_atfork, thread_atfork_static): Remove.
4530         * sysdeps/mach/hurd/malloc-machine.h:
4531         (thread_atfork, thread_atfork_static): Remove.
4533 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4535         [BZ #19431]
4536         Run the malloc fork handler as late as possible to avoid deadlocks.
4537         * malloc/malloc-internal.h: New file.
4538         * malloc/malloc.c: Include it.
4539         * malloc/arena.c (ATFORK_MEM): Remove.
4540         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4541         Update comment.
4542         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4543         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4544         Remove outdated comment.
4545         (ptmalloc_init): Do not call thread_atfork.  Remove
4546         thread_atfork_static.
4547         * malloc/tst-malloc-fork-deadlock.c: New file.
4548         * Makefile (tests): Add tst-malloc-fork-deadlock.
4549         (tst-malloc-fork-deadlock): Link against libpthread.
4550         * manual/memory.texi (Aligned Memory Blocks): Update safety
4551         annotation comments.
4552         * sysdeps/nptl/fork.c (__libc_fork): Call
4553         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4554         __malloc_fork_unlock_child.
4555         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4557 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4559         [BZ #19613]
4560         Remove union wait.
4561         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4562         (w_stopsig, w_stopval): Remove.
4563         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4564         stat_loc argument.
4565         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4566         (__WAIT_STATUS_DEFN): Remove.
4567         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4568         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4569         (wait, wait3, wait4): Use int * for the stat_loc argument.
4570         * posix/wait.c (__wait): Likewise.
4571         * posix/wait3.c (__wait3): Likewise.
4572         * posix/wait4.c (__wait4): Likewise.
4573         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4574         (__WAIT_STATUS_DEFN): Remove.
4575         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4576         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4577         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4578         argument.
4579         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4580         * sysdeps/posix/wait3.c (__wait3): Likewise.
4581         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4582         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4583         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4584         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4585         stat_loc argument.
4586         * manual/process.texi (BSD Wait Functions): Remove union wait.
4588 2016-04-13  Andreas Schwab  <schwab@suse.de>
4590         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4591         (test-extras): Add tst-tlsalign-vars.
4592         * math/Makefile: Wrap long lines.
4593         (libm-vec-test-wrappers): Define.
4594         (test-extras): Add $(libm-vec-test-wrappers).
4595         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4596         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4597         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4598         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4599         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4600         (extra-test-objs): Add corresponding objects.
4602 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4604         [BZ #19928]
4605         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4606         New.
4607         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4608         times of shared cache size.
4609         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4610         (VMOVNT): New.
4611         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4612         (VMOVNT): Likewise.
4613         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4614         (VMOVNT): Likewise.
4615         (VMOVU): Changed to movups for smaller code sizes.
4616         (VMOVA): Changed to movaps for smaller code sizes.
4617         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4618         comments.
4619         (PREFETCH): New.
4620         (PREFETCH_SIZE): Likewise.
4621         (PREFETCHED_LOAD_SIZE): Likewise.
4622         (PREFETCH_ONE_SET): Likewise.
4623         Rewrite to use forward and backward loops, which move 4 vector
4624         registers at a time, to support overlapping addresses and use
4625         non temporal store if size is above the threshold and there is
4626         no overlap between destination and source.
4628 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4630         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4631         Include dl-vdso.
4632         * sysdeps/unix/sysv/linux/mips/Versions: Add
4633         __vdso_clock_gettime.
4634         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4635         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4636         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4637         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4638         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4639         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4640         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4641         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4642         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4644 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4646         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4647         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4650         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4651         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4654         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4655         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4656         syscalls generation.
4657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4658         [__NR_pwrite64] (__NR_write): Remove define.
4659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4660         [__NR_pwrite64] (__NR_write): Remove define.
4661         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4662         Remove define.
4663         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4664         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4665         Remove define.
4666         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4667         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4668         Linux implementation as base.
4669         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4671         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4672         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4673         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4677         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4679         syscall generation.
4680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4681         [__NR_pread64] (__NR_pread): Remove define.
4682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4683         [__NR_pread64] (__NR_pread): Likewise.
4684         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4685         define.
4686         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4687         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4688         Remove define.
4689         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4690         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4691         Linux implementation as base.
4692         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4693         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4694         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4696         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4697         definition.
4698         (__ALIGNMENT_COUNT): Likewise.
4699         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4700         (__ALIGNMENT_COUNT): Likewise.
4701         (SYSCALL_LL): New define.
4702         (SYSCALL_LL64): Likewise.
4703         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4704         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4705         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4706         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4708         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4709         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4711         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4712         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4713         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4715 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4717         [BZ #19865]
4718         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4719         original buffer before retry.
4721 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4723         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4724         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4725         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4726         GLRO(dl_auxv) list.
4727         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4728         including <ldsodefs.h>.
4729         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4731 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4733         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4734         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4735         $(CPPFLAGS).
4737 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4739         [BZ #17950]
4740         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4741         Add -mfpmath=387.
4743 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4745         * sysdeps/i386/configure.ac: Change == to = when calling test.
4746         * sysdeps/x86_64/configure.ac: Likewise.
4747         * sysdeps/i386/configure: Regenerated.
4748         * sysdeps/x86_64/configure: Likewise.
4750 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4752         [BZ #16137]
4753         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4754         * benchtests/bench-strcoll.c (input_files): Likewise.
4755         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4756         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4757         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4759 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4761         [BZ #19929]
4762         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4763         [__USE_XOPEN2K8 && !__USE_GNU].
4764         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4765         variable.
4767         [BZ #19925]
4768         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4769         define if [!__USE_MISC && __USE_XOPEN2K].
4770         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4771         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4772         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4773         Likewise.
4774         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4775         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4776         variable.
4777         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4779 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4781         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4782         (sysdep_routines): Add new strspn targets.
4783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4784         (__libc_ifunc_impl_list): Add strspn.
4785         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4786         New file.
4787         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4788         Likewise.
4789         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4790         Likewise.
4791         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4792         Likewise.
4794 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4796         * misc/hsearch_r.c: Include <limits.h>.
4798 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4800         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4802 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4804         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4805         (MEMCPY_SYMBOL): New.
4806         (MEMPCPY_SYMBOL): Likewise.
4807         (MEMMOVE_CHK_SYMBOL): Likewise.
4808         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4809         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4810         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4811         Provide alias for memcpy in libc.a and ld.so.
4813 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4815         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4816         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4817         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4818         Disabled fro now.
4819         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4820         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4822 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4824         * benchtests/Makefile (string-benchset): Add memcpy-large,
4825         memmove-large and memset-large.
4826         * benchtests/bench-memcpy-large.c: New file.
4827         * benchtests/bench-memmove-large.c: Likewise.
4828         * benchtests/bench-memmove-large.c: Likewise.
4829         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4831 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4833         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4834         32-bit displacement to avoid long nop between instructions.
4836 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4838         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4839         a comment on VMOVU and VMOVA.
4841 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4843         [BZ #19633]
4844         Use specified locale for number formatting in strfmon_l.
4845         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4846         (__nl_lookup_word): New inline functions.
4847         * include/printf.h (__print_fp_l): Declare.
4848         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4849         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4850         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4851         (___printf_fp): New function.
4852         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4853         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4854         * stdlib/tst-strfmon_l.c (do_test): New test.
4855         * stdlib/Makefile (tests): Add kt.
4856         (LOCALES): Build additional locales.
4857         (tst-strfmon_l.out): Require locales.
4859 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4861         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4862         if not in libc.
4863         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4864         Likewise.
4865         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4866         Likewise.
4867         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4868         Likewise.
4870 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4872         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4873         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4874         with unaligned_erms.
4875         (__memmove_erms): Skip if source == destination.
4876         (__memmove_unaligned_erms): Don't check source == destination
4877         first.
4879 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4881         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4882         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4884 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4886         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4887         * string/strspn.c (strspn): Likewise.
4889 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4891         * benchtests/bench-memset.c (do_test): Support 64-byte
4892         alignment.
4893         (test_main): Test 64-byte alignment.
4895 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4897         * benchtests/bench-memmove.c (test_main): Test 64-byte
4898         alignment.
4900 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4902         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4904 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4906         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4907         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4908         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4910         * string/strpbrk.c (strpbrk): Rewrite function.
4911         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4912         (__strpbrk_c2): Likewise.
4913         (__strpbrk_c3): Likewise.
4914         * string/string-inlines.c
4915         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4916         Likewise.
4917         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4918         Likewise.
4920         * string/strspn.c (strcspn): Rewrite function.
4921         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4922         (__strspn_c1): Remove inline function.
4923         (__strspn_c2): Likewise.
4924         (__strspn_c3): Likewise.
4925         * string/string-inlines.c
4926         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4927         compatibility symbol.
4928         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4929         Likewise.
4930         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4931         Likewise.
4932         * string/string-inlines.c: Include generic version.
4934 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4935             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4937         * string/Version (libc): Add GLIBC_2.24.
4938         * string/strcspn.c (strcspn): Rewrite function.
4939         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4940         (__strcspn_c1): Remove inline function.
4941         (__strcspn_c2): Likewise.
4942         (__strcspn_c3): Likewise.
4943         * string/string-inline.c
4944         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4945         compatibility symbol.
4946         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4947         Likewise.
4948         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4949         Likewise.
4950         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4952 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4954         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4955         Use ahi instead of aghi to adjust stack pointer.
4957 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4959         [BZ #19853]
4960         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4961         TEST to take significant digits as second parameter.
4962         [TEST]: Redefine in terms of TEST_N taking 30
4963         significant digits.
4964         (do_test): Add test case to demonstrate precision
4965         failure in the ldbl-128ibm printf.
4966         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4967         (__mpn_extract_long_double): Carry 7 extra intermediate
4968         bits of precision to aide computing difference when
4969         signs differ.
4971 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4973         [BZ #19881]
4974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4975         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4976         memset-avx512-unaligned-erms.
4977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4978         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4979         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4980         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4981         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4982         __memset_sse2_unaligned_erms, __memset_erms,
4983         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4984         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4985         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4986         file.
4987         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4988         Likewise.
4989         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4990         Likewise.
4991         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4992         Likewise.
4994 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4996         [BZ #19776]
4997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4998         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4999         memmove-avx512-unaligned-erms.
5000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5001         (__libc_ifunc_impl_list): Test
5002         __memmove_chk_avx512_unaligned_2,
5003         __memmove_chk_avx512_unaligned_erms,
5004         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5005         __memmove_chk_sse2_unaligned_2,
5006         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5007         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5008         __memmove_avx512_unaligned_erms, __memmove_erms,
5009         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5010         __memcpy_chk_avx512_unaligned_2,
5011         __memcpy_chk_avx512_unaligned_erms,
5012         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5013         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5014         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5015         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5016         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5017         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5018         __mempcpy_chk_avx512_unaligned_erms,
5019         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5020         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5021         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5022         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5023         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5024         __mempcpy_erms.
5025         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5026         file.
5027         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5028         Likwise.
5029         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5030         Likwise.
5031         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5032         Likwise.
5034 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5036         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5037         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5038         (La_s390_64_regs): Likewise.
5039         (La_s390_32_retval): Append vector register lrv_v24.
5040         (La_s390_64_retval): Likeweise.
5041         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5042         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5043         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5044         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5046 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5048         [BZ #19916]
5049         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5050         to create a non-vector/vector version for _dl_runtime_resolve and
5051         _dl_runtime_profile. Move implementation to ...
5052         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5053         (_dl_runtime_resolve) Save and restore fpr/vrs.
5054         (_dl_runtime_profile) Save and restore vrs and fix some issues
5055         if _dl_call_pltexit is called.
5056         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5057         Choose the correct resolver function if running on a machine with vx.
5058         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5059         to create a non-vector/vector version for _dl_runtime_resolve and
5060         _dl_runtime_profile. Move implementation to ...
5061         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5062         (_dl_runtime_resolve) Save and restore fpr/vrs.
5063         (_dl_runtime_profile) Save and restore vrs and fix some issues
5064         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5065         Choose the correct resolver function if running on a machine with vx.
5067 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5069         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5071 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5073         [BZ #19509]
5074         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5075         skip_map != NULL.
5076         * elf/tst-dlsym-error.c: New file.
5077         * elf/Makefile (tests): Add tst-dlsym-error.
5078         (tst-dlsym-error): Link against libdl.
5080 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5083         (__ASSUME_FUTIMESAT): Remove macro.
5084         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5086 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5088         [BZ #19879]
5089         CVE-2016-3075
5090         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5091         copy name.
5093 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5095         [BZ #19837]
5096         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5097         error if parse_line fails.
5099 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5101         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5102         (index_cpu_ERMS): Likewise.
5103         (reg_ERMS): Likewise.
5105 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5107         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5108         PER_LINUX_FDPIC): Add.
5110 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5113         memcpy-avx512-no-vzeroupper.
5114         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5115         to ...
5116         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5117         (MEMCPY): Don't define.
5118         (MEMCPY_CHK): Likewise.
5119         (MEMPCPY): Likewise.
5120         (MEMPCPY_CHK): Likewise.
5121         (MEMPCPY_CHK): Renamed to ...
5122         (__mempcpy_chk_avx512_no_vzeroupper): This.
5123         (MEMPCPY_CHK): Renamed to ...
5124         (__mempcpy_chk_avx512_no_vzeroupper): This.
5125         (MEMCPY_CHK): Renamed to ...
5126         (__memmove_chk_avx512_no_vzeroupper): This.
5127         (MEMCPY): Renamed to ...
5128         (__memmove_avx512_no_vzeroupper): This.
5129         (__memcpy_avx512_no_vzeroupper): New alias.
5130         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5132 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5134         [BZ #18858]
5135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5136         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5137         and mempcpy-avx512-no-vzeroupper.
5138         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5139         New.
5140         (MEMPCPY): Likewise.
5141         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5142         (MEMPCPY_CHK): New.
5143         (MEMPCPY): Likewise.
5144         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5145         (MEMPCPY): Likewise.
5146         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5147         (MEMPCPY): Likewise.
5148         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5149         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5150         Likewise.
5151         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5152         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5154 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5155              Amit Pawar  <Amit.Pawar@amd.com>
5157         [BZ #19583]
5158         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5159         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5160         processors.  Set Fast_Copy_Backward for AMD Excavator
5161         processors.
5162         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5163         New.
5164         (index_arch_Fast_Unaligned_Copy): Likewise.
5165         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5166         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5168 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5170         [BZ #19791]
5171         * resolv/res_send.c (close_and_return_error): New function.
5172         (send_dg): Initialize *resplen2 after reopen failure.  Call
5173         close_and_return_error for error returns.  On error paths without
5174         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5175         successful return.
5177 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5179         [BZ# 19860]
5180         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5181         zero if the compiler does not provide the AVX512F bit.
5183 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5185         [BZ #19848]
5186         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5187         from 8 to 4.
5188         (__ieee754_powl): Compare integer exponent against 4 not 8.
5189         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5190         from 8 to 4.
5191         (__ieee754_powl): Compare integer exponent against 4 not 8.
5192         * math/auto-libm-test-in: Add more tests of pow.
5193         * math/auto-libm-test-out: Regenerated.
5194         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5197 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5199         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5200         Make code unconditional.
5201         [!__NR_utimensat]: Remove conditional code.
5202         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5203         Make code unconditional.
5204         [!__NR_utimensat]: Remove conditional code.
5205         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5206         Make code unconditional.
5207         [!__NR_utimensat]: Remove conditional code.
5209 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5211         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5212         Make code unconditional.
5214 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5216         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5217         call-clobbered %eax on retry path.
5218         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5220 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5222         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5223         Don't set %rcx twice before "rep movsb".
5225 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5227         [BZ #19583]
5228         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5229         inline.  Check family before setting family, model and
5230         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5231         bits here.
5232         (init_cpu_features): Replace HAS_CPU_FEATURE and
5233         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5234         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5235         for Intel processors with usable AVX2.  Call get_common_indeces
5236         for other processors with family == NULL.
5237         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5238         (CPU_FEATURES_ARCH_P): Likewise.
5239         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5240         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5242 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5244         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5245         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5246         $(shared-thread-library) instead of hardcoding the path to libpthread.
5248 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5250         * sysdeps/unix/sysv/linux/kernel-features.h
5251         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5252         * sysdeps/unix/sysv/linux/getdents.c
5253         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5254         [!have_no_getdents64_defined]: Likewise.
5255         (__GETDENTS): Remove __have_no_getdents64 conditional.
5257 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5259         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5260         Remove macro.
5261         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5262         <kernel-features.h>.
5263         (signalfd) [__NR_signalfd4]: Make code unconditional.
5264         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5266 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5268         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5269         style.
5271 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5273         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5274         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5275         __pthread_unwind.
5276         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5277         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5278         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5279         (__condvar_cleanup1): Likewise.
5281 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5283         [BZ #19822]
5284         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5285         move it to the final $@ location.
5287 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5289         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5290         access where posix_spawn success and pid argument is null.
5291         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5292         success case.
5294 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5296         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5298         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5300         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5301         and __fcntl.
5302         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5303         __fcntl only.
5304         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5305         adding attribute_hidden to __open and __fcntl.
5307         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5308         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5309         depend on libc-modules.h,
5310         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5312 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5314         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5315         Remove macro.
5316         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5317         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5318         entry.
5320         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5321         Remove macro.
5322         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5323         include <kernel-features.h>.
5324         [!__ASSUME_FALLOCATE]: Remove conditional code.
5325         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5327 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5330         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5332         (_ZGVdN4v_cos_avx2): Likewise.
5333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5334         (_ZGVdN4v_cos): Likewise.
5335         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5336         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5337         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5338         (_ZGVdN4v_exp_avx2): Likewise.
5339         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5340         (_ZGVdN4v_exp): Likewise.
5341         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5342         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5343         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5344         (_ZGVdN4v_log_avx2): Likewise.
5345         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5346         (_ZGVdN4v_log): Likewise.
5347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5348         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5350         (_ZGVdN4vv_pow_avx2): Likewise.
5351         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5352         (_ZGVdN4vv_pow): Likewise.
5353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5354         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5356         (_ZGVdN4v_sin_avx2): Likewise.
5357         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5358         (_ZGVdN4v_sin): Likewise.
5359         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5360         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5362         (_ZGVdN4vvv_sincos_avx2): Likewise.
5363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5364         (_ZGVdN4vvv_sincos): Likewise.
5365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5366         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5368         (_ZGVbN4v_cosf_sse4): Likewise.
5369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5370         (_ZGVdN8v_cosf_avx2): Likewise.
5371         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5372         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5374         (_ZGVbN4v_expf_sse4): Likewise.
5375         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5376         (_ZGVdN8v_expf_avx2): Likewise.
5377         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5378         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5379         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5380         (_ZGVbN4v_logf_sse4): Likewise.
5381         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5382         (_ZGVdN8v_logf_avx2): Likewise.
5383         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5384         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5385         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5386         (_ZGVbN4vv_powf_sse4): Likewise.
5387         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5388         (_ZGVdN8vv_powf_avx2): Likewise.
5389         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5390         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5392         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5394         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5395         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5396         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5398         (_ZGVbN4v_sinf_sse4): Likewise.
5399         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5400         (_ZGVdN8v_sinf_avx2): Likewise.
5401         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5402         Use JUMPTARGET to call callee.
5403         (WRAPPER_IMPL_SSE2_ff): Likewise.
5404         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5405         (WRAPPER_IMPL_AVX): Likewise.
5406         (WRAPPER_IMPL_AVX_ff): Likewise.
5407         (WRAPPER_IMPL_AVX_fFF): Likewise.
5408         (WRAPPER_IMPL_AVX512): Likewise.
5409         (WRAPPER_IMPL_AVX512_ff): Likewise.
5410         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5411         Likewise.
5412         (WRAPPER_IMPL_SSE2_ff): Likewise.
5413         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5414         (WRAPPER_IMPL_AVX): Likewise.
5415         (WRAPPER_IMPL_AVX_ff): Likewise.
5416         (WRAPPER_IMPL_AVX_fFF): Likewise.
5417         (WRAPPER_IMPL_AVX512): Likewise.
5418         (WRAPPER_IMPL_AVX512_ff): Likewise.
5419         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5421 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5423         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5424         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5425         qualifier.
5426         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5427         internal_function qualifiers.
5429 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5431         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5432         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5433         * math/atest-exp.c (exp_mpn): Mark chk unused.
5434         * math/atest-exp2.c (exp_mpn): Likwise.
5435         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5436         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5438 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5441         Remove macro.
5442         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5443         <kernel-features.h>.
5444         [__NR_ppoll]: Make code unconditional.
5445         [!__ASSUME_PPOLL]: Remove conditional code.
5447         * sysdeps/unix/sysv/linux/kernel-features.h
5448         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5449         (__ASSUME_ACCEPT4): Likewise.
5450         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5451         Define.
5452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5453         Likewise.
5454         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5455         Likewise.
5456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5457         Likewise.
5458         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5459         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5460         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5461         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5462         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5463         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5464         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5465         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5466         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5467         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5468         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5469         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5470         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5472         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5474         Likewise.
5475         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5476         Likewise.
5477         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5478         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5479         0x040300].
5480         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5481         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5482         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5483         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5484         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5485         0x030300].
5486         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5488         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5489         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5490         0x040300].
5491         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5492         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5494         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5496         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5497         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5498         0x030300].
5499         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5500         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5501         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5502         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5503         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5504         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5505         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5506         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5507         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5508         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5509         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5510         0x040300].
5511         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5512         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5513         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5514         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5515         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5516         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5517         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5518         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5521         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5522         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5525         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5526         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5527         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5528         Likewise.
5529         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5530         Likewise.
5532 2016-03-15  Andreas Schwab  <schwab@suse.de>
5534         [BZ #19257]
5535         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5536         statp->_u._ext.nscount as loop count.
5538 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5540         * math/test-signgam-finite-c99.c: Also #undef
5541         __LIBC_INTERNAL_MATH_INLINES.
5542         * math/test-signgam-main.c: Likewise.
5544 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5546         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5547         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5548         (MADV_FREE): Likewise.
5549         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5550         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5551         EPOLLEXCLUSIVE.
5553 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5555         * timezone/README: Remove mention of checktab.awk. Mention wiki
5556         SharedSourceFiles.
5558 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5560         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5561         WUNTRACED.
5563 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5565         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5566         order to match the type of p when calling atomic_exchange_acq().
5568 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5570         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5571         cfi_offset calls.
5572         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5573         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5574         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5575         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5576         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5578 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5580         * timezone/checktab.awk: Removed.
5582 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5584         * manual/math.texi (Errors in Math Functions): Document relaxed
5585         accuracy goals for IBM long double.
5586         * math/libm-test.inc (test_exceptions): Always allow spurious
5587         "underflow" and "inexact" exceptions for IBM long double.
5589 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5591         [BZ #19762]
5592         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5593         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5594         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5595         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5596         (bit_arch_*): This for feature array.
5597         (bit_*): Renamed to ...
5598         (bit_cpu_*): This for cpu array.
5599         (index_*): Renamed to ...
5600         (index_arch_*): This for feature array.
5601         (index_*): Renamed to ...
5602         (index_cpu_*): This for cpu array.
5603         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5604         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5605         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5606         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5607         bit_##name with index_cpu_##name and bit_cpu_##name.
5608         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5609         bit_##name with index_arch_##name and bit_arch_##name.
5611 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5613         [BZ #19792]
5614         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5615         Terminate FDE before return label.
5617 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5619         [BZ #19790]
5620         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5621         (rintl): Define as macro.
5622         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5623         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5624         of fesetround.  Ensure results are evaluated before end of scope.
5625         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5626         USE_AS_NEARBYINTL and include s_rintl.c.
5627         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5628         Disable exception traps in new environment.
5629         (libc_feholdsetround_ppc_ctx): Likewise.
5631 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5633         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5634         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5635         (tst_audit10_aux) [__AVX512F__]: ... here.
5637 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5639         * include/sys/auxv.h: New file.
5641 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5643         [BZ #19759]
5644         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5646 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5648         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5649         operand modifier.
5650         (feclearexcept): Likewise.
5652 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5654         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5655         to reflect the entire 32-bit HWCAP.
5656         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5657         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5659 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5661         [BZ #19783]
5662         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5663         $(test-via-rtld-prefix).
5664         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5666 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5668         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5669         union wait.  Report any non-zero exit status as error.
5671 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5673         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5674         configured with --enable-hardcoded-path-in-tests.
5676 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5678         [BZ #19677]
5679         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5680         (__ieee754_remainderl): Put zero low parts in canonical form.
5681         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5682         file.  Based on
5683         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5684         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5685         with wrapper round test-fmodrem-ldbl-128ibm.c.
5686         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5687         file.
5688         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5689         Likewise.
5690         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5691         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5693 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5695         [BZ #19610]
5696         * elf/ldconfig.c (opt_link): Update comment.
5697         (options): Update help string for option -X.
5698         (search_dir): Unlink stale symbolic link only if updating symbolic
5699         links.
5700         * elf/tst-ldconfig-X.sh: New file.
5701         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5702         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5704 2016-03-07  Andreas Schwab  <schwab@suse.de>
5706         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5707         needed arguments.
5709 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5711         [BZ #15333]
5712         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5713         to lstat64.
5715 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5717         * libio/filedoalloc.c (isatty): Remove.
5718         (local_isatty): Add comment.  Call __isatty directly.
5719         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5720         * libio/wfiledoalloc.c (isatty): Remove.
5721         (_IO_wfile_doallocate): Update comment.
5723 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5725         [BZ #19269]
5726         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5727         tst-audit4-aux.o.
5728         (tst-audit10): Depend on tst-audit10-aux.o.
5729         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5730         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5731         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5732         instead of inline AVX code.
5733         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5734         instead of inline AVX512 code.
5735         * sysdeps/x86_64/tst-audit4-aux.c: New file
5736         * sysdeps/x86_64/tst-audit10-aux.c: New file
5738         [BZ #19648]
5739         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5741 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5743         [BZ #14750]
5744         [BZ #10354]
5745         [BZ #18433]
5746         * include/sched.h (__clone): Add hidden prototype.
5747         (__clone2): Likewise.
5748         * include/unistd.h (__dup): Likewise.
5749         * posix/Makefile (tests): Add tst-spawn2.
5750         * posix/tst-spawn2.c: New file.
5751         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5752         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5753         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5754         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5755         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5756         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5757         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5758         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5759         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5760         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5761         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5763         Likewise.
5764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5765         Likewise.
5766         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5767         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5768         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5769         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5770         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5771         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5772         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5773         * sysdeps/unix/sysv/linux/nptl-signals.h
5774         (____nptl_is_internal_signal): New function.
5775         * sysdeps/unix/sysv/linux/spawni.c: New file.
5777         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5778         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5779         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5780         * posix/tst-execvp2.c (do_test): Likewise.
5781         * posix/tst-execvp3.c (do_test): Likewise.
5782         * posix/tst-execvp4.c (do_test): Likewise.
5783         * posix/tst-execvpe1.c: New file.
5784         * posix/tst-execvpe2.c: Likewise.
5785         * posix/tst-execvpe3.c: Likewise.
5786         * posix/tst-execvpe4.c: Likewise.
5787         * posix/tst-execvpe5.c: Likewise.
5788         * posix/tst-execvpe6.c: Likewise.
5790         [BZ #19534]
5791         * posix/execl.c (execl): Remove dynamic memory allocation.
5792         * posix/execle.c (execle): Likewise.
5793         * posix/execlp.c (execlp): Likewise.
5795 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5797         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5798         Replace .text with .text.avx512.
5799         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5800         Likewise.
5802 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5804         * sysdeps/generic/libnsl.abilist: New file.
5805         * sysdeps/generic/libutil.abilist: New file.
5807 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5809         [BZ #19762]
5810         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5811         HAS_ARCH_FEATURE with Fast_Rep_String.
5812         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5813         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5814         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5815         Likewise.
5816         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5817         Likewise.
5818         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5819         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5820         Likewise.
5821         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5822         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5823         Likewise.
5825 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5827         [BZ #19745]
5828         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5829         with *%rax in call.
5831 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5833         [BZ #19745]
5834         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5835         with *__libc_start_main@GOTPCREL(%rip) in call.
5837 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5839         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5840         inside conditional for nonempty $(CXX).
5842         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5843         nonempty.
5845         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5846         to test for empty $(CXX) rather than $(CXX) of "no".
5848 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5850         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5852 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5853             H.J. Lu  <hongjiu.lu@intel.com>
5855         [BZ #18880]
5856         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5857         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5858         enable __memcpy_ssse3_back.
5860 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5862         [BZ #19758]
5863         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5864         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5866 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5868         [BZ #19490]
5869         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5870         (__fentry__): Likewise.
5872 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5874         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5875         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5877 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5879         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5880         __mcount_internal directly.
5881         (C_LABEL(__fentry__)): Likewise.
5882         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5883         directly.
5885 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5887         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5888         (__start_context): Call __setcontext directly.
5890 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5892         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5893         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5894         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5895         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5896         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5897         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5898         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5899         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5900         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5901         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5902         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5903         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5904         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5905         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5906         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5907         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5908         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5910         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5911         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5912         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5913         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5914         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5915         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5916         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5917         Remove conditional code.
5918         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5919         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5920         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5921         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5922         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5923         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5924         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5925         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5926         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5927         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5928         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5929         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5931 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5933         * NEWS (2.23): Fix typo in bug 19048 text.
5935 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5937         [BZ #14259]
5938         * Makeconfig: Rename msgcatdir to localedir.
5939         Rename inst_msgcatdir to inst_localedir.
5940         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5941         * config.make.in: Add localedir.
5942         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5943         (ldd-rewrite): Likewise.
5944         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5945         (install-others): Use inst_localedir.
5946         (CPPFLAGS): Use localedir.
5947         * locale/Makefile (locale-CPPFLAGS): Likewise.
5948         * po/Makefile (mo-installed): Use inst_localedir.
5950         [BZ #19575]
5951         * localedata/charmaps/GB18030: Update comments regarding PAU to
5952         non-PUA mappings.
5954 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5956         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5957         test for header.
5958         * sysdeps/unix/sysv/linux/configure: Regenerated.
5959         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5960         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5961         Remove conditional code.
5962         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5964         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5965         Define to 3.2.0.
5966         (arch_minimum_kernel): Likewise.
5967         * sysdeps/unix/sysv/linux/configure: Regenerated.
5968         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5969         Define to 2.6.32.
5970         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5971         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5972         (arch_minimum_kernel): Define to 2.6.32.
5973         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5974         * README: Document Linux 3.2 requirement.
5975         * manual/install.texi (Linux): Document Linux 3.2 headers
5976         requirement.
5977         * INSTALL: Regenerated.
5979 2016-02-24  Andreas Schwab  <schwab@suse.de>
5981         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5982         if !NO_LONG_DOUBLE.
5984 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5986         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5987         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5989 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5991         [BZ #19512]
5992         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5994 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5996         * posix/tst-dir.c: Include libc-internal.h.
5998 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6000         [BZ #19056]
6001         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6002         * manual/filesys.texi (Reading/Closing Directory): Mention
6003         deprecaion.
6004         * posix/tst-dir.c (main): Disable deprecation warning in test.
6006 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6008         [BZ #19679]
6009         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6010         Renamed to ...
6011         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6012         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6013         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6014         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6015         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6016         * sysdeps/x86_64/dl-trampoline.h
6017         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6018         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6020 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6022         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6024 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6026         * elf/elf.h (R_386_GOT32X): New.
6027         (R_386_NUM): Update.
6028         (R_X86_64_GOTPCRELX: New.
6029         (R_X86_64_REX_GOTPCRELX): New.
6030         (R_X86_64_NUM): Update.
6032 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6034         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6036 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6038         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6039         assign attr->stackaddr to it, and adjust it down when
6040         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6041         [_STACK_GROWS_UP]: Delete assert.
6042         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6043         Implement stack grows up logic.
6044         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6045         stack grows up logic.
6047 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6049         * NEWS: Update with 2.24 template.
6051 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6053         [BZ #19678]
6054         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6055         Ensure +0.0 is returned when taking the next value below the least
6056         positive value.
6058 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6060         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6061         available.  Do not define NO_THREADS.
6062         * malloc/malloc.c: Do not check NO_THREADS.
6063         * malloc/arena.c: Likewise.
6065 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6067         * malloc/malloc.c (__libc_mallinfo): Update comment.
6068         (struct malloc_par): Remove max_total_mem member, it was always 0.
6069         (int_mallinfo): Store 0 into usmblks (no functional change).
6070         * malloc/hooks.c (struct malloc_state): Document that
6071         max_total_mem is always 0.
6072         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6073         always 0.
6074         * manual/memory.texi (Statistics of Malloc): Likewise.
6076 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6078         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6079         * malloc/arena.c (arena_max): Remove.
6080         (heap_trim, _int_new_arena): Do not update arena_max.
6082 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6084         * resolv/res_init.c (res_ninit): Update comment.
6086 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6088         [BZ #19505]
6089         * posix/spawn_int.h: Add headers and include guard.
6090         (__spawn_valid_fd): New function.
6091         * posix/spawn_faction_addopen.c
6092         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6093         * posix/spawn_faction_addclose.c
6094         (posix_spawn_file_actions_addclose): Likewise.
6095         * posix/spawn_faction_adddup2.c
6096         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6097         second file descriptor.
6098         * posix/spawn_valid_fd.c: New file.
6099         * posix/tst-posix_spawn-fd.c: New file.
6100         * posix/Makefile (routines): Add spawn_valid_fd.
6101         (tests): Add tst-posix_spawn-fd.
6103 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6105         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6106         (do_test): Limit the number of arenas, so that we can use fewer
6107         outer threads.  Limit timeout to 3 seconds, in preparation for a
6108         larger TIMEOUT value.
6110 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6112         [BZ #19674]
6113         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6114         sign in overflowing and underflowing results when overflow or
6115         underflow is detected early.  Include sign in result before rather
6116         than after scaling.
6118         [BZ #19603]
6119         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6120         (__ieee754_remainderl): Adjust sign of integer version of low part
6121         when taking absolute value of high part.
6122         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6123         * math/libm-test.inc (remainder_test_data): Add another test.
6124         (remquo_test_data): Likewise.
6126 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6128         [BZ #19602]
6129         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6130         equal high parts and both low parts zero specially.
6131         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6132         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6133         Add test-fmodl-ldbl-128ibm.
6135         [BZ #19595]
6136         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6137         common logic for all cases of shifting subnormal results.  Do not
6138         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6139         exponent to ldbl_insert_mantissa in subnormal case.
6141         [BZ #19594]
6142         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6143         on high and low parts then adjust result and use
6144         ldbl_canonicalize_int if needed.
6146         [BZ #19593]
6147         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6148         on high part and __floor or __ceil on low part then use
6149         ldbl_canonicalize_int if needed.
6151         [BZ #19592]
6152         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6153         high and low parts then use ldbl_canonicalize_int if needed.
6155         [BZ #17899]
6156         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6157         New function.
6158         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6159         on high and low parts then use ldbl_canonicalize_int if needed.
6161 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6163         * configure: Regenerated.
6165         * po/libc.pot: Regenerated.
6167         * po/be.po: Updated translation.
6168         * po/bg.po: Likewise.
6169         * po/ca.po: Likewise.
6170         * po/cs.po: Likewise.
6171         * po/da.po: Likewise.
6172         * po/el.po: Likewise.
6173         * po/eo.po: Likewise.
6174         * po/es.po: Likewise.
6175         * po/fi.po: Likewise.
6176         * po/fr.po: Likewise.
6177         * po/gl.po: Likewise.
6178         * po/hr.po: Likewise.
6179         * po/hu.po: Likewise.
6180         * po/ia.po: Likewise.
6181         * po/id.po: Likewise.
6182         * po/it.po: Likewise.
6183         * po/ja.po: Likewise.
6184         * po/lt.po: Likewise.
6185         * po/nb.po: Likewise.
6186         * po/nl.po: Likewise.
6187         * po/pt_BR.po: Likewise.
6188         * po/rw.po: Likewise.
6189         * po/sk.po: Likewise.
6190         * po/sl.po: Likewise.
6191         * po/sv.po: Likewise.
6192         * po/tr.po: Likewise.
6193         * po/zh_CN.po: Likewise.
6194         * po/zh_TW.po: Likewise.
6196         * version.h (RELEAES): Set to "development".
6197         (VERSION): Set to 2.23.90.
6199         * version.h (RELEASE): Set to "stable".
6200         (VERSION): Set to 2.23.
6201         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6203         * NEWS: Updated fixed bugs.
6205 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6206             Wilco Dijkstra  <wdijkstr@arm.com>
6208         [BZ #19462]
6209         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6210         (_STRING_INLINE_unaligned): This.
6211         * include/string.h: Include <string_private.h>.
6212         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6213         _STRING_INLINE_unaligned.
6214         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6215         (_STRING_INLINE_unaligned): New.
6216         * sysdeps/aarch64/string_private.h: New file.
6217         * sysdeps/generic/string_private.h: Likewise.
6218         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6219         * sysdeps/s390/string_private.h: Likewise.
6220         * sysdeps/x86/string_private.h: Likewise.
6221         * sysdeps/m68k/m680x0/m68020/bits/string.h
6222         (_STRING_ARCH_unaligned): Renamed to ...
6223         (_STRING_INLINE_unaligned): This.
6224         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6225         to ...
6226         (_STRING_INLINE_unaligned): This.
6227         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6228         to ...
6229         (_STRING_INLINE_unaligned): This.
6230         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6231         to ...
6232         (_STRING_INLINE_unaligned): This.
6234 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6235             H.J. Lu  <hongjiu.lu@intel.com>
6237         [BZ #19590]
6238         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6239         relocation.
6241 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6243         [BZ #18665]
6244         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6245         *herrno_p.
6246         (gaih_getanswer): Document functional behviour. Return tryagain
6247         if any result is tryagain.
6248         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6249         when freed.
6250         * resolv/res_send.c: Add copyright text.
6251         (__libc_res_nsend): Document that MAXPACKET is expected.
6252         (send_vc): Document. Remove buffer reuse.
6253         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6254         size of the buffer. Add Dprint for truncated UDP buffer.
6256 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6258         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6259         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6260         * INSTALL: Regenerate.
6262 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6263             Jonathan Wakely  <jwakely@redhat.com>
6264             Carlos O'Donell  <carlos@redhat.com>
6266         [BZ 19439]
6267         * math/Makefile (tests): Add test-math-isinff.
6268         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6269         * math/bits/mathcalls.h [__USE_MISC]: Use
6270         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6271         functions not in C++11 and which don't conflict e.g. isinff,
6272         isinfl etc.
6273         * math/test-math-isinff.cc: New file.
6275 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6277         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6279 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6281         [BZ #19529]
6282         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6284 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6286         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6288 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6290         [BZ #19550]
6291         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6292         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6293         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6294         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6295         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6296         New syscall entry.
6297         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6298         New syscall entry.
6299         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6300         syscall entry.
6302 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6304         [BZ #18240]
6305         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6306         unsigned int wraparound.
6308 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6310         [BZ #18240]
6311         * misc/bug18240.c: New test.
6312         * misc/Makefile (tests): Add it.
6314 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6315             Joseph Myers  <joseph@codesourcery.com>
6317         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6318         load in branch delay slot when less than a word of input left.
6320 2016-01-27  Andreas Schwab  <schwab@suse.de>
6322         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6323         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6324         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6325         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6327 2016-01-26  David S. Miller  <davem@davemloft.net>
6329         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6331 2016-01-25  David S. Miller  <davem@davemloft.net>
6333         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6334         __sqrtl_finite.
6335         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6336         instead using versioned_symbol.
6337         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6338         of entries.
6340         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6341         __sqrtl_finite to GLIBC_2.23
6343 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6345         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6347 2016-01-25  Andreas Schwab  <schwab@suse.de>
6349         [BZ #17514]
6350         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6351         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6352         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6353         * nptl/tst-mutex-errorcheck.c: New file.
6355 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6357         [BZ #18560]
6358         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6359         (IPCOP_semop): Likewise.
6360         (IPCOP_semget): Likewise.
6361         (IPCOP_semctl): Likewise.
6362         (IPCOP_msgsnd): Likewise.
6363         (IPCOP_msgrcv): Likewise.
6364         (IPCOP_msgget): Likewise.
6365         (IPCOP_msgctl): Likewise.
6366         (IPCOP_shmat): Likewise.
6367         (IPCOP_shmdt): Likewise.
6368         (IPCOP_shmget): Likewise.
6369         (IPCOP_shmctl): Likewise.
6371 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6373         * string/tst-endian.c: Include <libc-internal.h>.
6374         (do_test): Ignore tautological-compare warnings around
6375         "htobeXX (beXXtoh (i)) != i" and
6376         "htoleXX (leXXtoh (i)) != i" if-statements.
6378 2016-01-24  David S. Miller  <davem@davemloft.net>
6380         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6381         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6382         alias.
6383         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6384         __sqrtl_finite.
6386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6388 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6390         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6391         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6392         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6394 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6396         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6397         (thread_func): Use new function to simplify barrier check.
6398         (do_test): Use new function to simplify checking barrier exit
6399         code, and actually join the child thread.
6401 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6403         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6404         semicolon.
6405         (__libc_tend): Likewise.
6406         (__libc_tabort): Likewise.
6408 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6410         * sysdeps/nios2/libm-test-ulps: Update.
6411         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6412         (__gtsf2): Likewise.
6413         (__unorddf2): Likewise.
6414         (__unordsf2): Likewise.
6415         (__ledf2): Likewise.
6417 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6419         * nis/nis_table.c (__follow_path): Disable diagnostic for
6420         uninitialized variable that is a false positive for gcc 4.7.
6421         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6423 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6425         * sysdeps/nacl/lowlevellock-futex.h
6426         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6427         Always evaluate PRIVATE argument.
6429 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6431         [BZ #19490]
6432         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6433         (pthread_cond_broadcast): Use ENTRY/END
6434         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6435         (pthread_cond_signal): Likewise.
6436         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6437         Likewise.
6438         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6439         Likewise.
6440         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6441         Likewise.
6443 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6445         * sysdeps/ieee754/dbl-64/s_finite.c
6446         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6447         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6448         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6449         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6450         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6453         (__gtsf2): Add as optional for libc.so.
6454         (__unordsf2): Likewise.
6455         (__signbit): Remove for libc.so.
6456         (__signbitl): Likewise.
6458 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6460         * iconvdata/bug-iconv11.c (test_ibm93x):
6461         Use %zu printf format specifier for size_t argument.
6463 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6465         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6466         already-recorded ulps.
6467         * sysdeps/arm/libm-test-ulps: Regenerated.
6468         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6469         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6470         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6472 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6473             Paul Pluzhnikov  <ppluzhnikov@google.com>
6475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6476         assembler not supporting AVX-512.
6478 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6480         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6482 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6484         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6485         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6487         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6489         * sysdeps/arm/libm-test-ulps: Regenerated.
6491 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6493         [BZ #19451]
6494         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6496 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6498         [BZ #19486]
6499         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6500         * sysdeps/generic/fix-fp-int-convert-overflow.h
6501         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6502         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6503         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6504         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6505         Likewise.
6506         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6507         Avoid conversions to long int where inexact exceptions
6508         could be raised.
6509         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6510         Likewise.
6511         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6512         Avoid conversions to long long int where inexact exceptions
6513         could be raised.
6514         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6515         Likewise.
6517 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6519         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6520         * configure: Regenerated.
6522 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6524         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6526 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6528         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6529         outside of comment.
6531 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6533         * nptl/tst-barrier1.c: Add description on first line.
6534         * nptl/tst-barrier2.c: Likewise.
6535         * nptl/tst-barrier3.c: Likewise.
6536         * nptl/tst-barrier4.c: Likewise.
6537         * nptl/tst-barrier5.c: Likewise.
6539 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6541         [BZ #18868]
6542         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6544 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6548         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6549         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6550         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6551         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6552         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6553         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6554         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6555         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6556         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6558 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6560         [BZ #13065]
6561         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6562         new implementation.
6563         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6564         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6565         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6566         (BARRIER_IN_THRESHOLD): New macro.
6567         * nptl/pthread_barrierattr_setpshared.c
6568         (pthread_barrierattr_setpshared): Clean up.
6569         * nptl/tst-barrier4.c: Correct comment.
6570         * nptl/tst-barrier5.c: New file.
6571         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6572         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6573         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6574         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6575         * nptl/lowlevelbarrier.sym: Remove.
6576         * nptl/DESIGN-barrier.txt: Remove.
6577         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6578         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6579         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6580         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6581         error.
6582         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6583         implementation.
6585 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6587         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6588         (do_child): Mask SIGRTMIN while thr is running.
6590 2016-01-15  Martin Sebor  <msebor@redhat.com>
6592         [BZ #19432]
6593         * iconvdata/Makefile: Add bug-iconv11.
6594         * iconvdata/bug-iconv11.c: New test.
6595         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6596         * iconvdata/ibm933.c: Same.
6597         * iconvdata/ibm935.c: Same.
6598         * iconvdata/ibm937.c: Same.
6599         * iconvdata/ibm939.c: Same.
6601 2016-01-15  Martin Sebor  <msebor@redhat.com>
6603         [BZ #19443]
6604         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6605         [DEBUG] (_ufc_set_bits): Declare used.
6606         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6607         [DEBUG] (print_all): Declare used.
6608         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6609         operands of the ternary ?: expression to target type.
6610         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6611         calling the undeclared abort.
6612         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6614 2016-01-15  Martin Sebor  <msebor@redhat.com>
6616         [BZ #18755]
6617         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6618         warnings.
6619         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6620         (__gai_create_helper_thread): Same.
6621         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6622         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6623         to suppress -Wmaybe-uninitialized warnings.
6625 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6627         [BZ #19465]
6628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6629         inside if.
6630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6631         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6634 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6636         [BZ #19466]
6637         * time/tst-mktime2.c (time_t_max): Removed.
6638         (time_t_min): Likewise.
6639         (TYPE_SIGNED): New.
6640         (TYPE_MINIMUM): Likewise.
6641         (TYPE_MAXIMUM): Likewise.
6642         (TIME_T_MIN): Likewise.
6643         (TIME_T_MAX): Likewise.
6644         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6645         and TIME_T_MIN.
6646         (do_test): Likewise.
6648 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6650         [BZ #19467]
6651         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6652         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6654 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6656         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6658 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6660         * benchtests/Makefile (PYTHON): Define.
6661         (bench-func): Use $(PYTHON) to run python scripts.
6662         ($(objpfx)bench-%.c): Likewise.
6664 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6666         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6667         leading slash when `file_name' is "/".
6669 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6671         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6672         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6673         Likewise.
6674         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6675         Likewise.
6676         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6677         Likewise.
6678         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6679         enum constant and macro.
6680         (PTRACE_SETSIGMASK): Likewise.
6681         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6682         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6683         (PTRACE_GETSIGMASK): Likewise.
6684         (PTRACE_SETSIGMASK): Likewise.
6685         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6686         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6687         Likewise.
6688         (PTRACE_SETSIGMASK): Likewise.
6689         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6690         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6691         (PTRACE_GETSIGMASK): Likewise.
6692         (PTRACE_SETSIGMASK): Likewise.
6693         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6695         Likewise.
6696         (PTRACE_SETSIGMASK): Likewise.
6697         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6698         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6699         Likewise.
6700         (PTRACE_SETSIGMASK): Likewise.
6701         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6702         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6703         Likewise.
6704         (PTRACE_SETSIGMASK): Likewise.
6705         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6707 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6708             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6710         [BZ #19439]
6711         * math/bits/mathcalls.h
6712         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6713         prototype.
6714         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6716 2016-01-11  Andreas Schwab  <schwab@suse.de>
6718         [BZ #19253]
6719         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6720         cache when TZDEFRULES was used.
6721         * time/tst-tzname.c: New file.
6722         * time/Makefile (test): Add tst-tzname.
6723         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6724         * timezone/Makefile (test-zones): Add $(posixrules-file).
6725         ($(testdata)/$(posixrules-file)): New rule.
6727 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6729         Fix doc quoting problems with Texinfo 5
6730         Without this change, in the info file output, Texinfo 5 quotes code
6731         in text with undirected single quotes 'like this' and generates
6732         code examples that with many PDF readers cannot be cut out of PDFs
6733         and pasted into code.
6734         * manual/libc.texinfo: Configure the libc manual like the GNU
6735         Emacs manual, by using @documentencoding and setting
6736         txicodequoteundirected and txicodequotebacktick.  This way,
6737         Texinfo 5 quotes code in text with directed single quotes ‘like
6738         this’ and produces examples that can be cut out of PDFs.  This
6739         change causes Texinfo 5 to generate info files that contain UTF-8
6740         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6741         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6743 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6745         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6746         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6747         barriers to their respective compiler built-ins.
6748         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6749         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6750         * sysdeps/powerpc/sysdep.h: Likewise.
6751         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6752         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6753         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6755 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6757         * scripts/config.guess: Revert previous shebang change.
6758         * scripts/config.sub: Likewise.
6759         * scripts/mkinstalldirs: Likewise.
6761 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6763         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6764         PPC_FEATURE2_HAS_IEEE128.
6765         * sysdeps/powerpc/dl-procinfo.c:
6766         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6768 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6770         [BZ #19415]
6771         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6772         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6773         (_dl_lookup_address): Rewrite using function resolver trampoline.
6774         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6775         two bits in address.
6777 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6779         * longlong.h: Change !__SHMEDIA__ to
6780         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6781         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6783 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6784             Joseph Myers  <joseph@codesourcery.com>
6785             Mark Shinwell  <shinwell@codesourcery.com>
6786             Andrew Stubbs  <ams@codesourcery.com>
6787             Rich Felker <dalias@libc.org>
6789         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6791 2016-01-07  Richard Henderson  <rth@redhat.com>
6793         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6795 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6797         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6798         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6799         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6800         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6801         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6803 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6804             Joseph Myers  <joseph@codesourcery.com>
6806         * timezone/private.h: Update from tzcode 2015g.
6807         * timezone/tzfile.h: Likewise.
6808         * timezone/tzselect.ksh: Likewise.
6809         * timezone/zdump.c: Likewise.
6810         * timezone/zic.c: Likewise.
6811         * timezone/ialloc.c: Remove file.
6812         * timezone/scheck.c: Likewise.
6813         * timezone/Makefile (extra-objs): Remove variable.
6814         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6815         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6816         -Wno-maybe-uninitialized.
6817         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6818         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6819         (CFLAGS-ialloc.c): Remove variable.
6820         (CFLAGS-scheck.c): Likewise.
6821         * timezone/README: Update list of files from tzcode.
6823 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6825         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6826         instead of __fxprintf when _LIBC is undefined.
6828 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6830         * catgets/test-gencat.sh: Remove space after shebang.
6831         * conform/GlibcConform.pm: Likewise.
6832         * conform/check-header-lists.sh: Likewise.
6833         * conform/conformtest.pl: Likewise.
6834         * conform/linknamespace.pl: Likewise.
6835         * conform/list-header-symbols.pl: Likewise.
6836         * debug/catchsegv.sh: Likewise.
6837         * elf/genrtldtbl.awk: Likewise.
6838         * elf/tst-pathopt.sh: Likewise.
6839         * elf/tst-rtld-load-self.sh: Likewise.
6840         * grp/tst_fgetgrent.sh: Likewise.
6841         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6842         * iconvdata/gen-8bit-gap.sh: Likewise.
6843         * iconvdata/gen-8bit.sh: Likewise.
6844         * iconvdata/run-iconv-test.sh: Likewise.
6845         * intl/tst-gettext.sh: Likewise.
6846         * intl/tst-gettext2.sh: Likewise.
6847         * intl/tst-gettext4.sh: Likewise.
6848         * intl/tst-gettext6.sh: Likewise.
6849         * intl/tst-translit.sh: Likewise.
6850         * io/ftwtest-sh: Likewise.
6851         * libio/test-freopen.sh: Likewise.
6852         * locale/gen-translit.pl: Likewise.
6853         * malloc/tst-mtrace.sh: Likewise.
6854         * manual/check-safety.sh: Likewise.
6855         * manual/libc-texinfo.sh: Likewise.
6856         * manual/tsort.awk: Likewise.
6857         * manual/xtract-typefun.awk: Likewise.
6858         * nptl/tst-cancel-wrappers.sh: Likewise.
6859         * nptl/tst-tls6.sh: Likewise.
6860         * posix/globtest.sh: Likewise.
6861         * posix/tst-getconf.sh: Likewise.
6862         * posix/wordexp-tst.sh: Likewise.
6863         * scripts/check-c++-types.sh: Likewise.
6864         * scripts/check-local-headers.sh: Likewise.
6865         * scripts/config.guess: Likewise.
6866         * scripts/config.sub: Likewise.
6867         * scripts/cpp: Likewise.
6868         * scripts/cross-test-ssh.sh: Likewise.
6869         * scripts/documented.sh: Likewise.
6870         * scripts/evaluate-test.sh: Likewise.
6871         * scripts/gen-libc-abis: Likewise.
6872         * scripts/gen-sorted.awk: Likewise.
6873         * scripts/list-fixed-bugs.py: Likewise.
6874         * scripts/merge-test-results.sh: Likewise.
6875         * scripts/mkinstalldirs: Likewise.
6876         * scripts/rellns-sh: Likewise.
6877         * scripts/test-installation.pl: Likewise.
6878         * scripts/update-copyrights: Likewise.
6879         * stdio-common/tst-printf.sh: Likewise.
6880         * stdio-common/tst-unbputc.sh: Likewise.
6881         * stdlib/tst-fmtmsg.sh: Likewise.
6882         * stdlib/tst-setcontext3.sh: Likewise.
6883         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6884         * sysdeps/unix/make-syscalls.sh: Likewise.
6886 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6888         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6889         asm stw with atomic_exchange_rel.  Add explanatory comment.
6890         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6891         Likewise.
6893 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6895         [BZ #19122]
6896         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6897         * sysdeps/generic/dl-unistd.h: New file.
6898         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6900 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6902          [BZ #19122]
6903          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6904          * sysdeps/generic/dl-mman.h: New file.
6905          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6907 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6909         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6910         trailing whitespace removed.
6911         * scripts/config.guess: Update to version 2016-01-01.
6912         * scripts/config.sub: Update to version 2016-01-01.
6913         * scripts/move-if-change: Update from gnulib.
6915 2016-01-04  Anton Blanchard  <anton@samba.org>
6917         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6918         for array indices.
6919         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6921 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6923         * NEWS: Update copyright dates.
6924         * catgets/gencat.c (print_version): Likewise.
6925         * csu/version.c (banner): Likewise.
6926         * debug/catchsegv.sh: Likewise.
6927         * debug/pcprofiledump.c (print_version): Likewise.
6928         * debug/xtrace.sh (do_version): Likewise.
6929         * elf/ldconfig.c (print_version): Likewise.
6930         * elf/ldd.bash.in: Likewise.
6931         * elf/pldd.c (print_version): Likewise.
6932         * elf/sotruss.sh: Likewise.
6933         * elf/sprof.c (print_version): Likewise.
6934         * iconv/iconv_prog.c (print_version): Likewise.
6935         * iconv/iconvconfig.c (print_version): Likewise.
6936         * locale/programs/locale.c (print_version): Likewise.
6937         * locale/programs/localedef.c (print_version): Likewise.
6938         * login/programs/pt_chown.c (print_version): Likewise.
6939         * malloc/memusage.sh (do_version): Likewise.
6940         * malloc/memusagestat.c (print_version): Likewise.
6941         * malloc/mtrace.pl: Likewise.
6942         * manual/libc.texinfo: Likewise.
6943         * nptl/version.c (banner): Likewise.
6944         * nscd/nscd.c (print_version): Likewise.
6945         * nss/getent.c (print_version): Likewise.
6946         * nss/makedb.c (print_version): Likewise.
6947         * posix/getconf.c (main): Likewise.
6948         * scripts/test-installation.pl: Likewise.
6949         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6951         * All files with FSF copyright notices: Update copyright dates
6952         using scripts/update-copyrights.
6953         * intl/plural.c: Regenerated.
6954         * locale/programs/charmap-kw.h: Likewise.
6955         * locale/programs/locfile-kw.h: Likewise.
6957 2016-01-02  Helge Deller  <deller@gmx.de>
6959         [BZ #19285]
6960         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6961         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6962         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6963         (MADV_xxK_PAGES): Remove.
6965 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6967         [BZ #15421]
6968         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6969         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6970         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6971         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6973 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6975         [BZ #19408]
6976         * sysdeps/unix/sysv/linux/personality.c: New file.
6977         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6978         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6979         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6980         (sysdep_routines): Add personality.
6981         (tests): Add tst-personality.
6982         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6984         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6985         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6986         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6987         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6988         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6989         Likewise.
6990         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6991         Likewise.
6992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6993         Likewise.
6994         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6995         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6996         Likewise.
6998 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7000         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7001         (PATH_ARM_SYSTYPE): Remove.
7002         (PATH_CPUINFO): Likewise.
7003         (IO_BASE_FOOTBRIDGE): Likewise.
7004         (IO_SHIFT_FOOTBRIDGE): Likewise.
7005         (struct platform): Likewise.
7006         (init_iosys): Remove compatibility code for 2.4 kernels.
7007         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7009 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7011         * malloc/tst-malloc-thread-fail.c: New file.
7012         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7013         (tst-malloc-thread-fail): Link against libpthread.
7015 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7017         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7018         (get_parser): New function.
7019         (main): New function.
7021 2015-12-29  Rob Wu  <rob@robwu.nl>
7023         [BZ #19369]
7024         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7026 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7028         [BZ #19270]
7029         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7031 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7033         [BZ #15421]
7034         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7036 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7038         [BZ #13690]
7039         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7040         after releasing it.
7041         (__lll_robust_unlock): Likewise.
7042         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7043         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7044         (lll_robust_unlock): Likewise.
7045         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7046         Prevent warnings in callers.
7048 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7050         * malloc/arena.c (list_lock): Update comment.
7052 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7054         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7055         __parse_hwcap_and_convert_at_platform to libc.a.
7057 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7059         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7060         platform and feature support for POWER9.
7061         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7062         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7063         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7064         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7065         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7066         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7067         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7068         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7070 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7072         Harmonize generic stdio-lock support with nptl
7074         This fixes build when _IO_funlockfile is a macro, fixes build where
7075         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7076         stack unwind.
7078         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7079         _IO_release_lock ): Use cleanup attribute on new
7080         _IO_acquire_lock_file variable instead of assuming that
7081         _IO_release_lock will be called.
7082         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7083         _IO_acquire_lock_needs_exceptions_enabled.
7084         (_IO_acquire_lock_clear_flags2): New macro.
7086 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7088         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7090 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7092         [BZ #19182]
7093         * malloc/arena.c (list_lock): Document lock ordering requirements.
7094         (free_list_lock): New lock.
7095         (ptmalloc_lock_all): Comment on free_list_lock.
7096         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7097         (detach_arena): Update comment.  free_list_lock is now needed.
7098         (_int_new_arena): Use free_list_lock around detach_arena call.
7099         Acquire arena lock after list_lock.  Add comment, including FIXME
7100         about incorrect synchronization.
7101         (get_free_list): Switch to free_list_lock.
7102         (reused_arena): Acquire free_list_lock around detach_arena call
7103         and attached threads counter update.  Add two FIXMEs about
7104         incorrect synchronization.
7105         (arena_thread_freeres): Switch to free_list_lock.
7106         * malloc/malloc.c (struct malloc_state): Update comments to
7107         mention free_list_lock.
7109 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7111         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7112         Remove functions.
7113         (sloww, sloww1): Accept argument to offset quadrant.
7114         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7115         quadrant.
7116         (__sin, __cos): Consolidate common code into new functions.
7117         (reduce_sincos_1, do_sincos_1): New functions.
7118         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7120         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7121         code to new functions.
7122         (reduce_sincos_2, do_sincos_2): New functions.
7123         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7125         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7126         common code for sincos.
7127         (__cos) [!IN_SINCOS]: Likewise.
7128         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7129         New function.
7130         (__sincos): Use it.
7132 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7134         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7135         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7136         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7138 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7140         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7143         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7144         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7145         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7146         index_Prefer_No_VZEROUPPER): New feature.
7147         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7148         Prefer_No_VZEROUPPER for Knights Landing.
7150 015-12-18  Torvald Riegel  <triegel@redhat.com>
7152         * math/atest-exp2.c (mp_exp_m1): Remove.
7154 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7156         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7157         syscalls.
7158         (__SYSCALL0): New macro.
7159         (__SYSCALL1): Likewise.
7160         (__SYSCALL2): Likewise.
7161         (__SYSCALL3): Likewise.
7162         (__SYSCALL4): Likewise.
7163         (__SYSCALL5): Likewise.
7164         (__SYSCALL6): Likewise.
7165         (__SYSCALL_CONCAT_X): Likewise.
7166         (__SYSCALL_CONCAT): Likewise.
7167         (__SYSCALL_DIST): Likewise.
7168         (__SYSCALL_CALL): Likewise.
7170 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7172         [BZ #19363]
7173         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7175 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7177         [BZ #19375]
7178         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7179         negative subnormals.
7181 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7184         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7185         (INTERNAL_SYSCALL_NCS): Use it.
7186         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7188 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7190         [BZ #19243]
7191         * malloc/arena.c (get_free_list): Remove assert and adjust
7192         reference count handling.  Add comment about reused_arena
7193         interaction.
7194         (reused_arena): Add comments abount get_free_list interaction.
7195         * malloc/tst-malloc-thread-exit.c: New file.
7196         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7197         (tst-malloc-thread-exit): Link against libpthread.
7199 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7201         [BZ #19367]
7202         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7203         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7204         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7205         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7206         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7208 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7210         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7211         Silvermont optimizations for Knights Landing.
7213 2015-12-15  Andreas Schwab  <schwab@suse.de>
7215         [BZ #17197]
7216         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7217         immediately after emitting SI.
7218         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7219         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7220         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7221         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7222         * iconvdata/bug-iconv10.c: New file.
7223         * iconvdata/Makefile (tests): Add bug-iconv10.
7224         ($(objpfx)bug-iconv10.out): New rule.
7226 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7228         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7229         aliasing violation.
7231 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7233         [BZ #18472]
7234         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7235         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7236         conditionals for them.
7237         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7238         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7240         sys/kdaemon.h.
7241         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7242         compat-only syscall, obsoleted in glibc 2.23.
7243         (create_module): Likewise.
7244         (get_kernel_syms): Likewise.
7245         (query_module): Likewise.
7246         (uselib): Likewise.
7247         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7249 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7251         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7252         <linux/version.h>.
7253         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7254         conditional code.
7255         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7256         and ioshift_name initialization.
7258 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7260         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7261         Fix indentation.
7263 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7265         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7267 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7269         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7271 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7272             Jakub Wilk  <jwilk@debian.org>
7274         [BZ #19347]
7275         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7276         to change the group of the device to the tty group.
7278 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7280         Split large string section; add truncation advice
7281         * manual/examples/strncat.c: Remove.
7282         This example was misleading, as the code would have undefined
7283         behavior if "hello" was longer than SIZE.  Anyway, the manual
7284         shouldn't encourage strncpy+strncat for this sort of thing.
7285         * manual/string.texi (Copying Strings and Arrays): Split into
7286         three sections Copying Strings and Arrays, Concatenating Strings,
7287         and Truncating Strings, as this section was way too long.  All
7288         cross-referenced changed.  Add advice about string-truncation
7289         functions.  Remove misleading strncat example.
7291 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7293         * manual/nss.texi (NSS Modules Interface): Document
7294         NSS_STATUS_NOTFOUND and SUCCESS.
7296 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7298         [BZ 18568]
7299         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7300         201505L, for Unicode 8.
7302 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7304         * locale/C-translit.h: Regenerate.
7306 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7308         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7309         and U+0153.
7311 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7313         [BZ #19351]
7314         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7315         expanding log(1+z), compare z rather than its square with epsilon
7316         to determine when to avoid evaluating the expansion.
7318         [BZ #19350]
7319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7320         Increase overflow threshold.
7322         [BZ #19349]
7323         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7324         when small.
7326         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7328         New macro.
7329         [__LINUX_KERNEL_VERSION >= 0x040300]
7330         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7332         Likewise.
7333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7334         Likewise.
7335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7336         Likewise.
7337         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7338         Likewise.
7339         [__LINUX_KERNEL_VERSION >= 0x040300]
7340         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7341         [__LINUX_KERNEL_VERSION >= 0x040300]
7342         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7343         [__LINUX_KERNEL_VERSION >= 0x040300]
7344         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7345         [__LINUX_KERNEL_VERSION >= 0x040300]
7346         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7347         [__LINUX_KERNEL_VERSION >= 0x040300]
7348         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7350         Likewise.
7351         [__LINUX_KERNEL_VERSION >= 0x040300]
7352         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7354         Likewise.
7355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7356         Likewise.
7357         [__LINUX_KERNEL_VERSION >= 0x040300]
7358         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7360         Likewise.
7361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7362         Likewise.
7363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7365         Likewise.
7366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7367         Likewise.
7368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7369         Likewise.
7370         [__LINUX_KERNEL_VERSION >= 0x040300]
7371         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7373         Likewise.
7374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7375         Likewise.
7376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7377         Likewise.
7378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7379         Likewise.
7380         [__LINUX_KERNEL_VERSION >= 0x040300]
7381         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7382         [__LINUX_KERNEL_VERSION >= 0x040300]
7383         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7384         [__LINUX_KERNEL_VERSION >= 0x040300]
7385         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7386         [__LINUX_KERNEL_VERSION >= 0x040300]
7387         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7388         [__LINUX_KERNEL_VERSION >= 0x040300]
7389         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7391         Likewise.
7392         [__LINUX_KERNEL_VERSION >= 0x040300]
7393         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7395         Likewise.
7396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7397         Likewise.
7398         [__LINUX_KERNEL_VERSION >= 0x040300]
7399         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7401         Likewise.
7402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7403         Likewise.
7404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7405         (__ASSUME_SOCKET_SYSCALL): Likewise.
7406         (__ASSUME_BIND_SYSCALL): Likewise.
7407         (__ASSUME_CONNECT_SYSCALL): Likewise.
7408         (__ASSUME_LISTEN_SYSCALL): Likewise.
7409         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7410         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7411         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7412         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7413         (__ASSUME_SEND_SYSCALL): Likewise.
7414         (__ASSUME_SENDTO_SYSCALL): Likewise.
7415         (__ASSUME_RECV_SYSCALL): Likewise.
7416         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7417         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7418         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7419         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7420         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7421         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7422         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7424         Likewise.
7425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7426         Likewise.
7427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7428         Likewise.
7429         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7430         Likewise.
7431         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7432         Likewise.
7433         [__LINUX_KERNEL_VERSION >= 0x020625]
7434         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7435         [__LINUX_KERNEL_VERSION >= 0x020625]
7436         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7437         [__LINUX_KERNEL_VERSION >= 0x020625]
7438         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7440         Likewise.
7441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7442         Likewise.
7443         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7444         Likewise.
7445         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7446         Likewise.
7447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7448         Likewise.
7449         [__LINUX_KERNEL_VERSION >= 0x020625]
7450         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7451         [__LINUX_KERNEL_VERSION >= 0x020625]
7452         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7454         Likewise.
7455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7456         Likewise.
7458 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7460         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7461         record the current if the current ABI and CPU support the FP64
7462         extension.
7463         (has-modd-spreg): Define to record the current if the current ABI and
7464         CPU support 32-bit floating point values in odd FPU registers.
7465         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7466         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7467         $(has-modd-spreg) equals yes.
7468         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7469         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7470         $(has-modd-spreg) equal yes.
7472 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7474         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7475         basename.
7477 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7479         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7480         (bench-string): ... here.
7481         (bench): Add bench-string.
7482         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7483         to *-benchset to reflect what they are.
7484         (benchset): Adjust.
7486         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7487         cos-inputs.
7489 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7491         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7492         __attribute__ ((__simd__)) for vector math function declarations.
7494 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7496         Fix typo in strncat, wcsncat manual entries
7497         * manual/string.texi (Copying and Concatenation): Fix typos in
7498         sample implementations of strncat and wcsncat, by having them use
7499         the old value of the destination length, not the new one.
7501 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7503         [BZ #16961]
7504         [BZ #16962]
7505         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7506         string on the stack for strtod.
7507         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7508         a string on the stack for strtof.
7509         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7510         constructing a string on the stack for strtold.
7511         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7512         __strtold_nan to GLIBC_PRIVATE.
7513         * math/test-nan-overflow.c: New file.
7514         * math/test-nan-payload.c: Likewise.
7515         * math/Makefile (tests): Add test-nan-overflow and
7516         test-nan-payload.
7518 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7520         Consistency about byte vs character in string.texi
7521         * manual/string.texi (String and Array Utilities):
7522         Distinguish more carefully among bytes, multibyte characters,
7523         and wide characters.  Use "byte" when talking about C 'char',
7524         to distinguish it more clearly from multibyte characters.
7525         Say "wide character" or "multibyte character" instead of
7526         "character", when a wide or multibyte character is intended.
7527         Similarly for "multibyte string" versus "string".
7528         Define these terms more carefully.
7530 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7532         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7533         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7534         Likewise.
7535         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7536         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7537         * sysdeps/sh/math_private.h: New file.
7538         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7539         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7540         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7541         long double function name.
7542         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7543         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7544         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7545         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7548         Remove __finitel, __isinfl, and __isnanl.
7549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7550         Likewise.
7551         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7553         Remove __finitel.
7554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7555         Likewise.
7556         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7558 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7560         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7561         installed libmvec_nonshared.a.
7563 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7565         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7566         (sysdep_routines): Likewise.
7567         (sysdep-rtld-routines): Likewise.
7568         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7569         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7570         * sysdeps/powerpc/Versions: Added new
7571         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7572         * sysdeps/powerpc/hwcapinfo.c: New file.
7573         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7574         and parse hwcap, hwcap2 and platform number information.
7575         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7576         to store HWCAP+HWCAP2 and platform number.
7577         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7578         for HWCAP+HWCAP2 and platform number in the TCB.
7579         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7580         the HWCAP, HWCAP2 and platform number in the TCB.
7581         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7582         (TLS_INIT_TP): Included calls to add the hwcap and
7583         at_platform values in the TCB in TP initialization.
7584         (TLS_DEFINE_INIT_TP): Likewise.
7585         (THREAD_GET_HWCAP): New macro.
7586         (THREAD_SET_HWCAP): Likewise.
7587         (THREAD_GET_AT_PLATFORM): Likewise.
7588         (THREAD_SET_AT_PLATFORM): Likewise.
7589         * sysdeps/powerpc/powerpc32/dl-machine.h:
7590         (dl_platform_init): New function that calls
7591         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7592         powerpc32.
7593         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7594         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7595         this functionality, static linking case.
7596         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7597         linking case.
7598         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7599         __parse_hwcap_and_convert_at_platform for the static linking case.
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7601         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7602         ABI list for GLIBC 2.23.
7603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7604         Likewise.
7605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7606         Likewise.
7608 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7610         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7611         * configure: Regenerate.
7612         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7613         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7615 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7617         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7618         * iconvdata/ibm933.c: Likewise.
7619         * iconvdata/ibm935.c: Likewise.
7620         * iconvdata/ibm937.c: Likewise.
7621         * iconvdata/ibm939.c: Likewise.
7623 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7625         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7626         pthread_join.
7627         * nptl/tst-cancel21.c (tf): Likewise.
7629 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7631         [BZ #19313]
7632         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7633         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7634         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7635         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7636         Likewise.
7637         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7638         Likewise.
7639         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7640         Likewise.
7641         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7642         Likewise.
7643         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7644         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7645         unsigned long int with __CPU_MASK_TYPE.
7647 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7649         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7651 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7653         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7654         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7655         t512.x.
7656         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7658 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7660         [BZ #19214]
7661         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7662         argument to return extended model.  Update family and model
7663         with extended family and model when family == 0x0f.
7664         (init_cpu_features): Updated.
7666 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7668         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7669         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7671         * sysdeps/mach/hurd/mmap64.c: New file.
7673 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7675         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7676         rights for its main user thread in NEWTASK.
7678 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7680         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7681         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7683 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7685         [BZ #14259]
7686         * Makeconfig: Rename localedir to complocaledir.
7687         Rename inst_localedir to inst_complocaledir.
7688         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7689         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7690         * configure.ac: Use libc_cv_complocaledir.
7691         * configure: Regenerate.
7692         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7693         -DCOMPLOCALEDIR.
7694         * locale/findlocale.c: Use COMPLOCALEDIR.
7695         * locale/loadarchive.c: Likewise.
7696         * locale/programs/locale.c: Likewise.
7697         * locale/programs/localedef.c: Likewise.
7698         * locale/programs/locarchive.c: Likewise.
7699         * localedata/Makefile: Use inst_complocaledir.
7700         * sysdeps/gnu/configure: Regenerate.
7701         * sysdeps/hppa/configure: Regenerate.
7702         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7703         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7705         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7706         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7707         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7708         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7710 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7712         [BZ #19058]
7713         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7714         AS_NEEDED.
7715         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7716         workaround.
7717         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7718         libmvec-static-only-routines): Added new file.
7719         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7721 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7723         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7724         of interrupted RPC instead of restoring it.
7726         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7727         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7728         libc_hidden_def.
7729         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7730         into initialized data instead of common. Define rtld_hidden_data_def.
7731         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7732         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7733         libc_hidden_def.
7734         (if_freenameindex): Add libc_hidden_weak.
7735         (if_nameindex): Add libc_hidden_weak.
7736         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7737         __open64.
7738         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7739         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7740         * sysdeps/mach/nanosleep.c: Include <time.h>
7741         (__nanosleep): Rename to __libc_nanosleep.
7742         (__nanosleep): Add weak_alias.
7743         (nanosleep): Update alias.
7745 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7747         * stdlib/strtod_nan.c: New file.
7748         * stdlib/strtod_nan_double.h: Likewise.
7749         * stdlib/strtod_nan_float.h: Likewise.
7750         * stdlib/strtod_nan_main.c: Likewise.
7751         * stdlib/strtod_nan_narrow.h: Likewise.
7752         * stdlib/strtod_nan_wide.h: Likewise.
7753         * stdlib/strtof_nan.c: Likewise.
7754         * stdlib/strtold_nan.c: Likewise.
7755         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7756         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7757         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7758         * wcsmbs/wcstod_nan.c: Likewise.
7759         * wcsmbs/wcstof_nan.c: Likewise.
7760         * wcsmbs/wcstold_nan.c: Likewise.
7761         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7762         strtold_nan.
7763         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7764         wcstof_nan.
7765         * include/stdlib.h (__strtof_nan): Declare and use
7766         libc_hidden_proto.
7767         (__strtod_nan): Likewise.
7768         (__strtold_nan): Likewise.
7769         (__wcstof_nan): Likewise.
7770         (__wcstod_nan): Likewise.
7771         (__wcstold_nan): Likewise.
7772         * include/wchar.h (____wcstoull_l_internal): Declare.
7773         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7774         (____strtoull_l_internal): Remove declaration.
7775         (STRTOF_NAN): Define macro.
7776         (SET_MANTISSA): Remove macro.
7777         (STRTOULL): Likewise.
7778         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7779         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7780         (STRTOF_NAN): Define macro.
7781         (SET_MANTISSA): Remove macro.
7782         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7783         (SET_MANTISSA): Remove macro.
7784         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7785         macro.
7786         (SET_MANTISSA): Remove macro.
7787         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7788         macro.
7789         (SET_MANTISSA): Remove macro.
7790         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7791         (SET_MANTISSA): Remove macro.
7792         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7793         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7794         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7796         [BZ #19266]
7797         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7798         upper case and lower case letters inside NAN(), not using TOLOWER.
7799         * stdlib/tst-strtod-nan-locale-main.c: New file.
7800         * stdlib/tst-strtod-nan-locale.c: Likewise.
7801         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7802         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7803         Depend on $(gen-locales).
7804         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7805         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7806         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7807         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7808         Depend on $(gen-locales).
7809         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7811 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7813         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7815         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7817         __finitel, __isinfl, and __isnanl.
7818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7819         Likewise.
7820         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7822         __finitel.
7823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7824         Likewise.
7825         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7827 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7829         * malloc/memusage.c (me): Remove redundant getenv call.
7831 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7833         [BZ #19143]
7834         [BZ #19164]
7835         * nptl/check-cpuset.h: Remove.
7836         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7837         Remove CPU set size check.
7838         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7839         Likewise.
7840         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7841         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7842         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7843         (__pthread_setaffinity_new): Remove CPU set size check.
7844         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7845         (__kernel_cpumask_size): Remove.
7846         (__sched_setaffinity_new): Remove CPU set size check.
7847         * manual/threads.texi (Default Thread Attributes): Remove stale
7848         reference to check_cpuset_attr, determine_cpumask_size in comment.
7849         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7850         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7851         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7852         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7853         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7854         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7855         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7856         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7857         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7858         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7859         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7860         skeleton test file.
7861         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7862         tst-affinity-pid.
7864 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7866         * scripts/update-abilist.sh: New file.
7867         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7868         * Makerules (update-all-abi-%, update-all-abi)
7869         (subdir_update-all-abi): New targets.
7870         * elf/Makefile (update-all-abi): New target.
7872 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7874         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7875         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7876         (__libc_lock_define_initialized): Use it.
7877         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7878         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7879         * malloc/malloc.c (main_arena): Likewise.
7880         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7881         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7883 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7885         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7886         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7887         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7888         (PTRACE_O_MASK): Update value.
7889         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7890         New value in enum __ptrace_setoptions.
7891         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7892         (PTRACE_O_MASK): Update value.
7893         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7894         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7895         (PTRACE_O_MASK): Update value.
7896         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7897         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7898         (PTRACE_O_MASK): Update value.
7899         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7900         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7901         (PTRACE_O_MASK): Update value.
7902         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7903         New value in enum __ptrace_setoptions.
7904         (PTRACE_O_MASK): Update value.
7905         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7906         New value in enum __ptrace_setoptions.
7907         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7908         (PTRACE_O_MASK): Update value.
7910         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7911         New macro.
7912         (PACKET_AUXDATA): Likewise.
7913         (PACKET_ORIGDEV): Likewise.
7914         (PACKET_VERSION): Likewise.
7915         (PACKET_HDRLEN): Likewise.
7916         (PACKET_RESERVE): Likewise.
7917         (PACKET_TX_RING): Likewise.
7918         (PACKET_LOSS): Likewise.
7919         (PACKET_VNET_HDR): Likewise.
7920         (PACKET_TX_TIMESTAMP): Likewise.
7921         (PACKET_TIMESTAMP): Likewise.
7922         (PACKET_FANOUT): Likewise.
7923         (PACKET_TX_HAS_OFF): Likewise.
7924         (PACKET_QDISC_BYPASS): Likewise.
7925         (PACKET_ROLLOVER_STATS): Likewise.
7926         (PACKET_FANOUT_DATA): Likewise.
7927         (PACKET_MR_UNICAST): Likewise.
7929         [BZ #19242]
7930         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7931         (TOUPPER): Likewise.
7932         * stdlib/tst-strtol-locale-main.c: New file.
7933         * stdlib/tst-strtol-locale.c: Likewise.
7934         * stdlib/Makefile (tests): Add tst-strtol-locale.
7935         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7936         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7937         Depend on $(gen-locales).
7938         * wcsmbs/tst-wcstol-locale.c: New file.
7939         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7940         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7941         tr_TR.ISO-8859-9.
7942         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7943         Depend on $(gen-locales).
7945 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7947         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7948         __glibc_likely instead of __builtin_expect.  After falling back to
7949         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7950         system interface to register the code pages as occupied.
7952 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7954         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7955         [!ARM_MATH_PRIVATE_H].
7956         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7957         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7958         [!HPPA_MATH_PRIVATE_H].
7959         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7960         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7961         to [!I386_MATH_PRIVATE_H].
7962         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7963         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7964         Change guard to [!M68K_MATH_PRIVATE_H].
7965         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7966         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7967         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7968         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7969         macro.
7970         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7971         [!MIPS_MATH_PRIVATE_H].
7972         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7973         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7974         [!NIO2_MATH_PRIVATE_H].
7975         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7976         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7977         [!TILE_MATH_PRIVATE_H].
7978         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7980         [BZ #15421]
7981         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7982         initialize with 0 and define as weak alias of __signgam.
7983         * include/math.h [!_ISOMAC] (__signgam): Declare.
7984         * math/Makefile (libm-calls): Add w_lgamma_compat.
7985         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7986         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7987         test-signgam-ullong-init.
7988         (tests-static): Add test-signgam-uchar-static,
7989         test-signgam-uchar-init-static, test-signgam-uint-static,
7990         test-signgam-uint-init-static, test-signgam-ullong-static and
7991         test-signgam-ullong-init-static.
7992         (CFLAGS-test-signgam-uchar.c): New variable.
7993         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7994         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7995         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7996         (CFLAGS-test-signgam-uint.c): Likewise.
7997         (CFLAGS-test-signgam-uint-init.c): Likewise.
7998         (CFLAGS-test-signgam-uint-static.c): Likewise.
7999         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8000         (CFLAGS-test-signgam-ullong.c): Likewise.
8001         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8002         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8003         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8004         * math/Versions (libm): Add GLIBC_2.23.
8005         * math/lgamma-compat.h: New file.
8006         * math/test-signgam-main.c: Likewise.
8007         * math/test-signgam-uchar-init-static.c: Likewise.
8008         * math/test-signgam-uchar-init.c: Likewise.
8009         * math/test-signgam-uchar-static.c: Likewise.
8010         * math/test-signgam-uchar.c: Likewise.
8011         * math/test-signgam-uint-init-static.c: Likewise.
8012         * math/test-signgam-uint-init.c: Likewise.
8013         * math/test-signgam-uint-static.c: Likewise.
8014         * math/test-signgam-uint.c: Likewise.
8015         * math/test-signgam-ullong-init-static.c: Likewise.
8016         * math/test-signgam-ullong-init.c: Likewise.
8017         * math/test-signgam-ullong-static.c: Likewise.
8018         * math/test-signgam-ullong.c: Likewise.
8019         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8020         wrapper of w_lgamma_main.c.
8021         * math/w_lgamma_compat.c: New file.
8022         * math/w_lgamma_compatf.c: Likewise.
8023         * math/w_lgamma_compatl.c: Likewise.
8024         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8025         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8026         defining compatibility symbols.
8027         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8028         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8029         wrapper of w_lgammaf_main.c.
8030         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8031         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8032         defining compatibility symbols.
8033         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8034         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8035         wrapper of w_lgammal_main.c.
8036         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8037         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8038         defining compatibility symbols.
8039         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8040         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8041         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8042         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8043         <lgamma-compat.h>.
8044         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8045         (__ieee754_gamma): Define as alias.
8046         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8047         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8048         <lgamma-compat.h>.
8049         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8050         (__ieee754_gammaf): Define as alias.
8051         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8052         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8053         <lgamma-compat.h>.
8054         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8055         (__ieee754_gammal): Define as alias.
8056         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8057         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8058         <math/w_lgamma_compat.c>.
8059         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8060         Define as alias of __lgamma_compat and use in defining lgammal.
8061         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8062         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8063         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8064         (USE_AS_COMPAT): New macro.
8065         (LGAMMA_OLD_VER): Undefine and redefine.
8066         (lgammal): Do not define here.
8067         (gammal): Only define here if [GAMMA_ALIAS].
8068         * conform/linknamespace.pl (@whitelist): Remove signgam.
8069         * sysdeps/nacl/libm.abilist: Update.
8070         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8071         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8072         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8073         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8074         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8075         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8076         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8077         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8078         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8079         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8080         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8081         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8083         Likewise.
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8085         Likewise.
8086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8087         Likewise.
8088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8089         Likewise.
8090         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8091         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8092         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8093         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8094         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8098         Likewise.
8099         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8103 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8105         [BZ #16364]
8106         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8107         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8109 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8111         * sysdeps/s390/fpu/bits/mathinline.h:
8112         Use __asm__ [__volatile__] instead of asm [volatile].
8113         * sysdeps/s390/abort-instr.h: Likewise.
8114         * sysdeps/s390/atomic-machine.h: Likewise.
8115         * sysdeps/s390/bits/string.h: Likewise.
8116         * sysdeps/s390/dl-tls.h: Likewise.
8117         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8118         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8119         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8120         * sysdeps/s390/fpu/fesetround.c: Likewise.
8121         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8122         * sysdeps/s390/fpu/s_fma.c: Likewise.
8123         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8124         * sysdeps/s390/memusage.h: Likewise.
8125         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8126         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8127         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8128         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8129         * sysdeps/s390/nptl/tls.h: Likewise.
8130         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8131         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8132         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8133         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8134         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8135         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8136         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8137         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8138         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8139         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8140         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8141         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8142         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8143         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8144         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8145         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8146         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8147         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8148         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8149         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8150         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8151         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8152         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8154 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8155             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8157         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8158         Add lwarx hint, and use macro for acquire instruction.
8159         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8160         Likewise.
8161         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8162         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8163         update to use new atomic macros.
8165 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8167         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8168         (__lll_trylock_elision): Fix setting of adapt_count.
8169         * sysdeps/unix/sysv/linux/powerpc/htm.h
8170         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8171         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8172         (_ABORT_SYSCALL): Renumber, and clarify definition.
8173         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8175 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8177         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8178         after system headers to prevent MIN/MAX redefinition.  Define
8179         HAVE_ALLOCA to preserve builtin alloca usage.
8181 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8183         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8184         static and don't set or restore rounding.
8185         (__cos)[IN_SINCOS]: Likewise.
8186         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8187         (__sincos): Set and restore rounding mode.  Remove check for infinite
8188         or NaN input.
8190         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8192         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8193         as used.
8195 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8197         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8199 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8201         * config.make.in (have-glob-dat-reloc): New.
8202         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8203         target supports GLOB_DAT relocaton. AC_SUBST.
8204         * configure: Regenerated.
8205         * elf/Makefile (tests): Add tst-prelink.
8206         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8207         (tst-prelink-ENV): New.
8208         ($(objpfx)tst-prelink-conflict.out): Likewise.
8209         ($(objpfx)tst-prelink-cmp.out): Likewise.
8210         * sysdeps/x86/tst-prelink.c: Moved to ...
8211         * elf/tst-prelink.c: Here.
8212         * sysdeps/x86/tst-prelink.exp: Moved to ...
8213         * elf/tst-prelink.exp: Here.
8214         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8215         (tst-prelink-ENV): Removed.
8216         ($(objpfx)tst-prelink-conflict.out): Likewise.
8217         ($(objpfx)tst-prelink-cmp.out): Likewise.
8218         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8220 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8222         [BZ #14551]
8223         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8224         (__mpn_construct_long_double): If high part overflows to infinity,
8225         set errno and recompute overflowed result of the correct sign.
8226         * sysdeps/ieee754/ldbl-128ibm/Makefile
8227         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8228         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8229         $(libm).
8230         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8232 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8234         [BZ #15479]
8235         [BZ #19238]
8236         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8237         floating-point state after first operation on input.  Restore full
8238         state rather than just rounding mode.
8239         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8240         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8241         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8243         [BZ #19235]
8244         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8245         add 0.5 to integer arguments.
8246         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8247         Likewise.
8248         (.LC2): New object.
8250 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8252         * scripts/pylintrc (reports): Set to no.
8254 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8256         * elf/dl-load.c (open_verify): Take new argument FD.
8257         Skip __open call if passed FD is not -1.
8258         (_dl_map_object, open_path): Update callers.
8259         * elf/dl-sysdep-open.h: New file.
8260         * elf/dl-load.c: Include it.
8261         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8262         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8263         * sysdeps/nacl/dl-sysdep-open.h: New file.
8264         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8265         from libc to rtld.
8267 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8269         [BZ #19228]
8270         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8271         and restore full floating-point state.
8272         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8273         Likewise.
8274         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8275         Likewise.
8276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8277         Likewise.
8278         * math/test-nearbyint-except-2.c: New file.
8279         * math/Makefile (tests): Add test-nearbyint-except-2.
8281 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8283         [BZ #19178]
8284         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8285         (tst-prelink-ENV): New.
8286         ($(objpfx)tst-prelink-conflict.out): Likewise.
8287         ($(objpfx)tst-prelink-cmp.out): Likewise.
8288         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8289         * sysdeps/x86/tst-prelink.c: New file.
8290         * sysdeps/x86/tst-prelink.exp: Likewise.
8292 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8294         * math/auto-libm-test-in: Add another test of pow.
8295         * math/auto-libm-test-out: Regenerated.
8296         * math/libm-test.inc (pow_test_data): Add another test.
8298 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8300         [BZ #19219]
8301         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8302         weak_alias to nearbyintl.
8304 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8306         * sysdeps/aarch64/bits/string.h: New file.
8307         (_STRING_ARCH_unaligned): Define.
8309 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8311         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8312         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8313         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8314         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8317 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8319         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8320         for original name of the DSO.  Add it to the name list of the DSO
8321         if it is actually given.
8322         (_dl_map_object): Keep track of whether an audit module rewrote
8323         the file name.  If yes, pass the original name to
8324         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8325         debugging is enabled, log the change of the file name.
8326         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8327         _dl_map_object_from_fd.
8328         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8329         * elf/tst-audit11.c: New file
8330         * elf/tst-auditmod11.c: New file.
8331         * elf/tst-audit11mod1.c: New file.
8332         * elf/tst-audit11mod2.c: New file.
8333         * elf/tst-audit11mod2.map: New file.
8334         * elf/tst-audit12.c: New file
8335         * elf/tst-auditmod12.c: New file.
8336         * elf/tst-audit12mod1.c: New file.
8337         * elf/tst-audit12mod2.c: New file.
8338         * elf/tst-audit12mod2.map: New file.
8339         * elf/tst-audit12mod3.c: New file.
8341 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8343         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8344         Don't create weak aliases,
8345         because versioned symbols are created later.
8346         * sysdeps/s390/s390-32/setjmp.S
8347         (setjmp, _setjmp): Remove weak and rename to an unique name
8348         in SHARED case due to existing versioned symbols.
8349         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8350         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8351         (getcontext): Create weak alias only in non SHARED case.
8352         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8354 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8356         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8357         (__ASSUME_*_SYSCALL) Define new macros.
8358         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8359         Remove socketcall syscalls.
8360         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8361         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8362         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8363         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8364         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8365         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8367 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8369         [BZ #12926]
8370         Terminate process on invalid netlink response.
8371         * sysdeps/unix/sysv/linux/netlinkaccess.h
8372         (__netlink_assert_response): Declare.
8373         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8374         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8375         (sysdep_routines): Add netlink_assert_response.
8376         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8377         __netlink_assert_response.
8378         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8379         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8380         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8381         __netlink_assert_response.
8383 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8385         [BZ #19178]
8386         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8387         (RTYPE_CLASS_PLT): Likewise.
8388         (RTYPE_CLASS_COPY): Likewise.
8389         (RTYPE_CLASS_TLS): Likewise.
8390         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8391         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8392         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8393         DL_DEBUG_PRELINK.
8395 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8397         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8398         calls with argument -0.5.
8399         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8401         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8402         (libc_cv_z_nodlopen): Likewise.
8403         (libc_cv_z_initfirst): Likewise.
8404         * configure: Regenerated.
8406 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8408         Simplify abilist format to be line-based.
8409         * scripts/abilist.awk: Collect descriptors in the descs variable.
8410         (emit): Write descs variable and sort it
8411         externally, with sort.
8412         * sysdeps/**/*.abilist: Convert to new format.
8414 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8416         [BZ #11460]
8417         * io/Makefile (routines): Add fts64.
8418         (tests): Add tst-fts and tst-fts-lfs.
8419         (CFLAGS-fts64.c): New.
8420         * io/Versions (GLIBC_2.23): New.
8421         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8422         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8423         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8424         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8425         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8426         (FTSENT64): Likewise.
8427         (fts64_children): Likewise.
8428         (fts64_close): Likewise.
8429         (fts64_open): Likewise.
8430         (fts64_read): Likewise.
8431         (fts64_set): Likewise.
8432         * io/fts64.c: New file.
8433         * io/tst-fts.c: New test.
8434         * io/tst-fts-lfs.c: Likewise.
8435         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8436         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8437         fts64_set.
8438         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8439         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8440         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8441         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8442         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8443         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8444         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8445         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8446         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8447         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8448         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8449         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8450         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8452         Likewise.
8453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8454         Likewise.
8455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8457         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8458         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8459         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8460         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8461         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8464         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8465         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8466         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8467         * sysdeps/wordsize-64/fts.c: New file.
8468         * sysdeps/wordsize-64/fts64.c: Likewise.
8469         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8470         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8471         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8472         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8474 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8476         * math/libm-test.inc (NON_FINITE): New macro.
8477         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8478         * math/gen-libm-test.pl (show_exceptions): Add argument
8479         $non_finite.
8480         (parse_args): Update call to show_exceptions.
8481         * math/test-math-finite.h: New file.
8482         * math/test-math-no-finite.h: Likewise.
8483         * math/test-double-finite.c: Likewise.
8484         * math/test-float-finite.c: Likewise.
8485         * math/test-ldouble-finite.c: Likewise.
8486         * math/test-double.c: Include "test-math-no-finite.h".
8487         * math/test-float.c: Include "test-math-no-finite.h".
8488         * math/test-ldouble.c: Include "test-math-no-finite.h".
8489         * math/test-math-inline.h (TEST_FINITE): New macro.
8490         * math/test-math-vector.h (TEST_FINITE): Likewise.
8491         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8492         (libm-tests): Add test-float-finite and test-double-finite.
8493         ($(objpfx)test-float-finite.o): New dependency on
8494         $(objpfx)libm-test.stmp.
8495         ($(objpfx)test-double-finite.o): Likewise.
8496         ($(objpfx)test-ldouble-finite.o): Likewise.
8497         (libm-test-no-inline-cflags): New variable.
8498         (libm-test-finite-cflags): Likewise.
8499         (CFLAGS-test-float-finite.c): Likewise.
8500         (CFLAGS-test-double-finite.c): Likewise.
8501         (CFLAGS-test-ldouble-finite.c): Likewise.
8502         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8503         (CFLAGS-test-double.c): Likewise.
8504         (CFLAGS-test-ldouble.c): Likewise.
8506 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8508         * io/fcntl.c (__fcntl): Add ... to prototype.
8509         * misc/ioctl.c (__ioctl): Likewise.
8510         * misc/syscall.c (syscall): Likewise.
8512 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8514         * scripts/list-fixed-bugs.py: New file.
8516         [BZ #19213]
8517         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8518         returned for argument 1.
8519         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8520         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8521         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8522         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8523         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8524         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8526         [BZ #19211]
8527         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8528         __USE_XOPEN], not if [!__USE_ISOC99].
8529         (lgammaf): Likewise.
8530         (lgammal): Likewise.
8531         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8532         (gammaf): Likewise.
8533         (gammal): Likewise.
8534         * math/test-signgam-finite-c11.c: New file.
8535         * math/test-signgam-finite-c99.c: Likewise.
8536         * math/test-signgam-finite.c: Likewise.
8537         * math/Makefile (tests): Add test-signgam-finite,
8538         test-signgam-finite-c99 and test-signgam-finite-c11.
8539         (CFLAGS-test-signgam-finite.c): New variable.
8540         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8541         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8543         [BZ #19212]
8544         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8545         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8546         500].
8547         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8548         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8549         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8550         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8551         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8552         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8553         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8554         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8555         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8556         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8558         [BZ #19209]
8559         * math/bits/math-finite.h (ldexp): Remove declaration.
8560         (ldexpf): Likewise.
8561         (ldexpl): Likewise.
8563         [BZ #19205]
8564         * math/bits/math-finite.h (acosf): Condition declaration on
8565         [__USE_ISOC99].
8566         (acosl): Likewise.
8567         (acoshf): Likewise.
8568         (acoshl): Likewise.
8569         (asinf): Likewise.
8570         (asinl): Likewise.
8571         (atan2f): Likewise.
8572         (atan2l): Likewise.
8573         (atanhf): Likewise.
8574         (atanhl): Likewise.
8575         (coshf): Likewise.
8576         (coshl): Likewise.
8577         (expf): Likewise.
8578         (expl): Likewise.
8579         (fmodf): Likewise.
8580         (fmodl): Likewise.
8581         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8582         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8583         (j0l): Likewise.
8584         (y0f): Likewise.
8585         (y0l): Likewise.
8586         (j1f): Likewise.
8587         (j1l): Likewise.
8588         (y1f): Likewise.
8589         (y1l): Likewise.
8590         (jnf): Likewise.
8591         (jnl): Likewise.
8592         (ynf): Likewise.
8593         (ynl): Likewise.
8594         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8595         (lgammal_r): Likewise.
8596         (__lgamma_r_finite): New declaration.
8597         (__lgammaf_r_finite): Likewise.
8598         (__lgammal_r_finite): Likewise.
8599         (lgamma): Use __lgamma_r_finite.
8600         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8601         __lgammaf_r_finite.
8602         (lgammal): Condition definition on [__USE_ISOC99].  Use
8603         __lgammal_r_finite.
8604         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8605         __lgamma_r_finite.
8606         (gammaf): Condition definition on [__USE_ISOC99].  Use
8607         __lgammaf_r_finite.
8608         (gammal): Condition definition on [__USE_ISOC99].  Use
8609         __lgammal_r_finite.
8610         (logf): Condition declaration on [__USE_ISOC99].
8611         (logl): Likewise.
8612         (log10f): Likewise.
8613         (log10l): Likewise.
8614         (ldexpf): Likewise.
8615         (ldexpl): Likewise.
8616         (powf): Likewise.
8617         (powl): Likewise.
8618         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8619         __USE_ISOC99].
8620         (remainderf): Condition declaration on [__USE_ISOC99].
8621         (remainderl): Likewise.
8622         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8623         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8624         (scalbl): Likewise.
8625         (sinhf): Condition declaration on [__USE_ISOC99].
8626         (sinhl): Likewise.
8627         (sqrtf): Likewise.
8628         (sqrtl): Likewise.
8630 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8632         * sysdeps/arm/atomic-machine.h
8633         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8634         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8635         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8636         Remove conditional code.
8637         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8638         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8639         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8640         Change conditional to [__ASSEMBLER__].
8641         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8642         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8643         [!__ASSEMBLER__].
8644         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8645         code.
8646         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8647         conditional macro definitions.
8648         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8649         (__arch_compare_and_exchange_val_16_acq): Likewise.
8650         (__arch_compare_and_exchange_val_32_acq): Likewise.
8651         (atomic_exchange_and_add): Likewise.
8652         (atomic_add): Likewise.
8653         (atomic_add_negative): Likewise.
8654         (atomic_add_zero): Likewise.
8655         (atomic_bit_set): Likewise.
8656         (atomic_bit_test_set): Likewise.
8657         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8658         code unconditional.
8659         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8661         * math/test-math-errno.h: New file.
8662         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8663         empty.
8664         (TEST_ERRNO): New macro.
8665         (TEST_EXCEPTIONS): Likewise.
8666         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8667         (TEST_EXCEPTIONS): Likewise.
8668         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8669         * math/test-double.c: Include "test-math-errno.h".
8670         * math/test-float.c: Likewise.
8671         * math/test-ldouble.c: Likewise.
8672         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8673         code unconditional.
8674         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8675         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8676         unconditional.
8677         (test_errno): Only run code if TEST_ERRNO.
8678         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8680 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8682         * nptl/tst-once5.cc: Remove attribution.
8684 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8686         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8687         sqrt, tan, tanh, y0, y1 and yn.
8688         * math/auto-libm-test-out: Regenerated.
8689         * math/libm-test.inc (scalb_test_data): Add more tests.
8690         (scalbn_test_data): Likewise.
8691         (scalbln_test_data): Likewise.
8692         (signbit_test_data): Likewise.
8693         (sin_test_data): Likewise.
8694         (sincos_test_data): Likewise.
8695         (sinh_test_data): Likewise.
8696         (sqrt_test_data): Likewise.
8697         (tan_test_data): Likewise.
8698         (tanh_test_data): Likewise.
8699         (tgamma_test_data): Likewise.
8700         (y0_test_data): Likewise.
8701         (y1_test_data): Likewise.
8702         (yn_test_data): Likewise.
8703         (significand_test_data): Likewise.
8704         * sysdeps/i386/fpu/libm-test-ulps: Update.
8706 2015-11-03  David Kastrup  <dak@gnu.org>
8708         [BZ #18604]
8709         * assert/assert.h (assert): Don't macro-expand failed assertion
8710         expression in error message.
8711         * malloc/malloc.c (assert): Likewise.
8713 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8715         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8716         test.
8717         * configure: Regenerated.
8719 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8721         * math/libm-test.inc (modf_test_data): Add more tests.
8722         (nearbyint_test_data): Likewise.
8723         (nextafter_test_data): Likewise.
8724         (nexttoward_test_data): Likewise.
8725         (pow_test_data): Likewise.
8726         (remainder_test_data): Likewise.
8727         (remquo_test_data): Likewise.
8728         (rint_test_data): Likewise.
8730         [BZ #19201]
8731         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8732         Check for zero remainder in case of large exponents and ensure
8733         correct sign of result in that case.
8734         * math/libm-test.inc (remainder_test_data): Add more tests.
8736         [BZ #6799]
8737         * math/s_nextafter.c: Include <errno.h>.
8738         (__nextafter): Set errno on overflow and underflow.
8739         * math/s_nexttowardf.c: Include <errno.h>.
8740         (__nexttowardf): Set errno on overflow and underflow.
8741         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8742         (__nextafterl): Set errno on overflow and underflow.
8743         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8744         (__nexttoward): Set errno on overflow and underflow.
8745         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8746         (__nexttowardf): Set errno on overflow and underflow.
8747         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8748         (__nextafterf): Set errno on overflow and underflow.
8749         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8750         (__nextafterl): Set errno on overflow and underflow.
8751         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8752         (__nexttoward): Set errno on overflow and underflow.
8753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8754         (__nexttowardf): Set errno on overflow and underflow.
8755         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8756         (__nextafterl): Set errno on overflow and underflow.
8757         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8758         (__nexttoward): Set errno on overflow and underflow.
8759         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8760         (__nexttowardf): Set errno on overflow and underflow.
8761         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8762         (__nexttoward): Set errno on overflow and underflow.
8763         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8764         (__nexttowardf): Set errno on overflow and underflow.
8765         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8766         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8767         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8768         (__nextafterl): Set errno on overflow and underflow.
8769         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8770         setting to be missing on overflow.  Add more tests.
8771         (nexttoward_test_data): Likewise.
8773         * configure.ac (libc_cv_initfini_array): Remove configure test.
8774         * configure: Regenerated.
8776 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8778         [BZ #19189]
8779         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8780         non-finite argument handle arguments with negative sign.
8782         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8783         result from infinite argument.
8784         (j1_test_data): Likewise.
8785         (jn_test_data): Likewise.
8786         (y0_test_data): Likewise.
8787         (y1_test_data): Likewise.
8788         (yn_test_data): Likewise.
8790         [BZ #16171]
8791         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8792         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8793         * math/w_remainderf.c (dremf): Define as weak alias of
8794         __remainderf.
8795         * math/w_remainderl.c (dreml): Define as weak alias of
8796         __remainderl.
8797         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8798         __remainder.
8799         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8800         __remainderf.
8801         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8802         __remainderl.
8803         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8804         weak alias of remainderl.
8805         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8806         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8807         alias of __remainder.
8808         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8809         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8810         strong alias of __remainderl.
8811         (dreml): Use long_double_symbol.
8812         * math/Makefile (libm-calls): Remove w_drem.
8813         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8814         (CFLAGS-nldbl-drem.c): Remove variable.
8815         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8816         * math/w_drem.c: Remove file.
8817         * math/w_dremf.c: Likewise.
8818         * math/w_dreml.c: Likewise.
8819         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8820         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8821         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8823         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8824         * sysdeps/i386/configure: Regenerated.
8825         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8826         * sysdeps/x86_64/configure: Regenerated.
8828         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8829         test.
8830         (libc_cv_visibility_attribute): Likewise.
8831         (libc_cv_protected_data): Test unconditionally.
8832         (libc_cv_broken_visibility_attribute): Remove configure test.
8833         (libc_cv_have_sdata_section): Test unconditionally.
8834         * configure: Regenerated.
8836         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8837         * include/scratch_buffer.h: Include <stddef.h> instead of
8838         <libc-internal.h>.
8839         (struct scratch_buffer): Use max_align_t instead of
8840         libc_max_align_t.
8842 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8844         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8845         instead of extend_alloca.  Change control flow to avoid a goto.
8846         Remove assert which is trivially always true.
8848 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8850         [BZ #16068]
8851         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8852         (FE_ALL_EXCEPT_X86): New macro.
8853         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8854         FE_ALL_EXCEPT.  Ensure precision control is included in
8855         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8856         handle "denormal operand exception" and clear FZ and DAZ bits.
8857         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8858         (FE_ALL_EXCEPT_X86): New macro.
8859         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8860         FE_ALL_EXCEPT.  Ensure precision control is included in
8861         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8862         handle "denormal operand exception" and clear FZ and DAZ bits.
8863         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8864         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8865         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8866         test-fenv-x87 and test-fenv-sse-2.
8867         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8869         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8870         * math/test-double.h (BUILD_COMPLEX): New macro.
8871         * math/test-float.h (BUILD_COMPLEX): Likewise.
8872         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8874         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8875         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8876         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8878         instead of DBL_DENORM_MIN in comment.
8879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8880         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8882         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8884         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8886 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8888         [BZ# 19048]
8889         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8890         attached_threads member.
8891         (main_arena): Initialize attached_threads.
8892         * malloc/arena.c (list_lock): Update comment.
8893         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8894         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8895         (deattach_arena): New function.
8896         (_int_new_arena): Initialize arena reference count and deattach
8897         replaced arena.
8898         (get_free_list, reused_arena): Update reference count and deattach
8899         replaced arena.
8900         (arena_thread_freeres): Update arena reference count and only put
8901         unreferenced arenas on the free list.
8903 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8905         [BZ #19181]
8906         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8907         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8908         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8909         * math/test-fenv-clear-main.c: New file.
8910         * math/test-fenv-clear.c: Likewise.
8911         * math/Makefile (tests): Add test-fenv-clear.
8912         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8913         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8914         test-fenv-clear-sse.
8915         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8917         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8918         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8919         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8921 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8923         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8924         static libc.
8926 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8928         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8929         test.
8930         * sysdeps/i386/configure: Regenerated.
8931         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8932         test.
8933         * sysdeps/x86_64/configure: Regenerated.
8934         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8936         memset-avx2 unconditionally instead of conditionally on
8937         [$(config-cflags-avx2) = yes].
8938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8939         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8940         unconditional.
8941         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8942         * sysdeps/x86_64/multiarch/memset_chk.S
8943         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8944         to [IS_IN (libc) && SHARED].
8946 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8948         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8949         configure test.
8950         * sysdeps/arm/configure: Regenerated.
8951         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8952         Define variable if not already defined.
8954         [BZ #17404]
8955         * sysdeps/mips/atomic-machine.h
8956         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8957         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8958         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8960         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8961         unconditional.
8962         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8963         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8964         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8965         unconditional.
8966         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8967         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8968         unconditional.
8969         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8970         * stdlib/setenv.c
8971         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8972         code unconditional.
8973         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8974         Remove conditional code.
8975         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8976         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8977         unconditional.
8978         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8979         code.
8980         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8981         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8982         unconditional.
8983         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8984         code.
8985         * sysdeps/ieee754/ldbl-128/k_tanl.c
8986         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8987         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8988         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8989         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8990         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8991         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8992         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8993         unconditional.
8994         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8995         code.
8996         * sysdeps/ieee754/ldbl-96/k_tanl.c
8997         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8998         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9000         * nptl/tst-initializers1-c11.c: New file.
9001         * nptl/tst-initializers1-gnu11.c: Likewise.
9002         * nptl/Makefile (tests): Add these new tests.
9003         (CFLAGS-tst-initializers1-c11.c): New variable.
9004         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9006         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9007         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9008         instead of -std=gnu99.
9009         * configure.ac (systemtap): Test with -std=gnu11 instead of
9010         -std=gnu99.
9011         * configure: Regenerated.
9012         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9013         in compilation command in comment.
9015         * sysdeps/nptl/configure.ac: Remove file.
9016         * sysdeps/nptl/configure: Remove generated file.
9017         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9018         * configure: Regenerated.
9019         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9020         * config.make.in (have-forced-unwind): Remove variable.
9021         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9022         unconditional.
9023         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9024         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9025         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9026         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9027         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9028         unconditional.
9030 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9032         [BZ #19174]
9033         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9034         .skip_lock_out_of_tbegin_retries.
9035         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9036         (__lll_lock_elision): Likewise, and respect a value of
9037         try_tbegin <= 0.
9039 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9041         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9042         statement.
9044 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9046         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9047         variable.
9048         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9049         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9051         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9052         of -std=c1x -D_ISOC11_SOURCE.
9054         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9055         * configure: Regenerated.
9056         * manual/install.texi (Tools for Compilation): Document
9057         requirement for GCC 4.7 or later.
9058         * INSTALL: Regenerated.
9060 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9062         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9063         on CNT to a conditional jump to 'puntdata'.
9065 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9067         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9068         (libc_cv_gcc_tls_model_attr): Likewise.
9069         * configure: Regenerated.
9071         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9072         * configure: Regenerated.
9073         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9075 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9077         * configure.ac (old_glibc_headers): Remove configure test.
9078         * configure: Regenerated.
9079         * config.make.in (old-glibc-headers): Remove variable.
9080         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9081         (install): Remove dependency on remove-old-headers.
9082         (headers2_0): Remove variable.
9083         (remove-old-headers): Remove rule.
9085         * configure.ac (libc_cv_dot_text): Remove configure test.
9086         (libc_cv_asm_set_directive): Use .text instead of
9087         ${libc_cv_dot_text} in configure test.
9088         * configure: Regenerated.
9090 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9092         [BZ #19168]
9093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9095 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9097         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9098         not support static linking.
9099         * configure: Regenerate.
9101 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9103         * math/libm-test.inc (check_float_internal): Do not special-case
9104         errors up to 0.5 ulp.
9106         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9107         log2.
9108         * math/auto-libm-test-out: Regenerated.
9109         * math/libm-test.inc (MAX_EXP): New macro.
9110         (ilogb_test_data): Add more tests.
9111         (isfinite_test_data): Likewise.
9112         (isgreater_test_data): Likewise.
9113         (isgreaterequal_test_data): Likewise.
9114         (isinf_test_data): Likewise.
9115         (isless_test_data): Likewise.
9116         (islessequal_test_data): Likewise.
9117         (islessgreater_test_data): Likewise.
9118         (isnan_test_data): Likewise.
9119         (isnormal_test_data): Likewise.
9120         (issignaling_test_data): Likewise.
9121         (isunordered_test_data): Likewise.
9122         (j0_test_data): Likewise.
9123         (j1_test_data): Likewise.
9124         (jn_test_data): Likewise.
9125         (lgamma_test_data): Likewise.
9126         (log_test_data): Likewise.
9127         (log10_test_data): Likewise.
9128         (log1p_test_data): Likewise.
9129         (log2_test_data): Likewise.
9130         (logb_test_data): Likewise.
9131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9133         [BZ #18611]
9134         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9135         avoid excess range and precision on underflow.
9136         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9137         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9138         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9139         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9140         underflow.
9141         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9143         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9144         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9145         * math/auto-libm-test-in: Do not allow missing errno setting for
9146         tests of j1 and jn.
9147         * math/auto-libm-test-out: Regenerated.
9149 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9151         [BZ #15491]
9152         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9153         floating-point environment instead of clearing all exceptions.
9154         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9155         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9156         merging in "invalid" exceptions from frndint.
9157         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9158         * math/test-nearbyint-except.c: New file.
9159         * math/Makefile (tests): Add test-nearbyint-except.
9161 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9163         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9165         * sysdeps/tile/libm-test-ulps: Regenerated.
9167 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9170         (__NR_sync_file_range2): Assume it is always defined.
9171         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9172         (__NR_sync_file_range): Assume it is always defined.
9174 2015-10-22  Andreas Schwab  <schwab@suse.de>
9176         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9177         INTERNAL_SYSCALL_ERRNO.
9178         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9179         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9180         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9181         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9182         Likewise.
9183         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9185 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9187         * io/tst-fcntl.c (fd): New static variable.
9188         (do_prepare): Open temporary file here....
9189         (do_test): ...not here.
9191         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9193 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9195         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9196         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9197         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9198         Moved before "#ifdef __ASSEMBLER__".
9200 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9202         [BZ #19156]
9203         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9204         arguments very close to 0.
9206 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9208         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9209         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9211 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9213         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9214         New.  Defined for GCC 5 and above when not compiling for
9215         profiling.
9216         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9218         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9219         Renamed to ...
9220         (CFLAGS-epoll_pwait.o): This.
9221         (CFLAGS-mmap.c): Renamed to ...
9222         (CFLAGS-mmap.o): This.
9223         (CFLAGS-mmap64.c): Renamed to ...
9224         (CFLAGS-mmap64.o): This.
9225         (CFLAGS-epoll_pwait.os): New.
9226         (CFLAGS-mmap.os): Likewise.
9227         (CFLAGS-mmap64.os): Likewise.
9228         (CFLAGS-semtimedop.os): Likewise.
9229         (CFLAGS-semtimedop.c): Renamed to ...
9230         (CFLAGS-semtimedop.o): This.
9232 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9234         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9235         warning message.
9237 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9239         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9240         * Makefile ($(objpfx)c++-types-check.out): Filter out
9241         $(+gccwarn-c) instead of -Wstrict-prototypes.
9243         * io/fts.c (fts_open): Convert to prototype-style function
9244         definition.
9245         * malloc/mcheck.c (mcheck): Likewise.
9246         (mcheck_pedantic): Likewise.
9247         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9248         internal_function.
9249         (re_search_internal): Likewise.
9250         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9251         prototype-style function definition.
9252         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9253         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9254         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9255         (xdr_utmpptr): Likewise.
9256         (xdr_utmparr): Likewise.
9257         (xdr_utmpidle): Likewise.
9258         (xdr_utmpidleptr): Likewise.
9259         (xdr_utmpidlearr): Likewise.
9261         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9262         log, log10 and log2.
9263         * math/auto-libm-test-out: Regenerated.
9264         * math/libm-test.inc (fmod_test_data): Add more tests.
9265         (fpclassify_test_data): Likewise.
9266         (frexp_test_data): Likewise.
9267         (hypot_test_data): Likewise.
9268         (ilogb_test_data): Likewise.
9270 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9272         * debug/fortify_fail.c (__fortify_fail): Convert to
9273         prototype-style function definition.  Use internal_function.
9274         * libio/genops.c (save_for_backup): Convert to prototype-style
9275         function definition.
9276         * libio/wgenops.c (save_for_wbackup): Likewise.
9277         * login/grantpt.c (grantpt): Likewise.
9278         * login/ptsname.c (ptsname): Likewise.
9279         (__ptsname_r): Likewise.
9280         * login/unlockpt.c (unlockpt): Likewise.
9281         * mach/msgserver.c (__mach_msg_server): Likewise.
9282         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9283         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9284         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9285         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9286         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9287         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9288         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9289         Likewise.
9290         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9291         internal_function.
9292         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9293         prototype-style function definition.
9294         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9295         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9296         (__pthread_create_2_0): Likewise.
9297         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9298         * nptl/register-atfork.c (__register_atfork): Likewise.
9299         * posix/glob.c (glob): Likewise.
9300         * posix/regcomp.c (re_comp): Likewise.
9301         * posix/regexec.c (re_exec): Likewise.
9302         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9303         [!__STDC__]: Remove conditional code.
9304         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9305         [!__STDC__]: Remove conditional code.
9306         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9307         [!__STDC__]: Remove conditional code.
9308         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9309         [!__STDC__]: Remove conditional code.
9310         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9311         [!__STDC__]: Remove conditional code.
9312         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9313         [!__STDC__]: Remove conditional code.
9314         * stdlib/mul.c [__STDC__]: Make code unconditional.
9315         [!__STDC__]: Remove conditional code.
9316         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9317         [!__STDC__]: Remove conditional code.
9318         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9319         [!__STDC__]: Remove conditional code.
9320         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9321         function definition.
9322         (STRTOF): Likewise.
9323         * stdlib/strtod_l.c (__STRTOF): Likewise.
9324         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9325         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9326         (__strtol_l): Likewise.
9327         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9328         [!__STDC__]: Remove conditional code.
9329         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9330         definition.
9331         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9332         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9333         type.
9334         (__strcasecmp): Convert to prototype-style function definition.
9335         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9336         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9337         type.
9338         (__strncasecmp): Convert to prototype-style function definition.
9339         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9340         * sunrpc/xdr.c (xdr_union): Likewise.
9341         * sunrpc/xdr_array.c (xdr_array): Likewise.
9342         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9343         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9344         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9345         Likewise.
9346         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9347         Likewise.
9348         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9349         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9350         Likewise.
9351         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9352         (LOCALE_PARAM_PROTO): Likewise.
9353         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9354         argument type.
9355         (ut_argument_spec): Remove macro.
9356         (ut_argument_spec_iso): Rename to ut_argument_spec.
9357         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9358         prototype-style function definition.
9359         (memcpy_uppcase): Likewise.
9360         (__strftime_internal): Likewise.
9361         (my_strftime): Likewise.
9362         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9363         (LOCALE_PARAM_DECL): Likewise.
9364         [_LIBC] (LOCALE_PARAM): Include argument type.
9365         (__strptime_internal): Convert to prototype-style function
9366         definition.
9367         (strptime): Likewise.
9368         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9369         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9370         type.
9371         (__wcscasecmp): Convert to prototype-style function definition.
9372         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9373         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9374         type.
9375         (__wcsncasecmp): Convert to prototype-style function definition.
9377         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9378         function definition.
9379         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9380         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9381         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9382         * elf/dl-minimal.c (_itoa): Likewise.
9383         * hurd/hurdmalloc.c (malloc): Likewise.
9384         (free): Likewise.
9385         (realloc): Likewise.
9386         * inet/inet6_option.c (inet6_option_space): Likewise.
9387         (inet6_option_init): Likewise.
9388         (inet6_option_append): Likewise.
9389         (inet6_option_alloc): Likewise.
9390         (inet6_option_next): Likewise.
9391         (inet6_option_find): Likewise.
9392         * io/ftw.c (FTW_NAME): Likewise.
9393         (NFTW_NAME): Likewise.
9394         (NFTW_NEW_NAME): Likewise.
9395         (NFTW_OLD_NAME): Likewise.
9396         * libio/iofwide.c (_IO_fwide): Likewise.
9397         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9398         (_IO_str_init_static): Likewise.
9399         (_IO_str_init_readonly): Likewise.
9400         (_IO_str_overflow): Likewise.
9401         (_IO_str_underflow): Likewise.
9402         (_IO_str_count): Likewise.
9403         (_IO_str_seekoff): Likewise.
9404         (_IO_str_pbackfail): Likewise.
9405         (_IO_str_finish): Likewise.
9406         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9407         (_IO_wstr_overflow): Likewise.
9408         (_IO_wstr_underflow): Likewise.
9409         (_IO_wstr_count): Likewise.
9410         (_IO_wstr_seekoff): Likewise.
9411         (_IO_wstr_pbackfail): Likewise.
9412         (_IO_wstr_finish): Likewise.
9413         * locale/programs/localedef.c (normalize_codeset): Likewise.
9414         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9415         (add_locales_to_archive): Likewise.
9416         (delete_locales_from_archive): Likewise.
9417         * malloc/malloc.c (__libc_mallinfo): Likewise.
9418         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9419         * misc/tsearch.c (__tfind): Likewise.
9420         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9421         * nptl/pthread_attr_getdetachstate.c
9422         (__pthread_attr_getdetachstate): Likewise.
9423         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9424         Likewise.
9425         * nptl/pthread_attr_getinheritsched.c
9426         (__pthread_attr_getinheritsched): Likewise.
9427         * nptl/pthread_attr_getschedparam.c
9428         (__pthread_attr_getschedparam): Likewise.
9429         * nptl/pthread_attr_getschedpolicy.c
9430         (__pthread_attr_getschedpolicy): Likewise.
9431         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9432         Likewise.
9433         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9434         Likewise.
9435         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9436         Likewise.
9437         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9438         Likewise.
9439         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9440         (__pthread_attr_init_2_0): Likewise.
9441         * nptl/pthread_attr_setdetachstate.c
9442         (__pthread_attr_setdetachstate): Likewise.
9443         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9444         Likewise.
9445         * nptl/pthread_attr_setinheritsched.c
9446         (__pthread_attr_setinheritsched): Likewise.
9447         * nptl/pthread_attr_setschedparam.c
9448         (__pthread_attr_setschedparam): Likewise.
9449         * nptl/pthread_attr_setschedpolicy.c
9450         (__pthread_attr_setschedpolicy): Likewise.
9451         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9452         Likewise.
9453         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9454         Likewise.
9455         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9456         Likewise.
9457         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9458         Likewise.
9459         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9460         Likewise.
9461         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9462         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9463         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9464         use internal_function.
9465         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9466         prototype-style function definition.
9467         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9468         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9469         internal_function.
9470         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9471         Convert to prototype-style function definition.
9472         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9473         Likewise.
9474         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9475         Likewise.
9476         (__pthread_mutex_unlock): Likewise.
9477         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9478         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9479         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9480         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9481         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9482         * nss/makedb.c (process_input): Likewise.
9483         * posix/fnmatch.c (__strchrnul): Likewise.
9484         (__wcschrnul): Likewise.
9485         (fnmatch): Likewise.
9486         * posix/fnmatch_loop.c (FCT): Likewise.
9487         * posix/glob.c (globfree): Likewise.
9488         (__glob_pattern_type): Likewise.
9489         (__glob_pattern_p): Likewise.
9490         * posix/regcomp.c (re_compile_pattern): Likewise.
9491         (re_set_syntax): Likewise.
9492         (re_compile_fastmap): Likewise.
9493         (regcomp): Likewise.
9494         (regerror): Likewise.
9495         (regfree): Likewise.
9496         * posix/regexec.c (regexec): Likewise.
9497         (re_match): Likewise.
9498         (re_search): Likewise.
9499         (re_match_2): Likewise.
9500         (re_search_2): Likewise.
9501         (re_search_stub): Likewise.  Use internal_function
9502         (re_copy_regs): Likewise.
9503         (re_set_registers): Convert to prototype-style function
9504         definition.
9505         (prune_impossible_nodes): Likewise.  Use internal_function.
9506         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9507         prototype-style function definition.
9508         (inet_net_pton_ipv4): Likewise.
9509         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9510         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9511         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9512         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9513         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9514         Make variadic.
9515         * time/strptime_l.c (localtime_r): Convert to prototype-style
9516         function definition.
9517         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9518         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9519         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9520         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9522         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9523         definition.
9524         (_ufc_doit_r): Likewise.
9525         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9526         (_ufc_output_conversion_r): Likewise.
9527         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9528         * inet/rcmd.c (rcmd_af): Likewise.
9529         (rcmd): Likewise.
9530         (ruserok_af): Likewise.
9531         (ruserok): Likewise.
9532         (ruserok2_sa): Likewise.
9533         (ruserok_sa): Likewise.
9534         (iruserok_af): Likewise.
9535         (iruserok): Likewise.
9536         (__ivaliduser): Likewise.
9537         (__validuser2_sa): Likewise.
9538         * inet/rexec.c (rexec_af): Likewise.
9539         (rexec): Likewise.
9540         * inet/ruserpass.c (ruserpass): Likewise.
9541         * locale/programs/xmalloc.c (xcalloc): Likewise.
9542         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9543         * math/w_drem.c (__drem): Likewise.
9544         * math/w_dremf.c (__dremf): Likewise.
9545         * math/w_dreml.c (__dreml): Likewise.
9546         * misc/daemon.c (daemon): Likewise.
9547         * resolv/res_debug.c (p_fqnname): Likewise.
9548         * stdlib/div.c (div): Likewise.
9549         * string/memcmp.c (memcmp_bytes): Likewise.
9550         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9551         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9553         * crypt/cert.c (main): Convert to prototype-style function
9554         definition.
9555         * io/pipe.c (__pipe): Likewise.
9556         * io/pipe2.c (__pipe2): Likewise.
9557         * misc/futimesat.c (futimesat): Likewise.
9558         * misc/utimes.c (__utimes): Likewise.
9559         * posix/execve.c (__execve): Likewise.
9560         * posix/execvp.c (execvp): Likewise.
9561         * posix/execvpe.c (__execvpe): Likewise.
9562         * posix/fexecve.c (fexecve): Likewise.
9563         * socket/socketpair.c (socketpair): Likewise.
9564         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9565         * stdlib/erand48.c (erand48): Likewise.
9566         * stdlib/erand48_r.c (__erand48_r): Likewise.
9567         * stdlib/jrand48.c (jrand48): Likewise.
9568         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9569         * stdlib/lcong48.c (lcong48): Likewise.
9570         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9571         * stdlib/nrand48.c (nrand48): Likewise.
9572         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9573         * stdlib/seed48.c (seed48): Likewise.
9574         * stdlib/seed48_r.c (__seed48_r): Likewise.
9575         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9576         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9577         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9579 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9581         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9582         * configure: Regenerated.
9583         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9584         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9585         unconditional.
9586         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9587         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9588         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9589         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9590         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9591         unconditional.
9592         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9594         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9595         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9597         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9598         function definition.
9599         * crypt/crypt_util.c (__encrypt_r): Likewise.
9600         * libio/genops.c (_IO_no_init): Likewise.
9601         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9602         (_IO_old_fopencookie): Likewise.
9603         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9604         * libio/iogetline.c (_IO_getline): Likewise.
9605         (_IO_getline_info): Likewise.
9606         * libio/iogetwline.c (_IO_getwline): Likewise.
9607         (_IO_getwline_info): Likewise.
9608         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9609         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9610         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9611         (find_entry): Likewise.
9612         (iterate_table): Likewise.
9613         (lookup): Likewise.
9614         * login/forkpty.c (forkpty): Likewise.
9615         * misc/hsearch_r.c (__hsearch_r): Likewise.
9616         * misc/select.c (__select): Likewise.
9617         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9618         Likewise.
9619         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9620         Likewise.
9621         * nptl/old_pthread_cond_timedwait.c
9622         (__pthread_cond_timedwait_2_0): Likewise.
9623         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9624         * nptl/pthread_barrierattr_getpshared.c
9625         (pthread_barrierattr_getpshared): Likewise.
9626         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9627         Likewise.
9628         * nptl/pthread_mutex_setprioceiling.c
9629         (pthread_mutex_setprioceiling): Likewise.
9630         * nptl/pthread_mutexattr_getprioceiling.c
9631         (pthread_mutexattr_getprioceiling): Likewise.
9632         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9633         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9634         Likewise.
9635         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9636         Likewise.
9637         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9638         Likewise.
9639         * socket/recvfrom.c (__recvfrom): Likewise.
9640         * socket/sendto.c (__sendto): Likewise.
9641         * socket/setsockopt.c (__setsockopt): Likewise.
9642         * stdio-common/_itoa.c (_itoa): Likewise.
9643         * stdio-common/_itowa.c (_itowa): Likewise.
9644         * stdio-common/reg-printf.c (__register_printf_specifier):
9645         Likewise.
9646         (__register_printf_function): Likewise.
9647         * stdio-common/tempname.c (__path_search): Likewise.
9648         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9649         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9650         * stdlib/random_r.c (__initstate_r): Likewise.
9651         * stdlib/setenv.c (__add_to_environ): Likewise.
9652         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9653         * streams/getpmsg.c (getpmsg): Likewise.
9654         * streams/putmsg.c (putmsg): Likewise.
9655         * streams/putpmsg.c (putpmsg): Likewise.
9656         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9657         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9658         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9659         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9660         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9661         * sunrpc/svc_udp.c (cache_get): Likewise.
9662         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9663         * sysdeps/mach/hurd/getcwd.c
9664         (__canonicalize_directory_name_internal): Likewise.
9665         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9666         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9667         * sysdeps/mach/hurd/select.c (__select): Likewise.
9668         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9669         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9670         * sysdeps/sparc/nptl/pthread_barrier_init.c
9671         (__pthread_barrier_init): Likewise.
9672         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9673         (__pthread_cond_timedwait): Likewise.
9674         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9675         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9678         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9679         Likewise.
9680         * sysvipc/semtimedop.c (semtimedop): Likewise.
9681         * time/setitimer.c (__setitimer): Likewise.
9682         * time/strftime_l.c (emacs_strftime): Likewise.
9684 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9686         * config.make.in (have-ssp): Delete.
9687         (stack-protector): New variable.
9688         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9689         cache test for -fstack-protector-strong.  Export stack_protector to
9690         the best ssp flag.
9691         * configure: Regenerated.
9692         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9693         * nscd/Makefile (CFLAGS-nscd): Likewise.
9694         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9696 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9698         [BZ #19122]
9699         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9700         attribute_hidden.
9702 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9704         [BZ #18743]
9705         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9706         code to...
9707         (ELIDE_LOCK): ...here.
9708         (__get_new_count): New function with part of the code from
9709         __elide_lock that updates the value of adapt_count after a
9710         transaction abort.
9711         (__elided_trylock): Moved this code to...
9712         (ELIDE_TRYLOCK): ...here.
9714 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9716         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9717         * configure: Regenerate.
9718         * INSTALL: Regenerate.
9719         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9720         and tweak grammar.
9722 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9724         * login/programs/pt_chown.c: Include signal.h
9725         (main): Clear any signal mask from the parent process.
9727 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9729         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9730         * configure: Regenerated.
9731         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9732         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9733         $(gnu89-inline-CFLAGS).
9735         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9736         test.
9737         (libc_cv_asm_weakext_directive): Likewise.
9738         * configure: Regenerated.
9739         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9740         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9741         * include/libc-symbols.h
9742         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9743         #error.
9744         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9745         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9747         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9748         prototype-style function definition.
9749         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9750         * sysdeps/i386/ffs.c (__ffs): Likewise.
9751         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9752         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9753         Likewise.
9754         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9755         Likewise.
9756         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9757         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9758         Likewise.
9759         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9760         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9761         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9762         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9763         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9764         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9765         * sysdeps/mach/hurd/access.c (__access): Likewise.
9766         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9767         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9768         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9769         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9770         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9771         (cthread_getspecific): Likewise.
9772         (cthread_setspecific): Likewise.
9773         (__libc_getspecific): Likewise.
9774         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9775         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9776         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9777         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9778         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9779         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9780         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9781         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9782         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9783         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9784         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9785         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9786         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9787         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9788         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9789         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9790         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9791         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9792         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9793         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9794         * sysdeps/mach/hurd/link.c (__link): Likewise.
9795         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9796         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9797         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9798         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9799         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9800         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9801         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9802         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9803         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9804         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9805         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9806         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9807         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9808         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9809         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9810         * sysdeps/mach/hurd/send.c (__send): Likewise.
9811         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9812         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9813         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9814         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9815         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9816         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9817         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9818         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9819         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9820         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9821         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9822         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9823         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9824         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9825         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9826         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9827         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9828         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9829         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9830         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9831         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9832         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9833         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9834         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9835         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9836         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9837         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9838         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9839         * sysdeps/posix/alarm.c (alarm): Likewise.
9840         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9841         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9842         * sysdeps/posix/dup.c (__dup): Likewise.
9843         * sysdeps/posix/dup2.c (__dup2): Likewise.
9844         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9845         (main): Likewise.
9846         * sysdeps/posix/flock.c (__flock): Likewise.
9847         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9848         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9849         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9850         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9851         * sysdeps/posix/isatty.c (__isatty): Likewise.
9852         * sysdeps/posix/killpg.c (killpg): Likewise.
9853         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9854         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9855         * sysdeps/posix/raise.c (raise): Likewise.
9856         * sysdeps/posix/remove.c (remove): Likewise.
9857         * sysdeps/posix/rename.c (rename): Likewise.
9858         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9859         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9860         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9861         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9862         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9863         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9864         * sysdeps/posix/sigset.c (sigset): Likewise.
9865         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9866         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9867         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9868         * sysdeps/posix/time.c (time): Likewise.
9869         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9870         (ttyname): Likewise.
9871         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9872         * sysdeps/posix/utime.c (utime): Likewise.
9873         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9874         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9875         Likewise.
9876         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9877         (pthread_spin_trylock): Likewise.
9878         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9879         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9880         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9881         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9882         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9883         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9884         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9885         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9886         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9887         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9888         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9889         * sysdeps/s390/ffs.c (__ffs): Likewise.
9890         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9891         Likewise.
9892         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9893         Likewise.
9894         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9895         Likewise.
9896         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9897         (pthread_barrier_destroy): Likewise.
9898         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9899         (__pthread_barrier_wait): Likewise.
9900         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9901         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9902         (__pthread_barrier_wait): Likewise.
9903         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9904         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9905         (memcmp_not_common_alignment): Likewise.
9906         (MEMCMP): Likewise.
9907         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9908         (_wordcopy_fwd_dest_aligned): Likewise.
9909         (_wordcopy_bwd_aligned): Likewise.
9910         (_wordcopy_bwd_dest_aligned): Likewise.
9911         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9912         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9913         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9914         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9915         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9916         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9917         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9918         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9919         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9920         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9921         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9922         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9923         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9924         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9925         * sysdeps/unix/stime.c (stime): Likewise.
9926         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9927         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9928         Likewise.  Use internal_function.
9929         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9930         Convert to prototype-style function definition.
9931         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9932         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9933         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9934         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9935         Likewise.  Use internal_function.
9936         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9937         prototype-style function definition
9938         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9939         Likewise.
9940         (__getlogin_r): Likewise.
9941         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9943         (__pthread_cond_broadcast): Likewise.
9944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9945         (__pthread_cond_destroy): Likewise.
9946         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9947         (__pthread_cond_init): Likewise.
9948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9949         (__pthread_cond_signal): Likewise.
9950         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9951         (__pthread_cond_wait): Likewise.
9952         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9953         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9954         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9955         Likewise.
9956         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9957         Likewise.
9958         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9959         Likewise.
9960         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9961         Likewise.
9962         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9964         (__ftruncate64): Likewise.
9965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9966         (truncate64): Likewise.
9967         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9968         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9969         (pthread_getcpuclockid): Likewise.
9970         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9971         Likewise.
9972         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9973         Likewise.
9974         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9975         Likewise.
9976         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9977         Likewise.
9978         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9979         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9980         (__libc_sigaction): Likewise.
9981         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9982         Likewise.
9983         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9984         (__sigprocmask): Likewise.
9985         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9986         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9987         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9988         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9989         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9990         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9991         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9992         Likewise.
9993         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9994         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9995         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9996         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9997         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9998         Likewise.
9999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10000         (__sigprocmask): Likewise.
10001         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10002         (cfgetispeed): Likewise.
10003         (cfsetospeed): Likewise.
10004         (cfsetispeed): Likewise.
10005         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10006         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10007         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10008         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10009         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10010         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10011         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10012         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10013         Likewise.
10014         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10015         Likewise.
10016         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10017         Likewise.
10018         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10019         Likewise.
10020         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10022 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10024         sunrpc: Rewrite with explicit TLS access using __thread.
10025         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10026         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10027         directly.
10028         (__rpc_thread_variables): Access thread_rpc_vars directly.
10029         Eliminate redundant assignment of the tvp variable.
10031 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10033         malloc: Rewrite with explicit TLS access using __thread.
10034         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10035         (tsd_setspecific, tsd_getspecific): Remove.
10036         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10037         (tsd_setspecific, tsd_getspecific): Likewise.
10038         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10039         (tsd_setspecific, tsd_getspecific): Likewise.
10040         * malloc/arena.c (thread_arena): New TLS variable.
10041         (arena_key): Remove variable.
10042         (arena_get): Use thread_arena.
10043         (arena_lookup): Remove macro.
10044         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10045         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10046         (_int_new_arena, get_free_list, reused_arena)
10047         (arena_thread_freeres): Use thread_arena.
10048         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10049         tsd_getspecific, tsd_setspecific from safety annotations.
10050         (Allocating Cleared Space): Remove arena_lookup from safety
10051         annotations.
10053 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10055         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10056         struct scratch_buffer instead of extend_alloca.
10058 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10060         * sysdeps/unix/sysv/linux/kernel-features.h
10061         (__ASSUME_SOCK_CLOEXEC): Remove.
10062         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10063         (__have_paccept): Remove unused macro.
10064         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10065         * misc/syslog.c (openlog_internal): Remove fallback code for
10066         !__ASSUME_SOCK_CLOEXEC.
10067         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10068         missing SOCK_CLOEXEC.
10069         * nscd/connections.c (have_sock_cloexec): Remove definition.
10070         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10071         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10072         !__ASSUME_SOCK_CLOEXEC.
10073         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10074         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10075         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10076         definition.
10077         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10078         code for !__ASSUME_SOCK_CLOEXEC.
10080 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10082         [BZ #18982]
10083         * manual/stdio.texi (Variable Arguments Output): Add portability
10084         note, explaining that vfprintf clobbers the va_list pointer.
10086 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10088         * math/libm-test.inc (fabs_test_data): Add more tests.
10089         (fdim_test_data): Likewise.
10090         (fma_test_data): Likewise.
10091         (fmax_test_data): Likewise.
10092         (fmin_test_data): Likewise.
10093         (fmod_test_data): Likewise.
10095 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10097         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10098         data.
10100 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10102         * math/libm-test.inc (ceil_test_data): Add more tests and more
10103         expectations for "inexact".
10104         (floor_test_data): Add more tests.
10105         (round_test_data): Likewise.
10106         (trunc_test_data): Likewise.
10108         * crypt/cert.c (good_bye): Convert to prototype-style function
10109         definition.
10110         (get8): Likewise.
10111         (put8): Likewise.
10112         * crypt/crypt-entry.c (crypt): Likewise.
10113         (__fcrypt): Likewise.
10114         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10115         (_ufc_set_bits): Likewise.
10116         (_ufc_clearmem): Likewise.
10117         (__init_des_r): Likewise.
10118         (shuffle_sb): Likewise.
10119         (shuffle_sb): Likewise.
10120         (_ufc_setup_salt_r): Likewise.
10121         (_ufc_mk_keytab_r): Likewise.
10122         (_ufc_dofinalperm_r): Likewise.
10123         (encrypt): Likewise.
10124         (__setkey_r): Likewise.
10125         (setkey): Likewise.
10126         * crypt/md5.c (md5_init_ctx): Likewise.
10127         (md5_read_ctx): Likewise.
10128         (md5_finish_ctx): Likewise.
10129         (md5_stream): Likewise.
10130         (md5_buffer): Likewise.
10131         (md5_process_bytes): Likewise.
10132         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10133         (__sha256_finish_ctx): Likewise.
10134         (__sha256_process_bytes): Likewise.
10135         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10136         (__sha512_finish_ctx): Likewise.
10137         (__sha512_process_bytes): Likewise.
10138         * ctype/isctype.c (__isctype): Likewise.
10139         * debug/backtrace.c (__backtrace): Likewise.
10140         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10141         * debug/fgets_chk.c (__fgets_chk): Likewise.
10142         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10143         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10144         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10145         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10146         * debug/memset_chk.c (__memset_chk): Likewise.
10147         * debug/strcat_chk.c (__strcat_chk): Likewise.
10148         * debug/strncat_chk.c (__strncat_chk): Likewise.
10149         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10150         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10151         * dirent/dirfd.c (dirfd): Likewise.
10152         * dirent/getdents.c (__getdirentries): Likewise.
10153         * dirent/getdents64.c (getdirentries64): Likewise.
10154         * dirent/rewinddir.c (__rewinddir): Likewise.
10155         * dirent/seekdir.c (seekdir): Likewise.
10156         * dirent/telldir.c (telldir): Likewise.
10157         * elf/sln.c (makesymlinks): Likewise.
10158         (makesymlink): Likewise.
10159         * gmon/gmon.c (__moncontrol): Likewise.
10160         (__monstartup): Likewise.
10161         (write_hist): Likewise.
10162         (write_call_graph): Likewise.
10163         (write_bb_counts): Likewise.
10164         * grp/setgroups.c (setgroups): Likewise.
10165         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10166         * inet/inet_net.c (inet_network): Likewise.
10167         * inet/inet_netof.c (inet_netof): Likewise.
10168         * inet/rcmd.c (rresvport_af): Likewise.
10169         (rresvport): Likewise.
10170         * io/access.c (__access): Likewise.
10171         * io/chdir.c (__chdir): Likewise.
10172         * io/chmod.c (__chmod): Likewise.
10173         * io/chown.c (__chown): Likewise.
10174         * io/close.c (__close): Likewise.
10175         * io/creat.c (creat): Likewise.
10176         * io/creat64.c (creat64): Likewise.
10177         * io/dup.c (__dup): Likewise.
10178         * io/dup2.c (__dup2): Likewise.
10179         * io/dup3.c (__dup3): Likewise.
10180         * io/euidaccess.c (__euidaccess): Likewise.
10181         * io/faccessat.c (faccessat): Likewise.
10182         * io/fchmod.c (__fchmod): Likewise.
10183         * io/fchmodat.c (fchmodat): Likewise.
10184         * io/fchown.c (__fchown): Likewise.
10185         * io/fchownat.c (fchownat): Likewise.
10186         * io/fcntl.c (__fcntl): Likewise.
10187         * io/flock.c (__flock): Likewise.
10188         * io/fts.c (fts_load): Likewise.
10189         (fts_close): Likewise.
10190         (fts_read): Likewise.
10191         (fts_set): Likewise.
10192         (fts_children): Likewise.
10193         (fts_build): Likewise.
10194         (fts_stat): Likewise.
10195         (fts_sort): Likewise.
10196         (fts_alloc): Likewise.
10197         (fts_lfree): Likewise.
10198         (fts_palloc): Likewise.
10199         (fts_padjust): Likewise.
10200         (fts_maxarglen): Likewise.
10201         (fts_safe_changedir): Likewise.
10202         * io/getwd.c (getwd): Likewise.
10203         * io/isatty.c (__isatty): Likewise.
10204         * io/lchown.c (__lchown): Likewise.
10205         * io/link.c (__link): Likewise.
10206         * io/linkat.c (linkat): Likewise.
10207         * io/lseek.c (__libc_lseek): Likewise.
10208         * io/mkdir.c (__mkdir): Likewise.
10209         * io/mkdirat.c (mkdirat): Likewise.
10210         * io/mkfifo.c (mkfifo): Likewise.
10211         * io/mkfifoat.c (mkfifoat): Likewise.
10212         * io/open.c (__libc_open): Likewise.
10213         * io/open64.c (__libc_open64): Likewise.
10214         * io/readlink.c (__readlink): Likewise.
10215         * io/readlinkat.c (readlinkat): Likewise.
10216         * io/rmdir.c (__rmdir): Likewise.
10217         * io/symlink.c (__symlink): Likewise.
10218         * io/symlinkat.c (symlinkat): Likewise.
10219         * io/ttyname.c (ttyname): Likewise.
10220         * io/ttyname_r.c (__ttyname_r): Likewise.
10221         * io/umask.c (__umask): Likewise.
10222         * io/unlink.c (__unlink): Likewise.
10223         * io/unlinkat.c (unlinkat): Likewise.
10224         * io/utime.c (utime): Likewise.
10225         * libio/clearerr.c (clearerr): Likewise.
10226         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10227         * libio/feof.c (_IO_feof): Likewise.
10228         * libio/feof_u.c (feof_unlocked): Likewise.
10229         * libio/ferror.c (_IO_ferror): Likewise.
10230         * libio/ferror_u.c (ferror_unlocked): Likewise.
10231         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10232         * libio/fileno.c (__fileno): Likewise.
10233         * libio/fputc.c (fputc): Likewise.
10234         * libio/fputc_u.c (fputc_unlocked): Likewise.
10235         * libio/fputwc.c (fputwc): Likewise.
10236         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10237         * libio/freopen.c (freopen): Likewise.
10238         * libio/freopen64.c (freopen64): Likewise.
10239         * libio/fseek.c (fseek): Likewise.
10240         * libio/fseeko.c (fseeko): Likewise.
10241         * libio/fseeko64.c (fseeko64): Likewise.
10242         * libio/ftello.c (__ftello): Likewise.
10243         * libio/ftello64.c (ftello64): Likewise.
10244         * libio/fwide.c (fwide): Likewise.
10245         * libio/genops.c (_IO_un_link): Likewise.
10246         (_IO_link_in): Likewise.
10247         (_IO_least_marker): Likewise.
10248         (_IO_switch_to_main_get_area): Likewise.
10249         (_IO_switch_to_backup_area): Likewise.
10250         (_IO_switch_to_get_mode): Likewise.
10251         (_IO_free_backup_area): Likewise.
10252         (_IO_switch_to_put_mode): Likewise.
10253         (__overflow): Likewise.
10254         (__underflow): Likewise.
10255         (__uflow): Likewise.
10256         (_IO_setb): Likewise.
10257         (_IO_doallocbuf): Likewise.
10258         (_IO_default_underflow): Likewise.
10259         (_IO_default_uflow): Likewise.
10260         (_IO_default_xsputn): Likewise.
10261         (_IO_sgetn): Likewise.
10262         (_IO_default_xsgetn): Likewise.
10263         (_IO_sync): Likewise.
10264         (_IO_default_setbuf): Likewise.
10265         (_IO_default_seekpos): Likewise.
10266         (_IO_default_doallocate): Likewise.
10267         (_IO_init): Likewise.
10268         (_IO_old_init): Likewise.
10269         (_IO_default_sync): Likewise.
10270         (_IO_default_finish): Likewise.
10271         (_IO_default_seekoff): Likewise.
10272         (_IO_sputbackc): Likewise.
10273         (_IO_sungetc): Likewise.
10274         (_IO_set_column): Likewise.
10275         (_IO_set_column): Likewise.
10276         (_IO_adjust_column): Likewise.
10277         (_IO_get_column): Likewise.
10278         (_IO_init_marker): Likewise.
10279         (_IO_remove_marker): Likewise.
10280         (_IO_marker_difference): Likewise.
10281         (_IO_marker_delta): Likewise.
10282         (_IO_seekmark): Likewise.
10283         (_IO_unsave_markers): Likewise.
10284         (_IO_nobackup_pbackfail): Likewise.
10285         (_IO_default_pbackfail): Likewise.
10286         (_IO_default_seek): Likewise.
10287         (_IO_default_stat): Likewise.
10288         (_IO_default_read): Likewise.
10289         (_IO_default_write): Likewise.
10290         (_IO_default_showmanyc): Likewise.
10291         (_IO_default_imbue): Likewise.
10292         (_IO_iter_next): Likewise.
10293         (_IO_iter_file): Likewise.
10294         * libio/getc.c (_IO_getc): Likewise.
10295         * libio/getwc.c (_IO_getwc): Likewise.
10296         * libio/iofclose.c (_IO_new_fclose): Likewise.
10297         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10298         * libio/iofflush.c (_IO_fflush): Likewise.
10299         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10300         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10301         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10302         * libio/iofgets.c (_IO_fgets): Likewise.
10303         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10304         * libio/iofgetws.c (fgetws): Likewise.
10305         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10306         * libio/iofopen64.c (_IO_fopen64): Likewise.
10307         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10308         (_IO_cookie_write): Likewise.
10309         (_IO_cookie_seek): Likewise.
10310         (_IO_cookie_close): Likewise.
10311         (_IO_cookie_seekoff): Likewise.
10312         (_IO_old_cookie_seek): Likewise.
10313         * libio/iofputs.c (_IO_fputs): Likewise.
10314         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10315         * libio/iofputws.c (fputws): Likewise.
10316         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10317         * libio/iofread.c (_IO_fread): Likewise.
10318         * libio/iofread_u.c (__fread_unlocked): Likewise.
10319         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10320         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10321         * libio/ioftell.c (_IO_ftell): Likewise.
10322         * libio/iofwrite.c (_IO_fwrite): Likewise.
10323         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10324         * libio/iogets.c (_IO_gets): Likewise.
10325         * libio/iopadn.c (_IO_padn): Likewise.
10326         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10327         (_IO_new_popen): Likewise.
10328         (_IO_new_proc_close): Likewise.
10329         * libio/ioputs.c (_IO_puts): Likewise.
10330         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10331         (_IO_seekoff): Likewise.
10332         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10333         (_IO_seekpos): Likewise.
10334         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10335         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10336         * libio/ioungetc.c (_IO_ungetc): Likewise.
10337         * libio/ioungetwc.c (ungetwc): Likewise.
10338         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10339         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10340         * libio/iowpadn.c (_IO_wpadn): Likewise.
10341         * libio/libc_fatal.c (__libc_fatal): Likewise.
10342         * libio/memstream.c (__open_memstream): Likewise.
10343         (_IO_mem_sync): Likewise.
10344         (_IO_mem_finish): Likewise.
10345         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10346         (_IO_old_file_close_it): Likewise.
10347         (_IO_old_file_finish): Likewise.
10348         (_IO_old_file_fopen): Likewise.
10349         (_IO_old_file_attach): Likewise.
10350         (_IO_old_file_setbuf): Likewise.
10351         (_IO_old_do_write): Likewise.
10352         (old_do_write): Likewise.
10353         (_IO_old_file_underflow): Likewise.
10354         (_IO_old_file_overflow): Likewise.
10355         (_IO_old_file_sync): Likewise.
10356         (_IO_old_file_seekoff): Likewise.
10357         (_IO_old_file_write): Likewise.
10358         (_IO_old_file_xsputn): Likewise.
10359         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10360         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10361         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10362         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10363         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10364         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10365         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10366         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10367         (_IO_old_popen): Likewise.
10368         (_IO_old_proc_close): Likewise.
10369         * libio/oldpclose.c (__old_pclose): Likewise.
10370         * libio/pclose.c (__new_pclose): Likewise.
10371         * libio/peekc.c (_IO_peekc_locked): Likewise.
10372         * libio/putc.c (_IO_putc): Likewise.
10373         * libio/putc_u.c (putc_unlocked): Likewise.
10374         * libio/putchar.c (putchar): Likewise.
10375         * libio/putchar_u.c (putchar_unlocked): Likewise.
10376         * libio/putwc.c (putwc): Likewise.
10377         * libio/putwc_u.c (putwc_unlocked): Likewise.
10378         * libio/putwchar.c (putwchar): Likewise.
10379         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10380         * libio/rewind.c (rewind): Likewise.
10381         * libio/setbuf.c (setbuf): Likewise.
10382         * libio/setlinebuf.c (setlinebuf): Likewise.
10383         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10384         * libio/vscanf.c (_IO_vscanf): Likewise.
10385         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10386         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10387         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10388         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10389         (_IO_switch_to_main_wget_area): Likewise.
10390         (_IO_switch_to_wbackup_area): Likewise.
10391         (_IO_wsetb): Likewise.
10392         (_IO_wdefault_pbackfail): Likewise.
10393         (_IO_wdefault_finish): Likewise.
10394         (_IO_wdefault_uflow): Likewise.
10395         (__woverflow): Likewise.
10396         (__wuflow): Likewise.
10397         (__wunderflow): Likewise.
10398         (_IO_wdefault_xsputn): Likewise.
10399         (_IO_wdefault_xsgetn): Likewise.
10400         (_IO_wdoallocbuf): Likewise.
10401         (_IO_wdefault_doallocate): Likewise.
10402         (_IO_switch_to_wget_mode): Likewise.
10403         (_IO_free_wbackup_area): Likewise.
10404         (_IO_switch_to_wput_mode): Likewise.
10405         (_IO_sputbackwc): Likewise.
10406         (_IO_sungetwc): Likewise.
10407         (_IO_adjust_wcolumn): Likewise.
10408         (_IO_init_wmarker): Likewise.
10409         (_IO_wmarker_delta): Likewise.
10410         (_IO_seekwmark): Likewise.
10411         (_IO_unsave_wmarkers): Likewise.
10412         * libio/wmemstream.c (open_wmemstream): Likewise.
10413         (_IO_wmem_sync): Likewise.
10414         (_IO_wmem_finish): Likewise.
10415         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10416         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10417         * locale/programs/simple-hash.c (init_hash): Likewise.
10418         (delete_hash): Likewise.
10419         (insert_entry): Likewise.
10420         (set_entry): Likewise.
10421         (next_prime): Likewise.
10422         (is_prime): Likewise.
10423         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10424         (xmalloc): Likewise.
10425         (xrealloc): Likewise.
10426         * locale/programs/xstrdup.c (xstrdup): Likewise.
10427         * localedata/collate-test.c (xstrcoll): Likewise.
10428         * localedata/xfrm-test.c (xstrcmp): Likewise.
10429         * login/getlogin_r.c (__getlogin_r): Likewise.
10430         * login/getpt.c (__posix_openpt): Likewise.
10431         * login/login_tty.c (login_tty): Likewise.
10432         * login/setlogin.c (setlogin): Likewise.
10433         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10434         (mach_msg_destroy_port): Likewise.
10435         (mach_msg_destroy_memory): Likewise.
10436         * malloc/mcheck.c (flood): Likewise.
10437         * misc/acct.c (acct): Likewise.
10438         * misc/brk.c (__brk): Likewise.
10439         * misc/chflags.c (chflags): Likewise.
10440         * misc/chroot.c (chroot): Likewise.
10441         * misc/fchflags.c (fchflags): Likewise.
10442         * misc/fstab.c (getfsspec): Likewise.
10443         (getfsfile): Likewise.
10444         * misc/fsync.c (fsync): Likewise.
10445         * misc/ftruncate.c (__ftruncate): Likewise.
10446         * misc/ftruncate64.c (__ftruncate64): Likewise.
10447         * misc/getdomain.c (getdomainname): Likewise.
10448         (getdomainname): Likewise.
10449         * misc/gethostname.c (__gethostname): Likewise.
10450         * misc/getpass.c (getpass): Likewise.
10451         * misc/getttyent.c (skip): Likewise.
10452         (value): Likewise.
10453         * misc/gtty.c (gtty): Likewise.
10454         * misc/hsearch.c (hsearch): Likewise.
10455         (hcreate): Likewise.
10456         * misc/hsearch_r.c (__hcreate_r): Likewise.
10457         (__hdestroy_r): Likewise.
10458         * misc/ioctl.c (__ioctl): Likewise.
10459         * misc/mkdtemp.c (mkdtemp): Likewise.
10460         * misc/mkostemp.c (mkostemp): Likewise.
10461         * misc/mkostemp64.c (mkostemp64): Likewise.
10462         * misc/mkostemps.c (mkostemps): Likewise.
10463         * misc/mkostemps64.c (mkostemps64): Likewise.
10464         * misc/mkstemp.c (mkstemp): Likewise.
10465         * misc/mkstemp64.c (mkstemp64): Likewise.
10466         * misc/mkstemps.c (mkstemps): Likewise.
10467         * misc/mkstemps64.c (mkstemps64): Likewise.
10468         * misc/mktemp.c (__mktemp): Likewise.
10469         * misc/preadv.c (preadv): Likewise.
10470         * misc/preadv64.c (preadv64): Likewise.
10471         * misc/pwritev.c (pwritev): Likewise.
10472         * misc/pwritev64.c (pwritev64): Likewise.
10473         * misc/readv.c (__readv): Likewise.
10474         * misc/revoke.c (revoke): Likewise.
10475         * misc/setdomain.c (setdomainname): Likewise.
10476         * misc/setegid.c (setegid): Likewise.
10477         * misc/seteuid.c (seteuid): Likewise.
10478         * misc/sethostid.c (sethostid): Likewise.
10479         * misc/sethostname.c (sethostname): Likewise.
10480         * misc/setregid.c (__setregid): Likewise.
10481         * misc/setreuid.c (__setreuid): Likewise.
10482         * misc/sstk.c (sstk): Likewise.
10483         * misc/stty.c (stty): Likewise.
10484         * misc/syscall.c (syscall): Likewise.
10485         * misc/syslog.c (setlogmask): Likewise.
10486         * misc/truncate.c (__truncate): Likewise.
10487         * misc/truncate64.c (truncate64): Likewise.
10488         * misc/ualarm.c (ualarm): Likewise.
10489         * misc/usleep.c (usleep): Likewise.
10490         * misc/ustat.c (ustat): Likewise.
10491         * misc/writev.c (__writev): Likewise.
10492         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10493         * nptl/old_pthread_cond_broadcast.c
10494         (__pthread_cond_broadcast_2_0): Likewise.
10495         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10496         Likewise.
10497         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10498         Likewise.
10499         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10500         Likewise.
10501         * nptl/pt-raise.c (raise): Likewise.
10502         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10503         Likewise.
10504         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10505         * nptl/pthread_barrierattr_destroy.c
10506         (pthread_barrierattr_destroy): Likewise.
10507         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10508         Likewise.
10509         * nptl/pthread_barrierattr_setpshared.c
10510         (pthread_barrierattr_setpshared): Likewise.
10511         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10512         Likewise.
10513         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10514         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10515         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10516         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10517         Likewise.
10518         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10519         Likewise.
10520         * nptl/pthread_condattr_getpshared.c
10521         (pthread_condattr_getpshared): Likewise.
10522         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10523         Likewise.
10524         * nptl/pthread_condattr_setpshared.c
10525         (pthread_condattr_setpshared): Likewise.
10526         * nptl/pthread_detach.c (pthread_detach): Likewise.
10527         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10528         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10529         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10530         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10531         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10532         Likewise.
10533         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10534         Likewise.
10535         * nptl/pthread_mutex_getprioceiling.c
10536         (pthread_mutex_getprioceiling): Likewise.
10537         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10538         Likewise.
10539         * nptl/pthread_mutexattr_getprotocol.c
10540         (pthread_mutexattr_getprotocol): Likewise.
10541         * nptl/pthread_mutexattr_getpshared.c
10542         (pthread_mutexattr_getpshared): Likewise.
10543         * nptl/pthread_mutexattr_getrobust.c
10544         (pthread_mutexattr_getrobust): Likewise.
10545         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10546         Likewise.
10547         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10548         Likewise.
10549         * nptl/pthread_mutexattr_setprioceiling.c
10550         (pthread_mutexattr_setprioceiling): Likewise.
10551         * nptl/pthread_mutexattr_setprotocol.c
10552         (pthread_mutexattr_setprotocol): Likewise.
10553         * nptl/pthread_mutexattr_setpshared.c
10554         (pthread_mutexattr_setpshared): Likewise.
10555         * nptl/pthread_mutexattr_setrobust.c
10556         (pthread_mutexattr_setrobust): Likewise.
10557         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10558         Likewise.
10559         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10560         Likewise.
10561         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10562         Likewise.
10563         * nptl/pthread_rwlockattr_getkind_np.c
10564         (pthread_rwlockattr_getkind_np): Likewise.
10565         * nptl/pthread_rwlockattr_getpshared.c
10566         (pthread_rwlockattr_getpshared): Likewise.
10567         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10568         Likewise.
10569         * nptl/pthread_rwlockattr_setkind_np.c
10570         (pthread_rwlockattr_setkind_np): Likewise.
10571         * nptl/pthread_rwlockattr_setpshared.c
10572         (pthread_rwlockattr_setpshared): Likewise.
10573         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10574         Likewise.
10575         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10576         Likewise.
10577         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10578         Likewise.
10579         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10580         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10581         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10582         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10583         * nptl/sem_close.c (sem_close): Likewise.
10584         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10585         * nptl/sem_init.c (__old_sem_init): Likewise.
10586         * nptl/sigaction.c (__sigaction): Likewise.
10587         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10588         * posix/_exit.c (_exit): Likewise.
10589         * posix/alarm.c (alarm): Likewise.
10590         * posix/confstr.c (confstr): Likewise.
10591         * posix/fpathconf.c (__fpathconf): Likewise.
10592         * posix/getgroups.c (__getgroups): Likewise.
10593         * posix/getpgid.c (__getpgid): Likewise.
10594         * posix/group_member.c (__group_member): Likewise.
10595         * posix/pathconf.c (__pathconf): Likewise.
10596         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10597         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10598         * posix/setgid.c (__setgid): Likewise.
10599         * posix/setpgid.c (__setpgid): Likewise.
10600         * posix/setuid.c (__setuid): Likewise.
10601         * posix/sleep.c (__sleep): Likewise.
10602         * posix/sysconf.c (__sysconf): Likewise.
10603         * posix/times.c (__times): Likewise.
10604         * posix/uname.c (__uname): Likewise.
10605         * posix/waitid.c (__waitid): Likewise.
10606         * pwd/getpw.c (__getpw): Likewise.
10607         * resolv/base64.c (b64_pton): Likewise.
10608         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10609         * resolv/gethnamaddr.c (Dprintf): Likewise.
10610         (gethostbyname): Likewise.
10611         (gethostbyname2): Likewise.
10612         (gethostbyaddr): Likewise.
10613         (_sethtent): Likewise.
10614         (_gethtbyname): Likewise.
10615         (_gethtbyname2): Likewise.
10616         (_gethtbyaddr): Likewise.
10617         (map_v4v6_address): Likewise.
10618         (map_v4v6_hostent): Likewise.
10619         (addrsort): Likewise.
10620         (ht_sethostent): Likewise.
10621         (ht_gethostbyname): Likewise.
10622         (ht_gethostbyaddr): Likewise.
10623         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10624         (inet_net_ntop_ipv4): Likewise.
10625         * resolv/inet_neta.c (inet_neta): Likewise.
10626         * resolv/inet_ntop.c (inet_ntop): Likewise.
10627         (inet_ntop4): Likewise.
10628         (inet_ntop6): Likewise.
10629         * resolv/inet_pton.c (__inet_pton): Likewise.
10630         (inet_pton4): Likewise.
10631         (inet_pton6): Likewise.
10632         * resolv/res_debug.c (loc_aton): Likewise.
10633         (loc_ntoa): Likewise.
10634         * resource/getpriority.c (__getpriority): Likewise.
10635         * resource/getrusage.c (__getrusage): Likewise.
10636         * resource/nice.c (nice): Likewise.
10637         * resource/setpriority.c (__setpriority): Likewise.
10638         * resource/setrlimit64.c (setrlimit64): Likewise.
10639         * resource/vlimit.c (vlimit): Likewise.
10640         * resource/vtimes.c (vtimes): Likewise.
10641         * rt/aio_error.c (aio_error): Likewise.
10642         * rt/aio_return.c (aio_return): Likewise.
10643         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10644         * signal/kill.c (__kill): Likewise.
10645         * signal/killpg.c (killpg): Likewise.
10646         * signal/raise.c (raise): Likewise.
10647         * signal/sigaction.c (__sigaction): Likewise.
10648         * signal/sigaddset.c (sigaddset): Likewise.
10649         * signal/sigaltstack.c (sigaltstack): Likewise.
10650         * signal/sigandset.c (sigandset): Likewise.
10651         * signal/sigblock.c (__sigblock): Likewise.
10652         * signal/sigdelset.c (sigdelset): Likewise.
10653         * signal/sigempty.c (sigemptyset): Likewise.
10654         * signal/sigfillset.c (sigfillset): Likewise.
10655         * signal/sighold.c (sighold): Likewise.
10656         * signal/sigignore.c (sigignore): Likewise.
10657         * signal/sigintr.c (siginterrupt): Likewise.
10658         * signal/sigisempty.c (sigisemptyset): Likewise.
10659         * signal/sigismem.c (sigismember): Likewise.
10660         * signal/signal.c (signal): Likewise.
10661         * signal/sigorset.c (sigorset): Likewise.
10662         * signal/sigpause.c (__sigpause): Likewise.
10663         * signal/sigpending.c (sigpending): Likewise.
10664         * signal/sigprocmask.c (__sigprocmask): Likewise.
10665         * signal/sigrelse.c (sigrelse): Likewise.
10666         * signal/sigreturn.c (__sigreturn): Likewise.
10667         * signal/sigset.c (sigset): Likewise.
10668         * signal/sigsetmask.c (__sigsetmask): Likewise.
10669         * signal/sigstack.c (sigstack): Likewise.
10670         * signal/sigsuspend.c (__sigsuspend): Likewise.
10671         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10672         * signal/sysv_signal.c (__sysv_signal): Likewise.
10673         * socket/accept.c (accept): Likewise.
10674         * socket/accept4.c (__libc_accept4): Likewise.
10675         * socket/bind.c (__bind): Likewise.
10676         * socket/connect.c (__connect): Likewise.
10677         * socket/getpeername.c (getpeername): Likewise.
10678         * socket/getsockname.c (__getsockname): Likewise.
10679         * socket/getsockopt.c (getsockopt): Likewise.
10680         * socket/listen.c (__listen): Likewise.
10681         * socket/recv.c (__recv): Likewise.
10682         * socket/recvmsg.c (__recvmsg): Likewise.
10683         * socket/send.c (__send): Likewise.
10684         * socket/sendmsg.c (__sendmsg): Likewise.
10685         * socket/shutdown.c (shutdown): Likewise.
10686         * socket/sockatmark.c (sockatmark): Likewise.
10687         * socket/socket.c (__socket): Likewise.
10688         * stdio-common/ctermid.c (ctermid): Likewise.
10689         * stdio-common/cuserid.c (cuserid): Likewise.
10690         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10691         * stdio-common/remove.c (remove): Likewise.
10692         * stdio-common/rename.c (rename): Likewise.
10693         * stdio-common/renameat.c (renameat): Likewise.
10694         * stdio-common/tempname.c (__gen_tempname): Likewise.
10695         * stdio-common/xbug.c (InitBuffer): Likewise.
10696         (AppendToBuffer): Likewise.
10697         (ReadFile): Likewise.
10698         * stdlib/a64l.c (a64l): Likewise.
10699         * stdlib/drand48_r.c (drand48_r): Likewise.
10700         * stdlib/getcontext.c (getcontext): Likewise.
10701         * stdlib/getenv.c (getenv): Likewise.
10702         * stdlib/l64a.c (l64a): Likewise.
10703         * stdlib/llabs.c (llabs): Likewise.
10704         * stdlib/lldiv.c (lldiv): Likewise.
10705         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10706         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10707         * stdlib/putenv.c (putenv): Likewise.
10708         * stdlib/random.c (__srandom): Likewise.
10709         (__initstate): Likewise.
10710         (__setstate): Likewise.
10711         * stdlib/random_r.c (__srandom_r): Likewise.
10712         (__setstate_r): Likewise.
10713         (__random_r): Likewise.
10714         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10715         * stdlib/setcontext.c (setcontext): Likewise.
10716         * stdlib/setenv.c (setenv): Likewise.
10717         (unsetenv): Likewise.
10718         * stdlib/srand48.c (srand48): Likewise.
10719         * stdlib/srand48_r.c (__srand48_r): Likewise.
10720         * stdlib/swapcontext.c (swapcontext): Likewise.
10721         * stdlib/system.c (__libc_system): Likewise.
10722         * stdlib/tst-strtod.c (expand): Likewise.
10723         * stdlib/tst-strtol.c (expand): Likewise.
10724         * stdlib/tst-strtoll.c (expand): Likewise.
10725         * streams/fattach.c (fattach): Likewise.
10726         * streams/fdetach.c (fdetach): Likewise.
10727         * streams/getmsg.c (getmsg): Likewise.
10728         * streams/isastream.c (isastream): Likewise.
10729         * string/ffs.c (__ffs): Likewise.
10730         * string/ffsll.c (ffsll): Likewise.
10731         * string/memcmp.c (memcmp_common_alignment): Likewise.
10732         (memcmp_not_common_alignment): Likewise.
10733         (MEMCMP): Likewise.
10734         * string/memcpy.c (memcpy): Likewise.
10735         * string/memmove.c (MEMMOVE): Likewise.
10736         * string/memset.c (memset): Likewise.
10737         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10738         * string/strchrnul.c (STRCHRNUL): Likewise.
10739         * string/strerror.c (strerror): Likewise.
10740         * string/strndup.c (__strndup): Likewise.
10741         * string/strverscmp.c (__strverscmp): Likewise.
10742         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10743         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10744         (clnttcp_freeres): Likewise.
10745         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10746         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10747         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10748         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10749         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10750         (xdr_callhdr): Likewise.
10751         * sunrpc/rpcinfo.c (udpping): Likewise.
10752         (tcpping): Likewise.
10753         (pstatus): Likewise.
10754         (pmapdump): Likewise.
10755         (brdcst): Likewise.
10756         (deletereg): Likewise.
10757         (getprognum): Likewise.
10758         (getvers): Likewise.
10759         (get_inet_address): Likewise.
10760         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10761         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10762         (svcudp_stat): Likewise.
10763         (svcudp_recv): Likewise.
10764         (svcudp_reply): Likewise.
10765         (svcudp_getargs): Likewise.
10766         (svcudp_freeargs): Likewise.
10767         (svcudp_destroy): Likewise.
10768         * sunrpc/xdr.c (xdr_bytes): Likewise.
10769         (xdr_netobj): Likewise.
10770         (xdr_string): Likewise.
10771         (xdr_wrapstring): Likewise.
10772         * sunrpc/xdr_float.c (xdr_float): Likewise.
10773         (xdr_double): Likewise.
10774         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10775         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10776         * sysvipc/ftok.c (ftok): Likewise.
10777         * sysvipc/msgctl.c (msgctl): Likewise.
10778         * sysvipc/msgget.c (msgget): Likewise.
10779         * sysvipc/msgrcv.c (msgrcv): Likewise.
10780         * sysvipc/msgsnd.c (msgsnd): Likewise.
10781         * sysvipc/semget.c (semget): Likewise.
10782         * sysvipc/semop.c (semop): Likewise.
10783         * sysvipc/shmat.c (shmat): Likewise.
10784         * sysvipc/shmctl.c (shmctl): Likewise.
10785         * sysvipc/shmdt.c (shmdt): Likewise.
10786         * sysvipc/shmget.c (shmget): Likewise.
10787         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10788         * termios/speed.c (cfgetospeed): Likewise.
10789         (cfgetispeed): Likewise.
10790         (cfsetospeed): Likewise.
10791         (cfsetispeed): Likewise.
10792         * termios/tcflow.c (tcflow): Likewise.
10793         * termios/tcflush.c (tcflush): Likewise.
10794         * termios/tcgetattr.c (__tcgetattr): Likewise.
10795         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10796         * termios/tcgetsid.c (tcgetsid): Likewise.
10797         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10798         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10799         * time/adjtime.c (__adjtime): Likewise.
10800         * time/dysize.c (dysize): Likewise.
10801         * time/ftime.c (ftime): Likewise.
10802         * time/getitimer.c (__getitimer): Likewise.
10803         * time/gettimeofday.c (__gettimeofday): Likewise.
10804         * time/gmtime.c (__gmtime_r): Likewise.
10805         (gmtime): Likewise.
10806         * time/localtime.c (__localtime_r): Likewise.
10807         (localtime): Likewise.
10808         * time/offtime.c (__offtime): Likewise.
10809         * time/settimeofday.c (__settimeofday): Likewise.
10810         * time/stime.c (stime): Likewise.
10811         * time/strftime_l.c (tm_diff): Likewise.
10812         (iso_week_days): Likewise.
10813         * time/strptime.c (strptime): Likewise.
10814         * time/time.c (time): Likewise.
10815         * time/timespec_get.c (timespec_get): Likewise.
10816         * time/tzset.c (tzset_internal): Likewise.
10817         (compute_change): Likewise.
10818         (__tz_compute): Likewise.
10819         * wcsmbs/btowc.c (__btowc): Likewise.
10820         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10821         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10822         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10823         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10824         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10825         * wcsmbs/wcscat.c (__wcscat): Likewise.
10826         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10827         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10828         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10829         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10830         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10831         * wcsmbs/wcslen.c (__wcslen): Likewise.
10832         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10833         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10834         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10835         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10836         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10837         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10838         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10839         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10840         * wcsmbs/wcstok.c (wcstok): Likewise.
10841         * wcsmbs/wctob.c (wctob): Likewise.
10842         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10843         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10844         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10845         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10846         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10847         * wcsmbs/wmemset.c (__wmemset): Likewise.
10848         * wctype/wcfuncs.c (__towlower): Likewise.
10849         (__towupper): Likewise.
10851         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10852         (lll_unlock_elision): Add adapt_count parameter.
10854 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10856         * sysdeps/nptl/configure.ac: Do not give errors based on the
10857         results of top-level configure tests.
10858         * sysdeps/nptl/configure: Regenerated.
10860         * configure.ac (libc_cv_Bgroup): Remove configure test.
10861         * configure: Regenerated.
10862         * config.make.in (have-Bgroup): Remove variable.
10864         * configure.ac (sizeof_long_double): Remove configure test.
10865         * configure: Regenerated.
10866         * config.make.in (sizeof-long-double): Remove variable.
10868         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10869         * configure: Regenerated.
10870         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10871         variable.
10872         (exceptions): Likewise.
10873         * sysdeps/arm/configure: Regenerated.
10874         * config.make.in (exceptions): Remove variable.
10875         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10876         $(exceptions).
10877         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10878         (CFLAGS-vdprintf_chk.c): Likewise.
10879         (CFLAGS-printf_chk.c): Likewise.
10880         (CFLAGS-fprintf_chk.c): Likewise.
10881         (CFLAGS-vprintf_chk.c): Likewise.
10882         (CFLAGS-vfprintf_chk.c): Likewise.
10883         (CFLAGS-gets_chk.c): Likewise.
10884         (CFLAGS-fgets_chk.c): Likewise.
10885         (CFLAGS-fgets_u_chk.c): Likewise.
10886         (CFLAGS-fread_chk.c): Likewise.
10887         (CFLAGS-fread_u_chk.c): Likewise.
10888         (CFLAGS-wprintf_chk.c): Likewise.
10889         (CFLAGS-fwprintf_chk.c): Likewise.
10890         (CFLAGS-vwprintf_chk.c): Likewise.
10891         (CFLAGS-vfwprintf_chk.c): Likewise.
10892         (CFLAGS-fgetws_chk.c): Likewise.
10893         (CFLAGS-fgetws_u_chk.c): Likewise.
10894         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10895         (CFLAGS-fputc.c): Likewise.
10896         (CFLAGS-fputwc.c): Likewise.
10897         (CFLAGS-freopen64.c): Likewise.
10898         (CFLAGS-freopen.c): Likewise.
10899         (CFLAGS-fseek.c): Likewise.
10900         (CFLAGS-fseeko64.c): Likewise.
10901         (CFLAGS-fseeko.c): Likewise.
10902         (CFLAGS-ftello64.c): Likewise.
10903         (CFLAGS-ftello.c): Likewise.
10904         (CFLAGS-fwide.c): Likewise.
10905         (CFLAGS-genops.c): Likewise.
10906         (CFLAGS-getc.c): Likewise.
10907         (CFLAGS-getchar.c): Likewise.
10908         (CFLAGS-getwc.c): Likewise.
10909         (CFLAGS-getwchar.c): Likewise.
10910         (CFLAGS-iofclose.c): Likewise.
10911         (CFLAGS-iofflush.c): Likewise.
10912         (CFLAGS-iofgetpos64.c): Likewise.
10913         (CFLAGS-iofgetpos.c): Likewise.
10914         (CFLAGS-iofgets.c): Likewise.
10915         (CFLAGS-iofgetws.c): Likewise.
10916         (CFLAGS-iofputs.c): Likewise.
10917         (CFLAGS-iofputws.c): Likewise.
10918         (CFLAGS-iofread.c): Likewise.
10919         (CFLAGS-iofsetpos64.c): Likewise.
10920         (CFLAGS-iofsetpos.c): Likewise.
10921         (CFLAGS-ioftell.c): Likewise.
10922         (CFLAGS-iofwrite.c): Likewise.
10923         (CFLAGS-iogetdelim.c): Likewise.
10924         (CFLAGS-iogetline.c): Likewise.
10925         (CFLAGS-iogets.c): Likewise.
10926         (CFLAGS-iogetwline.c): Likewise.
10927         (CFLAGS-ioputs.c): Likewise.
10928         (CFLAGS-ioseekoff.c): Likewise.
10929         (CFLAGS-ioseekpos.c): Likewise.
10930         (CFLAGS-iosetbuffer.c): Likewise.
10931         (CFLAGS-iosetvbuf.c): Likewise.
10932         (CFLAGS-ioungetc.c): Likewise.
10933         (CFLAGS-ioungetwc.c): Likewise.
10934         (CFLAGS-oldfileops.c): Likewise.
10935         (CFLAGS-oldiofclose.c): Likewise.
10936         (CFLAGS-oldiofgetpos64.c): Likewise.
10937         (CFLAGS-oldiofgetpos.c): Likewise.
10938         (CFLAGS-oldiofsetpos64.c): Likewise.
10939         (CFLAGS-oldiofsetpos.c): Likewise.
10940         (CFLAGS-peekc.c): Likewise.
10941         (CFLAGS-putc.c): Likewise.
10942         (CFLAGS-putchar.c): Likewise.
10943         (CFLAGS-putwc.c): Likewise.
10944         (CFLAGS-putwchar.c): Likewise.
10945         (CFLAGS-rewind.c): Likewise.
10946         (CFLAGS-wfileops.c): Likewise.
10947         (CFLAGS-wgenops.c): Likewise.
10948         (CFLAGS-oldiofopen.c): Likewise.
10949         (CFLAGS-iofopen.c): Likewise.
10950         (CFLAGS-iofopen64.c): Likewise.
10951         (CFLAGS-oldtmpfile.c): Likewise.
10952         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10953         (CFLAGS-fprintf.c): Likewise.
10954         (CFLAGS-printf.c): Likewise.
10955         (CFLAGS-vfwprintf.c): Likewise.
10956         (CFLAGS-vfscanf.c): Likewise.
10957         (CFLAGS-vfwscanf.c): Likewise.
10958         (CFLAGS-fscanf.c): Likewise.
10959         (CFLAGS-scanf.c): Likewise.
10960         (CFLAGS-isoc99_vfscanf.c): Likewise.
10961         (CFLAGS-isoc99_vscanf.c): Likewise.
10962         (CFLAGS-isoc99_fscanf.c): Likewise.
10963         (CFLAGS-isoc99_scanf.c): Likewise.
10964         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10965         (CFLAGS-isoc99_fwscanf.c): Likewise.
10966         (CFLAGS-isoc99_vwscanf.c): Likewise.
10967         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10969         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10970         after mkstemp64.
10971         * login/tst-utmp.c (do_prepare): Likewise.
10972         * rt/tst-aio.c (do_prepare): Likewise.
10973         * rt/tst-aio64.c (do_prepare): Likewise.
10975 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10977         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10978         (__lll_lock_elision): Remove adapt_count decrement...
10979         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10980         (__lll_trylock_elision): Likewise.
10981         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10982         (__lll_unlock_elision): ... to here. And utilize
10983         new adapt_count parameter.
10984         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10985         (__lll_unlock_elision): Update to include adapt_count
10986         parameter.
10987         (lll_unlock_elision): Pass pointer to adapt_count
10988         variable.
10990 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10992         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10993         Add elision adapt_count parameter to list of arguments.
10994         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10995         (lll_unlock_elision): Update with new parameter list
10996         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10997         (lll_unlock_elision): Likewise.
10998         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10999         (lll_unlock_elision): Likewise.
11001 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11003         [BZ #19122]
11004         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11005         attribute_hidden.
11007         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11008         attribute_hidden.
11009         [IS_IN (rtld)] (__strdup): Likewise.
11010         [IS_IN (rtld)] (__strerror_r): Likewise.
11011         [IS_IN (rtld)] (__strsep_g): Likewise.
11012         [IS_IN (rtld)] (memchr): Likewise.
11013         [IS_IN (rtld)] (memcmp): Likewise.
11014         [IS_IN (rtld)] (memcpy): Likewise.
11015         [IS_IN (rtld)] (memmove): Likewise.
11016         [IS_IN (rtld)] (memset): Likewise.
11017         [IS_IN (rtld)] (rawmemchr): Likewise.
11018         [IS_IN (rtld)] (stpcpy): Likewise.
11019         [IS_IN (rtld)] (strchr): Likewise.
11020         [IS_IN (rtld)] (strcmp): Likewise.
11021         [IS_IN (rtld)] (strlen): Likewise.
11022         [IS_IN (rtld)] (strnlen): Likewise.
11023         [IS_IN (rtld)] (strsep): Likewise.
11025         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11026         attribute_hidden.
11027         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11029         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11030         attribute_hidden.
11031         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11033         * include/setjmp.h (__longjmp): Add attribute_hidden.
11034         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11036         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11037         Add attribute_hidden.
11039         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11040         [IS_IN (rtld)] (__open): Likewise.
11041         [IS_IN (rtld)] (__fcntl): Likewise.
11043         * include/dirent.h (__opendirat): Add attribute_hidden.
11044         (__getdents): Likewise.
11045         (__getdents64): Likewise.
11046         (__alloc_dir): Likewise.
11047         [IS_IN (rtld)] (__closedir): Likewise.
11048         [IS_IN (rtld)] (__fdopendir): Likewise.
11049         [IS_IN (rtld)] (__readdir): Likewise.
11050         [IS_IN (rtld)] (__readdir64): Likewise.
11051         [IS_IN (rtld)] (__rewinddir): Likewise.
11053         * include/dlfcn.h (_dl_catch_error): Moved to ...
11054         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11055         attribute_hidden.
11057         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11058         (_itoa_word): Likewise.
11060         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11061         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11062         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11063         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11064         (_dl_higher_prime_number): Likewise.
11065         (_dl_debug_printf_c): Likewise.
11066         (_dl_signal_cerror): Likewise.
11067         (_dl_receive_error): Likewise.
11068         (_dl_reloc_bad_type): Likewise.
11069         (_dl_resolve_conflicts): Likewise.
11070         (_dl_check_all_versions): Likewise.
11071         (_dl_check_map_versions): Likewise.
11072         (_dl_sort_fini): Likewise.
11073         (_dl_debug_initialize): Likewise.
11074         (_dl_init_paths): Likewise.
11075         (_dl_show_auxv): Likewise.
11076         (_dl_next_ld_env_entry): Likewise.
11077         (_dl_important_hwcaps): Likewise.
11078         (_dl_load_cache_lookup): Likewise.
11079         (_dl_update_slotinfo): Likewise.
11080         (_dl_show_scope): Likewise.
11082         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11083         attribute_hidden.
11084         (_wordcopy_fwd_dest_aligned): Likewise.
11085         (_wordcopy_bwd_aligned): Likewise.
11086         (_wordcopy_bwd_dest_aligned): Likewise.
11088         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11089         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11090         Likewise.
11091         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11092         Likewise.
11093         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11095 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11097         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11098         GCC 5 requirement.
11100 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11102         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11103         test.
11104         * sysdeps/i386/configure: Regenerated.
11105         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11106         code unconditional.
11108         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11109         test.
11110         (libc_cv_asm_popsection_directive): Likewise.
11111         * configure: Regenerated.
11112         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11113         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11114         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11115         (__make_section_unallocated): Make definition unconditional.
11116         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11117         Remove conditional definition.
11118         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11119         (__make_section_unallocated): Likewise.
11121         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11122         * configure: Regenerated.
11123         * config.make.in (static-libgcc): Remove variable.
11124         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11125         $(static-libgcc).
11126         (build-module-helper): Likewise.
11128         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11129         * configure: Regenerated.
11131 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11133         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11134         (struct char_buffer): New type.
11135         (char_buffer_start, char_buffer_size, char_buffer_error)
11136         (char_buffer_rewind, char_buffer_add): New functions.
11137         (ADDW): Remove macro, replaced by the char_buffer_add function.
11138         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11139         of extend_alloca.  Make control flow more explicit.
11141 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11143         [BZ #19137]
11144         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11145         Add -fomit-frame-pointer.
11146         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11148 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11150         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11151         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11152         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11153         only if !__GNUC_PREREQ (5,0).
11154         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11155         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11156         (INTERNAL_SYSCALL_NCS): Likewise.
11157         (LOADREGS_0): New macro for GCC 5.
11158         (ASMARGS_0): Likewise.
11159         (LOADREGS_1): Likewise.
11160         (ASMARGS_1): Likewise.
11161         (LOADREGS_2): Likewise.
11162         (ASMARGS_2): Likewise.
11163         (LOADREGS_3): Likewise.
11164         (ASMARGS_3): Likewise.
11165         (LOADREGS_4): Likewise.
11166         (ASMARGS_4): Likewise.
11167         (LOADREGS_5): Likewise.
11168         (ASMARGS_5): Likewise.
11169         (LOADREGS_6): Likewise.
11170         (ASMARGS_6): Likewise.
11172 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11174         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11175         -fomit-frame-pointer.
11176         (CFLAGS-mmap64.c): Likewise.
11177         (CFLAGS-semtimedop.c): Likewise.
11178         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11179         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11180         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11181         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11183 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11185         [BZ #18928]
11186         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11187         _dl_pointer_guard member.
11188         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11189         initializer.
11190         (security_init): Always set up pointer guard.
11191         (process_envvars): Do not process LD_POINTER_GUARD.
11193 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11195         [BZ #19134]
11196         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11197         (.LC2): Likewise.
11198         (.LC3): Likewise.
11199         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11201 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11203         [BZ #19129]
11204         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11205         r0 and r1.
11207 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11209         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11211 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11213         * include/stap-probe.h: Fix macro definition formatting.
11215 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11217         [BZ #19074]
11218         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11219         load and store num_ifs.
11221 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11223         [BZ #18822]
11224         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11225         (__sched_getaffinity_new): Add libc_hidden_proto and
11226         libc_hidden_def.
11228 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11230         [BZ #19007]
11231         * scripts/localplt.awk: Also allow GOT references.
11232         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11233         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11234         with "+ REL R_386_GLOB_DAT".
11235         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11236         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11238 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11240         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11241         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11242         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11243         Likewise.
11244         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11245         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11246         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11247         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11248         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11249         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11250         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11251         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11252         Likewise.
11253         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11255 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11257         [BZ #19125]
11258         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11259         <math_private.h> and <stdint.h>.
11260         (__llround): Avoid conversions to and from long long int, and
11261         subtractions, where those might raise spurious exceptions.
11262         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11263         <math_private.h> and <stdint.h>.
11264         (__llroundf): Avoid conversions to and from long long int, and
11265         subtractions, where those might raise spurious exceptions.
11267 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11269         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11270         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11271         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11272         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11273         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11274         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11275         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11276         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11277         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11278         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11279         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11280         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11281         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11282         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11283         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11284         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11285         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11286         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11287         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11288         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11289         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11290         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11291         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11292         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11293         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11294         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11295         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11296         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11297         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11298         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11299         (__xstat64_conv): Likewise.
11300         (__xstat32_conv): Likewise.
11302 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11304         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11305         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11306         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11307         <sysdeps/unix/sysv/linux/sysdep.h>.
11308         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11309         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11310         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11311         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11312         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11313         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11314         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11315         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11316         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11321         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11322         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11324         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11325         (sysdep-dl-routines): Add sysdep.
11326         [$(subdir) == nptl] (libpthread-routines): Likewise.
11327         [$(subdir) == rt] (librt-routines): Likewise.
11328         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11329         PIC when branching to SYSCALL_ERROR_LABEL.
11330         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11331         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11332         <sysdeps/unix/sysv/linux/sysdep.h>.
11333         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11334         (SYSCALL_ERROR_ERRNO): Removed.
11335         (SYSCALL_ERROR_HANDLER): Changed to empty.
11336         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11337         (__syscall_error): New prototype.
11338         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11339         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11341 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11343         [BZ #19124]
11344         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11345         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11346         _dl_runtime_resolve_avx.
11347         (_dl_runtime_profile_avx512): Make it a hidden alias of
11348         _dl_runtime_profile_avx.
11350 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11352         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11353         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11354         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11355         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11357         [BZ #16422]
11358         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11359         New configure test.
11360         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11361         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11362         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11363         <math_private.h> and <stdint.h>.
11364         (__llrint): Avoid conversions to long long int where those might
11365         raise spurious exceptions.
11366         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11367         <math_private.h> and <stdint.h>.
11368         (__llrintf): Avoid conversions to long long int where those might
11369         raise spurious exceptions.
11371 2015-10-12  Andreas Schwab  <schwab@suse.de>
11373         [BZ #18969]
11374         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11375         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11376         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11377         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11378         $(gen-locales).
11379         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11380         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11381         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11382         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11383         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11384         $(gen-locales).
11385         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11386         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11387         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11388         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11389         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11390         ($(objpfx)tst-ftell-active-handler.out)
11391         ($(objpfx)tst-ftell-append.out)
11392         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11393         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11394         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11395         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11396         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11397         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11398         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11399         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11400         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11401         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11402         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11403         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11404         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11405         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11406         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11407         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11408         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11409         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11410         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11411         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11412         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11413         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11414         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11415         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11416         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11417         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11418         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11419         $(gen-locales).
11420         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11421         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11422         $(gen-locales).
11423         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11424         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11425         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11426         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11427         $(gen-locales).
11428         * libio/tst_wprintf2.c (main): Use explicit locale.
11429         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11431 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11433         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11434         __msg_sig_post.
11435         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11437 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11439         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11440         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11442         * sysdeps/arm/libm-test-ulps: Regenerated.
11444         [BZ #15470]
11445         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11447         [BZ #16399]
11448         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11449         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11450         and <fix-fp-int-convert-overflow.h>.
11451         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11452         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11453         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11454         and <fix-fp-int-convert-overflow.h>.
11455         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11456         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11457         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11458         <fix-fp-int-convert-overflow.h>.
11459         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11460         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11461         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11462         <fix-fp-int-convert-overflow.h>.
11463         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11464         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11465         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11466         and <fix-fp-int-convert-overflow.h>.
11467         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11468         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11469         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11470         <limits.h> and <fix-fp-int-convert-overflow.h>.
11471         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11472         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11473         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11474         and <fix-fp-int-convert-overflow.h>.
11475         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11476         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11477         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11478         and <fix-fp-int-convert-overflow.h>.
11479         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11480         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11481         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11483 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11485         [BZ #18589]
11486         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11487         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11488         $(gen-locales).
11490 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11491             Phil Blundell <pb@pbcl.net>
11493         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11494         * nptl/tst-cancel26.c: New file.
11495         * nptl/tst-cancel27.c: Likewise.
11497 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11499         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11500         __ILP32__ isn't defined.
11501         (lrint): Likewise.
11502         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11503         (lrintf): Likewise.
11504         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11505         (lrintl): Likewise.
11506         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11507         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11508         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11510 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11513         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11515         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11516         file.
11517         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11518         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11520 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11522         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11523         configure test.
11524         * sysdeps/i386/configure: Regenerated.
11525         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11526         configure test.
11527         * sysdeps/x86_64/configure: Regenerated.
11528         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11529         Make code unconditional.
11531         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11532         test.
11533         * sysdeps/i386/configure: Regenerated.
11534         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11535         test.
11536         * sysdeps/x86_64/configure: Regenerated.
11537         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11538         Make code unconditional.
11539         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11540         Likewise.
11541         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11542         Likewise.
11543         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11544         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11545         code unconditional.
11546         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11547         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11548         code unconditional.
11549         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11550         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11551         code unconditional.
11552         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11553         code unconditional.
11554         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11555         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11556         code unconditional.
11557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11558         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11559         code unconditional.
11560         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11561         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11562         code unconditional.
11563         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11564         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11565         code unconditional.
11566         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11567         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11569         [BZ #19095]
11570         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11571         mantissa to long int before shifting left.
11573 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11575         [BZ #19094]
11576         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11577         <limits.h>.
11578         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11579         when result overflows but exception would not result from cast.
11580         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11581         <limits.h>.
11582         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11583         when result overflows but exception would not result from cast.
11584         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11585         <limits.h>.
11586         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11587         when result overflows but exception would not result from cast.
11588         * sysdeps/ieee754/ldbl-96/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-96/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         * math/libm-test.inc (lrint_test_data): Add more tests.
11597         (llrint_test_data): Likewise.
11599 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11601         [BZ #18872]
11602         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11603         Move out from under [$(run-built-tests) = yes] conditional.
11604         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11605         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11607 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11609         [BZ #18589]
11610         * string/Makefile (tests): Add bug-strcoll2.
11611         (LOCALES): Add cs_CZ.UTF-8.
11612         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11614         [BZ #18589]
11615         * string/bug-strcoll2.c: New file.
11616         * locale/categories.def: Revert commit
11617         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11618         * locale/langinfo.h: Likewise.
11619         * locale/localeinfo.h: Likewise.
11620         * locale/C-collate.c: Likewise.
11621         * locale/programs/ld-collate.c (collate_output): Likewise.
11622         * string/strcoll_l.c (STRDIFF): Likewise.
11623         (STRCOLL): Likewise.
11624         * wcsmbs/wcscoll_l.c: Likewise.
11626 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11628         * math/libm-test.inc (lround_test_data): Do not expect the absence
11629         of "inexact" for some tests with non-integer arguments.
11630         (llround_test_data): Likewise.
11632         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11633         test.
11634         (libc_cv_cc_sse2avx): Likewise.
11635         * sysdeps/i386/configure: Regenerated.
11636         * sysdeps/i386/i686/multiarch/Makefile
11637         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11638         [$(subdir) = math].
11639         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11640         code unconditional.
11641         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11642         Likewise.
11643         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11644         Likewise.
11645         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11646         Likewise.
11647         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11648         test.
11649         (libc_cv_cc_sse2avx): Likewise.
11650         * sysdeps/x86_64/configure: Regenerated.
11651         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11652         unconditional.
11653         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11654         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11655         unconditional.
11656         (_dl_runtime_profile)
11657         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11658         conditional code.
11659         * sysdeps/x86_64/fpu/multiarch/Makefile
11660         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11661         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11663         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11664         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11665         * sysdeps/x86_64/fpu/multiarch/e_log.c
11666         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11667         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11668         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11669         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11670         Likewise.
11671         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11672         Likewise.
11673         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11674         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11675         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11676         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11677         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11678         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11679         (HAVE_SSE2AVX_SUPPORT): Likewise.
11681 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11683         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11684         instead of #pragma optimize.
11686 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11688         [BZ #17195]
11689         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11690         as is similarly done in systrim and _int_free already.
11692 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11694         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11696 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11698         [BZ #19088]
11699         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11700         <limits.h>.
11701         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11702         overflows but exception would not result from cast.
11703         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11704         and <limits.h>.
11705         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11706         overflows but exception would not result from cast.
11707         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11708         <limits.h>.
11709         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11710         overflows but exception would not result from cast.
11711         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11712         <limits.h>.
11713         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11714         overflows but exception would not result from cast.
11715         * sysdeps/ieee754/ldbl-96/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-96/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         * math/libm-test.inc (lround_test_data): Add more tests.
11724         (llround_test_data): Likewise.
11726 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11728         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11729         (CFLAGS-ialloc.c): Ditto.
11730         (CFLAGS-scheck.c): Ditto.
11732 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11734         [BZ #19086]
11735         * manual/filesys.texi (Storage Allocation): Fix argument order for
11736         posix_fallocate64.
11738 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11740         [BZ #19085]
11741         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11742         exponent below 48 inside case for non-overflowing exponent.
11743         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11745 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11747         * iconvdata/cp737.h (from_idx): Add const.
11748         * iconvdata/cp775.h (from_idx): Likewise.
11750 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11752         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11753         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11754         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11756         [BZ #19079]
11757         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11758         file, conditioned on [!_LP64].
11759         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11760         [!_LP64] (__lround): Do not define as function or alias.
11761         [!_LP64] (lround): Likewise.
11762         [!_LP64] (__lroundl): Likewise.
11763         [!_LP64] (lroundl): Likewise.
11764         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11765         macro.
11766         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11767         Likewise.
11769 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11771         * math/libm-test.inc (lrint_test_data): Add more tests.
11772         (llrint_test_data): Likewise.
11773         (lround_test_data): Likewise.
11774         (llround_test_data): Likewise.
11776         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11777         (llrint_test_data): Add tests used for lrint.
11779         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11780         test.
11781         * sysdeps/i386/configure: Regenerated.
11782         * sysdeps/i386/i686/multiarch/Makefile
11783         [$(config-cflags-sse4) = yes]: Make code unconditional.
11784         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11785         Likewise.
11786         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11787         Likewise.
11788         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11789         test.
11790         * sysdeps/x86_64/configure: Regenerated.
11791         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11792         Make code unconditional.
11793         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11794         Likewise.
11795         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11796         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11798         * scripts/rpm2dynsym.sh: Remove file.
11800 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11802         * configure.ac (libc_cv_cxx_thread_local): Define.
11803         * configure: Regenerate.
11804         * config.make.in (have-cxx-thread_local): Define.
11805         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11806         (LDLIBS-tst-thread_local1): Define.
11807         (tests): Add tst-thread_local1.
11808         [have-cxx-thread_local != yes] (tests-unsupported): Add
11809         tst-thread_local1.
11810         * nptl/tst-thread_local1.cc: New file.
11812 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11814         [BZ #19078]
11815         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11816         (u_thres): Likewise.
11817         (__expl): Determine whether to call __kernel_standard_l based on
11818         value of result, not argument.
11820         * math/libm-test.inc (scalb_test_data): Add more expectations for
11821         the "inexact" exception.
11823         [BZ #19077]
11824         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11825         0.0L for argument 1.0L.
11827         [BZ #19076]
11828         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11829         constant 0.0L when computing infinite result.
11831 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11833         [BZ #10432]
11834         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11835         malloc_usable_size.
11837 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11839         [BZ #19018]
11840         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11841         Mangle function pointer before storing it.
11842         (__call_tls_dtors): Demangle function pointer before calling it.
11844 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11846         [BZ #19012]
11847         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11848         Clean up on failure.
11850 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11852         [BZ #19071]
11853         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11854         long int variable to store possibly incremented high part of
11855         mantissa.
11856         * math/libm-test.inc (lround_test_data): Add tests used for
11857         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11858         for tests requiring 64-bit long.  Do not condition tests on
11859         [TEST_FLOAT] unnecessarily.
11860         (llround_test_data): Add tests used for lround.  Add another
11861         expectation for the "inexact" exception.  Do not condition tests
11862         on [TEST_FLOAT] unnecessarily.
11864         [BZ #887]
11865         [BZ #19049]
11866         [BZ #19050]
11867         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11868         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11869         <fix-int-fp-convert-zero.h>.
11870         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11871         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11872         <fix-int-fp-convert-zero.h>.
11873         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11874         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11875         <fix-int-fp-convert-zero.h>.
11876         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11877         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11878         <fix-int-fp-convert-zero.h>.
11879         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11880         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11881         <fix-int-fp-convert-zero.h>.
11882         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11883         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11884         <fix-int-fp-convert-zero.h>.
11885         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11886         * sysdeps/ieee754/flt-32/s_erff.c: Include
11887         <fix-int-fp-convert-zero.h>.
11888         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11889         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11890         <fix-int-fp-convert-zero.h>.
11891         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11892         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11893         <fix-int-fp-convert-zero.h>.
11894         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11895         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11896         <fix-int-fp-convert-zero.h>.
11897         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11898         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11899         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11900         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11901         file.
11902         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11904 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11908 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #19059]
11911         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11912         overflowing computation.
11913         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11914         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11915         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11916         Likewise.
11917         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11918         Likewise.
11919         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11920         Likewise.
11921         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11922         Likewise.
11923         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11924         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11925         Likewise.
11926         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11927         Likewise.
11928         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11930         * nss/rewrite_field.c (__nss_rewrite_field): Use
11931         internal_function.
11932         * nss/valid_field.c (__nss_valid_field): Likewise.
11933         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11935 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11937         [BZ #18724]
11938         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11939         (__nss_invalid_field_characters, __nss_valid_field)
11940         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11941         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11942         tst-field.c: New file.
11943         * nss/Makefile (routines): Add valid_field, rewrite_field.
11944         (tests-static): Define unconditionally.
11945         (tests): Include tests-static.
11946         [build-static-nss] (tests-static): Use append.
11947         [build-static-nss] (tests): Remove modification.
11948         * nss/getent.c (print_group): Call putgrent.  Report error.
11949         (print_gshadow): Call putsgent.  Report error.
11950         (print_passwd): Call putpwent.  Report error.
11951         (print_shadow): Call putspent.  Report error.
11952         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11953         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11954         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11955         name, password, directory, shell fields for valid syntax.  Rewrite
11956         GECOS field to match syntax.
11957         * pwd/Makefile (tests): Add tst-putpwent.
11958         * pwd/tst-putpwent.c: New file.
11959         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11960         Check grName, grpasswd, gr_mem fields for valid syntax.
11961         Change loop variable i to size_t.
11962         * grp/Makefile (tests): Add tst-putgrent.
11963         * grp/tst-putgrent.c: New file.
11964         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11965         valid syntax.
11966         * shadow/Makefile (tests): Add tst-putspent.
11967         * shadow/tst-putspent.c: New file.
11968         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11969         sg_mem fields for valid syntax.
11970         * gshadow/Makefile (tests): Add tst-putsgent.
11971         * gshadow/tst-putsgent.c: New file.
11973 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11975         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11976         assembly instructions.
11978 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11980         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11981         prefix from operands.
11983 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11985         [BZ #16347]
11986         [BZ #19046]
11987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11988         <libc-internal.h>.
11989         (MAXLGM): Do not use diagnostic control macros.
11990         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11991         threshold for ldbl-128ibm.
11992         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11993         instead of multiplying by log then subtracting.
11994         * math/auto-libm-test-in: Add more tests of lgamma.
11995         * math/auto-libm-test-out: Regenerated.
11997         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11998         (TYPE_HEX_DIG): Likewise.
11999         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12000         precisions when printing floating-point numbers.
12001         (check_float_internal): Likewise.
12003 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12005         [BZ #16620]
12006         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12007         of log (10) rounded downward to 48 bits.
12008         (log10_low): Use corresponding low part of log (10).
12010         [BZ #19032]
12011         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12012         compute result as (x - x) / (x - x) not as 0 / 0.
12013         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12014         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12016         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12017         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12018         and expm1.
12019         * math/auto-libm-test-out: Regenerated.
12020         * math/libm-test.inc (acos_test_data): Add more tests.
12021         (asin_test_data): Likewise.
12022         (asinh_test_data): Likewise.
12023         (atan_test_data): Likewise.
12024         (atanh_test_data): Likewise.
12025         (atan2_test_data): Likewise.
12026         (cbrt_test_data): Likewise.
12027         (ceil_test_data): Likewise.
12028         (copysign_test_data): Likewise.
12029         (cos_test_data): Likewise.
12030         (cosh_test_data): Likewise.
12031         (erf_test_data): Likewise.
12032         (erfc_test_data): Likewise.
12033         (exp_test_data): Likewise.
12034         (exp10_test_data): Likewise.
12035         (exp2_test_data): Likewise.
12036         (expm1_test_data): Likewise.
12037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12039 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12041         [BZ #19006]
12042         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12043         to ...
12044         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12045         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12046         to ...
12047         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12048         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12049         to ...
12050         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12051         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12052         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12053         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12054         to ...
12055         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12056         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12057         Moved to ...
12058         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12060         Moved to ...
12061         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12062         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12063         to ...
12064         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12065         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12066         Moved to ...
12067         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12068         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12069         to ...
12070         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12071         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12072         Removed.
12073         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12074         Likewise.
12075         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12076         Likewise.
12077         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12078         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12079         Likewise.
12080         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12081         Likewise.
12082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12083         Likewise.
12084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12085         Likewise.
12086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12087         Likewise.
12088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12089         Likewise.
12090         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12091         Likewise.
12092         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12093         Likewise.
12094         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12095         Likewise.
12096         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12097         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12098         Likewise.
12099         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12100         Likewise.
12101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12102         Likewise.
12103         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12104         Likewise.
12105         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12108         Replace ../i486/pthread_cond_timedwait.S with
12109         ../pthread_cond_timedwait.S.
12111 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12113         * math/libm-test.inc (acos_test_data): Refine expectations for
12114         errno and "inexact" exceptions.
12115         (acosh_test_data): Likewise.
12116         (asin_test_data): Likewise.
12117         (asinh_test_data): Likewise.
12118         (atan_test_data): Likewise.
12119         (atanh_test_data): Likewise.
12120         (atan2_test_data): Likewise.
12121         (cbrt_test_data): Likewise.
12122         (ceil_test_data): Likewise.
12123         (copysign_test_data): Likewise.
12124         (cosh_test_data): Likewise.
12125         (erf_test_data): Likewise.
12126         (erfc_test_data): Likewise.
12127         (exp_test_data): Likewise.
12128         (exp10_test_data): Likewise.
12129         (exp2_test_data): Likewise.
12130         (expm1_test_data): Likewise.
12131         (fabs_test_data): Likewise.
12132         (floor_test_data): Likewise.
12133         (fma_test_data): Likewise.
12134         (fmax_test_data): Likewise.
12135         (fmin_test_data): Likewise.
12136         (fmod_test_data): Likewise.
12137         (fpclassify_test_data): Likewise.
12138         (frexp_test_data): Likewise.
12139         (hypot_test_data): Likewise.
12140         (ilogb_test_data): Likewise.
12141         (isgreater_test_data): Likewise.
12142         (isgreaterequal_test_data): Likewise.
12143         (isinf_test_data): Likewise.
12144         (isless_test_data): Likewise.
12145         (islessequal_test_data): Likewise.
12146         (islessgreater_test_data): Likewise.
12147         (isnan_test_data): Likewise.
12148         (isnormal_test_data): Likewise.
12149         (issignaling_test_data): Likewise.
12150         (isunordered_test_data): Likewise.
12151         (j0_test_data): Likewise.
12152         (j1_test_data): Likewise.
12153         (jn_test_data): Likewise.
12154         (lgamma_test_data): Likewise.
12155         (lrint_test_data): Likewise.
12156         (llrint_test_data): Likewise.
12157         (log_test_data): Likewise.
12158         (log10_test_data): Likewise.
12159         (log1p_test_data): Likewise.
12160         (log2_test_data): Likewise.
12161         (logb_test_data): Likewise.
12162         (lround_test_data): Likewise.
12163         (llround_test_data): Likewise.
12164         (modf_test_data): Likewise.
12165         (nearbyint_test_data): Likewise.
12166         (nextafter_test_data): Likewise.
12167         (nexttoward_test_data): Likewise.
12168         (pow_test_data): Likewise.
12169         (remainder_test_data): Likewise.
12170         (remquo_test_data): Likewise.
12171         (rint_test_data): Likewise.
12172         (round_test_data): Likewise.
12173         (signbit_test_data): Likewise.
12174         (sinh_test_data): Likewise.
12175         (sqrt_test_data): Likewise.
12176         (tanh_test_data): Likewise.
12177         (tgamma_test_data): Likewise.
12178         (trunc_test_data): Likewise.
12179         (y0_test_data): Likewise.
12180         (y1_test_data): Likewise.
12181         (yn_test_data): Likewise.
12182         (significand_test_data): Likewise.
12184 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12186         * manual/filesys.texi (Storage Allocation): Document that
12187         posix_fallocate emulation fails when fd is open with O_WRONLY.
12189 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12191         [BZ #19016]
12192         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12193         allow more cases with X^2 + Y^2 >= 0.5.
12194         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12195         normal element in sum instead of special-casing based on values of
12196         arguments.
12197         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12198         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12199         -1 as normal element in sum instead of special-casing based on
12200         values of arguments.
12201         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12202         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12203         (__x2y2m1): Update comment.
12204         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12205         as normal element in sum instead of special-casing based on values
12206         of arguments.
12207         * math/s_clog.c (__clog): Handle more cases using log1p without
12208         hypot.
12209         * math/s_clog10.c (__clog10): Likewise.
12210         * math/s_clog10f.c (__clog10f): Likewise.
12211         * math/s_clog10l.c (__clog10l): Likewise.
12212         * math/s_clogf.c (__clogf): Likewise.
12213         * math/s_clogl.c (__clogl): Likewise.
12214         * math/auto-libm-test-in: Add more tests of clog and clog10.
12215         * math/auto-libm-test-out: Regenerated.
12216         * sysdeps/i386/fpu/libm-test-ulps: Update.
12217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12219 2015-09-28  Martin Sebor  <msebor@redhat.com>
12221         [BZ #18969]
12222         * string/Makefile (LOCALES): Define.
12223         (gen-locales.mk): Include.
12224         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12225         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12226         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12227         on setlocale failure.
12229 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12231         [BZ #18985]
12232         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12233         (__strftime_internal): Likewise.
12234         * time/tst-strftime.c (do_bz18985): New test.
12235         (do_test): Call it.
12237 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12239         [BZ #18956]
12240         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12241         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12242         extracting high part.
12243         * math/auto-libm-test-in: Add another test of pow.
12244         * math/auto-libm-test-out: Regenerated.
12245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12247 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12249         [BZ #18825]
12250         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12251         New macro.
12252         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12253         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12254         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12255         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12256         DBL_NARROW_EVAL, reloading the PIC register as needed.
12257         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12258         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12259         FLT_NARROW_EVAL.  Use separate return path for case when first
12260         argument is NaN.
12261         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12262         DEFINE_LDBL_MIN.
12263         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12264         PIC register.
12265         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12266         math_check_force_underflow_nonneg.
12267         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12268         underflow for subnormal result.
12269         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12270         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12271         math_check_force_underflow_nonneg.
12272         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12273         math_check_force_underflow.
12274         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12275         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12276         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12277         DEFINE_LDBL_MIN.
12278         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12279         * math/auto-libm-test-in: Add more tests of pow.
12280         * math/auto-libm-test-out: Regenerated.
12282 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12284         * nss/bug17079.c (init_test_items): Add diagnostic for
12285         inconsistent entries.
12286         (test_buffer_size): Skip inconsistent entries.
12288 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12290         [BZ #13304]
12291         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12292         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12293         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12295         [BZ #13304]
12296         * sysdeps/microblaze/s_fma.c: New file.
12297         * sysdeps/microblaze/s_fmaf.c: Likewise.
12298         * sysdeps/microblaze/sfp-machine.h: Likewise.
12300 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12302         [BZ #17250]
12303         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12304         member.
12306 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12308         [BZ #18803]
12309         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12310         (MO): New macro.
12311         (__ieee754_hypot) [PIC]: Load PIC register.
12312         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12313         DBL_NARROW_EVAL.
12314         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12315         math_check_force_underflow_nonneg in case where result might be
12316         tiny.
12317         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12318         Likewise.
12319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12320         Likewise.
12321         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12322         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12323         * math/auto-libm-test-in: Add more tests of hypot.
12324         * math/auto-libm-test-out: Regenerated.
12326 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12328         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12330 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12332         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12333         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12334         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12335         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12336         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12337         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12338         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12340         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12341         LOAD_PIC_REG.
12343         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12344         (FLT_CHECK_FORCE_UFLOW): Likewise.
12345         (DBL_CHECK_FORCE_UFLOW): Likewise.
12346         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12347         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12348         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12349         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12350         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12351         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12352         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12353         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12354         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12355         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12356         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12357         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12358         (flt_min): Replace with use of DEFINE_FLT_MIN.
12359         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12360         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12361         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12362         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12363         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12364         (flt_min): Replace with use of DEFINE_FLT_MIN.
12365         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12366         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12367         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12368         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12369         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12370         (flt_min): Replace with use of DEFINE_FLT_MIN.
12371         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12372         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12373         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12374         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12375         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12376         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12377         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12378         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12379         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12380         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12381         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12382         (flt_min): Replace with use of DEFINE_FLT_MIN.
12383         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12384         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12385         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12386         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12387         main computation.
12388         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12389         (flt_min): Replace with use of DEFINE_FLT_MIN.
12390         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12391         main computation.
12392         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12393         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12394         (MO): New macro.
12395         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12396         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12397         (flt_min): Replace with use of DEFINE_FLT_MIN.
12398         (MO): New macro.
12399         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12400         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12401         (__log1pl): Use MO.
12403         [BZ #19003]
12404         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12405         $(config-cflags-nofma).
12407 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12409         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12411 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12413         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12414         (TWO127): Likewise.
12416         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12417         (min_of_type): Likewise.
12418         (math_check_force_underflow): Likewise.
12419         (math_check_force_underflow_nonneg): Likewise.
12420         (math_check_force_underflow_complex): Likewise.
12421         * math/e_exp2l.c (__ieee754_exp2l): Use
12422         math_check_force_underflow_nonneg.
12423         * math/k_casinh.c (__kernel_casinh): Likewise.
12424         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12425         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12426         * math/s_catan.c (__catan): Use
12427         math_check_force_underflow_complex.
12428         * math/s_catanf.c (__catanf): Likewise.
12429         * math/s_catanh.c (__catanh): Likewise.
12430         * math/s_catanhf.c (__catanhf): Likewise.
12431         * math/s_catanhl.c (__catanhl): Likewise.
12432         * math/s_catanl.c (__catanl): Likewise.
12433         * math/s_ccosh.c (__ccosh): Likewise.
12434         * math/s_ccoshf.c (__ccoshf): Likewise.
12435         * math/s_ccoshl.c (__ccoshl): Likewise.
12436         * math/s_cexp.c (__cexp): Likewise.
12437         * math/s_cexpf.c (__cexpf): Likewise.
12438         * math/s_cexpl.c (__cexpl): Likewise.
12439         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12440         * math/s_clog10.c (__clog10): Likewise.
12441         * math/s_clog10f.c (__clog10f): Likewise.
12442         * math/s_clog10l.c (__clog10l): Likewise.
12443         * math/s_clogf.c (__clogf): Likewise.
12444         * math/s_clogl.c (__clogl): Likewise.
12445         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12446         * math/s_csinf.c (__csinf): Likewise.
12447         * math/s_csinh.c (__csinh): Likewise.
12448         * math/s_csinhf.c (__csinhf): Likewise.
12449         * math/s_csinhl.c (__csinhl): Likewise.
12450         * math/s_csinl.c (__csinl): Likewise.
12451         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12452         * math/s_csqrtf.c (__csqrtf): Likewise.
12453         * math/s_csqrtl.c (__csqrtl): Likewise.
12454         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12455         * math/s_ctanf.c (__ctanf): Likewise.
12456         * math/s_ctanh.c (__ctanh): Likewise.
12457         * math/s_ctanhf.c (__ctanhf): Likewise.
12458         * math/s_ctanhl.c (__ctanhl): Likewise.
12459         * math/s_ctanl.c (__ctanl): Likewise.
12460         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12461         instead of volatile.
12462         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12463         math_check_force_underflow.
12464         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12465         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12466         volatile when forcing underflow.
12467         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12468         math_check_force_underflow_nonneg.
12469         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12470         Likewise.
12471         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12472         math_check_force_underflow.
12473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12474         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12475         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12476         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12477         math_check_force_underflow_nonneg.
12478         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12479         math_check_force_underflow.
12480         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12482         instead of volatile.
12483         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12484         math_check_force_underflow.
12485         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12486         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12487         math_check_force_underflow_nonneg.
12488         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12489         math_check_force_underflow.
12490         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12491         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12492         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12493         math_check_force_underflow_nonneg.
12494         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12495         Likewise.
12496         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12497         math_check_force_underflow.
12498         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12499         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12500         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12501         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12502         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12503         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12504         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12505         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12506         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12507         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12508         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12509         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12510         Likewise.
12511         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12512         math_check_force_underflow_nonneg.
12513         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12514         Likewise.
12515         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12516         math_check_force_underflow.
12517         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12518         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12519         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12520         Likewise.
12521         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12522         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12523         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12524         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12525         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12526         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12528         instead of volatile.
12529         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12530         math_check_force_underflow.
12531         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12532         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12533         math_check_force_underflow.
12534         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12535         Likewise.
12536         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12537         Use math_check_force_underflow_nonneg.
12538         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12539         math_check_force_underflow.
12540         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12541         Likewise.
12542         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12543         Likewise.
12544         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12545         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12546         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12547         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12548         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12549         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12550         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12551         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12552         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12553         math_check_force_underflow_nonneg.
12554         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12555         math_check_force_underflow.
12556         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12557         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12558         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12559         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12560         math_check_force_underflow_nonneg.
12561         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12562         math_check_force_underflow.
12563         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12564         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12565         instead of volatile.
12566         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12567         math_check_force_underflow.
12569         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12570         * stdlib/strtod_l.c: Include <math_private.h>.
12571         (overflow_value): Use math_narrow_eval.
12572         (underflow_value): Likewise.
12573         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12574         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12575         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12576         (__ieee754_gamma_r): Likewise.
12577         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12578         Likewise.
12579         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12580         Likewise.
12581         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12582         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12583         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12584         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12585         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12586         (__ieee754_gammaf_r): Likewise.
12587         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12588         Likewise.
12589         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12590         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12591         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12592         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12593         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12594         volatile.
12595         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12596         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12597         math_narrow_eval.
12598         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12599         Likewise.
12600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12601         Likewise.
12602         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12603         Likewise.
12604         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12605         volatile.
12606         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12607         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12608         math_narrow_eval.
12609         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12610         Likewise.
12611         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12612         Likewise.
12614 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12616         * nptl/Versions: Remove ignored symbols.
12618 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12620         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12621         * nss/Makefile (tests): Update.
12623 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12625         * nss/bug18287.c: New file.
12626         * nss/Makefile (tests): Add bug18287.
12628 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12630         * mach/Versions (__mach_host_self_): Add symbol.
12632 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12634         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12635         vm_page_size.
12637 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12639         Really fix sysdeps/i386/fpu/s_scalbn.S build
12641         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12642         (libc: GLIBC_2_22): Remove unused version set.
12644 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12646         * config.make.in (enable-timezone-tools): New variable.
12647         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12648         (enable_timezone_tools): Export to generated files.
12649         * configure: Regenerate.
12650         * INSTALL: Regenerate.
12651         * manual/install.texi (--disable-timezone-tools): Document new flag.
12652         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12653         ifeq ($(enable-timezone-tools),yes) check.
12655 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12657         * timezone/Makefile: Revert previous change.
12659         [BZ #18980]
12660         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12661         (DEFINE_DBL_MIN): Likewise.
12662         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12663         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12664         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12665         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12666         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12667         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12668         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12669         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12670         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12671         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12672         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12673         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12674         (flt_min): Replace with use of DEFINE_FLT_MIN.
12675         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12676         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12677         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12678         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12679         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12680         (flt_min): Replace with use of DEFINE_FLT_MIN.
12681         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12682         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12683         (flt_min): Replace with use of DEFINE_FLT_MIN.
12684         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12685         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12686         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12687         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12688         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12689         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12690         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12691         (__ieee754_pow): Use DBL_NARROW_EVAL.
12692         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12693         (__ieee754_powf): Use FLT_NARROW_EVAL.
12694         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12695         (__ieee754_expf_sse2): Convert double-precision result to single
12696         precision.
12697         * sysdeps/i386/fpu/libm-test-ulps: Update.
12699 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12701         * timezone/Makefile: Ignore unused variable errors due to private.h
12702         (time_t_min) and (time_t_max).
12703         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12704         Likewise.
12706 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12708         [BZ #18981]
12709         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12710         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12711         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12712         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12713         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12714         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12715         (__scalbn): Use DBL_NARROW_EVAL.
12716         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12717         (__scalbnf): Use FLT_NARROW_EVAL.
12719 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12721         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12722         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12723         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12724         * stdio-common/printf_fp.c (___printf_fp):
12725         Use signbit to get the sign. Use isinf macro to allow inlining.
12726         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12727         * stdio-common/printf_size.c (__printf_size): Likewise.
12729 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12731         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12733 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12735         [BZ #18980]
12736         * sysdeps/generic/math_private.h: Include <float.h>.
12737         (math_narrow_eval): New macro.
12738         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12739         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12740         math_narrow_eval on overflowing return value.
12741         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12742         Likewise.
12743         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12744         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12745         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12746         Likewise.
12747         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12749 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12751         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12752         * math/Makefile: Remove isinf_ns.c.
12753         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12754         * math/multc3.c (__multc3): Likewise.
12755         * math/s_casin.c (__casin): Likewise.
12756         * math/s_casinf.c (__casinf): Likewise.
12757         * math/s_casinl.c (__casinl): Likewise.
12758         * math/s_cproj.c (__cproj): Likewise.
12759         * math/s_cprojf.c (__cprojf): Likewise.
12760         * math/s_cprojl.c (__cprofl): Likewise.
12761         * math/s_ctan.c (__ctan): Likewise.
12762         * math/s_ctanf.c (__ctanf): Likewise.
12763         * math/s_ctanh.c (__ctanh): Likewise.
12764         * math/s_ctanhf.c (__ctanhf): Likewise.
12765         * math/s_ctanhl.c (__ctanhl): Likewise.
12766         * math/s_ctanl.c (__ctanl): Likewise.
12767         * math/w_fmod.c (__fmod): Likewise.
12768         * math/w_fmodf.c (__fmodf): Likewise.
12769         * math/w_fmodl.c (_fmodl): Likewise.
12770         * math/w_remainder.c (__remainder): Likewise.
12771         * math/w_remainderf.c (__remainderf): Likewise.
12772         * math/w_remainderl.c (__remainderl): Likewise.
12773         * math/w_scalb.c (__scalb): Likewise.
12774         * math/w_scalbf.c (__scalbf): Likewise.
12775         * math/w_scalbl.c (__scalbl): Likewise.
12776         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12777         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12778         with isinf.
12779         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12781         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12782         __isinf_nsf with isinf.
12783         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12784         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12785         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12786         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12787         with isinf.
12788         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12789         __isinf_nsl with isinf.
12790         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12791         with isinf.
12792         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12793         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12794         __isinf_nsl with isinf.
12795         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12796         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12797         with isinf.
12799 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12801         * resolv/base64.c (rcsid): Remove unused static.
12802         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12803         static.  (tqpi1): Likewise.
12804         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12805         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12806         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12807         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12808         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12809         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12810         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12811         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12812         Likewise.
12814 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12816         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12817         <nptl/pthreadP.h>.
12818         (_longjmp_unwind): Use __libc_ptf_call.
12819         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12821 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12823         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12824         * sysdeps/arm/__longjmp.S: Likewise.
12826 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12828         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12829         Use __builtin_signbit.
12830         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12831         Use __builtin_signbitf.
12832         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12833         Use __builtin_signbitl.
12834         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12835         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12837 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12839         [BZ #15367]
12840         [BZ #17441]
12842         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12843         * math/math.h (fpclassify): Use __builtin_fpclassify when
12844         available.  (signbit): Use __builtin_signbit(f/l).
12845         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12846         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12847         (isinf): Use __builtin_isinf_sign.
12849 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12851         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12852         * benchtests/bench-math-inlines.c: New benchmark.
12853         * benchtests/bench-util.h: New file.
12854         * benchtests/bench-util.c: New file.
12855         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12857 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12859         * elf/tst-dlmopen1.c: Define TEST_SO.
12860         (do_test): Use TEST_SO.
12862         * elf/dl-load.c: Include libc-internal.h.
12863         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12865 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12867         [BZ #17887]
12868         * time/strptime_l.c (__strptime_internal): Make %z accept
12869         [+-]HH:MM time zones.
12871 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12873         [BZ #17886]
12874         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12875         valid time zone.
12877 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12879         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12880         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12881         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12882         (__ASSUME_FDATASYNC): Delete.
12884 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12886         * conform/linknamespace.pl: Require weak undefined symbols to be
12887         in the standard namespace.
12888         (%strong_syms): Rename to %seen_syms.
12889         (%strong_seen): Rename to %seen_where.
12891 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12893         [BZ #18970]
12894         * misc/error.c (error): Replace pthread_setcancelstate with
12895         __pthread_setcancelstate.
12896         (error_at_line): Likewise.
12897         * posix/wordexp.c (parse_comm): Likewise.
12898         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12899         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12900         (__pthread_setcancelstate): This.
12901         (pthread_setcancelstate): Add an alias.
12902         * nptl/nptl-init.c (pthread_functions): Replace
12903         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12904         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12905         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12906         hidden_proto.
12907         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12908         it with hidden_def.
12909         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12910         (pthread_setcancelstate): Renamed to ...
12911         (__pthread_setcancelstate): This.
12912         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12913         __libc_ptf_call with __pthread_setcancelstate.
12915 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12916             Andreas Schwab  <schwab@suse.de>
12918         [BZ #17118]
12919         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12920         result when imaginary part of argument is infinite using sine and
12921         cosine.
12922         * math/s_ctanf.c (__ctanf): Likewise.
12923         * math/s_ctanl.c (__ctanl): Likewise.
12924         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12925         of result when real part of argument is infinite using sine and
12926         cosine.
12927         * math/s_ctanhf.c (__ctanhf): Likewise.
12928         * math/s_ctanhl.c (__ctanhl): Likewise.
12929         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12930         (ctanh_test_data): Add more tests of ctanh.
12932 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12934         [BZ #15384]
12935         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12936         bit-mask as in subtraction.
12937         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12938         Likewise.
12939         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12940         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12941         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12943         [BZ #18951]
12944         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12945         underflow exception for small results.
12946         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12947         Likewise.
12948         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12949         Likewise.
12950         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12951         Likewise.
12952         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12953         Likewise.
12954         * math/auto-libm-test-in: Add more tests of tgamma.
12955         * math/auto-libm-test-out: Regenerated.
12957 2015-09-17  Andreas Schwab  <schwab@suse.de>
12959         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12961 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12963         [BZ #18977]
12964         * math/bits/mathcalls.h
12965         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12966         not declare.
12967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12968         Likewise.
12969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12970         Likewise.
12971         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12972         Likewise.
12973         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12974         Likewise.
12975         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12976         Likewise.
12977         * conform/data/math.h-data
12978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12979         function.
12980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12987         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12990         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12992         [BZ #6803]
12993         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12994         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12995         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12996         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12997         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12998         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12999         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13000         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13001         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13002         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13003         Likewise.
13004         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13005         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13006         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13007         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13008         long_double_symbol calls.
13009         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13010         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13011         strong alias of __ldexpl.
13012         (scalbnl): Define using long_double_symbol.
13013         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13014         Remove alias.
13015         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13016         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13017         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13018         (scalbln_test_data): Add more errno expectations.
13020 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13022         Cache the host port like we cache the task port.  This way we do not
13023         need to call the kernel just to get the port.  Furthermore, we no
13024         longer increase the reference count on every invocation of
13025         `mach_host_self'.
13027         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13028         Protect declarations against the macro expansion.
13029         * mach/mach_init.c (__mach_host_self_): New variable.
13030         (mach_init): Initialize `__mach_host_self_'.
13031         * mach/mach_init.h (__mach_host_self_): New declaration.
13032         (__mach_host_self, mach_host_self): New macros.
13033         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13034         Release reference.
13036 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13038         [BZ #4404]
13039         * po/de.po: Update from Translation Project.
13041         [BZ #16415]
13042         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13043         (__expm1l): Remove code to handle positive infinity and overflow.
13044         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13045         variable.
13046         (__expm1l): Remove code to handle positive infinity and overflow.
13048 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13049             Paul Pluzhnikov  <ppluzhnikov@google.com>
13051         [BZ #18872]
13052         * stdio-common/Makefile (tst-printf-bz18872): New test.
13053         (tst-printf-bz18872-mem.out): Likewise.
13054         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13055         * stdio-common/vfprintf.c: Fix memory leaks.
13057 2015-09-16  Andreas Schwab  <schwab@suse.de>
13059         [BZ #17244]
13060         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13061         Remove extra va_start/va_end calls.
13063         [BZ #17243]
13064         * posix/execl.c (execl): Add missing va_end.
13065         * posix/execle.c (execle): Likewise.
13066         * posix/execlp.c (execlp): Likewise.
13068 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13070         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13071         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13073 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13075         [BZ #18967]
13076         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13077         undefine around includes of <bits/mathcalls.h>.
13078         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13079         not declare function.
13080         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13081         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13082         (scalb): Likewise.
13083         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13084         not define macro.
13085         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13086         variable.
13087         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13088         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13089         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13091         [BZ #18857]
13092         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13093         return non-finite argument without doing ordered comparisons on
13094         it.
13096         [BZ #16296]
13097         * math/fenv.h (fegetround): Use __attribute_pure__.
13098         * include/fenv.h (__fegetround): Likewise.
13100         [BZ #18595]
13101         * math/s_ctan.c (__ctan): Force underflow exception for results
13102         whose real or imaginary part has small absolute value.
13103         * math/s_ctanf.c (__ctanf): Likewise.
13104         * math/s_ctanh.c (__ctanh): Likewise.
13105         * math/s_ctanhf.c (__ctanhf): Likewise.
13106         * math/s_ctanhl.c (__ctanhl): Likewise.
13107         * math/s_ctanl.c (__ctanl): Likewise.
13108         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13109         and ctanh.  Add more tests of ctan and ctanh.
13111         [BZ #15918]
13112         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13113         handling of cases where one argument is an infinity.
13115         [BZ #18875]
13116         [BZ #18966]
13117         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13118         (MO): New macro.
13119         (__ieee754_exp10): For small results, force underflow exception
13120         and remove excess range and precision from return value.
13121         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13122         (MO): New macro.
13123         (__ieee754_exp10f): For small results, force underflow exception
13124         and remove excess range and precision from return value.
13125         * math/auto-libm-test-in: Add more tests of exp10.
13126         * math/auto-libm-test-out: Regenerated.
13128 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13130         [BZ #18875]
13131         [BZ #18961]
13132         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13133         (MO): New macro.
13134         (__ieee754_exp): For small results, force underflow exception and
13135         remove excess range and precision from return value.
13136         (__exp_finite): Likewise.
13137         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13138         (MO): New macro.
13139         (__ieee754_expf): For small results, force underflow exception and
13140         remove excess range and precision from return value.
13141         (__expf_finite): Likewise.
13142         * math/auto-libm-test-in: Add more tests of exp.
13143         * math/auto-libm-test-out: Regenerated.
13145         [BZ #16521]
13146         [BZ #18875]
13147         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13148         small results.
13149         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13150         (MO): New macro.
13151         (__ieee754_exp2): For small results, force underflow exception and
13152         remove excess range and precision from return value.
13153         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13154         (MO): New macro.
13155         (__ieee754_exp2f): For small results, force underflow exception
13156         and remove excess range and precision from return value.
13157         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13158         (MO): New macro.
13159         (__ieee754_exp2l): Force underflow exception for small results.
13160         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13161         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13162         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13163         (MO): New macro.
13164         (__ieee754_exp2l): Force underflow exception for small results.
13165         * math/auto-libm-test-in: Add more tests or exp2.
13166         * math/auto-libm-test-out: Regenerated.
13168 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13170         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13172         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13173         /dev/null.
13175 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13177         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13178         io fs process)): Drop spurious backslash.
13180 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13182         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13183         Use sysinfo system call instead of parsing /proc/meminfo.
13184         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13185         Likewise.
13187 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13189         [BZ #16985]
13190         * programs/localedef.c (main): Display argv[remaining] when
13191         output_path is NULL.
13193 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13195         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13196         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13197         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13198         tanh.
13199         * math/auto-libm-test-out: Regenerated.
13200         * sysdeps/i386/fpu/libm-test-ulps: Update.
13201         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13202         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13205 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13207         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13208         Use 'override' keyword to freeze the value here, preventing
13209         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13211 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13213         [BZ #14912]
13214         * sysdeps/aarch64/bits/atomic.h: Move to ...
13215         * sysdeps/aarch64/atomic-machine.h: ...here.
13216         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13217         _AARCH64_ATOMIC_MACHINE_H.
13218         * sysdeps/alpha/bits/atomic.h: Move to ...
13219         * sysdeps/alpha/atomic-machine.h: ...here.
13220         * sysdeps/arm/bits/atomic.h: Move to ...
13221         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13222         * bits/atomic.h: Move to ...
13223         * sysdeps/generic/atomic-machine.h: ...here.
13224         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13225         * sysdeps/i386/bits/atomic.h: Move to ...
13226         * sysdeps/i386/atomic-machine.h: ...here.
13227         * sysdeps/ia64/bits/atomic.h: Move to ...
13228         * sysdeps/ia64/atomic-machine.h: ...here.
13229         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13230         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13231         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13232         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13233         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13234         * sysdeps/microblaze/bits/atomic.h: Move to ...
13235         * sysdeps/microblaze/atomic-machine.h: ...here.
13236         * sysdeps/mips/bits/atomic.h: Move to ...
13237         * sysdeps/mips/atomic-machine.h: ...here.
13238         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13239         * sysdeps/powerpc/bits/atomic.h: Move to ...
13240         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13241         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13242         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13243         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13244         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13245         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13246         <atomic-machine.h> instead of <bits/atomic.h>.
13247         * sysdeps/s390/bits/atomic.h: Move to ...
13248         * sysdeps/s390/atomic-machine.h: ...here.
13249         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13250         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13251         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13252         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13253         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13254         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13255         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13256         * sysdeps/tile/bits/atomic.h: Move to ...
13257         * sysdeps/tile/atomic-machine.h: ...here.
13258         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13259         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13260         <sysdeps/tile/atomic-machine.h> instead of
13261         <sysdeps/tile/bits/atomic.h>.
13262         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13263         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13264         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13265         <sysdeps/tile/atomic-machine.h> instead of
13266         <sysdeps/tile/bits/atomic.h>.
13267         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13268         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13269         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13270         <sysdeps/arm/atomic-machine.h> instead of
13271         <sysdeps/arm/bits/atomic.h>.
13272         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13273         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13274         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13275         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13276         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13277         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13278         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13279         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13280         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13281         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13282         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13283         * sysdeps/x86_64/bits/atomic.h: Move to ...
13284         * sysdeps/x86_64/atomic-machine.h: ...here.
13285         * include/atomic.h: Include <atomic-machine.h> instead of
13286         <bits/atomic.h>.
13288         * sysdeps/mips/mips32/libm-test-ulps: Update.
13289         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13291         [BZ #18952]
13292         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13293         not convert non-integer negative arguments to int to determine the
13294         value of signgam.
13295         * math/auto-libm-test-in: Add more tests of lgamma.
13296         * math/auto-libm-test-out: Regenerated.
13298         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13299         cosh, csqrt, erfc, expm1 and lgamma.
13300         * math/auto-libm-test-out: Regenerated.
13301         * sysdeps/i386/fpu/libm-test-ulps: Update.
13302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13304 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13306         [BZ #2542]
13307         [BZ #2543]
13308         [BZ #2558]
13309         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13310         __lgamma_neg for arguments from -28.0 to -2.0.
13311         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13312         __lgamma_negf for arguments from -15.0 to -2.0.
13313         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13314         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13315         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13316         Call __lgamma_negl for arguments from -33.0 to -2.0.
13317         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13318         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13319         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13320         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13321         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13322         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13323         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13324         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13325         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13326         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13327         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13328         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13329         (__lgamma_neg): Likewise.
13330         (__lgamma_negl): Likewise.
13331         (__lgamma_product): Likewise.
13332         (__lgamma_productl): Likewise.
13333         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13334         * math/auto-libm-test-in: Add more tests of lgamma.
13335         * math/auto-libm-test-out: Regenerated.
13336         * sysdeps/i386/fpu/libm-test-ulps: Update.
13337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13339 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13341         [BZ #18675]
13342         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13344 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13346         [BZ #14912]
13347         * bits/libc-lock.h: Move to ...
13348         * sysdeps/generic/libc-lock.h: ...here.
13349         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13350         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13351         * sysdeps/mach/hurd/libc-lock.h: ...here.
13352         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13353         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13354         * sysdeps/mach/bits/libc-lock.h: Move to ...
13355         * sysdeps/mach/libc-lock.h: ...here.
13356         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13357         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13358         * sysdeps/nptl/libc-lock.h: ...here.
13359         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13360         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13361         * sysdeps/nptl/libc-lockP.h: ...here.
13362         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13363         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13364         <bits/libc-lock.h>.
13365         * dirent/scandir-tail.c: Likewise.
13366         * dlfcn/dlerror.c: Likewise.
13367         * elf/dl-close.c: Likewise.
13368         * elf/dl-iteratephdr.c: Likewise.
13369         * elf/dl-lookup.c: Likewise.
13370         * elf/dl-open.c: Likewise.
13371         * elf/dl-support.c: Likewise.
13372         * elf/dl-writev.h: Likewise.
13373         * elf/rtld.c: Likewise.
13374         * grp/fgetgrent.c: Likewise.
13375         * gshadow/fgetsgent.c: Likewise.
13376         * gshadow/sgetsgent.c: Likewise.
13377         * iconv/gconv_conf.c: Likewise.
13378         * iconv/gconv_db.c: Likewise.
13379         * iconv/gconv_dl.c: Likewise.
13380         * iconv/gconv_int.h: Likewise.
13381         * iconv/gconv_trans.c: Likewise.
13382         * include/link.h: Likewise.
13383         * inet/getnameinfo.c: Likewise.
13384         * inet/getnetgrent.c: Likewise.
13385         * inet/getnetgrent_r.c: Likewise.
13386         * intl/bindtextdom.c: Likewise.
13387         * intl/dcigettext.c: Likewise.
13388         * intl/finddomain.c: Likewise.
13389         * intl/gettextP.h: Likewise.
13390         * intl/loadmsgcat.c: Likewise.
13391         * intl/localealias.c: Likewise.
13392         * intl/textdomain.c: Likewise.
13393         * libidn/idn-stub.c: Likewise.
13394         * libio/libioP.h: Likewise.
13395         * locale/duplocale.c: Likewise.
13396         * locale/freelocale.c: Likewise.
13397         * locale/newlocale.c: Likewise.
13398         * locale/setlocale.c: Likewise.
13399         * login/getutent_r.c: Likewise.
13400         * login/getutid_r.c: Likewise.
13401         * login/getutline_r.c: Likewise.
13402         * login/utmp-private.h: Likewise.
13403         * login/utmpname.c: Likewise.
13404         * malloc/mtrace.c: Likewise.
13405         * misc/efgcvt.c: Likewise.
13406         * misc/error.c: Likewise.
13407         * misc/fstab.c: Likewise.
13408         * misc/getpass.c: Likewise.
13409         * misc/mntent.c: Likewise.
13410         * misc/syslog.c: Likewise.
13411         * nis/nis_call.c: Likewise.
13412         * nis/nis_callback.c: Likewise.
13413         * nis/nss-default.c: Likewise.
13414         * nis/nss_compat/compat-grp.c: Likewise.
13415         * nis/nss_compat/compat-initgroups.c: Likewise.
13416         * nis/nss_compat/compat-pwd.c: Likewise.
13417         * nis/nss_compat/compat-spwd.c: Likewise.
13418         * nis/nss_nis/nis-alias.c: Likewise.
13419         * nis/nss_nis/nis-ethers.c: Likewise.
13420         * nis/nss_nis/nis-grp.c: Likewise.
13421         * nis/nss_nis/nis-hosts.c: Likewise.
13422         * nis/nss_nis/nis-network.c: Likewise.
13423         * nis/nss_nis/nis-proto.c: Likewise.
13424         * nis/nss_nis/nis-pwd.c: Likewise.
13425         * nis/nss_nis/nis-rpc.c: Likewise.
13426         * nis/nss_nis/nis-service.c: Likewise.
13427         * nis/nss_nis/nis-spwd.c: Likewise.
13428         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13429         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13430         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13431         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13432         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13433         * nis/nss_nisplus/nisplus-network.c: Likewise.
13434         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13435         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13436         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13437         * nis/nss_nisplus/nisplus-service.c: Likewise.
13438         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13439         * nis/ypclnt.c: Likewise.
13440         * nptl/libc_pthread_init.c: Likewise.
13441         * nss/getXXbyYY.c: Likewise.
13442         * nss/getXXent.c: Likewise.
13443         * nss/getXXent_r.c: Likewise.
13444         * nss/nss_db/db-XXX.c: Likewise.
13445         * nss/nss_db/db-netgrp.c: Likewise.
13446         * nss/nss_db/nss_db.h: Likewise.
13447         * nss/nss_files/files-XXX.c: Likewise.
13448         * nss/nss_files/files-alias.c: Likewise.
13449         * nss/nsswitch.c: Likewise.
13450         * posix/regex_internal.h: Likewise.
13451         * posix/wordexp.c: Likewise.
13452         * pwd/fgetpwent.c: Likewise.
13453         * resolv/res_hconf.c: Likewise.
13454         * resolv/res_libc.c: Likewise.
13455         * shadow/fgetspent.c: Likewise.
13456         * shadow/lckpwdf.c: Likewise.
13457         * shadow/sgetspent.c: Likewise.
13458         * socket/opensock.c: Likewise.
13459         * stdio-common/reg-modifier.c: Likewise.
13460         * stdio-common/reg-printf.c: Likewise.
13461         * stdio-common/reg-type.c: Likewise.
13462         * stdio-common/vfprintf.c: Likewise.
13463         * stdio-common/vfscanf.c: Likewise.
13464         * stdlib/abort.c: Likewise.
13465         * stdlib/cxa_atexit.c: Likewise.
13466         * stdlib/fmtmsg.c: Likewise.
13467         * stdlib/random.c: Likewise.
13468         * stdlib/setenv.c: Likewise.
13469         * string/strsignal.c: Likewise.
13470         * sunrpc/auth_none.c: Likewise.
13471         * sunrpc/bindrsvprt.c: Likewise.
13472         * sunrpc/create_xid.c: Likewise.
13473         * sunrpc/key_call.c: Likewise.
13474         * sunrpc/rpc_thread.c: Likewise.
13475         * sysdeps/arm/backtrace.c: Likewise.
13476         * sysdeps/generic/ldsodefs.h: Likewise.
13477         * sysdeps/generic/stdio-lock.h: Likewise.
13478         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13479         * sysdeps/i386/backtrace.c: Likewise.
13480         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13481         * sysdeps/m68k/backtrace.c: Likewise.
13482         * sysdeps/mach/hurd/cthreads.c: Likewise.
13483         * sysdeps/mach/hurd/dirstream.h: Likewise.
13484         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13485         * sysdeps/nptl/malloc-machine.h: Likewise.
13486         * sysdeps/nptl/stdio-lock.h: Likewise.
13487         * sysdeps/posix/dirstream.h: Likewise.
13488         * sysdeps/posix/getaddrinfo.c: Likewise.
13489         * sysdeps/posix/system.c: Likewise.
13490         * sysdeps/pthread/aio_suspend.c: Likewise.
13491         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13492         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13493         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13494         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13495         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13496         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13497         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13498         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13499         * sysdeps/unix/sysv/linux/system.c: Likewise.
13500         * sysdeps/x86_64/backtrace.c: Likewise.
13501         * time/alt_digit.c: Likewise.
13502         * time/era.c: Likewise.
13503         * time/tzset.c: Likewise.
13504         * wcsmbs/wcsmbsload.c: Likewise.
13505         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13506         instead of <bits/libc-lock.h> in comment.
13508 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13510         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13511         Only use .set mips2 if the current ISA is below mips2.
13512         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13513         Likewise.
13514         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13515         mips32r2 if the current ISA is below mips32r2.
13516         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13517         (TLS_IE): Updated to use the TLD_RDHWR macro.
13518         (TLS_LE): Likewise.
13519         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13520         __ASSEMBLER__ condition.
13522 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13524         Fix parallel build of before-compile targets.
13526         * sysdeps/mach/Makefile ($(patsubst
13527         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13528         mach-before-compile target.
13529         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13530         io fs process)): Move rule to dedicated hurd-before-compile target.
13532 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13534         Fix rules generating headers in hurd/ and mach/ when initial make call
13535         has subdir= explicitly set.
13537         * sysdeps/mach/Makefile ($(patsubst
13538         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13539         calling $(MAKE).
13540         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13541         io fs process)): Force subdir to hurd when calling $(MAKE).
13542         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13543         subdir to mach when calling $(MAKE).
13545 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13547         Check sysheaders when looking for Mach and Hurd headers
13549         * sysdeps/mach/configure.ac: Add sysheaders check.
13550         * sysdeps/mach/configure: Regenerate.
13551         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13552         * sysdeps/mach/hurd/configure: Regenerate.
13554 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13556         [BZ #18921]
13557         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13558         Fix inverted sense of test of 'o_directory_works' value.
13559         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13560         Bernhard Voelker <mail@bernhard-voelker.de>.
13562 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13564         [BZ #14912]
13565         * bits/linkmap.h: Move to ...
13566         * sysdeps/generic/linkmap.h: ...here.
13567         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13568         * sysdeps/aarch64/linkmap.h: ...here.
13569         * sysdeps/arm/bits/linkmap.h: Move to ...
13570         * sysdeps/arm/linkmap.h: ...here.
13571         * sysdeps/hppa/bits/linkmap.h: Move to ...
13572         * sysdeps/hppa/linkmap.h: ...here.
13573         * sysdeps/ia64/bits/linkmap.h: Move to ...
13574         * sysdeps/ia64/linkmap.h: ...here.
13575         * sysdeps/mips/bits/linkmap.h: Move to ...
13576         * sysdeps/mips/linkmap.h: ...here.
13577         * sysdeps/s390/bits/linkmap.h: Move to ...
13578         * sysdeps/s390/linkmap.h: ...here.
13579         * sysdeps/sh/bits/linkmap.h: Move to ...
13580         * sysdeps/sh/linkmap.h: ...here.
13581         * sysdeps/x86/bits/linkmap.h: Move to ...
13582         * sysdeps/x86/linkmap.h: ...here.
13583         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13585 2015-09-04  Andreas Schwab  <schwab@suse.de>
13587         [BZ #18635]
13588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13589         (__makecontext): Terminate FDE before return label.
13590         (__novec_makecontext): Likewise.
13592 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13594         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13595         first member of struct sv in syscall macro.
13597 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13599         [BZ #14912]
13600         * bits/stdio-lock.h: Move to ...
13601         * sysdeps/generic/stdio-lock.h: ...here.
13602         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13603         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13604         * sysdeps/nptl/stdio-lock.h: ...here.
13605         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13606         * include/libio.h: Include <stdio-lock.h> instead of
13607         <bits/stdio-lock.h>.
13608         * sysdeps/nptl/fork.c: Likewise.
13609         * sysdeps/pthread/flockfile.c: Likewise.
13610         * sysdeps/pthread/ftrylockfile.c: Likewise.
13611         * sysdeps/pthread/funlockfile.c: Likewise.
13613         [BZ #14912]
13614         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13615         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13616         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13617         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13618         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13619         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13620         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13622 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13624         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13625         (test-xfail-tst-protected1b): New variable.
13627 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13629         [BZ #14912]
13630         * bits/libc-tsd.h: Move to ...
13631         * sysdeps/generic/libc-tsd.h: ...here.
13632         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13633         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13634         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13635         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13636         * include/ctype.h: Include <libc-tsd.h> instead of
13637         <bits/libc-tsd.h>.
13638         * include/rpc/rpc.h: Likewise.
13639         * locale/localeinfo.h: Likewise.
13640         * sunrpc/rpc_thread.c: Likewise.
13641         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13642         * sysdeps/nptl/malloc-machine.h: Likewise.
13644         * Makefile (headers): Remove bits/libc-lock.h.
13645         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13647         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13648         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13649         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13650         <bits/stdio-lock.h>.
13651         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13652         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13654 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13656         [BZ #18757]
13657         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13658         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13659         BZ #18757.
13661 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13663         * malloc/mtrace.pl: Filter out NULL entries.
13665 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13667         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13668         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13669         macro.
13671         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13672         (TCP_CC_INFO): Likewise.
13673         (TCP_SAVE_SYN): Likewise.
13674         (TCP_SAVED_SYN): Likewise.
13676 2015-08-31  Brett Neumeier <brett@neumeier.us>
13678         [BZ #18870]
13679         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13681 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13683         [BZ #18873]
13684         Fix broken overflow check in posix_fallocate
13685         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13686         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13687         Fix parenthesization typo.
13689 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13691         [BZ #18887]
13692         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13693         tst-mntent-blank-passno.
13694         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13695         * misc/tst-mntent-blank-corrupt.c: New test.
13696         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13697         * misc/tst-mntent.c (do_test): ... here.
13699 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13701         [BZ #4404]
13702         * po/de.po: Fix SIGALRM typo.
13704 2015-08-28  James Perkins  <james@loowit.net>
13706         * time/tst-strptime2.c (tests): Replace short list of test
13707         strings for strptime %z specifier with code which exhaustively
13708         tests every combination of sign and 0 to 5 digits. Tests for
13709         rejection of invalid strings.
13711 2015-08-28  James Perkins  <james@loowit.net>
13713         [BZ #16141]
13714         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13715         calculation, removing incorrect decimal time rounding, so that
13716         all minute values result in a valid seconds value.
13717         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13718         offset range limits to UTC-99:59 through UTC+99:59 to parse
13719         current and historical use cases.
13720         * time/tst-strptime2.c (tests): Modify and add tests for the
13721         strptime %z input field descriptor, specifically conversion of
13722         minutes to seconds and validating an offset range of -9959 to
13723         +9959.
13725 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13726             Dmitry V. Levin  <ldv@altlinux.org>
13728         [BZ #18877]
13729         * posix/Makefile (tests): Add tst-mmap-offset.
13730         * posix/tst-mmap.c: New file.
13731         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13732         offset calculation for negative values.
13734 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13736         * sysdeps/i386/init-arch.h: New file.
13737         * sysdeps/i386/i586/init-arch.h: Likewise.
13738         * sysdeps/i386/i686/init-arch.h: Likewise.
13739         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13740         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13741         * sysdeps/x86/cpu-features.h (bit_I586): New.
13742         (bit_I686): Likewise.
13743         (bit_CX8): Likewise.
13744         (bit_CMOV): Likewise.
13745         (index_CX8): Likewise.
13746         (index_CMOV): Likewise.
13747         (index_I586): Likewise.
13748         (index_I686): Likewise.
13749         (reg_CX8): Likewise.
13750         (reg_CMOV): Likewise.
13751         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13752         available at compile-time.
13753         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13754         available at compile-time.
13755         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13756         (USE_I686): Likewise.
13758 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13760         * sysdeps/i386/bcopy.S: New file.
13761         * sysdeps/i386/bzero.S: Likewise.
13762         * sysdeps/i386/memcpy.S: Likewise.
13763         * sysdeps/i386/memmove.S: Likewise.
13764         * sysdeps/i386/mempcpy.S: Likewise.
13765         * sysdeps/i386/memset.S: Likewise.
13766         * sysdeps/i386/bzero.c: Removed.
13767         * sysdeps/i386/memset.c: Likewise.
13768         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13769         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13770         * sysdeps/i386/i586/memset_chk.S: Likewise.
13771         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13772         * sysdeps/i386/memcpy_chk.S: Here.
13773         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13774         * sysdeps/i386/memmove_chk.S: Here.
13775         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13776         * sysdeps/i386/mempcpy_chk.S: Likewise.
13777         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13778         * sysdeps/i386/memset_chk.S: Likewise.
13780 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13782         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13783         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13784         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13785         * soft-fp/fmadf4.c: Ditto.
13786         * soft-fp/fmatf4.c: Ditto.
13788 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13790         * sysdeps/i386/i586/Implies: Removed.
13791         * sysdeps/i386/i686/Implies: Likewise.
13793 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13795         * sysdeps/i386/i486/strlen.S: Moved to ...
13796         * sysdeps/i386/strlen.S: Here.
13798 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13800         * sysdeps/i386/i486/strcat.S: Moved to ...
13801         * sysdeps/i386/strcat.S: Here.
13803 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13805         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13806         * sysdeps/i386/pthread_spin_trylock.S: Here.
13807         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13808         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13810 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13812         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13813         * sysdeps/i386/string-inlines.c: Here.
13815 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13817         * sysdeps/i386/i486/htonl.S: Moved ...
13818         * sysdeps/i386/htonl.S: here.
13820 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13822         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13823         * sysdeps/i386/bits/atomic.h: Here.
13825 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13827         * sysdeps/i386/i486/Versions: Removed.
13829 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13831         [BZ #2898]
13832         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13833         Based on patch by Aurelien Jarno.
13835 2015-08-26  Stan Shebs  <stanshebs@google.com>
13837         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13838         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13840 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13842         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13843         * sysdeps/powerpc/dl-procinfo.c:
13844         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13845         feature so it shows when LD_SHOW_AUXV=1.
13847 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13849         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13850         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13851         definition.  ISA 2.07B no longer requires full sync.
13853 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13855         [BZ #18863]
13856         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13857         (si_call_addr): Define.
13858         (si_syscall): Define.
13859         (si_arch): Define.
13861 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13863         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13864         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13865         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13866         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13867         (__memset_zero_constant_len_parameter): New.
13868         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13869         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13870         (__memset_zero_constant_len_parameter): Don't define if
13871         __memset_chk or USE_AS_BZERO are defined.
13873         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13874         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13875         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13877         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13878         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13879         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13880         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13881         comments.
13882         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13883         -mno-mmx for $(all-rtld-routines).
13884         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13885         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13886         i386.
13888 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13890         * sysdeps/generic/unwind.h
13891         (_Unwind_Word): Use __mode__(__unwind_word__)
13892         instead of __mode__(__word__).
13893         (_Unwind_Sword): Likewise.
13895         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13896         (MAX_NEEDED_INPUT): New define.
13897         (MAX_NEEDED_OUTPUT): New define.
13899         * NEWS: New item for IBM z13 string optimizations.
13901         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13902         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13903         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13904         * sysdeps/s390/multiarch/Makefile
13905         (sysdep_routines): Add memrchr functions.
13906         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13907         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13909         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13910         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13911         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13912         * sysdeps/s390/multiarch/Makefile
13913         (sysdep_routines): Add wmemcmp functions.
13914         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13915         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13916         * benchtests/bench-wmemcmp.c: New File.
13917         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13919         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13920         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13921         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13922         * sysdeps/s390/multiarch/Makefile
13923         (sysdep_routines): Add wmemset functions.
13924         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13925         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13926         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13927         * string/test-memset.c: Add wmemset support.
13928         * wcsmbs/test-wmemset.c: New File.
13929         * wcsmbs/Makefile (strop-tests): Add wmemset.
13930         * benchtests/bench-memset.c: Add wmemset support.
13931         * benchtests/bench-wmemset.c: New File.
13932         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13934         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13935         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13936         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13937         * sysdeps/s390/multiarch/Makefile
13938         (sysdep_routines): Add memccpy functions.
13939         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13940         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13941         * string/memccpy.c: Use MEMCCPY if defined.
13943         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13944         * sysdeps/s390/multiarch/memchr.c: Likewise.
13945         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13946         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13947         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13948         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13949         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13950         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13951         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13952         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13954         and rawmemchr functions.
13955         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13956         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13957         and wmemchr.
13958         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13959         * string/test-memchr.c: Add wmemchr support.
13960         * wcsmbs/test-wmemchr.c: New File.
13961         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13962         * benchtests/bench-memchr.c: Add wmemchr support.
13963         * benchtests/bench-wmemchr.c: New File.
13964         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13966         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13967         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13968         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13969         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13970         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13971         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13973         wcscspn functions.
13974         * sysdeps/s390/multiarch/ifunc-impl-list.c
13975         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13976         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13977         * string/test-strcspn.c: Add wcscspn support.
13978         * wcsmbs/test-wcscspn.c: New File.
13979         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13980         * benchtests/bench-strcspn.c: Add wcscspn support.
13981         * benchtests/bench-wcscspn.c: New File.
13982         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13984         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13985         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13986         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13987         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13988         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13989         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13990         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13991         wcspbrk functions.
13992         * sysdeps/s390/multiarch/ifunc-impl-list.c
13993         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13994         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13995         * string/test-strpbrk.c: Add wcspbrk support.
13996         * wcsmbs/test-wcspbrk.c: New File.
13997         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13998         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13999         * benchtests/bench-wcspbrk.c: New File.
14000         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14002         * sysdeps/s390/multiarch/strspn-c.c: New File.
14003         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14004         * sysdeps/s390/multiarch/strspn.c: Likewise.
14005         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14006         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14007         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14008         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14009         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14010         wcsspn functions.
14011         * sysdeps/s390/multiarch/ifunc-impl-list.c
14012         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14013         * string/test-strspn.c: Add wcsspn support.
14014         * wcsmbs/test-wcsspn.c: New File.
14015         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14016         * benchtests/bench-strspn.c: Add wcsspn support.
14017         * benchtests/bench-wcsspn.c: New File.
14018         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14020         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14021         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14022         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14023         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14024         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14025         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14026         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14027         wcsrchr functions.
14028         * sysdeps/s390/multiarch/ifunc-impl-list.c
14029         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14030         * benchtests/bench-wcsrchr.c: New File.
14031         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14033         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14034         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14035         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14036         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14037         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14038         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14039         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14040         wcschrnul functions.
14041         * sysdeps/s390/multiarch/ifunc-impl-list.c
14042         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14043         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14044         * string/test-strchr.c: Add wcschrnul support.
14045         * wcsmbs/test-wcschrnul.c: New File.
14046         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14047         * benchtests/bench-strchr.c: Add wcschrnul support.
14048         * benchtests/bench-wcschrnul.c: New File.
14049         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14051         * sysdeps/s390/multiarch/strchr-c.c: New File.
14052         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14053         * sysdeps/s390/multiarch/strchr.c: Likewise.
14054         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14055         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14056         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14058         wcschr functions.
14059         * sysdeps/s390/multiarch/ifunc-impl-list.c
14060         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14061         * string/strchr.c (STRCHR): Define and use macro.
14062         * benchtests/bench-wcschr.c: New File.
14063         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14065         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14066         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14067         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14068         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14069         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14070         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14071         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14072         wcsncmp functions.
14073         * sysdeps/s390/multiarch/ifunc-impl-list.c
14074         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14075         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14076         * benchtests/bench-strncmp.c: Add wcsncmp support.
14077         * benchtests/bench-wcsncmp.c: New File.
14078         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14080         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14081         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14082         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14083         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14084         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14085         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14086         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14087         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14088         wcscmp functions.
14089         * sysdeps/s390/multiarch/ifunc-impl-list.c
14090         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14091         * string/strcmp.c (STRCMP): Define and use macro.
14092         * benchtests/bench-wcscmp.c: New File.
14093         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14094         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14095         instead of _HAVE_STRING_ARCH_memchr.
14097         * sysdeps/s390/multiarch/strncat-c.c: New File.
14098         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14099         * sysdeps/s390/multiarch/strncat.c: Likewise.
14100         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14101         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14102         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14104         wcsncat functions.
14105         * sysdeps/s390/multiarch/ifunc-impl-list.c
14106         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14107         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14108         * string/test-strncat.c: Add wcsncat support.
14109         * wcsmbs/test-wcsncat.c: New File.
14110         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14111         * benchtests/bench-strncat.c: Add wcsncat support.
14112         * benchtests/bench-wcsncat.c: New File.
14113         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14115         * sysdeps/s390/multiarch/strcat-c.c: New File.
14116         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14117         * sysdeps/s390/multiarch/strcat.c: Likewise.
14118         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14119         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14120         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14121         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14122         wcscat functions.
14123         * sysdeps/s390/multiarch/ifunc-impl-list.c
14124         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14125         * string/strcat.c (STRCAT): Define and use macro.
14126         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14127         * string/test-strcat.c: Add wcscat support.
14128         * wcsmbs/test-wcscat.c: New File.
14129         * wcsmbs/Makefile (strop-tests): Add wcscat.
14130         * benchtests/bench-strcat.c: Add wcscat support.
14131         * benchtests/bench-wcscat.c: New File.
14132         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14134         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14135         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14136         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14137         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14138         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14139         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14140         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14141         wcpncpy functions.
14142         * sysdeps/s390/multiarch/ifunc-impl-list.c
14143         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14144         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14145         * string/test-stpncpy.c: Add wcpncpy support.
14146         * wcsmbs/test-wcpncpy.c: New File.
14147         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14148         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14149         * benchtests/bench-wcpncpy.c: New File.
14150         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14152         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14153         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14154         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14155         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14156         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14157         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14158         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14159         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14160         wcsncpy functions.
14161         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14162         * sysdeps/s390/multiarch/ifunc-impl-list.c
14163         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14164         * string/test-strncpy.c: Add wcsncpy support.
14165         * wcsmbs/test-wcsncpy.c: New File.
14166         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14167         * benchtests/bench-strncpy.c: Add wcsncpy support.
14168         * benchtests/bench-wcsncpy.c: New File.
14169         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14171         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14172         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14173         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14174         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14175         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14176         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14177         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14178         wcpcpy functions.
14179         * string/stpcpy.c: Use STPCPY if defined.
14180         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14181         * sysdeps/s390/multiarch/ifunc-impl-list.c
14182         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14183         * string/test-stpcpy.c: Add wcpcpy support.
14184         * wcsmbs/test-wcpcpy.c: New File.
14185         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14186         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14187         * benchtests/bench-wcpcpy.c: New File.
14188         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14190         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14191         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14192         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14193         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14194         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14195         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14196         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14198         wcscpy functions.
14199         * sysdeps/s390/multiarch/ifunc-impl-list.c
14200         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14201         * benchtests/bench-wcscpy.c: New File.
14202         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14204         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14205         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14206         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14207         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14208         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14209         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14210         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14211         wcsnlen functions.
14212         * sysdeps/s390/multiarch/ifunc-impl-list.c
14213         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14214         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14215         * string/test-strnlen.c: Add wcsnlen support.
14216         * wcsmbs/test-wcsnlen.c: New File.
14217         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14218         * benchtests/bench-strnlen.c: Add wcsnlen support.
14219         * benchtests/bench-wcsnlen.c: New File.
14220         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14222         * sysdeps/s390/multiarch/Makefile: New File.
14223         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14224         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14225         * sysdeps/s390/multiarch/strlen.c: Likewise.
14226         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14227         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14228         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14229         * string/strlen.c (STRLEN): Define and use macro.
14230         * sysdeps/s390/multiarch/ifunc-impl-list.c
14231         (IFUNC_VX_IMPL): New macro function.
14232         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14233         * benchtests/Makefile (wcsmbs-bench): New variable.
14234         (string-bench-all): Added wcsmbs-bench.
14235         * benchtests/bench-wcslen.c: New File.
14237         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14238         s390_vx_libc_ifunc2): New macro function.
14240         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14241         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14242         assembler support.
14243         * sysdeps/s390/configure: Regenerated.
14245         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14246         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14248         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14249         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14250         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14252         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14253         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14254         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14255         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14256         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14257         (memcmp, bcmp): Use __memcmp_default as alias source.
14258         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14259         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14260         Rename to __memcmp_default.
14261         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14262         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14263         (memcpy): Use __memcpy_default as alias source.
14264         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14265         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14266         Rename to __memcpy_default.
14267         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14268         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14269         (memset): Use __memset_default as alias source.
14270         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14271         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14272         Rename to __memset_default.
14273         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14274         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14275         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14276         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14277         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14278         (memcmp, bcmp): Use __memcmp_default as alias source.
14279         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14280         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14281         Rename to __memcmp_default.
14282         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14283         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14284         (memcpy): Use __memcpy_default as alias source.
14285         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14286         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14287         Rename to __memcpy_default.
14288         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14289         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14290         (memset): Use __memset_default as alias source.
14291         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14292         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14293         Rename to __memset_default.
14294         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14295         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14297         [BZ #18610]
14298         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14299         __ieee_instruction_pointer to __unused.
14300         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14301         __ieee_instruction_pointer.
14302         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14303         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14304         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14305         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14306         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14307         Mark dxc-field as reserved.
14309 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14311         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14312         if the weak reference is not null.
14314 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14316         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14318         [BZ #11214]
14319         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14321 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14323         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14324         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14325         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14326         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14327         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14328         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14329         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14330         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14331         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14332         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14333         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14334         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14335         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14336         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14337         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14338         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14339         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14340         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14342 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14344         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14345         register other than r0 for tabort, it has special meaning.
14346         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14347         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14348         transaction before starting syscall.
14350 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14352         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14354 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14356         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14358         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14359         * sysdeps/x86_64/rtld-memset.S: Likewise.
14360         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14361         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14362         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14363         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14365         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14367 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14369         * debug/strcpy_chk.c: Improve performance.
14370         * debug/stpcpy_chk.c: Likewise.
14371         * sysdeps/x86_64/strcpy_chk.S: Remove.
14372         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14374         [BZ #18240]
14375         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14377 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14379         [BZ #15128]
14380         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14381         ifuncmain8.
14382         (modules-names): Add ifuncmod8.
14383         ($(objpfx)ifuncmain8): New rule.
14384         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14385         <cpuid.h>.
14386         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14387         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14388         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14389         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14390         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14391         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14392         * sysdeps/x86_64/ifuncmain8.c: New file.
14393         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14394         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14395         Removed.
14396         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14397         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14398         Change rtld_savespace_sse to __glibc_unused2.
14399         (RTLD_CHECK_FOREIGN_CALL): Removed.
14400         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14401         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14402         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14404 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14406         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14408 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14410         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14411         Unconditionally set __fpcr to avoid uninialized warning.
14412         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14414 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14416         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14417         is corrupt.
14419         * malloc/arena.c (arena_get2): Drop unused argument.
14420         (arena_lock): Adjust.
14421         (arena_get_retry): Likewise.
14423 2015-08-24  Andreas Schwab  <schwab@suse.de>
14425         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14426         Don't define.
14427         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14428         (__ASSUME_IPC64): Don't undef.
14429         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14430         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14431         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14432         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14433         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14434         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14435         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14436         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14437         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14438         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14439         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14440         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14441         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14442         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14443         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14444         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14445         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14446         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14447         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14448         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14449         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14451 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14453         * manual/Makefile (install): Only build manual when perl is available.
14455 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14458         '#undef memcpy' by '#undef memchr'.
14460 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14462         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14463         memchr not point to the internal __GI_memchr implementation.
14465 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14467         * timezone/Makefile (CFLAGS-zdump.c): Remove
14468         -Wno-strict-prototypes.
14469         (CFLAGS-zic.c): Likewise.
14470         (CFLAGS-ialloc.c): Likewise.
14471         (CFLAGS-scheck.c): Likewise.
14473         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14474         -Wno-error=undef.
14476 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14478         * i386/i686/multiarch/strcasestr-c.c: Removed.
14479         * x86_64/multiarch/strcasestr.c: Likewise.
14480         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14481         Remove strcasestr.
14483 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14485         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14487         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14488         variables for high and low parts before possibly modifying them.
14490 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14492         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14493         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14494         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14495         of "multiarch/init-arch.h".
14496         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14497         * sysdeps/x86/init-arch.h: This.
14499 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14501         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14502         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14504 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14506         [BZ #17787]
14507         * manual/macros.texi: Add twoexp macro.
14508         * manual/filesys.texi: Fix exponents.
14509         * manual/llio.texi: Likewise.
14510         * manual/stdio.texi: Likewise.
14512 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14514         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14515         incorrect use.
14517 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14519         [BZ #18370]
14520         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14521         whose real or imaginary part has small absolute value.
14522         * math/s_csqrtf.c (__csqrtf): Likewise.
14523         * math/s_csqrtl.c (__csqrtl): Likewise.
14524         * math/auto-libm-test-in: Add more tests of csqrt.
14525         * math/auto-libm-test-out: Regenerated.
14526         * sysdeps/i386/fpu/libm-test-ulps: Update.
14528 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14530         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14531         __ppc_set_ppr_very_low): New functions.
14532         * manual/platform.texi: Add documentation about
14533         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14535 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14537         * string/stpncpy.c (stpncpy): Improve performance using
14538         __strnlen/memcpy/memset.
14540 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14542         [BZ #18796]
14543         * scripts/test-installation.pl: Don't add -lmvec to build options if
14544         libmvec wasn't built.
14546 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14548         [BZ #14341]
14549         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14550         case when there is a gap between DT_REL and DT_JMPREL sections.
14551         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14552         (LDFLAGS-tst-split-dynreloc): New.
14553         (tst-split-dynreloc-ENV): Likewise.
14554         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14555         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14557 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14559         [BZ #18822]
14560         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14561         attribute_hidden.
14562         (__xstat64_conv): Likewise.
14563         (__xstat32_conv): Likewise.
14565 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14567         [BZ #18822]
14568         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14569         Don't load %ebx when calling __setcontext.  Call __setcontext
14570         with HIDDEN_JUMPTARGET.
14571         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14572         libc_hidden_def.
14574 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14576         * sysdeps/i386/i686/Makefile
14577         [$(subdir) == string] (sysdep_routines): Moved to ...
14578         * sysdeps/i386/Makefile: Here.
14579         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14580         * sysdeps/i386/cacheinfo.c: Here.
14581         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14582         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14583         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14584         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14586 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14588         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14589         __i586__ is defined.
14590         (HAS_I686): Defined to 1 if __i686__ is defined.
14592 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14594         * elf/Makefile [$(have-z-execstack) = yes]
14595         (CPPFLAGS-tst-execstack.c): New variable.
14597         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14598         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14599         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14600         UTMPX || _HAVE_UT_TV].
14601         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14602         UTMPX || _HAVE_UT_TV - 0].
14604 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14606         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14607         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14608         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14610 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14612         * sysdeps/powerpc/dl-procinfo.c:
14613         (_dl_powerpc_cap_flags): Added missing strings for some
14614         hwcap features.
14615         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14617 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14619         Port the 0x7efe...feff pattern to GCC 6.
14620         See Steve Ellcey's bug report in:
14621         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14622         * string/memrchr.c (MEMRCHR):
14623         * string/rawmemchr.c (RAWMEMCHR):
14624         * string/strchr.c (strchr):
14625         * string/strchrnul.c (STRCHRNUL):
14626         Rewrite code to avoid issues with signed shift overflow.
14628 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14630         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14631         whether cpuid is available only if HAS_CPUID is 0.
14632         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14633         (HAS_I586): Likewise.
14634         (HAS_I686): Likewise.
14636 2015-08-18  Zack Weinberg  <zackw@panix.com>
14638         * misc/Versions (libc): Add GLIBC_2.23.
14640 2015-08-18  Alan Modra  <amodra@gmail.com>
14642         [BZ #18421]
14643         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14644         .Lp__global.
14645         (_start): Load %dp via .Lp__global.
14646         [!SHARED]: Use .section .rodata.
14648 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14650         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14651         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14653 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14655         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14656         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14658 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14660         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14661         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14663 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14665         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14666         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14668 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14670         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14671         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14673 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14675         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14676         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14678 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14680         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14682 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14684         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14685         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14686         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14687         (__ASSUME_LWS_CAS): Delete.
14689 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14691         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14692         * sysdeps/hppa/configure: Regenerated.
14693         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14694         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14695         * sysdeps/hppa/nptl/tls.h: Likewise.
14697 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14699         [BZ #18823]
14700         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14701         for scaling up small arguments.
14702         * math/s_csqrtf.c (__csqrtf): Likewise.
14703         * math/s_csqrtl.c (__csqrtl): Likewise.
14704         * math/auto-libm-test-in: Add more tests of csqrt.
14705         * math/auto-libm-test-out: Regenerated.
14707 2015-08-17  Andreas Schwab  <schwab@suse.de>
14709         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14710         version set GLIBC_2.19.
14712 2015-08-16  Zack Weinberg  <zackw@panix.com>
14714         [BZ #18681]
14715         * misc/regexp.h: This interface is no longer supported.
14716         Remove all contents, leaving only an #error directive.
14717         * misc/regexp.c (loc1, loc2, locs, step, advance):
14718         Demote to compatibility symbols.
14720 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14722         [BZ #18084]
14723         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14724         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14725         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14726         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14727         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14728         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14729         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14730         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14731         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14733 2015-08-15  Zack Weinberg  <zackw@panix.com>
14735         [BZ #18795]
14736         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14737         buffer length is known to be too large, not if it's known to be
14738         small enough.
14739         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14740         overflow at runtime, involving a length parameter, twice: once
14741         with a compile-time constant length parameter, once without.
14743 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14745         [BZ #18824]
14746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14747         scaling x * y up instead of down.
14748         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14749         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14750         * math/auto-libm-test-in: Add more tests of fma.
14751         * math/auto-libm-test-out: Regenerated.
14753 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14757 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14759         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14760         unnecessary movq.
14761         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14762         Likewise.
14764 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14766         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14767         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14768         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14769         and tgamma.
14770         * math/auto-libm-test-out: Regenerated.
14771         * sysdeps/i386/fpu/libm-test-ulps: Update.
14772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14774         [BZ #16520]
14775         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14776         (__tanh): Force underflow exception for arguments with small
14777         absolute value.
14778         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14779         (__tanhf): Force underflow exception for arguments with small
14780         absolute value.
14781         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14782         (__tanhl): Force underflow exception for arguments with small
14783         absolute value.
14784         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14785         (__tanhl): Force underflow exception for arguments with small
14786         absolute value.
14787         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14788         (__tanhl): Force underflow exception for arguments with small
14789         absolute value.
14790         * math/auto-libm-test-in: Add more tests of tanh.
14791         * math/auto-libm-test-out: Regenerated.
14792         * sysdeps/i386/fpu/libm-test-ulps: Update.
14794 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14796         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14797         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14799 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14801         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14802         <cpuid.h>.
14804 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14806         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14807         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14809 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14811         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14812         Remove $(objpfx)init-arch.o.
14813         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14814         init-arch.
14815         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14816         (INIT_ARCH_EXT): Defined as empty.
14817         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14818         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14819         __init_cpu_features call.  Replace HAS_XXX with
14820         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14821         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14822         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14823         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14824         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14826         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14827         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14828         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14829         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14830         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14832         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14833         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14835         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14836         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14837         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14838         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14839         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14844         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14845         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14849         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14853         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14854         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14857 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14859         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14860         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14861         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14862         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14863         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14864         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14865         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14866         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14867         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14868         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14869         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14870         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14871         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14872         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14873         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14874         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14875         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14876         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14877         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14878         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14879         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14880         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14881         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14882         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14883         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14884         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14885         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14886         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14887         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14888         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14889         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14890         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14891         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14892         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14893         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14894         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14895         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14896         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14897         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14898         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14899         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14900         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14901         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14903 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14905         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14906         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14907         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14908         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14909         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14910         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14911         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14912         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14913         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14914         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14915         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14916         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14917         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14918         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14919         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14920         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14921         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14922         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14923         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14924         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14925         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14926         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14927         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14928         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14929         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14930         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14931         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14932         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14933         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14934         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14935         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14936         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14937         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14938         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14939         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14940         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14941         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14942         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14943         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14944         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14945         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14946         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14947         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14949 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14951         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14952         (dl_platform_init): Call init_cpu_features.
14953         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14954         * sysdeps/i386/i686/cacheinfo.c
14955         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14956         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14957         * sysdeps/i386/i686/multiarch/Versions: Removed.
14958         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14959         Removed.
14960         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14961         * sysdeps/unix/sysv/linux/x86/Makefile
14962         (libpthread-sysdep_routines): Remove init-arch.
14963         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14964         <sysdeps/x86_64/dl-procinfo.c> instead of
14965         sysdeps/generic/dl-procinfo.c>.
14966         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14967         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14968         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14969         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14970         [$(subdir) == elf] (tests-static): Add
14971         tst-get-cpu-features-static.
14972         * sysdeps/x86/Versions: New file.
14973         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14974         * sysdeps/x86/cpu-features.c: Likewise.
14975         * sysdeps/x86/cpu-features.h: Likewise.
14976         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14977         * sysdeps/x86/libc-start.c: Likewise.
14978         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14979         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14980         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14981         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14982         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14983         Assume USE_MULTIARCH is defined and don't check it.
14984         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14985         (is_amd): Likewise.
14986         (max_cpuid): Likewise.
14987         (intel_check_word): Likewise.
14988         (__cache_sysconf): Don't call __init_cpu_features.
14989         (__x86_preferred_memory_instruction): Removed.
14990         (init_cacheinfo): Don't call __init_cpu_features. Replace
14991         __cpu_features with GLRO(dl_x86_cpu_features).
14992         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14993         (dl_platform_init): Call init_cpu_features.
14994         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14995         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14996         * sysdeps/x86_64/multiarch/Versions: Removed.
14997         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14998         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14999         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15000         Removed.
15001         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15003 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15005         [BZ #18820]
15006         * libio/Makefile (test-fmemopen-mem): New test.
15007         * libio/test-fmemopen.c (do_bz18820): New test.
15008         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15009         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15011 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15013         [BZ #16734]
15014         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15015         (FREE_BUF): Delete.
15016         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15017         * libio/genops.c (_IO_setb): Use malloc and free directly.
15018         (_IO_default_doallocate, _IO_default_finish): Likewise.
15019         ( _IO_unbuffer_all): Likewise.
15020         ( libc_freeres_fn): Likewise.
15021         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15022         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15023         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15024         (_IO_wdefault_doallocate): Likewise.
15026 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15028         [BZ #18086]
15029         * sysdeps/posix/nice.c (nice): Restore old errno.
15030         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15032 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15034         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15036 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15038         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15039         __bcopy and add a weak_alias to bcopy.
15040         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15041         for static build.
15043         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15044         cleanup macro usage.
15045         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15047         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15048         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15049         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15050         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15051         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15052         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15053         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15054         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15056         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15058         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15059         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15061         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15062         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15063         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15065         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15066         libc_hidden_def.
15067         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15069         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15070         (sysdep_routines): Add strstr-ppc64.
15071         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15073 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15075         [BZ #18778]
15076         * elf/Makefile (tests): Add Add tst-nodelete2.
15077         (modules-names): Add tst-nodelete2mod.
15078         (tst-nodelete2mod.so-no-z-defs): New.
15079         ($(objpfx)tst-nodelete2): Likewise.
15080         ($(objpfx)tst-nodelete2.out): Likewise.
15081         (LDFLAGS-tst-nodelete2): Likewise.
15082         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15083         out of loop through all loaded libraries.
15084         * elf/tst-nodelete2.c: New file.
15085         * elf/tst-nodelete2mod.c: Likewise.
15086         * elf/tst-znodelete-zlib.cc: Delete.
15088 2015-08-11  Andreas Schwab  <schwab@suse.de>
15090         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15091         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15092         (__openat64_nocancel): Likewise.
15094 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15096         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15097         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15098         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15099         * math/auto-libm-test-out: Regenerated.
15100         * sysdeps/i386/fpu/libm-test-ulps: Update.
15101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15103 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15105         [BZ #18790]
15106         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15107         threshold for returning +/- 1.
15108         * math/auto-libm-test-in: Add more tests of tanh.
15109         * math/auto-libm-test-out: Regenerated.
15110         * sysdeps/i386/fpu/libm-test-ulps: Update.
15112 2015-08-10  Andreas Schwab  <schwab@suse.de>
15114         [BZ #18781]
15115         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15116         MORE_OFLAGS to oflag.
15117         * io/test-lfs.c (do_test): Test openat64.
15119 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15121         [BZ #18789]
15122         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15123         smaller threshold for returning the argument.
15124         * math/auto-libm-test-in: Add more tests of sinh.
15125         * math/auto-libm-test-out: Regenerated.
15126         * sysdeps/i386/fpu/libm-test-ulps: Update.
15128 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15130         [BZ #18674]
15131         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15132         break.
15134 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15136         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15137         (generated): Don't add $(addprefix z.,$(tzfiles)).
15139 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15141         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15142         * scripts/sysd-rules.awk: Likewise.
15144 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15146         * iconvdata/tst-tables.sh: Change echo -n to printf.
15147         * nss/db-Makefile: Likewise.
15148         * posix/tst-getconf.sh: Likewise.
15149         * stdio-common/tst-unbputc.sh: Likewise.
15151 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15153         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15154         MADV_*_PAGES defines behind this feature check.
15156 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15158         [BZ #18480]
15159         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15160         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15161         Define.
15162         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15163         LOAD_REGS_5, LOAD_REGS_6): Update.
15164         (INTERNAL_SYSCALL): Update using new LOAD defines.
15165         (INTERNAL_SYSCALL_NCS): Likewise.
15166         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15168 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15170         [BZ #16734]
15171         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15173 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15175         [BZ #17905]
15176         * catgets/Makefile (tst-catgets-mem): New test.
15177         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15178         * catgets/open_catalog.c (__open_catalog): Likewise.
15179         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15181 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15183         [BZ #18787]
15184         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15185         clobber registers.
15186         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15187         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15188         Cast return to __typeof (oldval).
15190 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15192         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15193         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15194         and delete sys/syscall.h include.
15196 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15198         [BZ #16517]
15199         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15200         (tan): Force underflow exception for arguments with small absolute
15201         value.
15202         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15203         (__kernel_tanf): Force underflow exception for arguments with
15204         small absolute value.
15205         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15206         (__kernel_tanl): Force underflow exception for arguments with
15207         small absolute value.
15208         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15209         (__kernel_tanl): Force underflow exception for arguments with
15210         small absolute value.
15211         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15212         (__kernel_tanl): Force underflow exception for arguments with
15213         small absolute value.
15214         * math/auto-libm-test-in: Add more tests of tan.
15215         * math/auto-libm-test-out: Regenerated.
15217 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15219         Fix sysdeps/i386/fpu/s_scalbn.S build
15221         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15223 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15225         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15227 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15229         Fix gcrt0.o compilation
15231         When static-start-installed-name is different from
15232         start-installed-name, we must not use the shared objects.
15234         * csu/Makefile
15235         (extra-objs): Add gmon-start.o when building shared library and
15236         $(static-start-installed-name) is different from
15237         $(start-installed-name).
15238         $(objpfx)g$(static-start-installed-name): When building shared
15239         library and $(static-start-installed-name) is different from
15240         $(static-start-installed-name), revert to non-shared rule,
15241         i.e. using $(objpfx)% and gmon-start.o.
15243 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15245         [BZ #16519]
15246         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15247         (__ieee754_sinh): Force underflow exception for arguments with
15248         small absolute value.
15249         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15250         (__ieee754_sinhf): Force underflow exception for arguments with
15251         small absolute value.
15252         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15253         (__ieee754_sinhl): Force underflow exception for arguments with
15254         small absolute value.
15255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15256         (__ieee754_sinhl): Force underflow exception for arguments with
15257         small absolute value.
15258         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15259         (__ieee754_sinhl): Force underflow exception for arguments with
15260         small absolute value.
15261         * math/auto-libm-test-in: Add more tests of sinh.
15262         * math/auto-libm-test-out: Regenerated.
15263         * sysdeps/i386/fpu/libm-test-ulps: Update.
15265 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15267         * libio/oldfileops.c: Include unistd.h.
15269 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15271         * stdlib/isomac.c: Include ctype.h.
15273 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15275         * dirent/tst-seekdir.c (main): Converted to ...
15276         (do_test): ... this.
15277         (TEST_FUNCTION): New macro.
15278         Include test-skeleton.c.
15279         * elf/tst-dlmodcount.c (main): Converted to ...
15280         (do_test): ... this.
15281         (TEST_FUNCTION): New macro.
15282         Include test-skeleton.c.
15283         * elf/tst-order-main.c (main): Converted to ...
15284         (do_test): ... this.
15285         (TEST_FUNCTION): New macro.
15286         Include test-skeleton.c.
15287         * elf/tst-pie2.c (main): Converted to ...
15288         (do_test): ... this.
15289         (TEST_FUNCTION): New macro.
15290         Include test-skeleton.c.
15291         * inet/tst-ether_aton.c (main): Converted to ...
15292         (do_test): ... this.
15293         (TEST_FUNCTION): New macro.
15294         Include test-skeleton.c.
15295         * misc/tst-mntent.c (main): Converted to ...
15296         (do_test): ... this.
15297         (TEST_FUNCTION): New macro.
15298         Include test-skeleton.c.
15299         * misc/tst-tsearch.c (main): Converted to ...
15300         (do_test): ... this.
15301         (TEST_FUNCTION): New macro.
15302         Include test-skeleton.c.
15303         * posix/tst-regexloc.c (main): Converted to ...
15304         (do_test): ... this.
15305         (TEST_FUNCTION): New macro.
15306         Include test-skeleton.c.
15307         * resolv/tst-aton.c (main): Converted to ...
15308         (do_test): ... this.
15309         (TEST_FUNCTION): New macro.
15310         Include test-skeleton.c.
15311         * stdio-common/test-fwrite.c (main): Converted to ...
15312         (do_test): ... this.
15313         (TEST_FUNCTION): New macro.
15314         Include test-skeleton.c.
15315         * stdio-common/tst-ferror.c (main): Converted to ...
15316         (do_test): ... this.
15317         (TEST_FUNCTION): New macro.
15318         Include test-skeleton.c.
15319         * stdio-common/tst-printf.c (main): Converted to ...
15320         (do_test): ... this.
15321         (TEST_FUNCTION): New macro.
15322         Include test-skeleton.c.
15323         * stdio-common/tst-printfsz.c (main): Converted to ...
15324         (do_test): ... this.
15325         (TEST_FUNCTION): New macro.
15326         Include test-skeleton.c.
15327         * stdlib/tst-strtod.c (main): Converted to ...
15328         (do_test): ... this.
15329         (TEST_FUNCTION): New macro.
15330         Include test-skeleton.c.
15331         * string/tst-strlen.c (main): Converted to ...
15332         (do_test): ... this.
15333         (TEST_FUNCTION): New macro.
15334         Include test-skeleton.c.
15335         * string/tst-svc.c (main): Converted to ...
15336         (do_test): ... this.
15337         (TEST_FUNCTION): New macro.
15338         Include test-skeleton.c.
15339         * time/tst-strptime.c (main): Converted to ...
15340         (do_test): ... this.
15341         (TEST_FUNCTION): New macro.
15342         Include test-skeleton.c.
15343         * timezone/tst-timezone.c (main): Converted to ...
15344         (do_test): ... this.
15345         (TEST_FUNCTION): New macro.
15346         Include test-skeleton.c.
15348 2015-08-05  Zack Weinberg  <zackw@panix.com>
15350         * misc/regexp.h: Update comments.
15352 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15354         [BZ #18635]
15355         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15356         before return label.
15358 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15360         [BZ #18661]
15361         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15362         when calling __errno_location.
15363         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15364         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15366 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15368         [BZ #18661]
15369         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15370         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15371         __gettimeofday.
15373 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15375         [BZ #18661]
15376         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15377         (__start_context): Don't use pop to restore %rdi so that stack
15378         is aligned to 16 bytes when calling __setcontext.
15380 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15382         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15383         only for libc.
15384         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15386 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15388         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15389         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15390         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15392 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15394         * string/memccpy.c (memccpy):
15395         Improve performance by using memchr/memcpy/__mempcpy.
15397 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15399         * string/strncpy.c (strncpy):
15400         Improve performance by using __strnlen/memcpy.
15402 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15404         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15405         Optimize to avoid an unnecessary FPCR read.
15407 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15409         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15410         Optimize to reduce FPCR/FPSR accesses.
15412 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15414         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15415         dead->data[category] != NULL.
15417 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15419         [BZ #18647]
15420         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15421         and |x| close to 1, use absolute value of x when computing log.
15422         * math/auto-libm-test-in: Add more tests of pow.
15423         * math/auto-libm-test-out: Regenerated.
15425 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15427         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15428         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15429         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15431 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15433         [BZ #18525]
15434         * locales/km_KH: Remove timezone definition.
15435         * locales/lo_LA: Likewise.
15436         * locales/my_MM: Likewise.
15437         * locales/nan_TW@latin: Likewise.
15438         * locales/th_TH: Likewise.
15439         * locales/uk_UA: Likewise.
15441 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15443         [BZ #18265]
15444         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15445         (wcsncat): Likewise.
15446         (wcscmp): Likewise.
15447         (wcsncmp): Likewise.
15449 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15451         * test-skeleton.c (usage): New function.
15452         (main): Call usage when opt is '?'.
15454 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15456         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15457         before first use.
15459 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15461         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15462         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15463         in there too.
15465 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15467         * version.h (RELEASE): Set to "development".
15468         (VERSION): Set to "2.22.90"
15470         * version.h (RELEASE): Set to "stable".
15471         (VERSION): Set to "2.22"
15472         * include/features.h (__GLIBC_MINOR__): Set to 22.
15474 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15476         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15477         Restructure macro to avoid "value computed is not used" warning.
15478         (atomic_compare_and_exchange_val_acq): Likewise.
15480 2015-08-04  Andreas Schwab  <schwab@suse.de>
15482         [BZ #18635]
15483         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15484         ret.
15485         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15487 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15489         * po/pl.po: Updated translation.
15490         * po/uk.po: Likewise.
15491         * po/fi.po: Likewise.
15492         * po/ko.po: Likewise.
15493         * po/ru.po: Likewise.
15494         * po/vi.po: Likewise.
15496 2015-07-31  Zack Weinberg  <zackw@panix.com>
15498         [BZ #18681]
15499         * regexp.h: Add unconditional #warning stating that this header
15500         will be removed soon.  Revise banner comment to match.
15501         (compile): Consistently use ERROR instead of RETURN to report
15502         errors (partial fix for bz#18681).
15503         * regexp.c: Don't include regexp.h. Remove some unnecessary
15504         declarations.
15506 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15508         * po/libc.pot: Regenerated.
15510 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15512         [BZ #18740]
15513         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15514         float-vlen4-arch-ext-cflags): Removed.
15515         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15516         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15518 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15520         [BZ #14113]
15521         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15522         aligned to __aligned__.
15523         (pthread_cond_t, pthread_rwlock_t): Likewise.
15525 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15527         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15529 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15531         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15532         (struct sigaction): Change sa_flags from a long to an int, and add
15533         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15535 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15537         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15538         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15539         sysdeps/generic/sysdep.h include.
15540         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15541         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15542         sysdeps/hppa/sysdep.h.
15543         (ENTRY, PSEUDO): Undefine before defining.
15545 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15547         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15548         from scratch to use INTERNAL_SYSCALL.
15550 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15552         [BZ #18078]
15553         * scripts/check-localplt.awk: Support alternate relocations.
15554         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15555         sections.
15556         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15557         malloc entries with + REL R_386_GLOB_DAT.
15558         * sysdeps/x86_64/localplt.data: New file.
15560 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15562         [BZ #18731]
15563         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15564         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15565         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15567 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15569         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15571 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15573         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15574         directly in terms of __sync_fetch_and_add and delete (int) cast.
15576 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15578         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15579         the -D_ASM_IA64_CURRENT_H flag.
15581 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15583         [BZ #18641]
15584         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15586 2015-07-27  Andreas Schwab  <schwab@suse.de>
15588         * conform/conformtest.pl (checknamespace): Filter out string
15589         literals while tokenizing.
15591 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15593         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15594         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15595         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15597 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15599         * nptl/tst-join7mod.c: Add #include <string.h>.
15601 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15603         * sysdeps/nios2/libm-test-ulps: Update.
15605 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15607         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15608         Fix order of arguments to the rt_sigprocmask syscall.
15609         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15610         Likewise.
15612 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15614         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15616 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15618         [BZ #18457]
15619         * nptl/Makefile (tests): New test case tst-join7.
15620         (modules-names): New test case module tst-join7mod.
15621         * nptl/tst-join7.c: New file.
15622         * nptl/tst-join7mod.c: New file.
15623         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15624         all translation units in libc.so, libpthread.so and rtld.
15626 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15630 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15632         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15633         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15634         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15635         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15636         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15640         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15641         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15642         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15644         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15645         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15646         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15647         implementation.
15649 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15651         [BZ #17711]
15652         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15653         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15654         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15655         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15656         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15657         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15659 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15661         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15662         instead of just saying load lock in the comments.
15664 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15666         * sysdeps/unix/Subdirs: Moved ...
15667         * sysdeps/posix/Subdirs: ... here.
15668         * login/pty.h (struct termios, struct winsize): Add forward decls.
15669         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15670         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15671         * sysdeps/arm/nacl/libc.abilist: Updated.
15672         * sysdeps/nacl/libutil.abilist: New file.
15674         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15675         (SIGWINCH): New macro.
15677         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15678         * sysdeps/arm/nacl/libc.abilist: Add it.
15680 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15682         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15684 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15686         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15687         Swap __glibc_reserved0 and sa_flags order.
15689 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15691         [BZ #18657]
15692         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15693         are pending TLS destructor calls.
15694         * include/link.h (struct link_map): Add concurrency note for
15695         L_TLS_DTOR_COUNT.
15696         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15697         Don't touch the link map flag.  Atomically increment
15698         l_tls_dtor_count.
15699         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15700         Avoid taking the load lock and don't touch the link map flag.
15701         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15702         * stdlib/Makefile (tests): Use it.
15703         * stdlib/tst-tls-atexit.c (do_test): dlopen
15704         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15705         to allow tst-tls-atexit-nodelete test case to use it.
15707 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15709         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15710         to bits/types.h.
15711         (msgqnum_t): New typedef.
15712         (msglen_t): Likewise.
15713         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15714         and msg_qbytes type to msglen_t.
15716 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15718         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15719         pad0 to __glibc_reserved0.
15720         (struct stat64): Likewise.
15722 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15724         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15725         Change sa_flags from a long to an int and add __glibc_reserved0 before
15726         it for padding.
15728 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15730         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15731         anonymous by deleting "siginfo" name.
15733 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15735         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15736         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15737         rather than __nacl_irt_filename.
15738         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15740         * NEWS: New item for arm-nacl port.
15741         * sysdeps/arm/nacl/libc.abilist: New file.
15742         * sysdeps/nacl/ld.abilist: New file.
15743         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15744         * sysdeps/nacl/libanl.abilist: New file.
15745         * sysdeps/nacl/libcrypt.abilist: New file.
15746         * sysdeps/nacl/libdl.abilist: New file.
15747         * sysdeps/nacl/libm.abilist: New file.
15748         * sysdeps/nacl/libpthread.abilist: New file.
15749         * sysdeps/nacl/libresolv.abilist: New file.
15750         * sysdeps/nacl/librt.abilist: New file.
15752 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15754         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15755         __startcontext to initialize the new context.
15756         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15757         up CFI directive to forbid further backtracing.
15759 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15761         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15762         reference.
15763         * charmaps/ANSI_X3.4-1968: Likewise.
15764         * charmaps/BS_4730: Likewise.
15765         * charmaps/BS_VIEWDATA: Likewise.
15766         * charmaps/CP1250: Likewise.
15767         * charmaps/CP1251: Likewise.
15768         * charmaps/CP1252: Likewise.
15769         * charmaps/CP1253: Likewise.
15770         * charmaps/CP1254: Likewise.
15771         * charmaps/CP1255: Likewise.
15772         * charmaps/CP1256: Likewise.
15773         * charmaps/CSN_369103: Likewise.
15774         * charmaps/EBCDIC-DK-NO: Likewise.
15775         * charmaps/GB_1988-80: Likewise.
15776         * charmaps/GREEK-CCITT: Likewise.
15777         * charmaps/GREEK7: Likewise.
15778         * charmaps/INIS-8: Likewise.
15779         * charmaps/ISIRI-3342: Likewise.
15780         * charmaps/ISO_2033-1983: Likewise.
15781         * charmaps/ISO_5427-EXT: Likewise.
15782         * locales/POSIX: Likewise.
15783         * locales/ar_SA: Likewise.
15784         * locales/be_BY: Likewise.
15785         * locales/be_BY@latin: Likewise.
15786         * locales/ca_ES: Likewise.
15787         * locales/cs_CZ: Likewise.
15788         * locales/da_DK: Likewise.
15789         * locales/de_BE: Likewise.
15790         * locales/de_CH: Likewise.
15791         * locales/de_LU: Likewise.
15792         * locales/en_AU: Likewise.
15793         * locales/en_BW: Likewise.
15794         * locales/en_CA: Likewise.
15795         * locales/en_DK: Likewise.
15796         * locales/en_GB: Likewise.
15797         * locales/en_IE: Likewise.
15798         * locales/en_NZ: Likewise.
15799         * locales/en_ZA: Likewise.
15800         * locales/en_ZW: Likewise.
15801         * locales/es_AR: Likewise.
15802         * locales/es_BO: Likewise.
15803         * locales/es_CL: Likewise.
15804         * locales/es_CO: Likewise.
15805         * locales/es_DO: Likewise.
15806         * locales/es_EC: Likewise.
15807         * locales/es_ES: Likewise.
15808         * locales/es_HN: Likewise.
15809         * locales/es_MX: Likewise.
15810         * locales/es_PA: Likewise.
15811         * locales/es_PE: Likewise.
15812         * locales/es_PY: Likewise.
15813         * locales/es_SV: Likewise.
15814         * locales/es_US: Likewise.
15815         * locales/es_UY: Likewise.
15816         * locales/es_VE: Likewise.
15817         * locales/et_EE: Likewise.
15818         * locales/fa_IR: Likewise.
15819         * locales/fo_FO: Likewise.
15820         * locales/fr_CA: Likewise.
15821         * locales/fr_CH: Likewise.
15822         * locales/gv_GB: Likewise.
15823         * locales/he_IL: Likewise.
15824         * locales/hr_HR: Likewise.
15825         * locales/id_ID: Likewise.
15826         * locales/is_IS: Likewise.
15827         * locales/it_CH: Likewise.
15828         * locales/iw_IL: Likewise.
15829         * locales/kl_GL: Likewise.
15830         * locales/ko_KR: Likewise.
15831         * locales/kw_GB: Likewise.
15832         * locales/lg_UG: Likewise.
15833         * locales/lt_LT: Likewise.
15834         * locales/lv_LV: Likewise.
15835         * locales/mi_NZ: Likewise.
15836         * locales/nhn_MX: Likewise.
15837         * locales/nl_BE: Likewise.
15838         * locales/pl_PL: Likewise.
15839         * locales/sk_SK: Likewise.
15840         * locales/sl_SI: Likewise.
15841         * locales/sv_FI: Likewise.
15842         * locales/tl_PH: Likewise.
15843         * locales/tr_TR: Likewise.
15844         * locales/vi_VN: Likewise.
15846 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15848         [BZ #17475]
15849         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15850         of tu_IN and bh_IN.
15852 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15854         [BZ #18694]
15855         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15856         bits/wordsize.h.
15857         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15859 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15861         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15862         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15863         (spawn_thread): New function.
15864         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15865         (do_test): ... here.  Use IS_LOADED to test for its
15866         availability.
15868 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15870         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15872 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15874         [BZ #18696]
15875         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15876         si_addr_bnd.
15877         (si_lower): New.
15878         (si_upper): Likewise.
15880 2015-07-16  David S. Miller  <davem@davemloft.net>
15882         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15884 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15886         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15887         buffer.
15888         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15889         fail output information.
15891 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15894         and strstr-ppc64..
15895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15896         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15897         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15898         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15899         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15901 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15903         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15904         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15905         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15906         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15908 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15910         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15911         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15912         rtld_hidden_proto.
15913         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15915 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15917         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15918         the test can fail.
15920         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15922         [BZ #18676]
15923         * elf/tst-nodelete-opened.c: New test case.
15924         * elf/tst-nodelete-opened-lib.c: New test case module.
15925         * elf/Makefile (tests, modules-names): Use them.
15926         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15927         early.
15929 2015-07-15  David S. Miller  <davem@davemloft.net>
15931         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15932         futex-intenal.h
15933         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15934         * sysdeps/sparc/sparc64/Makefile: Likewise.
15935         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15936         Remove space from macro define.
15937         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15939 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15941         [BZ #17475]
15942         * locale/iso-639.def: Update Bhili and Tulu language codes as
15943         per iso639-3.
15945 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15947         * elf/tst-leaks1.c (main): Converted to ...
15948         (do_test): ... this.
15949         (TEST_FUNCTION): New macro.
15950         Include test-skeleton.c.
15951         * localedata/tst-langinfo.c (main): Converted to ...
15952         (do_test): ... this.
15953         (TEST_FUNCTION): New macro.
15954         Include test-skeleton.c.
15955         * math/test-fpucw.c (main): Converted to ...
15956         (do_test): ... this.
15957         (TEST_FUNCTION): New macro.
15958         Include test-skeleton.c.
15959         * math/test-tgmath.c (main): Converted to ...
15960         (do_test): ... this.
15961         (TEST_FUNCTION): New macro.
15962         Include test-skeleton.c.
15963         * math/test-tgmath2.c (main): Converted to ...
15964         (do_test): ... this.
15965         (TEST_FUNCTION): New macro.
15966         Include test-skeleton.c.
15967         * setjmp/tst-setjmp.c (main): Converted to ...
15968         (do_test): ... this.
15969         (TEST_FUNCTION): New macro.
15970         Include test-skeleton.c.
15971         * stdio-common/tst-sscanf.c (main): Converted to ...
15972         (do_test): ... this.
15973         (TEST_FUNCTION): New macro.
15974         Include test-skeleton.c.
15975         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15976         (do_test): ... this.
15977         (TEST_FUNCTION): New macro.
15978         Include test-skeleton.c.
15980         * elf/tst-audit9.c (main): Converted to ...
15981         (do_test): ... this.
15982         (TEST_FUNCTION): New macro.
15983         Include test-skeleton.c.
15985 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15987         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15989 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15991         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15992         New variable.
15994 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15996         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15998 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16000         * sysdeps/generic/dl-fileid.h: New file.
16001         * sysdeps/posix/dl-fileid.h: New file.
16002         * sysdeps/nacl/dl-fileid.h: New file.
16003         * include/link.h: Include <dl-fileid.h>.
16004         (struct link_map): Replace l_dev and l_ino with l_file_id.
16005         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16006         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16007         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16009 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16011         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16013 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16015         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16016         Add iff $CXX is set.
16017         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16018         Likewise.
16019         (tst-nodelete-zmodiff): Likewise.
16020         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16022 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16024         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16026 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16028         * sysdeps/aarch64/fpu/math_private.h
16029         (define math_opt_barrier): Add AArch64 version.
16030         (math_force_eval): Likewise.
16032 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16034         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16036 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16038         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16039         %ld with %jd and cast to intmax_t.
16040         (do_test_length_zero): Likewise.
16042 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16044         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16046 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16048         * sysdeps/tile/libm-test-ulps: Regenerated.
16050         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16051         Comment out the whole function, not just its body.
16053 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16055         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16056         locks.
16058         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16060 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16062         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16063         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16065 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16067         * sysdeps/nptl/futex-internal.h: New file.
16068         * sysdeps/nacl/futex-internal.h: New file.
16069         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16070         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16071         error checking.
16072         (setxid_unmark_thread): Likewise.
16073         (__nptl_setxid): Likewise.
16074         (__wait_lookup_done): Likewise.
16075         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16076         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16077         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16078         * nptl/pthread_once.c (clear_once_control): Likewise.
16079         (__pthread_once_slow): Likewise.
16080         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16081         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16082         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16083         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16084         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16085         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16086         Likewise.
16087         (__pthread_rwlock_rdlock): Likewise.
16088         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16089         Likewise.
16090         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16091         Likewise.
16092         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16093         Likewise.
16094         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16095         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16096         Likewise.
16097         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16098         __ASSUME_PRIVATE_FUTEX check.
16099         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16100         Check that shared futexes are supported.
16101         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16102         wrappers with error checking.
16103         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16104         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16105         * nptl/pthread_barrierattr_setpshared.c
16106         (pthread_barrierattr_setpshared): Check that shared futexes are
16107         supported.
16108         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16109         Likewise.
16110         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16111         Likewise.
16112         * nptl/sem_init.c (futex_private_if_supported): Remove.
16113         (__new_sem_init): Adapt and check that shared futexes are supported.
16114         * nptl/sem_open.c (sem_open): Likewise.
16115         * nptl/sem_post.c (futex_wake): Remove.
16116         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16117         (do_futex_wait): Use futex wrappers with error checking.
16118         * nptl/sem_wait.c: Include lowlevellock.h.
16119         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16120         Use futex_supports_pshared.
16121         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16122         Use futex wrappers with error checking.
16123         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16124         Likewise.
16125         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16126         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16127         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16128         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16129         (futex_wake): Likewise.
16130         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16131         (do_futex_wait): Use futex wrappers with error checking.
16132         (__new_sem_wait_slow): Update EINTR handling.
16133         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16135 2015-07-09  Martin Sebor  <msebor@redhat.com>
16137         [BZ #18435]
16138         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16139         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16140         * nptl/Makefile (test-xfail-tst-once5): Define.
16142 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16144         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16145         * elf/dl-minimal.c: For readability, reorder some definitions and
16146         introduce more page breaks.  Include <stdio.h>.
16147         (__libc_fatal): New function.
16149         * include/unistd.h: Add rtld_hidden_proto for _exit.
16150         * posix/_exit.c: Add rtld_hidden_def.
16151         * sysdeps/mach/hurd/_exit.c: Likewise.
16152         * sysdeps/nacl/_exit.c: Likewise.
16153         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16154         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16156 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16158         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16159         bndmov encoding with zero displacement.
16161 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16162             H.J. Lu  <hongjiu.lu@intel.com>
16164         [BZ #18134]
16165         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16166         * sysdeps/i386/configure: Regenerated.
16167         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16168         (_dl_runtime_profile): Save and restore Intel MPX return bound
16169         registers when calling _dl_call_pltexit.  Add
16170         PRESERVE_BND_REGS_PREFIX before return.
16171         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16172         (LRV_BND1_OFFSET): Likewise.
16173         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16174         lrv_bnd1.
16175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16176         typo in bndmov encoding.
16177         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16178         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16179         branch instructions to preserve bounds.
16181 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16184         [GLIBC_2.22]: Add fmemopen.
16186 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16188         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16189         returns an error, also try to use host port from __mach_host_self for
16190         the __vm_wire call.
16191         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16193 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16195         [BZ #18400]
16196         [BZ #18648]
16197         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16198         Fix pr_uid and pr_gid members.
16199         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16200         definition to elf_greg_t.
16202 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16204         [BZ #18383]
16205         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16206         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16207         * sysdeps/arm/configure: Regenerated.
16208         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16209         (test-xfail-tst-tlsalign-static): Variable removed.
16211         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16212         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16213         rather than explicit 'ln -s'.
16215         * resolv/rpc/netdb.h: New file.
16216         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16218 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16220         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16221         length buffers.
16222         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16223         test-skeleton.c.
16225         [BZ #6544]
16226         [BZ #11216]
16227         [BZ #12836]
16228         [BZ #13151]
16229         [BZ #13152]
16230         [BZ #14292]
16231         * include/stdio.h (fmemopen): Remove hidden prototype.
16232         (__fmemopen): Add new hidden prototype.
16233         * libio/Makefile: Add oldfmemopen object.
16234         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16235         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16236         compliance.
16237         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16238         symbol compatibility.
16239         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16240         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16241         fmemopen.
16242         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16243         on append and read mode.
16244         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16245         fmemopen.
16246         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16247         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16248         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16249         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16250         Likewise.
16251         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16252         [GLIBC_2.22]: Likewise.
16253         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16254         Likewise.
16255         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16256         Likewise.
16257         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16258         [GLIBC_2.22]: Likewise.
16259         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16260         [GLIBC_2.22]: Likewise.
16261         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16262         [GLIBC_2.22]: Likewise.
16263         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16264         [GLIBC_2.22]: Likewise.
16265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16266         [GLIBC_2.22]: Likewise.
16267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16268         [GLIBC_2.22]: Likewise.
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16270         [GLIBC_2.22]: Likewise.
16271         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16272         Likewise.
16273         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16274         Likewise.
16275         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16276         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16277         [GLIBC_2.22]: Likewise.
16278         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16279         [GLIBC_2.22]: Likewise.
16280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16281         [GLIBC_2.22]: Likewise.
16282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16283         [GLIBC_2.22]: Likewise.
16284         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16285         Likewise.
16286         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16287         Likewise.
16288         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16289         Likewise.
16290         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16291         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16293 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16295         [BZ #18643]
16296         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16297         IPV6_PATHMTU, and IPV6_DONTFRAG.
16299 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16301         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16302         and _IO_UNBUFFERED.
16303         * libio/oldfileops.c: Likewise.
16304         * libio/wfileops.c: Likewise.
16306 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16308         * nscd/selinux.c: Delete selinux/flask.h include.
16310 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16312         [BZ #18641]
16313         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16314         (putpwent): Likewise.
16315         (getpwnam): Likewise.
16316         (getpwent_r): Likewise.
16317         (getpwuid_r): Likewise.
16318         (getpwnam_r): Likewise.
16319         (fgetpwent_r): Likewise.
16321 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16323         [BZ #18557]
16324         * inet/rcmd.c (__validuser2_sa): Check user first to
16325         short-circuit host check.
16327 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16328             Mikhail Ilin  <m.ilin@samsung.com>
16330         [BZ #17833]
16331         * elf/Makefile (tests): Add tst-nodelete.
16332         (modules-names): Add tst-nodelete-uniquemod.
16333         (tst-nodelete-uniquemod.so-no-z-defs): New.
16334         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16335         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16336         ($(objpfx)tst-nodelete): Likewise.
16337         ($(objpfx)tst-nodelete.out): Likewise.
16338         (LDFLAGS-tst-nodelete): Likewise.
16339         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16340         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16341         implement forced object deletion.
16342         (_dl_close): Pass false to _dl_close_worker.
16343         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16344         * elf/tst-nodelete.cc: New file.
16345         * elf/tst-nodeletelib.cc: Likewise.
16346         * elf/tst-znodeletelib.cc: Likewise.
16347         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16349 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16351         [BZ #18508]
16352         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16353         Depend on $(libdl).
16354         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16355         is not called infinitely times.
16356         (backtrace_helper): New function.
16357         (trace_arg): New struct.
16358         (st1): Enlarge stack size.
16359         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16360         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16361         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16362         Likewise.
16364 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16366         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16368 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16370         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16371         Include sys/types.h instead of bits/types.h.
16372         Remove inclusion of bits/wordsize.h.
16374 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16376         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16377         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16378         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16379         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16380         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16381         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16383 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16385         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16386         link-defines.sym.
16387         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16388         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16389         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16390         and LR_SIZE.
16391         * sysdeps/i386/link-defines.sym: New file.
16393 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16395         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16396         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16397         ($(objpfx)tst-audit3): New rule.
16398         ($(objpfx)tst-audit3.out): Likewise.
16399         * sysdeps/i386/tst-audit3.c: New file.
16400         * sysdeps/i386/tst-audit3.h: Likewise.
16401         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16402         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16404 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16406         [BZ #18633]
16407         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16408         pointer in C code.
16409         (__strcat_c): Likewise.
16410         (__strcat_g): Likewise.
16412 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16414         [BZ #18592]
16415         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16417 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16419         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16420         New function.  (__ieee754_sqrtf): New function.
16421         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16422         New function.
16423         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16424         New function.
16426 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16428         * sysdeps/ieee754/support.c: Remove unused file.
16430 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16432         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16433         registers instead of d ones so the layout is kernel abi compatible.
16434         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16435         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16436         Likewise.
16438 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16440         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16442 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16444         [BZ #18619]
16445         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16446         and return argument in case of subnormal argument.
16448 2015-07-01  Martin Sebor  <msebor@redhat.com>
16450         [BZ #18435]
16451         * nptl/Makefile: Add tst-once5.cc.
16452         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16453         Remove macro redefinitions.
16454         * nptl/tst-once5.cc: New test.
16456 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16458         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16460         * sysdeps/arm/libm-test-ulps: Regenerated.
16462         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16463         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16465 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16467         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16468         lll_lock_wait_private and lll_futex_wake probes.
16470         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16472         Likewise.
16473         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16474         atomic_spin_nop.
16475         * sysdeps/x86_64/bits/atomic.h: Likewise.
16476         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16477         to atomic_spin_nop and move ...
16478         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16479         ... here and ...
16480         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16481         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16482         atomic_spin_nop instead of BUSY_WAIT_NOP.
16483         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16484         Likewise.
16485         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16486         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16487         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16488         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16489         instead of atomic_delay.
16491 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16493         [BZ #18613]
16494         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16495         X_ADJ not X when adjusting exponent.
16496         (__ieee754_gamma_r): Do intermediate computations in
16497         round-to-nearest then adjust overflowing and underflowing results
16498         as needed.
16499         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16500         of X_ADJ not X when adjusting exponent.
16501         (__ieee754_gammaf_r): Do intermediate computations in
16502         round-to-nearest then adjust overflowing and underflowing results
16503         as needed.
16504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16505         log of X_ADJ not X when adjusting exponent.
16506         (__ieee754_gammal_r): Do intermediate computations in
16507         round-to-nearest then adjust overflowing and underflowing results
16508         as needed.  Use 1.0L not 1.0f as numerator of division.
16509         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16510         log of X_ADJ not X when adjusting exponent.
16511         (__ieee754_gammal_r): Do intermediate computations in
16512         round-to-nearest then adjust overflowing and underflowing results
16513         as needed.  Use 1.0L not 1.0f as numerator of division.
16514         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16515         of X_ADJ not X when adjusting exponent.
16516         (__ieee754_gammal_r): Do intermediate computations in
16517         round-to-nearest then adjust overflowing and underflowing results
16518         as needed.  Use 1.0L not 1.0f as numerator of division.
16519         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16520         to auto-libm-test-in.
16521         (tgamma_test): Use ALL_RM_TEST.
16522         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16523         tests of tgamma with spurious-overflow.
16524         * math/auto-libm-test-out: Regenerated.
16525         * math/gen-libm-have-vector-test.sh: Do not check for START.
16526         * sysdeps/i386/fpu/libm-test-ulps: Update.
16527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16529         [BZ #18612]
16530         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16531         arguments, just return 0.5 times the argument, with underflow
16532         forced as needed.
16533         * math/auto-libm-test-in: Add more tests of j1.
16534         * math/auto-libm-test-out: Regenerated.
16536         [BZ #16559]
16537         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16538         (__ieee754_j1): Force underflow exception for small results.
16539         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16540         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16541         (__ieee754_j1f): Force underflow exception for small results.
16542         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16543         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16545         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16546         (__ieee754_j1l): Force underflow exception for small results.
16547         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16548         * math/auto-libm-test-in: Add more tests of j1 and jn.
16549         * math/auto-libm-test-out: Regenerated.
16551         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16552         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16553         (PF_MPLS): Likewise.
16554         (AF_IB): Likewise.
16555         (AF_MPLS): Likewise.
16556         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16557         value and macro.
16558         (MS_RMT_MASK): Include MS_LAZYTIME.
16560 2015-06-26  Mel Gorman  <mgorman@suse.de>
16562         [BZ #18502]
16563         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16564         already minimal.
16566 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16568         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16569         (DT_MIPS_NUM): Update.
16570         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16571         DT_MIPS_RLD_MAP_REL.
16573 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16575         [BZ #16559]
16576         [BZ #18602]
16577         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16578         round-to-nearest internally then recompute results that
16579         underflowed to zero in the original rounding mode.
16580         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16581         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16583         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16584         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16585         * sysdeps/i386/fpu/libm-test-ulps: Update.
16586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16588 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16590         * NEWS: Fixed description of link with vector math library.
16592 2015-06-25  Andreas Schwab  <schwab@suse.de>
16594         [BZ #18549]
16595         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16596         * libio/test-fmemopen.c (do_test): Add test for it.
16598 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16600         [BZ #17841]
16601         * Makeconfig (no-pie-ldflag): New.
16602         (+link): Set to $(+link-pie) if default to PIE.
16603         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16604         * config.make.in (build-pie-default): New.
16605         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16606         is default.  AC_SUBST.
16607         * configure: Regenerated.
16608         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16610 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16612         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16613         to 'unsigned int'.
16615         * resolv/gai_misc.h (struct waitlist): Change type of field
16616         counterp to 'volatile unsigned int *'.
16617         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16618         FUTEXADDR and OLDVAL.
16619         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16620         Give local variable TOTAL type 'volatile unsigned int'.
16621         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16622         * resolv/gai_suspend.c (gai_suspend):
16623         Give local variable CNTR type 'unsigned int'.
16625         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16626         counterp to 'volatile unsigned int *'.
16627         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16628         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16629         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16630         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16631         Give local variable TOTAL type 'volatile unsigned int'.
16632         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16634 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16636         [BZ #18383]
16637         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16638         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16639         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16640         comment for i386/x86-64.
16641         (test-xfail-tst-tlsalign-extern-static): Removed.
16643 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16645         * math/test-double.h: New file.
16646         * math/test-float.h: Likewise.
16647         * math/test-ldouble.h: Likewise.
16648         * math/test-math-inline.h: Likewise.
16649         * math/test-math-no-inline.h: Likewise.
16650         * math/test-math-scalar.h: Likewise.
16651         * math/test-math-vector.h: Likewise.
16652         * math/test-vec-loop.h: Remove file.  Contents moved into
16653         test-math-vector.h.
16654         * math/libm-test.inc (MATHCONST): Do not document macro.
16655         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16656         and test-math-scalar.h.
16657         (FUNC): Remove macro.
16658         (FUNC_TEST): Likewise.
16659         (FLOAT): Likewise.
16660         (MATHCONST): Likewise.
16661         (PRINTF_EXPR): Likewise.
16662         (PRINTF_XEXPR): Likewise.
16663         (PRINTF_NEXPR): Likewise.
16664         (TEST_DOUBLE): Likewise.
16665         (TEST_MATHVEC): Likewise.
16666         (__NO_MATH_INLINES): Likewise.
16667         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16668         and test-math-scalar.h.
16669         (FUNC): Remove macro.
16670         (FUNC_TEST): Likewise.
16671         (FLOAT): Likewise.
16672         (MATHCONST): Likewise.
16673         (PRINTF_EXPR): Likewise.
16674         (PRINTF_XEXPR): Likewise.
16675         (PRINTF_NEXPR): Likewise.
16676         (TEST_FLOAT): Likewise.
16677         (TEST_MATHVEC): Likewise.
16678         (__NO_MATH_INLINES): Likewise.
16679         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16680         and test-math-scalar.h.
16681         (FUNC): Remove macro.
16682         (FUNC_TEST): Likewise.
16683         (FLOAT): Likewise.
16684         (MATHCONST): Likewise.
16685         (PRINTF_EXPR): Likewise.
16686         (PRINTF_XEXPR): Likewise.
16687         (PRINTF_NEXPR): Likewise.
16688         (TEST_DOUBLE): Likewise.
16689         (TEST_MATHVEC): Likewise.
16690         (TEST_INLINE): Likewise.
16691         (__NO_MATH_INLINES): Likewise.
16692         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16693         test-math-scalar.h.
16694         (FUNC): Remove macro.
16695         (FUNC_TEST): Likewise.
16696         (FLOAT): Likewise.
16697         (MATHCONST): Likewise.
16698         (PRINTF_EXPR): Likewise.
16699         (PRINTF_XEXPR): Likewise.
16700         (PRINTF_NEXPR): Likewise.
16701         (TEST_FLOAT): Likewise.
16702         (TEST_MATHVEC): Likewise.
16703         (TEST_INLINE): Likewise.
16704         (__NO_MATH_INLINES): Likewise.
16705         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16706         and test-math-scalar.h.
16707         (FUNC): Remove macro.
16708         (FUNC_TEST): Likewise.
16709         (FLOAT): Likewise.
16710         (MATHCONST): Likewise.
16711         (PRINTF_EXPR): Likewise.
16712         (PRINTF_XEXPR): Likewise.
16713         (PRINTF_NEXPR): Likewise.
16714         (TEST_LDOUBLE): Likewise.
16715         (TEST_MATHVEC): Likewise.
16716         (TEST_INLINE): Likewise.
16717         (__NO_MATH_INLINES): Likewise.
16718         * math/test-ldouble.c: Include test-ldouble.h,
16719         test-math-no-inline.h and test-math-scalar.h.
16720         (FUNC): Remove macro.
16721         (FUNC_TEST): Likewise.
16722         (FLOAT): Likewise.
16723         (MATHCONST): Likewise.
16724         (PRINTF_EXPR): Likewise.
16725         (PRINTF_XEXPR): Likewise.
16726         (PRINTF_NEXPR): Likewise.
16727         (TEST_LDOUBLE): Likewise.
16728         (TEST_MATHVEC): Likewise.
16729         (__NO_MATH_INLINES): Likewise.
16730         * math/test-double-vlen2.h: Include test-double.h,
16731         test-math-no-inline.h and test-math-vector.h.
16732         (FLOAT): Remove macro.
16733         (FUNC): Likewise.
16734         (MATHCONST): Likewise.
16735         (PRINTF_EXPR): Likewise.
16736         (PRINTF_XEXPR): Likewise.
16737         (PRINTF_NEXPR): Likewise.
16738         (TEST_DOUBLE): Likewise.
16739         (TEST_MATHVEC): Likewise.
16740         (__NO_MATH_INLINES): Likewise.
16741         (CNCT): Likewise.
16742         (CONCAT): Likewise.
16743         (WRAPPER_NAME): Likewise.
16744         (WRAPPER_DECL): Likewise.
16745         (WRAPPER_DECL_ff): Likewise.
16746         (WRAPPER_DECL_fFF): Likewise.
16747         (VECTOR_WRAPPER): Likewise.
16748         (VECTOR_WRAPPER_ff): Likewise.
16749         (VECTOR_WRAPPER_fFF): Likewise.
16750         (VEC_LEN): New macro.
16751         * math/test-double-vlen4.h: Include test-double.h,
16752         test-math-no-inline.h and test-math-vector.h.
16753         (FLOAT): Remove macro.
16754         (FUNC): Likewise.
16755         (MATHCONST): Likewise.
16756         (PRINTF_EXPR): Likewise.
16757         (PRINTF_XEXPR): Likewise.
16758         (PRINTF_NEXPR): Likewise.
16759         (TEST_DOUBLE): Likewise.
16760         (TEST_MATHVEC): Likewise.
16761         (__NO_MATH_INLINES): Likewise.
16762         (CNCT): Likewise.
16763         (CONCAT): Likewise.
16764         (WRAPPER_NAME): Likewise.
16765         (WRAPPER_DECL): Likewise.
16766         (WRAPPER_DECL_ff): Likewise.
16767         (WRAPPER_DECL_fFF): Likewise.
16768         (VECTOR_WRAPPER): Likewise.
16769         (VECTOR_WRAPPER_ff): Likewise.
16770         (VECTOR_WRAPPER_fFF): Likewise.
16771         (VEC_LEN): New macro.
16772         * math/test-double-vlen8.h: Include test-double.h,
16773         test-math-no-inline.h and test-math-vector.h.
16774         (FLOAT): Remove macro.
16775         (FUNC): Likewise.
16776         (MATHCONST): Likewise.
16777         (PRINTF_EXPR): Likewise.
16778         (PRINTF_XEXPR): Likewise.
16779         (PRINTF_NEXPR): Likewise.
16780         (TEST_DOUBLE): Likewise.
16781         (TEST_MATHVEC): Likewise.
16782         (__NO_MATH_INLINES): Likewise.
16783         (CNCT): Likewise.
16784         (CONCAT): Likewise.
16785         (WRAPPER_NAME): Likewise.
16786         (WRAPPER_DECL): Likewise.
16787         (WRAPPER_DECL_ff): Likewise.
16788         (WRAPPER_DECL_fFF): Likewise.
16789         (VECTOR_WRAPPER): Likewise.
16790         (VECTOR_WRAPPER_ff): Likewise.
16791         (VECTOR_WRAPPER_fFF): Likewise.
16792         (VEC_LEN): New macro.
16793         * math/test-float-vlen4.h: Include test-float.h,
16794         test-math-no-inline.h and test-math-vector.h.
16795         (FLOAT): Remove macro.
16796         (FUNC): Likewise.
16797         (MATHCONST): Likewise.
16798         (PRINTF_EXPR): Likewise.
16799         (PRINTF_XEXPR): Likewise.
16800         (PRINTF_NEXPR): Likewise.
16801         (TEST_FLOAT): Likewise.
16802         (TEST_MATHVEC): Likewise.
16803         (__NO_MATH_INLINES): Likewise.
16804         (CNCT): Likewise.
16805         (CONCAT): Likewise.
16806         (WRAPPER_NAME): Likewise.
16807         (WRAPPER_DECL): Likewise.
16808         (WRAPPER_DECL_ff): Likewise.
16809         (WRAPPER_DECL_fFF): Likewise.
16810         (VECTOR_WRAPPER): Likewise.
16811         (VECTOR_WRAPPER_ff): Likewise.
16812         (VECTOR_WRAPPER_fFF): Likewise.
16813         (VEC_LEN): New macro.
16814         * math/test-float-vlen8.h: Include test-float.h,
16815         test-math-no-inline.h and test-math-vector.h.
16816         (FLOAT): Remove macro.
16817         (FUNC): Likewise.
16818         (MATHCONST): Likewise.
16819         (PRINTF_EXPR): Likewise.
16820         (PRINTF_XEXPR): Likewise.
16821         (PRINTF_NEXPR): Likewise.
16822         (TEST_FLOAT): Likewise.
16823         (TEST_MATHVEC): Likewise.
16824         (__NO_MATH_INLINES): Likewise.
16825         (CNCT): Likewise.
16826         (CONCAT): Likewise.
16827         (WRAPPER_NAME): Likewise.
16828         (WRAPPER_DECL): Likewise.
16829         (WRAPPER_DECL_ff): Likewise.
16830         (WRAPPER_DECL_fFF): Likewise.
16831         (VECTOR_WRAPPER): Likewise.
16832         (VECTOR_WRAPPER_ff): Likewise.
16833         (VECTOR_WRAPPER_fFF): Likewise.
16834         (VEC_LEN): New macro.
16835         * math/test-float-vlen16.h: Include test-float.h,
16836         test-math-no-inline.h and test-math-vector.h.
16837         (FLOAT): Remove macro.
16838         (FUNC): Likewise.
16839         (MATHCONST): Likewise.
16840         (PRINTF_EXPR): Likewise.
16841         (PRINTF_XEXPR): Likewise.
16842         (PRINTF_NEXPR): Likewise.
16843         (TEST_FLOAT): Likewise.
16844         (TEST_MATHVEC): Likewise.
16845         (__NO_MATH_INLINES): Likewise.
16846         (CNCT): Likewise.
16847         (CONCAT): Likewise.
16848         (WRAPPER_NAME): Likewise.
16849         (WRAPPER_DECL): Likewise.
16850         (WRAPPER_DECL_ff): Likewise.
16851         (WRAPPER_DECL_fFF): Likewise.
16852         (VECTOR_WRAPPER): Likewise.
16853         (VECTOR_WRAPPER_ff): Likewise.
16854         (VECTOR_WRAPPER_fFF): Likewise.
16855         (VEC_LEN): New macro.
16856         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16857         test-vec-loop.h.
16858         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16859         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16860         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16861         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16862         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16863         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16864         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16866 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16868         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16869         (__getlogin_r): ... this.
16871 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16873         [BZ #18594]
16874         * math/s_ccosh.c (__ccosh): Compare with least normal value
16875         instead of comparing class with FP_SUBNORMAL.
16876         * math/s_ccoshf.c (__ccoshf): Likewise.
16877         * math/s_ccoshl.c (__ccoshl): Likewise.
16878         * math/s_cexp.c (__cexp): Likewise.
16879         * math/s_cexpf.c (__cexpf): Likewise.
16880         * math/s_cexpl.c (__cexpl): Likewise.
16881         * math/s_csin.c (__csin): Likewise.
16882         * math/s_csinf.c (__csinf): Likewise.
16883         * math/s_csinh.c (__csinh): Likewise.
16884         * math/s_csinhf.c (__csinhf): Likewise.
16885         * math/s_csinhl.c (__csinhl): Likewise.
16886         * math/s_csinl.c (__csinl): Likewise.
16887         * math/s_ctan.c (__ctan): Likewise.
16888         * math/s_ctanf.c (__ctanf): Likewise.
16889         * math/s_ctanh.c (__ctanh): Likewise.
16890         * math/s_ctanhf.c (__ctanhf): Likewise.
16891         * math/s_ctanhl.c (__ctanhl): Likewise.
16892         * math/s_ctanl.c (__ctanl): Likewise.
16893         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16894         csin, csinh, ctan and ctanh.
16895         * math/auto-libm-test-out: Regenerated.
16896         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16897         * sysdeps/i386/fpu/libm-test-ulps: Update.
16898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16900 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16902         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16903         return value is wrong, print the expected value too.
16905 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16907         [BZ #18585]
16908         * elf/readlib.c (is_gdb_python_file): New.
16909         (process_file): Don't issue errors on filenames with -gdb.py
16910         suffix.
16912 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16914         * math/auto-libm-test-in: Add more tests of csin and csinh.
16915         * math/auto-libm-test-out: Regenerated.
16916         * math/libm-test.inc (csin_test_data): Remove tests moved to
16917         auto-libm-test-in.
16918         (csinh_test_data): Likewise.
16920         [BZ #18593]
16921         * math/s_csin.c (__csin): Negate before rather than after possibly
16922         overflowing multiplication.
16923         * math/s_csinf.c (__csinf): Likewise.
16924         * math/s_csinh.c (__csinh): Likewise.
16925         * math/s_csinhf.c (__csinhf): Likewise.
16926         * math/s_csinhl.c (__csinhl): Likewise.
16927         * math/s_csinl.c (__csinl): Likewise.
16928         * math/auto-libm-test-in: Add some tests of csin and csinh.
16929         * math/auto-libm-test-out: Regenerated.
16930         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16931         (csinh_test_data): Likewise.
16932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16934         [BZ #18586]
16935         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16936         underflow exception for small results.
16938 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16940         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16941         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16942         variable and included header.
16943         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16944         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16945         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16946         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16949         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16951         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16952         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16953         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16954         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16955         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16956         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16957         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16958         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16960 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16962         [BZ #16526]
16963         [BZ #16538]
16964         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16965         (__sin): Force underflow exception for arguments with small
16966         absolute value.
16967         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16968         (__kernel_sinf): Force underflow exception for arguments with
16969         small absolute value.
16970         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16971         (__kernel_sincosl): Force underflow exception for arguments with
16972         small absolute value.
16973         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16974         (__kernel_sinl): Force underflow exception for arguments with
16975         small absolute value.
16976         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16977         (__kernel_sincosl): Force underflow exception for arguments with
16978         small absolute value.
16979         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16980         (__kernel_sinl): Force underflow exception for arguments with
16981         small absolute value.
16982         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16983         (__kernel_sinl): Force underflow exception for arguments with
16984         small absolute value.
16985         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16986         (__kernel_sinf): Force underflow exception for arguments with
16987         small absolute value.
16988         * math/auto-libm-test-in: Add more tests of sin and sincos.
16989         * math/auto-libm-test-out: Regenerated.
16991         [BZ #18245]
16992         [BZ #18583]
16993         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16994         (__kernel_standard_l): Use feholdexcept and fesetenv around
16995         conversion to double instead of special-casing overflow and
16996         underflow.
16997         * math/libm-test.inc (fmod_test_data): Add more tests.
16998         (remainder_test_data): Likewise.
16999         (sqrt_test_data): Likewise.
17001 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17003         [BZ #17403]
17004         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17005         atomic_read_barrier, atomic_write_barrier): Define.
17006         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17007         atomic_read_barrier, atomic_write_barrier): Define.
17009 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17011         * math/Makefile [$(PERL) != no]
17012         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17013         dependency on libm-test.stmp below the inclusion of Rules.
17015 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17018         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17019         and included header.
17020         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17021         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17022         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17026         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17028         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17029         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17030         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17031         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17032         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17033         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17034         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17035         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17036         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17037         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17038         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17040 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17042         [BZ #18371]
17043         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17044         intermediate but not final result might underflow.
17045         * math/s_csqrtf.c (__csqrtf): Likewise.
17046         * math/s_csqrtl.c (__csqrtl): Likewise.
17047         * math/auto-libm-test-in: Add more tests of csqrt.
17048         * math/auto-libm-test-out: Regenerated.
17049         * sysdeps/i386/fpu/libm-test-ulps: Update.
17051         [BZ #18219]
17052         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17053         threshold on absolute value of exponent for which scaling is used.
17054         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17055         * math/auto-libm-test-in: Add more tests of exp2.
17056         * math/auto-libm-test-out: Regenerated.
17058 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17060         [BZ #17977]
17061         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17062         when initializing interface list, based on the bug analysis
17063         and the patch proposed by Eric Newton.
17064         * resolv/tst-res_hconf_reorder.c: New test.
17065         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17066         tst-res_hconf_reorder.
17067         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17068         and $(shared-thread-library).
17069         (tst-res_hconf_reorder-ENV): New variable.
17071         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17072         in comment.
17074 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17076         [BZ #16353]
17077         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17078         (__expm1): Force underflow exception for arguments with small
17079         absolute value.
17080         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17081         (__expm1f): Force underflow exception for arguments with small
17082         absolute value.
17083         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17084         (__expm1): Force underflow exception for arguments with small
17085         absolute value.
17086         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17087         (__expm1f): Force underflow exception for arguments with small
17088         absolute value.
17089         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17090         Check for small arguments before calling __expm1.
17091         * math/auto-libm-test-in: Do not mark underflow exceptions as
17092         possibly missing for bug 16353.
17093         * math/auto-libm-test-out: Regenerated.
17095 2015-06-22  Andreas Schwab  <schwab@suse.de>
17097         [BZ #18513]
17098         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17099         PTR queries.
17101 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17103         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17105         * string/strcoll_l.c: Remove unused struct element idxnow.
17107 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17109         [BZ #18569]
17110         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17111         underflow and return argument in case of subnormal argument.
17112         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17113         Likewise.
17114         * math/auto-libm-test-in: Add more tests of expm1.
17115         * math/auto-libm-test-out: Regenerated.
17117         [BZ #16361]
17118         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17119         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17120         tiny results.
17121         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17122         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17123         tiny results.
17124         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17125         mark underflow exceptions as possibly missing for bug 16361.
17126         * math/auto-libm-test-out: Regenerated.
17128 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17130         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17131         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17132         Remove variable.
17133         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17134         (test-xfail-XOPEN2K8/utmpx.h/conform).
17136         * conform/conformtest.pl ($xerrors): New variable.
17137         (note_error): New function.
17138         (compiletest): New argument $xfail.  Use not_error.
17139         (runtest): Likewise.
17140         (top level): Handle xfail- lines.  Update calls to compiletest and
17141         runtest.  Handle xfail- and optional- in headers listed with
17142         allow-header.
17143         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17144         (O_EXEC): Likewise.
17145         (O_SEARCH): Likewise.
17146         * conform/data/stropts.h-data (ioctl): Likewise.
17147         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17148         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17149         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17150         (msghdr.msg_controllen): Likewise.
17151         (cmsghdr.cmsg_len): Likewise.
17152         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17153         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17154         variable.
17155         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17156         (test-xfail-XPG4/stropts.h/conform): Likewise.
17157         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17158         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17159         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17160         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17161         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17162         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17163         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17164         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17165         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17166         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17167         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17168         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17169         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17170         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17171         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17172         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17173         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17174         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17175         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17177 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17179         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17180         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17181         definitions for proper unfolding of __MATHDECL_VEC.
17183 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17185         * benchtests/bench-strcoll.c:
17186         Include string.h.
17187         (main): Remove unused variable res.
17189 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17191         * timezone/Makefile (%/UTC %/Universal):
17192         Generate test-result files for UTC and Universal.
17194 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17196         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17198 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17200         [BZ #16350]
17201         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17202         for arguments with small absolute value.
17203         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17204         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17205         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17206         (__asinh): Force underflow exception for arguments with small
17207         absolute value.
17208         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17209         (__asinhf): Force underflow exception for arguments with small
17210         absolute value.
17211         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17212         (__asinhl): Force underflow exception for arguments with small
17213         absolute value.
17214         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17215         (__asinhl): Force underflow exception for arguments with small
17216         absolute value.
17217         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17218         (__asinhl): Force underflow exception for arguments with small
17219         absolute value.
17220         * math/auto-libm-test-in: Do not mark underflow exceptions as
17221         possibly missing for bug 16350.
17222         * math/auto-libm-test-out: Regenerated.
17224         * include/bits/ipc.h: Remove file.
17225         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17226         variable.
17227         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17228         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17229         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17230         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17231         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17232         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17233         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17234         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17235         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17237         * math/auto-libm-test-in: Remove spurious underflow allowance for
17238         tests of cexp.
17239         * math/auto-libm-test-out: Regenerated.
17241         [BZ #18558]
17242         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17243         unconditional definition.
17244         (MCAST_BLOCK_SOURCE): Likewise.
17245         (MCAST_UNBLOCK_SOURCE): Likewise.
17246         (MCAST_LEAVE_GROUP): Likewise.
17247         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17248         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17249         (MCAST_MSFILTER): Likewise.
17250         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17251         Remove variable.
17252         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17253         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17254         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17255         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17256         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17258 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17260         * NEWS: Mention addition of x86_64 vector sincosf.
17261         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17262         * math/test-float-vlen4.h: Likewise.
17263         * math/test-float-vlen8.h: Likewise.
17264         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17265         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17266         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17267         * sysdeps/x86_64/fpu/Versions: New versions added.
17268         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17269         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17270         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17271         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17272         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17275         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17276         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17277         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17278         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17279         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17280         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17281         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17282         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17283         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17284         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17285         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17286         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17287         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17288         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17289         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17290         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17291         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17293         * NEWS: Mention addition of x86_64 vector sincos.
17294         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17295         * math/math.h (__MATHDECL_VEC): New macro.
17296         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17297         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17298         declaration under condition.
17299         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17300         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17301         TEST_VEC_LOOP change.
17302         * math/test-double-vlen4.h: Likewise.
17303         * math/test-double-vlen8.h: Likewise.
17304         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17305         * math/test-float-vlen4.h: Likewise.
17306         * math/test-float-vlen8.h: Likewise.
17307         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17308         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17309         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17310         * sysdeps/x86_64/fpu/Versions: New versions added.
17311         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17312         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17313         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17314         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17315         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17316         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17318         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17320         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17321         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17322         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17323         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17324         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17325         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17326         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17327         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17328         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17329         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17330         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17331         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17332         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17333         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17334         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17336         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17337         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17338         redirections for powf.
17339         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17340         * sysdeps/x86_64/fpu/Versions: New versions added.
17341         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17342         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17343         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17344         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17350         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17351         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17352         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17353         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17354         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17355         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17356         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17357         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17358         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17359         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17360         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17361         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17363         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17364         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17365         * math/test-float-vlen16.h: Fixed 2 argument macro.
17366         * math/test-float-vlen4.h: Likewise.
17367         * math/test-float-vlen8.h: Likewise.
17368         * NEWS: Mention addition of x86_64 vector powf.
17370 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17372         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17373         and redefine.
17374         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17375         and redefine.
17376         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17377         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17378         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17380         [BZ #18553]
17381         * resource/getpriority.c (getpriority): Rename to __getpriority
17382         and define as weak alias of __getpriority.
17383         * resource/setpriority.c (setpriority): Rename to __setpriority
17384         and define as weak alias of __setpriority.
17385         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17386         __getpriority and define as weak alias of __getpriority.
17387         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17388         __setpriority and define as weak alias of __setpriority.
17389         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17390         strong name.
17391         (setpriority): Use __setpriority as strong name.
17392         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17393         __getpriority and define as weak alias of __getpriority.
17394         * include/sys/resource.h (__getpriority): Declare.  Use
17395         libc_hidden_proto.
17396         (__setpriority): Likewise.
17397         (getpriority): Don't use libc_hidden_proto.
17398         (setpriority): Likewise.
17399         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17400         getpriority.  Call __setpriority instead of setpriority.
17401         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17402         Remove variable.
17404         [BZ #18547]
17405         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17406         as weak alias of __getttynam.  Use prototype function definition.
17407         Call __setttyent, __getttyent and __endttyent instead of
17408         setttyent, getttyent and endttyent.
17409         (getttyent): Rename to __getttyent and define as weak alias of
17410         __getttyent.  Call __setttyent instead of setttyent.  Call
17411         __fgets_unlocked instead of fgets_unlocked.
17412         (setttyent): Rename to __setttyent and define as weak alias of
17413         __setttyent.
17414         (endttyent): Rename to __endttyent and define as weak alias of
17415         __endttyent.
17416         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17417         (__setttyent): Likewise.
17418         (__endttyent): Likewise.
17419         (getttyent): Don't use libc_hidden_proto.
17420         (setttyent): Likewise.
17421         (endttyent): Likewise.
17422         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17423         __endttyent instead of setttyent, getttyent and endttyent.
17424         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17425         Remove variable.
17427         [BZ #18546]
17428         * socket/recv.c (__recv): Use libc_hidden_def.
17429         * socket/socket.c (__socket): Likewise.
17430         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17431         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17432         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17433         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17434         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17435         libc_hidden_def.
17436         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17437         libc_hidden_weak.
17438         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17439         Use libc_hidden_proto.
17440         (__recv): Likewise.
17441         * socket/Versions (libc): Export __recv and __socket at version
17442         GLIBC_PRIVATE.
17443         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17444         instead of recv.
17445         (init_mq_netlink): Call __socket instead of socket.
17446         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17447         Remove variable.
17449         [BZ #18545]
17450         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17451         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17452         hidden_weak.
17453         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17454         define as alias of __mq_timedsend.  Use hidden_weak.
17455         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17456         __mq_timedsend as strong name.
17457         (mq_timedreceive): Use __mq_timedreceive as strong name.
17458         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17459         (__mq_timedreceive): Likewise.
17460         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17461         __mq_timedreceive instead of mq_timedreceive.
17462         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17463         instead of mq_timedsend.
17464         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17465         Remove variable.
17467         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17468         hidden_def and hidden_weak instead of libc_hidden_def and
17469         libc_hidden_weak.
17470         (top level): Refer to hidden_def in comment.
17471         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17472         macro.  Use it instead of libc_hidden_def.
17473         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17474         specify __GI_* name explicitly.
17475         (mq_timedreceive): Likewise.
17476         (mq_setattr): Likewise.
17478         [BZ #18544]
17479         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17480         __pthread_barrier_init and define as weak alias of
17481         __pthread_barrier_init.
17482         * sysdeps/sparc/nptl/pthread_barrier_init.c
17483         (pthread_barrier_init): Likewise.
17484         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17485         __pthread_barrier_wait and define as weak alias of
17486         __pthread_barrier_wait.
17487         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17488         (pthread_barrier_wait): Likewise.
17489         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17490         (pthread_barrier_wait): Likewise.
17491         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17492         (pthread_barrier_wait): Likewise.
17493         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17494         (pthread_barrier_wait): Likewise.
17495         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17496         __pthread_barrier_wait at version GLIBC_PRIVATE.
17497         * include/pthread.h (__pthread_barrier_init): Declare.
17498         (__pthread_barrier_wait): Likewise.
17499         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17500         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17501         (helper_thread): Likewise.
17502         (init_mq_netlink): Call __pthread_barrier_init instead of
17503         pthread_barrier_init.
17505         [BZ #18542]
17506         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17507         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17508         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17509         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17510         vswscanf.
17511         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17512         Remove variable.
17514         [BZ #18540]
17515         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17516         strong alias of _IO_fflush.  Use libc_hidden_def.
17517         * libio/iofflush_u.c (fflush_unlocked): Rename to
17518         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17519         Use libc_hidden_weak.
17520         * include/stdio.h (__fflush_unlocked): Declare.  Use
17521         libc_hidden_proto.
17522         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17523         fflush_unlocked.
17524         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17525         Remove variable.
17527         [BZ #18539]
17528         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17529         define as weak alias of __addseverity.
17530         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17531         Remove variable.
17532         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17533         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17534         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17536         [BZ #18536]
17537         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17538         (__tfind): Likewise.
17539         (__tdelete): Likewise.
17540         (__twalk): Likewise.
17541         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17542         __twalk to GLIBC_PRIVATE.
17543         * include/search.h (__tsearch): Use libc_hidden_proto.
17544         (__tfind): Likewise.
17545         (__tdelete): Likewise.
17546         (__twalk): Likewise.
17547         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17548         Call __tdelete instead of tdelete.
17549         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17550         tfind.  Call __tsearch instead of tsearch.
17551         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17552         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17553         Remove variable.
17554         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17556         [BZ #18534]
17557         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17558         (dprintf): Define as a weak alias of __dprintf, not a strong
17559         alias.
17560         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17561         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17562         dprintf.
17563         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17564         Remove variable.
17565         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17566         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17568         [BZ #18533]
17569         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17570         not a strong alias.
17571         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17572         Remove variable.
17574         [BZ #18532]
17575         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17576         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17577         (in6addr_loopback): Rename to __in6addr_loopback and define as
17578         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17579         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17580         libc_hidden_proto.
17581         (__in6addr_any): Likewise.
17582         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17583         in6addr_any.
17584         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17585         variable.
17586         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17588 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17590         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17591         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17594         redirections for pow.
17595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17596         * sysdeps/x86_64/fpu/Versions: New versions added.
17597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17599         build of SSE, AVX2 and AVX512 IFUNC versions.
17600         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17601         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17603         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17607         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17608         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17609         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17610         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17611         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17612         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17613         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17614         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17615         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17616         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17617         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17618         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17619         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17620         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17621         * NEWS: Mention addition of x86_64 vector pow.
17623         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17624         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17625         redirections for expf.
17626         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17627         * sysdeps/x86_64/fpu/Versions: New versions added.
17628         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17629         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17630         build of SSE, AVX2 and AVX512 IFUNC versions.
17631         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17632         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17634         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17635         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17636         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17637         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17638         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17639         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17640         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17641         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17642         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17643         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17644         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17645         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17646         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17647         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17649         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17650         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17651         * NEWS: Mention addition of x86_64 vector expf.
17653         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17654         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17656         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17657         redirections for exp.
17658         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17659         * sysdeps/x86_64/fpu/Versions: New versions added.
17660         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17661         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17662         build of SSE, AVX2 and AVX512 IFUNC versions.
17663         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17665         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17667         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17668         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17669         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17670         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17671         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17672         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17673         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17674         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17675         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17676         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17677         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17678         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17679         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17680         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17681         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17682         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17683         * NEWS: Mention addition of x86_64 vector exp.
17685         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17686         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17687         redirections for logf.
17688         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17689         * sysdeps/x86_64/fpu/Versions: New versions added.
17690         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17691         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17692         build of SSE, AVX2 and AVX512 IFUNC versions.
17693         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17694         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17695         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17696         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17698         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17699         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17700         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17701         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17702         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17703         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17704         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17705         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17706         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17707         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17708         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17709         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17710         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17711         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17712         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17713         * NEWS: Mention addition of x86_64 vector logf.
17715         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17716         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17717         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17718         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17719         redirections for log.
17720         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17721         * sysdeps/x86_64/fpu/Versions: New versions added.
17722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17723         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17724         build of SSE, AVX2 and AVX512 IFUNC versions.
17725         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17726         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17727         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17728         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17729         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17730         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17731         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17732         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17733         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17734         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17735         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17736         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17737         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17738         test.
17739         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17740         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17741         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17742         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17743         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17744         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17745         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17746         * NEWS: Mention addition of x86_64 vector log.
17748 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17750         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17751         cfi_adjust_cfa_offset argument.
17752         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17753         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17755         [BZ #18034]
17756         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17757         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17758         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17759         ordering using ldar.
17760         (_dl_tlsdesc_dynamic): Likewise.
17761         (_dl_tlsdesc_return_lazy): Likewise.
17762         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17763         relaxed atomics instead of volatile and synchronize with release store.
17764         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17765         volatile.
17766         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17768 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17770         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17771         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17772         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17773         * sysdeps/x86_64/fpu/Versions: New versions added.
17774         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17775         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17776         build of SSE, AVX2 and AVX512 IFUNC versions.
17777         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17778         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17779         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17781         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17783         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17784         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17785         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17786         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17787         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17788         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17789         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17790         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17791         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17792         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17793         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17794         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17795         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17796         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17797         * NEWS: Mention addition of x86_64 vector sinf.
17799 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17801         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17802         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17803         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17804         Remove variable.
17805         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17806         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17808 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17810         [BZ #18530]
17811         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17812         strong alias of _IO_fputs.  Use libc_hidden_def.
17813         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17814         and define as weak alias of __fputs_unlocked.  Use
17815         libc_hidden_weak.
17816         * include/stdio.h (__fputs_unlocked): Declare.  Use
17817         libc_hidden_proto.
17818         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17819         fputs_unlocked.
17821         [BZ #18529]
17822         * resolv/netdb.h [__USE_POSIX]: Change condition to
17823         [__USE_XOPEN2K].
17824         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17825         not expect.
17826         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17827         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17828         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17829         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17830         [XPG4 || UNIX98] (AI_ALL): Likewise.
17831         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17832         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17833         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17834         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17835         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17836         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17837         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17838         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17839         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17840         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17841         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17842         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17843         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17844         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17845         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17846         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17847         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17848         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17849         [XPG4 || UNIX98] (gai_strerror): Likewise.
17850         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17851         [XPG4 || UNIX98] (getnameinfo): Likewise.
17853         [BZ #18528]
17854         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17855         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17856         __USE_XOPEN2K8].
17857         (getgrent): Likewise.
17858         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17859         expect.
17860         [XPG3 || POSIX2008] (endgrent): Likewise.
17861         [XPG3] (setgrent): Likewise.
17862         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17863         variable.
17864         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17866         [BZ #18527]
17867         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17868         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17869         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17870         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17871         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17872         * include/unistd.h (__getlogin_r): Declare.  Use
17873         libc_hidden_proto.
17874         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17875         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17876         variable.
17877         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17878         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17879         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17881 2015-06-12  Martin Sebor  <msebor@redhat.com>
17883         [BZ #18512]
17884         * Makerules (check-install-supported): New target.
17885         (install): Add check-install-supported as a dependency.
17886         * manual/install.texi (Installing the C Library): Document
17887         that overriding prefix and exec_prefix is not supported.
17888         Mention DESTDIR.
17889         * INSTALL: Regenerate from the above.
17891 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17893         [BZ #18519]
17894         * posix/Versions (libc): Export __libc_pread at version
17895         GLIBC_PRIVATE.
17896         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17897         instead of pread.
17898         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17899         variable.
17901         [BZ #18522]
17902         * misc/efgcvt_r.c
17903         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17904         (cvt_symbol): Use weak_alias instead of strong_alias.
17905         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17906         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17907         Remove variable.
17908         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17909         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17911         [BZ #18520]
17912         * inet/herrno.c (h_errno): Rename to __h_errno.
17913         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17914         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17915         to __h_errno instead of h_errno.
17916         * nptl/herrno.c (h_errno): Rename to __h_errno.
17917         (__h_errno_location): Refer to __h_errno not h_errno.
17918         * resolv/Versions (h_errno): Rename to __h_errno.
17919         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17920         Remove variable.
17921         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17923 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17925         * configure.ac: More strict check for AVX512 assembler support.
17926         * configure: Regenerated.
17928         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17929         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17930         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17931         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17932         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17933         * sysdeps/x86_64/fpu/Versions: New versions added.
17934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17935         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17936         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17937         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17938         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17939         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17940         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17941         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17942         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17943         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17944         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17945         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17946         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17947         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17948         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17949         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17950         test.
17951         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17952         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17954         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17957         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17958         * NEWS: Mention addition of x86_64 vector sin.
17960 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17962         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17963         comment.
17965 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17967         [BZ #18479]
17968         * nptl/pt-interp.c: New file.
17969         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17970         Add pt-interp.
17971         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17972         $(common-objpfx)runtime-linker.h.
17974 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17976         * Makeconfig (+interp): Remove unused variable.
17977         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17978         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17979         $(elf-objpfx)runtime-linker.h.
17980         ($(elf-objpfx)runtime-linker.h): Rename to
17981         $(common-objpfx)runtime-linker.h and move ...
17982         * Makerules [$(build-shared) = yes]: ... here.
17983         * elf/interp.c: Include <runtime-linker.h> instead of
17984         <elf/runtime-linker.h>.
17986 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17988         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17989         (__gettimeofday_syscall): Remove vsyscall fallback.
17990         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17991         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17992         Add syscall fallback function.
17993         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17994         if vDSO is not present.
17995         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17996         fallback function.
17997         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17998         present.
17999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18000         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18002 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18004         [BZ #18497]
18005         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18006         of wcscmp.
18007         (wcscmp): Define as weak alias of WCSCMP.
18008         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18009         wcscoll.
18010         (USE_HIDDEN_DEF): Define.
18011         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18012         __wcscoll.  Don't use libc_hidden_weak.
18013         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18014         wcscmp.
18015         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18016         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18017         __GI_wcscmp.
18018         (weak_alias): Undefine and redefine.
18019         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18020         __wcscmp and define as weak alias of __wcscmp.
18021         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18022         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18023         (__wcscoll): Likewise.
18024         (wcscmp): Don't use libc_hidden_proto.
18025         (wcscoll): Likewise.
18026         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18027         wcscoll.
18028         * posix/regexec.c (check_node_accept_bytes): Likewise.
18029         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18030         variable.
18031         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18032         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18034         [BZ #18507]
18035         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18036         __fstatvfs and define as weak alias of __fstatvfs.  Use
18037         libc_hidden_weak.
18038         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18039         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18040         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18041         Define as alias of __fstatvfs, not fstatvfs.
18042         (fstatvfs64): Likewise.
18043         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18044         Define as alias of __statvfs, not statvfs.
18045         (statvfs64): Likewise.
18046         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18047         Remove variable.
18049 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18052         (HAVE_GETCPU_VSYSCALL): Define.
18053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18054         (HAVE_GETCPU_VSYSCALL): Likewise.
18055         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18056         * sysdeps/unix/sysv/linux/sched_getcpu.c
18057         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18058         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18059         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18060         prototype.
18061         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18062         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18063         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18065         Define.
18066         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18067         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18068         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18069         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18071 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18073         * sysdeps/x86_64/fpu/Makefile: New file.
18074         * sysdeps/x86_64/fpu/Versions: New file.
18075         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18076         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18077         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18078         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18079         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18080         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18081         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18082         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18083         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18084         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18085         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18086         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18087         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18088         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18089         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18090         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18091         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18092         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18093         * sysdeps/x86_64/configure: Regenerated.
18094         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18095         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18096         * manual/install.texi (Configuring and compiling): Document
18097         --disable-mathvec.
18098         * INSTALL: Regenerated.
18099         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18101         * math/Makefile: Added rules for vector tests.
18102         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18103         declaration under condition.
18104         * math/test-double-vlen2.h: New file.
18105         * math/test-double-vlen4.h: New file.
18106         * math/test-double-vlen8.h: New file.
18107         * math/test-vec-loop.h: Added initialization macro.
18108         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18110         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18111         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18112         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18114         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18115         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18116         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18117         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18118         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18120         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18121         * sysdeps/x86_64/fpu/Versions: New versions added.
18122         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18123         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18125         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18126         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18127         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18128         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18129         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18130         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18132         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18133         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18134         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18135         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18136         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18137         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18138         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18139         * NEWS: Mention addition of x86_64 vector cosf.
18141         * math/Makefile: Added CFLAGS for new tests.
18142         * math/test-float-vlen16.h: New file.
18143         * math/test-float-vlen4.h: New file.
18144         * math/test-float-vlen8.h: New file.
18145         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18146         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18147         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18148         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18149         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18150         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18151         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18152         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18153         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18154         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18155         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18157 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18159         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18160         * locale/programs/ld-ctype.c: Likewise.
18162 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18164         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18165         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18166         bit_ZMM16_31_state): New macro.
18167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18168         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18170 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18172         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18174 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18176         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18178 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18180         [BZ #18498]
18181         * libio/memstream.c (open_memstream): Rename to __open_memstream
18182         and define as weak alias of __open_memstream.
18183         * include/stdio.h (__open_memstream): Declare.  Use
18184         libc_hidden_proto.
18185         (open_memstream): Don't use libc_hidden_proto.
18186         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18187         open_memstream.
18188         * posix/getopt.c (_getopt_internal_r): Likewise.
18189         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18190         variable.
18191         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18192         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18193         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18195         [BZ #18496]
18196         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18197         instead of wcrtomb.
18199         [BZ #18483]
18200         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18201         [__USE_XOPEN2K8].  Remove redundant #endif.
18202         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18203         Remove redundant #if.
18204         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18205         Remove variable.
18206         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18207         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18209         [BZ #18495]
18210         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18211         (__iswlower): Likewise.
18212         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18213         (__iswlower): Likewise.
18214         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18215         instead of towlower.
18216         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18217         instead of iswlower.  Call __towupper instead of towupper.
18218         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18219         instead of iswalnum.
18221 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18223         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18224         errors to stderr.
18226 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18228         [BZ #15661]
18229         [BZ #17322]
18230         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18231         Check for overflow properly.  Check for O_APPEND.  Ignore large
18232         file system block sizes.  Add comments about problems.
18233         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18234         * manual/filesys.texi (Storage Allocation): New node.
18236 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18238         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18239         cancellable syscalls.
18240         (SYS_ify): Add guard to no redefine it.
18241         (INLINE_SYSCALL): Likewise.
18242         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18243         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18244         SYSCALL_CANCEL instead.
18245         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18246         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18247         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18248         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18249         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18250         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18251         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18252         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18253         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18254         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18255         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18256         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18257         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18258         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18259         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18260         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18261         Likewise.
18262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18263         (__libc_pread64): Likewise.
18264         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18265         (__libc_preadv): Likewise.
18266         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18267         (__libc_readv64): Likewise.
18268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18269         (__libc_pwrite): Likewise.
18270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18271         (__libc_pwrite64): Likewise.
18272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18273         (__libc_pwritev): Likewise.
18274         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18275         (__libc_pwritev64): Likewise.
18276         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18277         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18278         (sync_file_range): Likewise.
18279         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18280         Likewise.
18281         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18282         Likewise.
18283         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18284         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18285         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18286         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18287         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18288         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18289         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18290         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18292         Likewise.
18293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18294         (__libc_read64): Likewise.
18295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18296         Likewise.
18297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18298         Likewise.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18300         Likewise.
18301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18302         Likewise.
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18304         (__libc_pread64): Likewise.
18305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18306         Likewise.
18307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18308         (__libc_pwrite64): Likewise.
18309         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18310         (sync_file_range): Likewise.
18311         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18312         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18313         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18314         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18315         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18316         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18317         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18318         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18319         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18320         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18321         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18322         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18323         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18324         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18325         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18326         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18327         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18328         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18329         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18330         Likewise.
18331         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18332         Likewise.
18333         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18334         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18335         Likewise.
18336         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18337         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18338         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18339         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18340         Likewise.
18341         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18342         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18343         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18344         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18345         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18347 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18349         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18350         Include dl-vdso.
18351         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18352         Use VDSO routines for gettimeofday, clock_gettime if
18353         available.
18354         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18355         Declare VDSO symbols.
18356         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18357         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18358         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18359         * sysdeps/unix/sysv/linux/arm/Versions: Add
18360         __vdso_clock_gettime.
18362 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18364         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18365         be an inline implementation regardless of library is built within.
18366         (open_not_cancel_2): Likewise.
18367         (__read_nocancel): Likewise.
18368         (__write_nocancel): Likewise.
18369         (openat_not_cancel): Likewise.
18370         (openat_not_cancel_3): Likewise.
18371         (openat64_not_cancel): Likewise.
18372         (openat64_not_cancel_3): Likewise.
18373         (__close_nocancel): Likewise.
18374         (pause_not_cancel): Likewise.
18375         (nanosleep_not_cancel): Likewise.
18376         (sigsuspend_not_cancel): Likewise.
18378 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18380         [BZ #14958]
18381         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18382         wake-up.
18383         (__pthread_rwlock_rdlock_slow): Likewise.
18384         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18385         Likewise.
18386         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18387         Likewise.
18388         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18389         * nptl/tst-rwlock16.c: New file.
18390         * nptl/Makefile (tests): Add new test.
18392 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18394         [BZ #18324]
18395         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18396         missing wake-up of readers.
18397         * nptl/tst-rwlock15.c: New file.
18398         * nptl/Makefile (tests): Add new test.
18400 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18402         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18403         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18404         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18405         and __nacl_supply_interface_rtld.
18406         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18407         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18408         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18409         Add __nacl_supply_interface_rtld.
18410         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18412 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18414         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18415         isfinite.
18416         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18417         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18419 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18421         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18422         __signbit* with standard C99 macros.
18423         * math/e_exp10l.c: Likewise.
18424         * math/e_exp2l.c: Likewise.
18425         * math/e_scalb.c: Likewise.
18426         * math/e_scalbf.c: Likewise.
18427         * math/e_scalbl.c: Likewise.
18428         * math/s_ldexp.c: Likewise.
18429         * math/s_ldexpf.c: Likewise.
18430         * math/s_ldexpl.c: Likewise.
18431         * math/w_atan2.c: Likewise.
18432         * math/w_atan2f.c: Likewise.
18433         * math/w_atan2l.c: Likewise.
18434         * math/w_cosh.c: Likewise.
18435         * math/w_coshf.c: Likewise.
18436         * math/w_coshl.c: Likewise.
18437         * math/w_exp10.c: Likewise.
18438         * math/w_exp10f.c: Likewise.
18439         * math/w_exp10l.c: Likewise.
18440         * math/w_exp2.c: Likewise.
18441         * math/w_exp2f.c: Likewise.
18442         * math/w_exp2l.c: Likewise.
18443         * math/w_fmod.c: Likewise.
18444         * math/w_fmodf.c: Likewise.
18445         * math/w_fmodl.c: Likewise.
18446         * math/w_hypot.c: Likewise.
18447         * math/w_hypotf.c: Likewise.
18448         * math/w_hypotl.c: Likewise.
18449         * math/w_jnl.c: Likewise.
18450         * math/w_lgamma.c: Likewise.
18451         * math/w_lgamma_r.c: Likewise.
18452         * math/w_lgammaf.c: Likewise.
18453         * math/w_lgammaf_r.c: Likewise.
18454         * math/w_lgammal.c: Likewise.
18455         * math/w_lgammal_r.c: Likewise.
18456         * math/w_pow.c: Likewise.
18457         * math/w_powf.c: Likewise.
18458         * math/w_powl.c: Likewise.
18459         * math/w_remainder.c: Likewise.
18460         * math/w_remainderf.c: Likewise.
18461         * math/w_remainderl.c: Likewise.
18462         * math/w_scalb.c: Likewise.
18463         * math/w_scalbf.c: Likewise.
18464         * math/w_scalbl.c: Likewise.
18465         * math/w_scalbln.c: Likewise.
18466         * math/w_scalblnf.c: Likewise.
18467         * math/w_scalblnl.c: Likewise.
18468         * math/w_sinh.c: Likewise.
18469         * math/w_sinhf.c: Likewise.
18470         * math/w_sinhl.c: Likewise.
18471         * math/w_tgamma.c: Likewise.
18472         * math/w_tgammaf.c: Likewise.
18473         * math/w_tgammal.c: Likewise.
18474         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18475         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18476         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18477         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18478         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18480         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18481         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18482         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18483         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18484         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18485         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18486         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18488         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18489         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18490         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18491         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18492         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18494         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18495         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18496         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18498         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18499         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18500         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18501         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18502         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18503         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18504         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18505         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18506         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18507         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18508         * stdio-common/printf_fp.c: Likewise.
18509         * stdio-common/printf_fphex.c: Likewise.
18510         * stdio-common/printf_size.c: Likewise.
18512 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18514         [BZ #18470]
18515         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18516         strnlen.
18517         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18518         Remove variable.
18519         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18520         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18521         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18522         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18523         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18524         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18525         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18526         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18527         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18528         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18530         [BZ #18468]
18531         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18532         weak alias of __wmemchr.  Use libc_hidden_weak.
18533         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18534         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18535         instead of wmemchr.
18537 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18539         [BZ #18383]
18540         * elf/tst-tlsalign-extern.c: New file.
18541         * elf/tst-tlsalign-extern-static.c: New file.
18542         * elf/tst-tlsalign-vars.c: New file.
18543         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18544         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18545         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18546         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18547         (test-xfail-tst-tlsalign-extern-static): New variable.
18549 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18551         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18552         Use variable name _sc_err instead of err.
18553         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18554         instead of ret.
18555         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18556         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18557         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18558         (INLINE_SYSCALL): Likewise.
18560         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18561         * include/string.h (__strnlen): Use libc_hidden_proto.
18562         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18563         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18564         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18565         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18566         (libc_hidden_def): Undefine and redefine.
18567         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18568         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18569         __GI_strnlen.
18570         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18571         libc_hidden_def.
18572         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18574         [BZ #18469]
18575         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18576         weak alias of __towlower.  Use libc_hidden_weak.
18577         (towupper): Rename to __towupper and define as weak alias of
18578         __towupper.  Use libc_hidden_weak.
18579         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18580         (__towupper): Likewise.
18581         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18582         __towlower instead of towlower.
18584 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18586         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18587         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18589 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18591         * sysdeps/aarch64/libm-test-ulps: Update.
18593 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18595         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18596         Define.
18597         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18599         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18600         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18601         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18602         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18603         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18605 2015-06-01  Martin Sebor  <msebor@redhat.com>
18607         [BZ #18116]
18608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18609         (__setcontext): Use extended four-operand version of mtsf whenever
18610         possible.
18611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18612         (__novec_swapcontext): Likewise.
18614 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18616         * benchtests/scripts/compare_bench.py: New file.
18617         * benchtests/scripts/import_bench.py (mean): New function.
18618         (split_list): Likewise.
18619         (do_for_all_timings): Likewise.
18620         (compress_timings): Likewise.
18622         * benchtests/scripts/import_bench.py: New file.
18623         * benchtests/scripts/validate_benchout.py: Import import_bench
18624         instead of jsonschema.
18625         (validate_bench): Remove function.
18626         (main): Use import_bench.
18628 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18630         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18631         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18633 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18637 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18639         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18640         set THREAD_SELF->tid to a magic value and futex-wake it.
18641         Pass its address to the thread_exit system call.
18642         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18643         bit is clear.
18644         * sysdeps/nacl/lowlevellock.h: New file.
18645         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18647         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18648         Add TIMEOUT to current time, don't subtract it.
18650 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18652         [BZ #2981]
18653         [BZ #18422]
18654         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18655         ($(objpfx)tst-audit2.out): Also depend on
18656         $(objpfx)tst-auditmod9b.so.
18657         * elf/tst-audit2.c: Include <dlfcn.h>.
18658         (calloc_called): New.
18659         (calloc): Allow to be called more than once.
18660         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18662 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18664         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18665         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18667 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18669         * stdlib/monetary.h: Fix comment.
18671 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18673         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18674         Avoid using variables in #defines that might cause shadowing.
18675         (INTERNAL_VSYSCALL_CALL): Likewise.
18677 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18679         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18681         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18682         * nptl/lll_timedlock_wait.c: ... to this new file.
18683         * nptl/Makefile (libpthread-routines): Add it.
18684         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18685         * nptl/lll_timedwait_tid.c: ... to this new file.
18686         * nptl/Makefile (libpthread-routines): Add it.
18687         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18688         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18689         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18690         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18691         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18692         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18693         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18694         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18695         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18696         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18698 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18700         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18701         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18702         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18704         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18706         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18708         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18709         * sysdeps/unix/sysv/linux/tile/sysdep.h
18710         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18711         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18712         using vDSO syscall macro.
18714 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18716         [BZ #17293]
18717         * uk_UA: Fix sorting order for Ukrainian locale
18719 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18721         * stdlib/monetary.h: Fix comment.
18723 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18725         [BZ #18234]
18726         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18727         st_mtim and st_ctim members.
18728         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18729         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18730         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18731         (struct stat64): Likewise.
18732         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18733         (struct stat64): Likewise.
18734         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18735         (struct stat64): Likewise.
18737 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18739         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18740         Define and include sysdep-vdso.h.
18741         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18742         Likewise.
18743         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18744         Likewise.
18745         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18746         Define with VDSO_SYMBOL and use PTR_MANGLE.
18747         (__vdso_clock_gettime): Likewise.
18748         (__vdso_clock_getres): Likewise.
18749         (_libc_vdso_platform_setup): Likewise.
18750         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18751         Likewise.
18752         (_libc_vdso_platform_setup): Likewise.
18753         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18754         Likewise.
18755         (__vdso_clock_gettime): Likewise.
18756         (__vdso_clock_getres): Likewise.
18757         (__vdso_get_tbfreq): Likewise.
18758         (__vdso_getcpu): Likewise.
18759         (__vdso_time): Likewise.
18760         (__vdso_sigtramp_rt64): Likewise.
18761         (__vdso_signtramp32): Likewise.
18762         (__vdso_sigtramp_rt32): Likewise.
18763         (_libc_vdso_platform_setup): Likewise.
18764         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18765         Likewise.
18766         (__vdso_clock_gettime): Likewise.
18767         (__vdso_clock_getres): Likewise.
18768         (_libc_vdso_platform_setup): Likewise.
18769         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18770         Likewise.
18771         (__vdso_clock_gettime): Likewise.
18772         (_libc_vdso_platform_setup): Likewise.
18773         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18774         Likewise.
18775         (__vdso_getcpu): Likewise.
18776         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18777         Use VDSO_SYMBOL macro to define.
18778         (__vdso_clock_gettime): Likewise.
18779         (__vdso_clock_getres): Likewise.
18780         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18781         Likewise.
18782         (__vdso_clock_gettime): Likewise.
18783         (__vdso_clock_getres): Likewise.
18784         (__vdso_get_tbfreq): Likewise.
18785         (__vdso_getcpu): Likewise.
18786         (__vdso_time): Likewise.
18787         (__vdso_sigtramp_rt64): Likewise.
18788         (__vdso_signtramp32): Likewise.
18789         (__vdso_sigtramp_rt32): Likewise.
18790         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18791         Likewise.
18792         (__vdso_clock_gettime): Likewise.
18793         (__vdso_clock_getres): Likewise.
18794         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18795         Likewise.
18796         (__vdso_clock_gettime): Likewise.
18797         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18798         Likewise.
18799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18800         macro.
18801         (INTERNAL_VSYSCALL): Likewise.
18802         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18803         Remove macro.
18804         (INTERNAL_VSYSCALL): Likewise.
18805         (INTERNAL_VSYSCALL_NCS): Likewise.
18806         (INTERNAL_VSYSCALL_CALL): New macro.
18807         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18808         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18809         Likewise.
18810         (INTERNAL_VSYSCALL): Likewise.
18811         (INTERNAL_VSYSCALL_NCS): Likewise.
18812         (INTERNAL_VSYSCALL_CALL): New macro.
18813         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18815         (INLINE_VSYSCALL): Remove macro.
18816         (INTERNAL_VSYSCALL): Remove macro.
18817         (INTERNAL_VSYSCALL_NCS): Remove macro.
18818         (INTERNAL_VSYSCALL_CALL): New macro.
18819         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18820         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18821         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18822         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18823         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18825         (INLINE_VSYSCALL): Remove macro.
18826         (INTERNAL_VSYSCALL): Likewise.
18827         (INTERNAL_VSYSCALL_NCS): Likewise.
18828         (INTERNAL_VSYSCALL_CALL): New macro.
18829         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18830         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18831         PTR_DEMANGLE on vDSO pointer.
18832         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18833         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18834         macro.
18835         (INTERNAL_SYSCALL): Likewise.
18836         (INTERNAL_VSYSCALL_NCS): Remove macro.
18837         (INTERNAL_VSYSCALL_CALL): New macro.
18838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18839         Remove macro.
18840         (INTERNAL_VSYSCALL): Likewise.
18841         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18842         sysdep-vdso.h instead of libc-vdso.h.
18843         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18844         definition.
18845         (INLINE_VSYSCALL): Likewise.
18846         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18847         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18848         definition.
18849         (INLINE_VSYSCALL): Likewise.
18850         (INTERNAL_VSYSCALL): Likewise.
18851         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18852         * sysdeps/unix/sysv/linux/timespec_get.c
18853         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18854         (timespec_get): Use ANSI prototype.
18855         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18856         and definition for Linux.
18858 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18860         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18861         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18863 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18865         [BZ #2981]
18866         [BZ #18410]
18867         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18868         for missing DT_PLTRELSZ.
18870 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18872         Remove obsolete aliases that broke 'locale -a'
18873         [BZ #18412]
18874         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18875         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18876         breaking some applications that use 'locale -a' output.
18877         Change the encoding of this file from Latin-1 to ASCII to avoid
18878         other potential problems with people grepping this file.
18880 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18882         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18883         -fasynchronous-unwind-tables.
18884         (CFLAGS-sendto.c): Likewise.
18885         (CFLAGS-sendmsg.c): Likewise.
18886         (CFLAGS-connect.c): Likewise.
18887         (CFLAGS-recvmsg.c): Likewise.
18888         (CFLAGS-recvfrom.c): Likewise.
18889         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18890         (SOCKETCALL): New macro: non-cancellable socketcall.
18891         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18892         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18893         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18894         * sysdeps/unix/sysv/linux/accept.c: New file.
18895         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18896         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18897         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18898         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18899         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18900         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18901         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18902         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18903         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18904         * sysdeps/unix/sysv/linux/send.c: Likewise.
18905         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18906         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18907         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18908         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18909         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18910         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18911         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18912         prototype.
18913         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18914         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18915         instead of __internal_xxx function.
18916         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18917         prototype.
18918         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18919         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18920         instead of __internal_xxx function.
18921         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18922         prototype.
18923         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18924         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18925         instead of __internal_xxx function.
18926         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18927         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18928         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18929         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18930         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18931         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18932         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18933         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18934         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18935         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18936         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18937         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18938         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18939         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18940         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18941         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18942         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18943         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18944         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18945         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18948         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18949         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18950         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18951         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18952         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18953         * sysdeps/unix/sysv/linux/send.S: Likewise.
18954         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18955         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18956         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18957         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18958         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18959         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18960         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18961         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18962         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18963         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18964         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18965         socketcall is implemented in GLIBC.
18967 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18969         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18970         (__fma): Ignore uninitialized warnings around packing.
18971         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18972         (__fmaf): Ignore uninitialized warnings around packing.
18973         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18974         (__fmal): Ignore uninitialized warnings around packing.
18976         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18977         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18978         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18979         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18981         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18982         switch statement into default case.
18983         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18985         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18986         a conditional in forcing "inexact".
18987         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18988         Likewise.
18990 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18992         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18993         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18994         for each INTERNAL_SYSCALL use.
18996 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18998         [BZ #438]
18999         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19000         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19001         variable.
19003         [BZ #18444]
19004         * string/basename.c (basename): Rename to __basename and define as
19005         weak alias of __basename.  Use libc_hidden_weak.
19006         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19007         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19008         __basename instead of basename.
19009         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19010         Remove variable.
19011         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19013 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19015         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19016         (_IO_JUMPS_FILE_plus): New.
19017         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19018         _IO_CAST_FIELD_ACCESS.
19019         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19020         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19021         * libio/freopen.c (freopen): Likewise.
19022         * libio/freopen64.c (freopen64): Likewise.
19023         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19024         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19025         * libio/iofwide.c (_IO_fwide): Likewise.
19026         * libio/memstream.c (open_memstream): Likewise.
19027         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19028         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19029         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19031 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19033         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19034         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19035         NADJ.
19036         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19037         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19038         NADJ.
19039         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19040         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19041         NADJ.
19043         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19044         (p == 4) case.
19046         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19047         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19048         Remove variable.
19049         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19050         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19051         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19053 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19055         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19056         Adjust jump table label generation macros.
19058 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19060         * stdio-common/vfprintf.c (vfprintf): Move local variables
19061         args_malloced, specs, specs_malloced, and the code after
19062         do_positional to the printf_positional function.
19063         (printf_positional): New function.
19065 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19067         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19068         function.
19069         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19070         STEP4_TABLE, process_arg): Move macro definitions
19071         out of the vfprintf function.  (Cosmetic change only.)
19073 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19075         * benchtests/Makefile (stdio-common-bench): Define.
19076         (benchset): Add stdio-common-bench.
19077         * sprintf-inputs: New file.
19078         * sprintf-source.c: New file.
19080 2015-05-21  Andreas Schwab  <schwab@suse.de>
19082         [BZ #13028]
19083         [BZ #17053]
19084         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19085         of struct __res_state.
19086         * resolv/res_send.c (__libc_res_nsend): Likewise.
19087         (get_nsaddr): New function.
19088         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19089         statp directly.
19091 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19093         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19094         -D_POSIX_C_SOURCE=199506L.
19096         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19098         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19099         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19100         Do not mention otherwise.
19101         [POSIX] (_XOPEN_VERSION): Do not expect.
19102         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19103         [POSIX] (_POSIX2_C_BIND): Likewise.
19104         [POSIX] (_POSIX2_VERSION): Likewise.
19105         [POSIX] (_XOPEN_XPG2): Likewise.
19106         [POSIX] (_XOPEN_XPG3): Likewise.
19107         [POSIX] (_XOPEN_XPG4): Likewise.
19108         [POSIX] (_XOPEN_UNIX): Likewise.
19109         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19110         [POSIX] (_POSIX_BARRIERS): Likewise.
19111         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19112         [POSIX] (_POSIX_CPUTIME): Likewise.
19113         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19114         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19115         [POSIX] (_POSIX_SHELL): Likewise.
19116         [POSIX] (_POSIX_SPAWN): Likewise.
19117         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19118         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19119         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19120         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19121         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19122         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19123         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19124         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19125         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19126         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19127         [POSIX] (_POSIX2_PBS): Likewise.
19128         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19129         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19130         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19131         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19132         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19133         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19134         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19135         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19136         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19137         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19138         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19139         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19140         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19141         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19142         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19143         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19144         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19145         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19146         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19147         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19148         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19149         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19150         [POSIX] (_SC_2_C_BIND): Likewise.
19151         [POSIX] (_SC_2_C_VERSION): Likewise.
19152         [POSIX] (_SC_2_PBS): Likewise.
19153         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19154         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19155         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19156         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19157         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19158         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19159         [POSIX] (_SC_BARRIERS): Likewise.
19160         [POSIX] (_SC_BASE): Likewise.
19161         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19162         [POSIX] (_SC_DEVICE_IO): Likewise.
19163         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19164         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19165         [POSIX] (_SC_FD_MGMT): Likewise.
19166         [POSIX] (_SC_FIFO): Likewise.
19167         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19168         [POSIX] (_SC_FILE_LOCKING): Likewise.
19169         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19170         [POSIX] (_SC_IOV_MAX): Likewise.
19171         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19172         [POSIX] (_SC_NETWORKING): Likewise.
19173         [POSIX] (_SC_PAGE_SIZE): Likewise.
19174         [POSIX] (_SC_PASS_MAX): Likewise.
19175         [POSIX] (_SC_PIPE): Likewise.
19176         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19177         [POSIX] (_SC_REGEXP): Likewise.
19178         [POSIX] (_SC_SHELL): Likewise.
19179         [POSIX] (_SC_SIGNALS): Likewise.
19180         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19181         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19182         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19183         [POSIX] (_SC_USER_GROUPS): Likewise.
19184         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19185         [POSIX] (_SC_STREAMS): Likewise.
19186         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19187         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19188         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19189         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19190         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19191         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19192         [POSIX] (_PC_FILESIZEBITS): Likewise.
19193         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19194         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19195         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19196         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19197         [POSIX] (uid_t): Likewise.
19198         [POSIX] (gid_t): Likewise.
19199         [POSIX] (off_t): Likewise.
19200         [POSIX] (pid_t): Likewise.
19201         [POSIX] (cuserid): Allow.
19202         (_SC_2_CHAR_TERM): Require constant.
19203         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19204         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19205         variable.
19207 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19209         * sysdeps/nacl/pthread-pids.h: New file.
19210         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19211         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19213         * nptl/pthread-pids.h: New file.
19214         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19215         * nptl/nptl-init.c: Include <pthread-pids.h>.
19216         (__pthread_initialize_minimal_internal):
19217         Call __pthread_initialize_pids instead of set_tid_address syscall.
19219         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19220         * sysdeps/posix/usleep.c: ... here.
19222 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19224         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19225         call_pselect6 object.
19226         [$(subdir) = io]: Remove call_sync_file_range object.
19227         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19228         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19229         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19230         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19232 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19234         * math/s_cproj.c: Add include "math_private.h".
19235         * math/s_cprojf.c: Likewise.
19236         * math/s_cprojl.c: Likewise.
19238 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19240         [BZ #18244]
19241         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19242         high mantissa bit when testing whether P is a NaN.
19243         * math/libm-test.inc (remainder_test_data): Add more tests.
19244         (remquo_test_data): Likewise.
19246         [BZ #18049]
19247         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19248         below -32, return the argument, with underflow if subnormal.
19249         * math/auto-libm-test-in: Add more tests of atanh.
19250         * math/auto-libm-test-out: Regenerated.
19252 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19254         [BZ #18434]
19255         * nptl/tst-sem15.c: New file.
19256         * nptl/Makefile (tests): Add it.
19257         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19258         s/<</>>/ to fix typo in EOVERFLOW check.
19259         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19261 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19263         * manual/strings.texi (envz_remove): Fix typo in safety
19264         annotations.
19266 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19267             Steve Ellcey  <sellcey@imgtec.com>
19269         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19270         in order to avoid strict alias warnings.
19271         (iruserok_af): Ditto for ra.
19273 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19275         [BZ #17581]
19276         * malloc/hooks.c
19277         (magicbyte): Convert to a function and avoid returning 0x01.
19278         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19279         (mem2chunk_check): Fix unsigned comparisons to zero.
19280         Hoist defs of sz and magic.
19282 2015-05-19  Richard Henderson  <rth@redhat.com>
19284         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19286         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19288 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19290         [BZ #16159]
19291         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19292         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19293         (reused_arena): Find a non-corrupt arena.
19294         (heap_trim): Pass arena to unlink.
19295         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19296         malloc_printerr.
19297         (top_check): Likewise.
19298         (free_check): Likewise.
19299         (realloc_check): Likewise.
19300         * malloc/malloc.c (malloc_printerr): Add arena argument.
19301         (unlink): Likewise.
19302         (munmap_chunk): Adjust.
19303         (ARENA_CORRUPTION_BIT): New macro.
19304         (arena_is_corrupt): Likewise.
19305         (set_arena_corrupt): Likewise.
19306         (sysmalloc): Use mmap if there are no usable arenas.
19307         (_int_malloc): Likewise.
19308         (__libc_malloc): Don't fail if arena_get returns NULL.
19309         (_mid_memalign): Likewise.
19310         (__libc_calloc): Likewise.
19311         (__libc_realloc): Adjust for additional argument to
19312         malloc_printerr.
19313         (_int_free): Likewise.
19314         (malloc_consolidate): Likewise.
19315         (_int_realloc): Likewise.
19316         (_int_memalign): Don't touch corrupt arenas.
19317         * malloc/tst-malloc-backtrace.c: New test case.
19319         * Makefile (summarize-tests): Fix return value on success.
19321         * manual/string.texi (Envz Functions): Add envz_remove.
19323 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19325         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19326         (invalid_name): New function, broken out of ...
19327         (__opendirat): ... here.  Call it.
19328         (need_isdir_precheck): New function, broken out of ...
19329         (__opendirat): ... here.  Call it.
19330         Use __fxstatat64, not __xstatat64.
19331         (opendir_oflags): New function, broken out of ...
19332         (__opendirat): ... here.  Call it.
19333         (opendir_tail): New function, broken out of ...
19334         (__opendirat): ... here.  Call it.
19335         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19336         opendir_tail, rather than punting to __opendirat.
19337         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19339 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19341         * .gitignore: Ignore generated *.pyc.
19343 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19345         * include/stdio.h: Define __need_wint_t.
19346         * test-skeleton.c: Avoid `for' loop initial declaration.
19347         * nptl/tst-initializers1.c: Use test-skeleton.c.
19349 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19351         [BZ #18418]
19352         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19354 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19356         [BZ #16352]
19357         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19358         (__ieee754_atanh): Force underflow exception for results with
19359         small absolute value.
19360         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19361         (__ieee754_atanhf): Force underflow exception for results with
19362         small absolute value.
19363         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19364         (__ieee754_atanh): Force underflow exception for results with
19365         small absolute value.
19366         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19367         (__ieee754_atanhf): Force underflow exception for results with
19368         small absolute value.
19369         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19370         (__ieee754_atanhl): Force underflow exception for results with
19371         small absolute value.
19372         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19373         (__ieee754_atanhl): Force underflow exception for results with
19374         small absolute value.
19375         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19376         (__ieee754_atanhl): Force underflow exception for results with
19377         small absolute value.
19378         * math/auto-libm-test-in: Do not allow missing underflow
19379         exceptions from atanh.
19380         * math/auto-libm-test-out: Regenerated.
19382         [BZ #18221]
19383         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19384         2**-28 as threshold for returning x or +/- 1/x.
19385         * math/auto-libm-test-in: Add more tests of tan.
19386         * math/auto-libm-test-out: Regenerated.
19388         [BZ #18220]
19389         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19390         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19391         * math/auto-libm-test-in: Add another test of lgamma.
19392         * math/auto-libm-test-out: Regenerated.
19394 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19396         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19397         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19398         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19399         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19400         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19401         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19402         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19403         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19404         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19405         (log1): Use fabs.  (my_log2): Use fabs.
19406         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19407         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19408         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19409         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19411         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19412         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19413         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19414         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19415         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19416         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19418 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19420         [BZ #18217]
19421         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19422         as threshold for returning 1 - x.
19423         * math/auto-libm-test-in: Add more tests of erfc.
19424         * math/auto-libm-test-out: Regenerated.
19426 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19428         [BZ #18196]
19429         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19430         threshold for large arguments.
19431         * math/auto-libm-test-in: Add another test of atan.
19432         * math/auto-libm-test-out: Regenerated.
19434         [BZ #16339]
19435         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19436         (__log1p): Force underflow exception for results with small
19437         absolute value.
19438         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19439         (__log1pf): Force underflow exception for results with small
19440         absolute value.
19441         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19442         (__log1p): Force underflow exception for results with small
19443         absolute value.
19444         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19445         (__log1pf): Force underflow exception for results with small
19446         absolute value.
19447         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19448         (__log1pl): Force underflow exception for results with small
19449         absolute value.
19450         * math/auto-libm-test-in: Do not allow missing underflow
19451         exceptions from log1p.
19452         * math/auto-libm-test-out: Regenerated.
19454 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19455             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19457         [BZ #16704]
19458         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19460 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19462         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19463         (libmvec): New variable.
19464         * configure.ac: Added option for mathvec build.
19465         * configure: Regenerated.
19466         * mathvec/Depend: New file.
19467         * mathvec/Makefile: New file.
19468         * shlib-versions: Added libmvec.
19469         * math/Makefile: Added rule for libm.so installation.
19471         * bits/math-vector.h: New file.
19472         * bits/libm-simd-decl-stubs.h: New header.
19473         * math/Makefile (headers): Added new header
19474         libm-simd-decl-stubs.h.
19475         * math/math.h (__MATHCALL_VEC): New macro.
19477         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19478         for conditions in testing functions.
19479         * math/Makefile: Added call of libm-have-vector-test.sh.
19480         * math/libm-test.inc (HAVE_VECTOR): New macros.
19482         * math/libm-test.inc: START refactored.
19483         * math/test-double.c (TEST_MATHVEC): Add define.
19484         * math/test-float.c: Likewise.
19485         * math/test-idouble.c: Likewise.
19486         * math/test-ifloat.c: Likewise.
19487         * math/test-ildoubl.c: Likewise.
19488         * math/test-ldouble.c: Likewise.
19489         * sysdeps/generic/math-tests-arch.h
19490         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19491         architecture check.
19493         * math/test-double.c (FUNC_TEST): New macro.
19494         * math/test-float.c: Likewise.
19495         * math/test-idouble.c: Likewise.
19496         * math/test-ifloat.c: Likewise.
19497         * math/test-ildoubl.c: Likewise.
19498         * math/test-ldouble.c: Likewise.
19499         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19501 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19503         * sysdeps/nacl/fdopendir.c: New file.
19505         * dirent/scandir-tail.c: New file.
19506         * dirent/scandir64-tail.c: New file.
19507         * dirent/Makefile (routines): Add them.
19508         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19509         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19510         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19511         [!SCANDIR] (SCANDIR_TAIL): New macro.
19512         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19513         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19514         (SCANDIRAT): Macro removed.
19515         (SCANDIR_TAIL): New macro.
19516         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19517         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19518         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19519         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19520         (READDIR): Macro removed.
19521         (SCANDIR_TAIL): New macro.
19522         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19523         (SCANDIR_TAIL): New macro.
19525         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19526         * dirent/scandir-cancel.c: ... to this new file.
19527         * dirent/Makefile (routines): Add it.
19528         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19529         * sysdeps/unix/sysv/linux/i386/scandir64.c
19530         (SKIP_SCANDIR_CANCEL): Macro removed.
19531         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19533         * dirent/tst-scandir.c: New file.
19534         * dirent/tst-scandir64.c: New file.
19535         * dirent/Makefile (tests): Add them.
19537 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19539         [BZ #18409]
19540         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19542 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19544         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19545         list.
19547 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19549         * benchtests/bench-strcoll.c: New benchmark.
19550         * benchtests/Makefile: Generate locales and run benchmark.
19551         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19552         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19553         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19554         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19555         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19556         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19557         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19558         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19559         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19560         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19561         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19562         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19563         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19564         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19565         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19566         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19567         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19568         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19569         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19570         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19571         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19572         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19573         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19574         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19576 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19578         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19579         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19581 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19583         * posix/uname-values.h: New file.
19584         * posix/uname.c: Include that instead of <config-name.h>.
19585         * sysdeps/nacl/uname-values.h: New file.
19586         * sysdeps/arm/nacl/uname-values.h: New file.
19588 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19590         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19591         splitting into fields.
19593 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19595         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19596         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19597         * locale/localeinfo.h: Add enum collation_encoding_type.
19598         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19599         * programs/ld-collate.c (collate_output): Add encoding type info.
19600         * string/strcoll_l.c (STRDIFF): New function.
19601         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19602         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19604 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19606         [BZ #18397]
19607         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19608         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19609         <fpu_control.h> instead of <math/fpu_control.c>.
19610         * sysdeps/mips/mips32/fpu/Makefile: New file.
19612 2015-05-11  Andreas Schwab  <schwab@suse.de>
19614         [BZ #18007]
19615         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19616         nss_endgrent.
19617         (_nss_compat_endgrent): Call nss_endgrent.
19618         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19619         nss_endpwent.
19620         (_nss_compat_endpwent): Call nss_endpwent.
19621         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19622         needent, call nss_setspent only if non-zero.
19623         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19624         (internal_endspent): Don't call nss_endspent.
19625         (_nss_compat_endspent): Call nss_endspent.
19626         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19627         Remove.  All uses removed.
19628         (internal_setent): Remove parameter stayopen, add parameter
19629         stream.  Use it instead of global variable.
19630         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19631         (internal_endent, internal_getent): Add parameter stream.  Use it
19632         instead of global variable.
19633         (CONCAT(_nss_files_end,ENTNAME))
19634         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19635         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19636         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19637         uses removed.
19638         (internal_setent, internal_endent): Add parameter stream.  Use it
19639         instead of global variable.
19640         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19641         stream.
19642         (get_next_alias): Add parameter stream.
19643         (_nss_files_getaliasent_r): Pass global stream.
19644         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19645         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19646         (_nss_files_gethostbyname4_r): Pass local stream to
19647         internal_setent, internal_getent and internal_endent.  Remove
19648         locking.
19650 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19652         * tst-strfmon1.c (tests): Update expected currency symbol.
19654 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19656         * sysdeps/nacl/gethostname.c: New file.
19658 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19660         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19661         and sinh.
19662         * math/auto-libm-test-out: Regenerated.
19663         * sysdeps/i386/fpu/libm-test-ulps: Update.
19664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19666 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19668         [BZ #18125]
19669         * stdlib/tst-setcontext3.c: New file.
19670         * stdlib/tst-setcontext3.sh: New file.
19671         * stdlib/Makefile (tests): Add tst-setcontext3.
19672         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19673         to verify test program created output file.
19674         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19675         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19676         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19677         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19679 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19681         [BZ #18383]
19682         * elf/tst-tlsalign.c: New file.
19683         * elf/tst-tlsalign-static.c: New file.
19684         * elf/tst-tlsalign-lib.c: New file.
19685         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19686         (tests-static): Add tst-tlsalign-static.
19687         (modules-names): Add tst-tlsalign-lib.
19688         (test-xfail-tst-tlsalign): New variable.
19689         (test-xfail-tst-tlsalign-static): New variable.
19691         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19692         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19694 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19696         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19697         csqrt, erfc, sin and sincos.
19698         * math/auto-libm-test-out: Regenerated.
19699         * sysdeps/i386/fpu/libm-test-ulps: Update.
19700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19702 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19704         * sysdeps/aarch64/libm-test-ulps: Update.
19706 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19708         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19709         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19710         * math/auto-libm-test-out: Regenerated.
19711         * sysdeps/i386/fpu/libm-test-ulps: Update.
19712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19714 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19716         [BZ #18265]
19717         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19718         (wcsncpy): Likewise.
19720 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19722         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19723         Assume __ASSUME_FALLOCATE is always true.
19724         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19725         (__posix_fallocate64_l64): Likweise.
19726         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19727         (posix_fallocate): Likewise.
19728         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19729         (__posix_fallocate64_l64): Likewise.
19730         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19731         [!__ASSUME_FALLOCATE]: Add comment.
19733 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19735         * sysdeps/unix/sysv/linux/i386/Makefile
19736         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19737         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19738         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19739         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19740         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19741         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19742         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19744 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19746         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19747         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19748         tgamma.
19749         * math/auto-libm-test-out: Regenerated.
19750         * sysdeps/i386/fpu/libm-test-ulps: Update.
19751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19753 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19755         * math/auto-libm-test-in: Add more tests of tgamma.
19756         * math/auto-libm-test-out: Regenerated.
19757         * sysdeps/i386/fpu/libm-test-ulps: Update.
19758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19760         * math/auto-libm-test-in: Add more tests of tanh.
19761         * math/auto-libm-test-out: Regenerated.
19762         * sysdeps/i386/fpu/libm-test-ulps: Update.
19763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19765         * math/auto-libm-test-in: Add more tests of tan.
19766         * math/auto-libm-test-out: Regenerated.
19767         * sysdeps/i386/fpu/libm-test-ulps: Update.
19768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19770         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19771         * math/auto-libm-test-out: Regenerated.
19772         * sysdeps/i386/fpu/libm-test-ulps: Update.
19773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19775         * math/auto-libm-test-in: Add another test of pow.
19776         * math/auto-libm-test-out: Regenerated.
19777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19779         * math/auto-libm-test-in: Add more tests of lgamma.
19780         * math/auto-libm-test-out: Regenerated.
19781         * sysdeps/i386/fpu/libm-test-ulps: Update.
19782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19784         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19785         log1p.
19786         * math/auto-libm-test-out: Regenerated.
19787         * sysdeps/i386/fpu/libm-test-ulps: Update.
19788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19790 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19792         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19793         Elf64_Chdr structs and ELFCOMPRESS constants.
19795 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19797         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19798         expm1.
19799         * math/auto-libm-test-out: Regenerated.
19800         * sysdeps/i386/fpu/libm-test-ulps: Update.
19801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19803         * math/auto-libm-test-in: Add more tests of erf and erfc.
19804         * math/auto-libm-test-out: Regenerated.
19805         * sysdeps/i386/fpu/libm-test-ulps: Update.
19806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19808 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19810         * config.h.in (HAVE_AARCH64_BE): Add.
19812 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19814         * math/auto-libm-test-in: Add more tests of csqrt.
19815         * math/auto-libm-test-out: Regenerated.
19816         * sysdeps/i386/fpu/libm-test-ulps: Update.
19817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19819         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19820         * math/auto-libm-test-out: Regenerated.
19821         * sysdeps/i386/fpu/libm-test-ulps: Update.
19822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19824         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19826 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19828         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19829         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19831         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19832         (euidaccess, eaccess): Define as weak aliases.
19834         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19835         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19836         but __suseconds_t is often 'long int' so some sources assume that
19837         type is being used (e.g. they use %ld to print tv_usec).
19839 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19841         [BZ #18007]
19842         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19843         (CVE-2014-8121)
19844         * nss/tst-nss-getpwent.c: New file.
19845         * nss/Makefile (tests): Add new test.
19847 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19849         [BZ #18346]
19850         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19851         exponents less than 48 as cases where high part of mantissa needs
19852         examining to determine whether argument is integral.
19853         * math/libm-test.inc (round_test_data): Add more tests.
19855 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19857         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19859 2015-04-27  David S. Miller  <davem@davemloft.net>
19861         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19862         __tls_get_addr.
19863         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19865 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19867         [BZ#18333]
19868         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19870 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19872         [BZ#18333]
19873         * time/tzset.c (parse_tzname): Return error on memory allocation
19874         failure.
19875         * test-skeleton.c (struct temp_name_list): Change type of name
19876         member to non-const.
19877         (add_temp_file): Create a copy of the file name.
19878         (delete_temp_files): Deallocate memory.
19879         (create_temp_file): Add comment.
19881 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19883         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19884         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19886 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19888         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19889         * sysdeps/arm/configure: Regenerated.
19891 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19893         [BZ #17715]
19894         * time/tzfile.c (__tzfile_read): Check for large values of
19895         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19896         * time/tzset.c (__tzstring_len): New function, based on the old
19897         __tzstring function.
19898         (__tzstring): Call __tzstring_len.
19899         (parse_tzname): New helper function extracted from
19900         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19901         the input string.
19902         (parse_offset): New helper function extracted from
19903         __tzset_parse_tz.  Replace switch with fallthrough with
19904         initialization before sscanf.
19905         (parse_rule): Likewise.
19906         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19907         new-style function definition.
19908         * timezone/Makefile (tests): Add tst-tzset.
19909         (tst-tzset.out): Dependencies on time zone files.
19910         (tst-tzset-ENV): Set TZDIR.
19911         (testdata/XT%): Copy crafted time zone files.
19912         * timezone/README: Mention crafted time zone files.
19913         * timezone/testdata/XT1, timezone/testdata/XT2,
19914         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19915         files.
19916         * timezone/tst-tzset.c: New test.
19918 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19920         * Makeconfig (+gccwarn): Remove -Winline.
19922 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19924         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19926 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19928         * NEWS: Mention sysconf() cache information support for s390.
19929         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19931 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19933         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19934         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19935         (__nearbyint): Likewise.
19936         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19937         (copysignl): Likewise.
19939 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19941         [BZ #18287]
19942         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19943         based on padding.  (CVE-2015-1781)
19945 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19947         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19948         libc-vdso.h.
19949         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19950         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19951         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19952         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19953         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19954         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19955         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19957         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19958         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19959         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19960         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19961         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19962         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19963         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19964         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19965         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19966         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19967         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19968         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19969         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19970         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19971         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19973 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19975         * stdlib/setenv.c (__add_to_environ):
19976         Dump core quickly if setenv (..., NULL, ...) is called.
19977         This time, do it the right way, and pacify GCC with a pragma.
19979 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19981         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19982         IMAP->l_prev cannot be null, and #if out the code for the contrary
19983         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19984         believe that NS (&_dl_ns[NSID]) could point outside the array.
19986         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19987         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19988         before using NSID as an index.
19990 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19992         [BZ #17825]
19993         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19994         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19995         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19997 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19999         Add preliminary port to Google Native Client on ARM.
20000         * abi-tags (.*-.*-nacl.*): New entry.
20001         * sysdeps/arm/nacl: New directory.
20002         * sysdeps/nacl: New directory.
20004 2015-04-16  David S. Miller  <davem@davemloft.net>
20006         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20007         lowlevellock-futex.h
20009 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20011         * sysdeps/tile/configure.ac: New file.
20012         * sysdeps/tile/configure: Regenerated.
20014 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20016         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20017         conditionals for weak_alias and libc_hidden_weak.
20018         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20019         libc_hidden_weak and weak_alias.
20020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20021         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20022         and weak_alias for static one.
20024 2015-04-15  David S. Miller  <davem@davemloft.net>
20026         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20028 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20030         [BZ #18206]
20031         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20032           Use signed comparision instead of substraction to avoid
20033           overflow bug.
20034         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20035           Take the sign of ret.
20036         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20037           Do not expect precise return values. Only the sign matters.
20038         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20039         * wcsmbs/test-wcsncmp.c: New File.
20040         * string/test-strncmp.c: Add wcsncmp support.
20042 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20044         [BZ #6792]
20045         * math/w_log1p.c: New file.
20046         * math/w_log1pf.c: Likewise.
20047         * math/w_log1pl.c: Likewise.
20048         * math/Makefile (libm-calls): Add w_log1p.
20049         * math/s_log1pl.c (log1pl): Remove weak_alias.
20050         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20051         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20052         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20053         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20054         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20055         [NO_LONG_DOUBLE] (log1pl): Likewise.
20056         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20057         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20058         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20059         (log1p): Remove long_double_symbol.
20060         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20061         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20062         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20063         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20064         remove weak_alias for corresponding log1p function.
20065         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20066         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20067         * sysdeps/ia64/fpu/w_log1p.c: New file.
20068         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20069         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20070         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20072 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20074         [BZ #18247]
20075         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20076         decimal exponent by 1.
20077         * stdlib/tst-strtod-round-data: Add more tests.
20078         * stdlib/tst-strtod-round.c (tests): Regenerated.
20080 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20082         * math/auto-libm-test-in: Add more tests of clog and clog10.
20083         * math/auto-libm-test-out: Regenerated.
20084         * sysdeps/i386/fpu/libm-test-ulps: Update.
20085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20087 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20089         * Makeconfig (module-cppflags): Exclude all .v.i files.
20090         (skip-module-cppflags): Variable removed.
20092         * configure.ac (libc_config_ok): Initialize before reading
20093         preconfigure scripts, not after.
20094         * configure: Regenerated.
20096         * test-skeleton.c (TIMEOUT): Move #define to top level.
20097         (main): Grok environment variable TEST_DIRECT.  If set, print
20098         test expectation details into that file and then behave as if
20099         given --direct.
20101 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20103         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20104         warning on 32-bit.
20106 2015-04-08  David S. Miller  <davem@davemloft.net>
20108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20110 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20112         * math/auto-libm-test-in: Add more tests of atanh.
20113         * math/auto-libm-test-out: Regenerated.
20114         * sysdeps/i386/fpu/libm-test-ulps: Update.
20115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20117         * math/auto-libm-test-in: Add more tests of atan.
20118         * math/auto-libm-test-out: Regenerated.
20119         * sysdeps/i386/fpu/libm-test-ulps: Update.
20120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20122 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20124         * elf/pldd.c (main): Rewrite to use struct
20125         scratch_buffer instead of extend_alloca.
20126         * elf/pldd-xx.c (find_maps): Likewise.
20127         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20128         <alloca.h>.
20129         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20130         scratch_buffer instead of extend_alloca.
20131         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20132         grp/compat-initgroups.c.
20133         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20134         Rewrite to use struct scratch_buffer instead of extend_alloca.
20135         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20136         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20138 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20140         * math/auto-libm-test-in: Add more tests of cbrt.
20141         * math/auto-libm-test-out: Regenerated.
20142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20144         * math/auto-libm-test-in: Add more tests of cabs.
20145         * math/auto-libm-test-out: Regenerated.
20146         * sysdeps/i386/fpu/libm-test-ulps: Update.
20147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20149         [BZ #18210]
20150         [BZ #18211]
20151         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20152         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20153         computations.
20154         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20155         clog10.
20156         * math/auto-libm-test-out: Regenerated.
20157         * sysdeps/i386/fpu/libm-test-ulps: Update.
20158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20160         [BZ #18197]
20161         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20162         (atan): Set FE_TONEAREST mode for internal computations.
20163         * math/auto-libm-test-in: Add more tests of atan.
20164         * math/auto-libm-test-out: Regenerated.
20166 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20168         [BZ #17930]
20169         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20171 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20173         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20175 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20177         * include/scratch_buffer.h: New file.
20178         * malloc/scratch_buffer_grow.c: Likewise.
20179         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20180         * malloc/scratch_buffer_set_array_size.c: Likewise.
20181         * malloc/tst-scratch_buffer.c: Likewise.
20182         * malloc/Makefile (routines): Add scratch_buffer_grow.
20183         (tests): Add test case.
20184         * malloc/Versions (GLIBC_PRIVATE): Export
20185         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20186         __libc_scratch_buffer_set_array_size.
20188 2015-04-06  Richard Henderson  <rth@redhat.com>
20190         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20191         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20193         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20194         unsigned int before printing.
20196 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20198         [BZ #17596]
20199         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20200         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20202 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20204         * include/libc-internal.h (libc_max_align_t): Define.
20206 2015-04-02  Andreas Schwab  <schwab@suse.de>
20208         [BZ #16850]
20209         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20211 2015-04-02  Mel Gorman  <mgorman@suse.de>
20213         [BZ #17195]
20214         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20215         as well as the main arena.
20217 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20219         [BZ #18185]
20220         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20221         sharing L2 cache to 2 for Silvermont/Knights Landing.
20223 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20225         [BZ #17711]
20226         * config.make.in (have-protected-data): New.
20227         * configure.ac: Check linker support for protected data symbol.
20228         * configure: Regenerated.
20229         * elf/Makefile (modules-names): Add tst-protected1moda and
20230         tst-protected1modb if $(have-protected-data) is yes.
20231         (tests): Add tst-protected1a and tst-protected1b if
20232         $(have-protected-data) is yes.
20233         ($(objpfx)tst-protected1a): New.
20234         ($(objpfx)tst-protected1b): Likewise.
20235         (tst-protected1modb.so-no-z-defs): Likewise.
20236         * elf/tst-protected1a.c: New file.
20237         * elf/tst-protected1b.c: Likewise.
20238         * elf/tst-protected1mod.h: Likewise.
20239         * elf/tst-protected1moda.c: Likewise.
20240         * elf/tst-protected1modb.c: Likewise.
20242 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20244         [BZ #17711]
20245         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20246         indicates it is called from do_lookup_x on relocation against
20247         protected data, skip the data definion in the executable from
20248         copy reloc.
20249         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20250         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20251         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20252         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20253         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20254         otherwise to 0.
20255         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20256         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20257         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20258         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20259         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20260         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20262 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20264         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20265         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20267 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20269         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20270         THREAD_SETMEM_NC.
20271         * sysdeps/x86_64/nptl/tls.h: Ditto.
20273 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20275         * dlfcn/tststatic.c (main): Converted to ...
20276         (do_test): ... this.
20277         (TEST_FUNCTION): New macro.
20278         Include test-skeleton.c.
20280 2015-03-26  Alan Modra  <amodra@gmail.com>
20282         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20283         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20284         zero for undefined weak.
20285         (elf_machine_plt_conflict): Similarly.
20287 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20289         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20290         atanh.
20291         * math/auto-libm-test-out: Regenerated.
20292         * sysdeps/i386/fpu/libm-test-ulps: Update.
20293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20295         * math/auto-libm-test-in: Add another test of asin.
20296         * math/auto-libm-test-out: Regenerated.
20297         * sysdeps/i386/fpu/libm-test-ulps: Update.
20298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20300         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20301         Remove macro.
20302         (LLL_EBX_REG): Likewise.
20303         (LLL_ENTER_KERNEL): Likewise.
20305         * math/auto-libm-test-in: Add more tests of asin.
20306         * math/auto-libm-test-out: Regenerated.
20307         * sysdeps/i386/fpu/libm-test-ulps: Update.
20308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20310         [BZ #18138]
20311         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20312         libc_do_syscall_args): New structure.
20313         (INTERNAL_SYSCALL_MAIN_0): New macro.
20314         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20315         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20316         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20317         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20318         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20319         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20320         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20321         Replace conditional definitions by conditional definitions of ....
20322         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20323         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20324         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20325         (libpthread-sysdep_routines): Add libc-do-syscall.
20326         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20327         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20328         to __NR_futex not 240.
20330 2015-03-25  Alan Modra  <amodra@gmail.com>
20332         * NEWS: Advertise TLS optimization.
20333         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20334         (DT_PPC_NUM): Increment.
20335         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20336         (CHECK_STATIC_TLS): Use here.
20337         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20338         TLS descriptors.
20339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20340         * sysdeps/powerpc/dl-tls.c: New file.
20341         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20342         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20343         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20344         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20349 2015-03-25  Alan Modra  <amodra@gmail.com>
20351         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20352         for overlapping .opd entries" to "support...".
20353         * sysdeps/powerpc/powerpc64/configure: Regenerate
20355 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20357         * math/auto-libm-test-in: Add more tests of acos.
20358         * math/auto-libm-test-out: Regenerated.
20359         * sysdeps/i386/fpu/libm-test-ulps: Update.
20360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20362         * math/auto-libm-test-in: Add more tests of expm1.
20363         * math/auto-libm-test-out: Regenerated.
20364         * sysdeps/i386/fpu/libm-test-ulps: Update.
20365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20367 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20369         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20370         * math/auto-libm-test-out: Regenerated.
20371         * sysdeps/i386/fpu/libm-test-ulps: Update.
20372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20374         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20377         * math/auto-libm-test-in: Add more tests of log2.
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 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20384         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20385         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20386         _IO_IS_APPENDING bit in READ_WRITE instead.
20388 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20390         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20391         (__determine_cpumask_size): Replace extend_alloca with a
20392         variable-length array.  Do not treat res == 0 as an error.
20394 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20396         [BZ #18100]
20397         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20398         and integer overflow.
20399         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20400         (main): Add integer overflow tests.
20401         * manual/pattern.texi (Calling Wordexp): Document additional use
20402         for WRDE_SYNTAX.
20404 2015-03-23  Alan Modra  <amodra@gmail.com>
20406         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20407         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20408         and false branch of conditional.
20409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20410         Likewise.
20412 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20414         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20415         libc-modules.h
20416         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20417         unused declaration of _hurd_intr_rpc_msg_in_trap.
20418         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20419         defined instead of whether it is non-zero.
20420         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20421         input constraint instead of both input and output constraint.  Use ecx
20422         clobber instead of %ecx.
20423         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20424         mutex_unlock): Use a statement expression instead of an expression list.
20425         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20426         type to vm_size_t instead of vm_address_t.
20427         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20428         defined instead of whether it is non-zero.
20429         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20430         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20431         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20432         comparisons with mapaddr.
20433         * nscd/nscd-client.h: Include <time.h>.
20434         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20435         9th parameter to __vm_region instead of int.
20436         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20437         * scripts/check-local-headers.sh (exclude): Add device/,
20438         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20439         cthreads.h.
20441 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20443         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20444         to account for alignment padding.
20445         * sysdeps/arm/memmove.S: Likewise.
20447 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20449         * sysdeps/unix/sysv/linux/generic/README: New file.
20451 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20453         [BZ #18138]
20454         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20455         (futex_abstimed_wait)
20456         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20457         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20458         of lll_futex_timed_wait.
20460 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20462         [BZ #17542]
20463         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20465 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20467         [BZ #17090]
20468         [BZ #17620]
20469         [BZ #17621]
20470         [BZ #17628]
20471         * NEWS: Update.
20472         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20473         entries with Static TLS too.  Skip entries past the end of the
20474         allocated DTV, from Alan Modra.
20475         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20476         Static TLS DTV entry set up from...
20477         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20478         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20479         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20480         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20481         for Static TLS.
20482         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20483         that the slot we find is associated with the given map before
20484         using its generation count.
20485         * nptl_db/db_info.c: Include ldsodefs.h.
20486         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20487         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20488         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20489         (link_map::l_tls_offset): New struct field.
20490         (dtv_t::counter): Likewise.
20491         (rtld_global): New struct.
20492         (_rtld_global): New rtld variable.
20493         (dl_tls_dtv_slotinfo_list): New rtld global field.
20494         (dtv_slotinfo_list): New struct.
20495         (dtv_slotinfo): Likewise.
20496         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20497         (td_lookup): Rename to...
20498         (td_mod_lookup): ... this.  Use new mod parameter instead of
20499         LIBPTHREAD_SO.
20500         * nptl_db/td_thr_tlsbase.c: Include link.h.
20501         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20502         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20503         addresses even if the DTV is out of date or missing them.
20504         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20505         index zero-length arrays.
20506         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20507         (td_lookup): Make it a macro implemented in terms of...
20508         (td_mod_lookup): ... this declaration.
20509         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20510         (DB_MAIN_VARIABLE): Likewise.
20512 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20514         [BZ #18134]
20515         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20517 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20519         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20521 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20523         [BZ #18128]
20524         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20525         (atomic_add, atomic_increment_and_test)
20526         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20528 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20530         * stdlib/setenv.c (__add_to_environ):
20531         Dump core quickly if setenv (..., NULL, ...) is called.
20533 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20535         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20536         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20537         all the necessary asm magic in one place.
20538         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20539         using those.
20541 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20543         [BZ #14906]
20544         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20545         traced file mtime. Use consistent log message.
20546         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20547         (register_traced_file): Call install_watches. Always set mtime.
20548         (invalidate_cache): Iterate over all trace files. Call install_watches.
20549         (inotify_check_files): Don't inline. Handle watching parent
20550         directories and configuration file movement in and out.
20551         (handle_inotify_events): New function.
20552         (main_loop_poll): Call handle_inotify_events.
20553         (main_loop_epoll): Likewise.
20554         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20555         (struct traced_file): Use array of inotify fds. Add parent directory,
20556         and basename.
20557         (struct database_dyn): Remove unused file_mtime.
20558         (init_traced_file): New inline function.
20559         (define_traced_file): New macro.
20560         * nss/nss_db/db-init.c: Use define_traced_file.
20561         (_nss_db_init): Use init_traced_file.
20562         * nss/nss_files/files-init.c: Use define_traced_file.
20563         (_nss_files_init): Use init_traced_file.
20565 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20567         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20568         [_LIBC]: Do not include <stdlib.h>.
20569         [!_LIBC] (abort): Remove declaration.
20570         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20571         _FP_STATIC_ASSERT instead of conditionally calling abort.
20572         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20573         (_FP_EXTEND_CNAN): Likewise.
20574         (FP_TRUNC): Likewise.
20575         (__FP_CLZ): Likewise.
20576         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20578 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20580         * manual/string.texi (XPG basename): Fix prototype.
20582 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20584         [BZ #18080]
20585         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20586         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20587         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20588         (__setcontext): Likewise.
20589         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20590         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20591         Call rt_sigprocmask syscall one time to set new signal mask
20592         and retrieve the current signal mask instead of two calls.
20593         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20594         (__swapcontext): Likewise.
20595         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20596         * stdlib/tst-setcontext2.c: New file.
20598 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20600         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20602 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20604         [BZ #18093]
20605         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20606         the wrong size.
20608 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20610         [BZ #18043]
20611         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20613 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20615         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20616         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20617         Remove define.
20618         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20619         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20620         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20621         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20622         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20623         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20624         define.
20625         * nptl_db/td_symbol_list.c (td_lookup): Remove
20626         HAVE_ASM_GLOBAL_DOT_NAME code.
20627         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20628         HAVE_ASM_GLOBAL_DOT_NAME check.
20629         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20630         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20631         (DOT_LABEL): Remove define.
20632         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20633         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20634         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20635         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20636         (__TLS_GET_ADDR): Likewise.
20637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20638         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20640 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20642         [BZ #18111]
20643         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20644         (_FPU_SETCW): Initialize cw from fpsr before storing.
20645         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20646         (fesetexceptflag): Rewrite using fpu_control.h.
20647         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20649 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20651         [BZ #18110]
20652         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20653         asms.
20654         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20656 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20658         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20659         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20660         abort.
20661         (_FP_FMA): Likewise.
20662         (_FP_DIV): Likewise.
20664 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20666         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20667         with 0 in that case.
20668         * Makefile (summarize-tests): New canned sequence, factored out of
20669         commands for targets tests and xtests.  Display summary lines that
20670         don't start with PASS: or XFAIL: rather than ones that do start with
20671         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20672         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20673         do start with ERROR: or FAIL:.
20674         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20675         (except for [$(build-shared) = yes]).
20676         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20677         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20678         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20679         * nptl/Makefile: Revert 2015-03-04 changes.
20680         [$(CXX) empty] (tests-unsupported): New variable.
20681         * debug/Makefile: Likewise.
20683         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20684         gnulib file.  Replace __attribute with __attribute__ throughout.
20686 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20688         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20690 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20692         [BZ #18104]
20693         * math/auto-libm-test-in: Add another test of pow.
20694         * math/auto-libm-test-out: Regenerated.
20696 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20698         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20699         $(config-cflags-nofma).
20701 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20703         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20704         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20705         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20706         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20707         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20708         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20709         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20710         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20711         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20712         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20713         Add comment on closing #endif.
20715 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20717         * posix/wordexp.c (CHAR_IN_SET): New macro.
20718         (parse_param): Use it.
20720 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20722         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20724 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20726         [BZ #18043]
20727         * posix/wordexp.c (parse_param): Fix buffer overflow.
20728         * posix/wordexp-test.c (test_case): Add test case.
20730 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20732         [BZ #18042]
20733         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20734         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20736 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20738         [BZ #18043]
20739         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20740         (do_bz18043): Delete.
20741         (at_page_end): New.
20742         (testit): Refactor to have words at the edge of unreadable page.
20744 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20746         [BZ #16734]
20747         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20748         Cleanup read-only streams as well.
20749         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20751 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20753         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20754         <bits/libc-lockP.h>
20756 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20758         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20759         on [__KERNEL__].
20760         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20761         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20762         * soft-fp/op-common.h (_FP_DECL): Likewise.
20764 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20766         * elf/ifuncdep2.c (global): Replace
20767         __attribute__((visibility("protected"))) with
20768         asm (".protected global").
20769         * elf/ifuncmod1.c (global): Likewise.
20770         * elf/ifuncmod5.c (global): Likewise.
20772 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20774         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20775         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20777 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20779         * manual/install.texi (Configuring and compiling):
20780         Document test-wrapper-env-only.
20781         * INSTALL: Regenerated.
20783 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20785         [BZ #18043]
20786         * posix/wordexp.c (parse_param): Fix buffer overflow.
20787         * posix/wordexp-test.c (do_bz18043): Add test case.
20789 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20791         * time/tst-strptime2.c (do_test): Ensure failing tests are
20792         reported correctly.
20793         * time/tst-strptime3.c (do_test): Likewise.
20795 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20797         Fix aio_error thread-safety.
20798         * sysdeps/pthread/aio_error.c: New file
20799         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20800         synchronization.
20802 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20804         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20805         (group_number, vfprintf): Use it.
20806         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20807         (JUMP, REF): Use it.
20808         (WORK_BUFFER_SIZE): New enum constant.
20809         (process_arg, vfprintf): Use it.
20811 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20813         * manual/errno.texi (Error Messages): Complete example function
20814         by adding missing #define.
20815         (program_invocation_name): Add statement indicating GNU
20816         extension and reference which header file declares the variable.
20817         (program_invocation_short_name): Likewise.
20819 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20821         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20822         compatibility note.
20824 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20826         * Makeconfig (test-wrapper-env-only): New variable.
20827         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20828         then use that with $(test-wrapper-env-only) rather than using
20829         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20831 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20833         [BZ #18082]
20834         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20835         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20836         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20837         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20838         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20839         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20840         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20841         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20842         Likewise.
20843         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20844         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20845         Likewise.
20846         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20847         Likewise.
20848         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20849         Likewise.
20850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20851         Likewise.
20852         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20853         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20854         Likewise.
20855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20856         Likewise.
20857         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20858         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20860 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20862         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20863         (ETH_ALEN): New macro.
20864         (struct ether_addr): Use it for length of ether_addr_octet.
20866         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20867         (setdb): Don't call __nss_configure_lookup for "rpc".
20868         (do_test): Don't call test_rpc.
20869         (output_rpcent, test_rpc): Functions moved ...
20870         * sunrpc/test-rpcent.c: ... to this new file.
20871         * sunrpc/Makefile (tests): Add it.
20873         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20874         __xpg_sigpause.
20875         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20876         * nptl/tst-signal6.c: Likewise.
20877         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20878         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20880         * configure.ac (libc_cv_cxx_link_ok): New check.
20881         Reset CXX to empty if it fails to link.
20882         * configure: Regenerated.
20883         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20884         bug-atexit3-lib only if $(CXX) is nonempty.
20885         * nptl/Makefile (tests): Likewise for tst-cancel24.
20886         (tests, tests-static): Likewise for tst-cancel24-static.
20887         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20888         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20889         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20890         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20892 2015-03-04  Andreas Schwab  <schwab@suse.de>
20894         [BZ #17631]
20895         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20896         for non-GCC compilers.
20897         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20898         Likewise.
20900 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20902         [BZ #17776]
20903         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20904         integer before bitwise and assembly operations.
20905         (feclearexcept): Likewise.
20906         * math/test-fenvinline.c: New file.
20907         * math/Makefile: Add test-fenvinline test.
20909 2015-03-03  Alan Modra  <amodra@gmail.com>
20911         [BZ #16512]
20912         * scripts/localplt.awk: Strip off symbol version.
20913         * NEWS: Mention bug fix.
20915 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20917         * sysdeps/pthread/timer_routines.c
20918         (timer_free_list, thread_free_list, thread_active_list): Make static.
20920 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20922         [BZ #17779]
20923         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20924         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20925         Undefine.
20926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20927         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20928         Likewise.
20929         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20930         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20931         Likewise.
20933 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20935         [BZ #18036]
20936         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20937         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20939 2015-03-02  Andreas Schwab  <schwab@suse.de>
20941         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20942         variable name.
20944 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20946         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20947         Return error status.
20949 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20951         [BZ #15969]
20952         * locale/findlocale.c (_nl_find_locale): Introduce const
20953         version of loc_name and drop unsafe type casts.
20955 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20957         * dlfcn/tststatic2.c (main): Converted to ...
20958         (do_test): ... this.
20959         (TEST_FUNCTION): New macro.
20960         Include test-skeleton.c.
20962 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20964         [BZ #17711]
20965         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20966         (tests-pie): Add vismain.
20967         (CFLAGS-vismain.c): New.
20968         * elf/vismain.c: Add comments for PIE requirement.
20970 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20972         [BZ #18046]
20973         [BZ #18047]
20974         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20975         0x1p-56L as threshold for just returning the argument.
20976         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20977         0x1p-32L as threshold for just returning the argument.
20978         * math/auto-libm-test-in: Add more tests of atanh.
20979         * math/auto-libm-test-out: Regenerated.
20980         * sysdeps/i386/fpu/libm-test-ulps: Update.
20981         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20983 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20985         * string/bcopy.c (bcopy): Call memmove for performance.
20987 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20989         * string/bzero.c (__bzero): Call memset for performance.
20991 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20993         [BZ #18068]
20994         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20995         to 00100000.
20997 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20999         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21001 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21003         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21004         (__kernel_standard): Use CSTR macro when setting exc.name.
21005         * sysdeps/ieee754/Makefile [$(subdir) = math]
21006         (CFLAGS-k_standard.c): Remove variable.
21008         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21009         setting p and q from "else if" to "else".
21010         (qzero): Likewise.
21011         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21012         (qone): Likewise.
21013         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21014         (qzerof): Likewise.
21015         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21016         (qonef): Likewise.
21017         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21018         (qzero): Likewise.
21019         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21020         (qone): Likewise.
21022         [BZ #18038]
21023         [BZ #18039]
21024         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21025         return pi/2 for arguments below 0x1p-113L.
21026         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21027         return pi/2 for arguments below 0x1p-106L.
21028         * math/auto-libm-test-in: Add more tests of acos.
21029         * math/auto-libm-test-out: Regenerated.
21031         [BZ #16351]
21032         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21033         (MO): New macro.
21034         (__ieee754_asin): Force underflow exception for results with small
21035         absolute value.
21036         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21037         (MO): New macro.
21038         (__ieee754_asinf): Force underflow exception for results with
21039         small absolute value.
21040         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21041         (__ieee754_asin): Force underflow exception for results with small
21042         absolute value.
21043         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21044         (__ieee754_asinf): Force underflow exception for results with
21045         small absolute value.
21046         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21047         (__ieee754_asinl): Force underflow exception for results with
21048         small absolute value.
21049         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21050         (__ieee754_asinl): Force underflow exception for results with
21051         small absolute value.
21052         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21053         (__ieee754_asinl): Force underflow exception for results with
21054         small absolute value.
21055         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21056         Include <math.h>.
21057         * math/auto-libm-test-in: Do not mark underflow exceptions as
21058         possibly missing for bug 16351.
21059         * math/auto-libm-test-out: Regenerated.
21061         [BZ #18030]
21062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21063         of power of 2 down when low part has opposite sign.
21064         * math/libm-test.inc (logb_test_data): Add more tests.
21066 2015-02-26  Andreas Schwab  <schwab@suse.de>
21068         [BZ #18032]
21069         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21070         over collating symbol inside a bracket expression.  Minor cleanup.
21071         * posix/tst-fnmatch3.c (do_test): Add test case.
21073 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #18029]
21076         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21077         Adjust exponent of power of 2 down when low part has opposite
21078         sign.
21079         * math/libm-test.inc (ilogb_test_data): Add more tests.
21081 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21083         [BZ #15969]
21084         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21085         the previous change.
21087         [BZ #15969]
21088         * locale/findlocale.c (_nl_find_locale): Retry archive search
21089         after alias expansion.
21091 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21093         * iconv/tst-iconv3.c (main): Converted to ...
21094         (do_test): ... this.
21095         (TEST_FUNCTION): New macro.
21096         Include test-skeleton.c.
21098         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21099         (convert): Make function static.
21100         (test_unalign): Likewise.  Add const to argument pointee types.
21101         (main): Replace with static function do_test.
21102         Print "Succeeded." only if RET is zero.
21103         (TEST_FUNCTION): New macro.
21104         Include test-skeleton.c.
21106         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21107         returns a null pointer.
21109 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21111         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21112         to __memcpy_ppc only for static builds.
21114 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21116         [BZ #18020]
21117         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21118         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21119         * math/auto-libm-test-in: Add more tests of asinh.
21120         * math/auto-libm-test-out: Regenerated.
21121         * sysdeps/i386/fpu/libm-test-ulps: Update.
21122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21124 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21126         [BZ #15850]
21127         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21128         and ip6_mtuinfo definitions here.
21129         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21130         in this define too.  Update comment.
21132 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21134         * elf/sprof.c (load_shobj): Tweak error message to match others.
21136 2015-02-24  Kevin Easton  <kevin@guarana.org>
21138         [BZ #16145] (partial fix)
21139         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21140         to reduce lock contention.
21142 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21144         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21145         (struct timex): Update time comment.
21146         (ADJ_SETOFFSET): Define.
21148 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21150         [BZ #18019]
21151         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21152         2**56 not 2**28 as threshold for log (2x) formula.
21153         * math/auto-libm-test-in: Add more tests of acosh.
21154         * math/auto-libm-test-out: Regenerated.
21155         * sysdeps/i386/fpu/libm-test-ulps: Update.
21156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21158 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21160         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21161         parenthesis around the buf assignment.
21162         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21164 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21166         [BZ #16783]
21167         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21168         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21169         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21170         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21171         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21172         * math/libm-test.inc (scalb_test_data): Add more tests.
21174 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21176         [BZ #17916]
21177         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21178         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21180 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21182         [BZ #17523]
21183         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21184         * io/bits/fcntl2.h (open): Use it.
21185         (openat): Likewise.
21186         * io/open.c (__libc_open): Likewise.
21187         * io/open64.c (__libc_open64): Likewise.
21188         * io/open64_2.c (__open64_2): Likewise.
21189         * io/open_2.c (__open_2): Likewise.
21190         * io/openat.c (__openat): Likewise.
21191         * io/openat64.c (__openat64): Likewise.
21192         * io/openat64_2.c (__openat64_2): Likewise.
21193         * io/openat_2.c (__openat_2): Likewise.
21194         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21195         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21196         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21197         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21198         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21199         (__open_nocancel): Likewise.
21200         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21201         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21202         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21204 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21206         [BZ #14841]
21207         * resolv/gethnamaddr.c (getanswer): Skip logging if
21208         RES_USE_DNSSEC is set.
21209         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21211 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21213         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21215 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21217         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21218         201304L, for Unicode 7.
21220 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21222         [BZ #17836]
21223         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21224         shared library.  Add gmon-start.os otherwise.
21225         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21226         $(objpfx)gmon-start.os if builing shared library.
21227         ($(objpfx)g$(static-start-installed-name)): Likewise.
21229 2015-02-23  Andreas Schwab  <schwab@suse.de>
21231         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21233 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21235         [BZ #17269]
21236         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21237         (enlarge_userbuf): Likewise.
21239 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21241         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21242         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21243         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21244         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21246 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21248         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21249         expression inside statement expression.
21251 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21253         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21254         <sysdeps/nptl/lowlevellock.h> and remove macros and
21255         functions that are now defined there.
21256         (SYS_futex): Remove.
21257         (lll_compare_and_swap): Remove.
21258         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21260 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21262         [BZ #17999]
21263         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21264         instead of scandirat.
21265         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21266         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21267         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21268         __scandirat.
21269         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21270         (__scandirat): Declare.  Use libc_hidden_proto.
21271         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21272         Remove variable.
21273         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21275 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21277         [BZ #15319]
21278         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21279         (MO): New macro.
21280         (__ieee754_atan2): For results with small absolute value, force
21281         underflow exception and remove excess range and precision from
21282         return value.
21283         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21284         (MO): New macro.
21285         (__ieee754_atan2f): For results with small absolute value, force
21286         underflow exception and remove excess range and precision from
21287         return value.
21288         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21289         (MO): New macro.
21290         (__atan): For results with small absolute value, force underflow
21291         exception and remove excess range and precision from return value.
21292         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21293         (MO): New macro.
21294         (__atanf): For results with small absolute value, force underflow
21295         exception and remove excess range and precision from return value.
21296         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21297         <math.h>.
21298         (__ieee754_atan2): Force underflow exception for results with
21299         small absolute value.
21300         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21301         <math_private.h>.
21302         (atan): Force underflow exception for results with small absolute
21303         value.
21304         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21305         (__atanf): Force underflow exception for results with small
21306         absolute value.
21307         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21308         <math.h>.
21309         (__atanl): Force underflow exception for results with small
21310         absolute value.
21311         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21312         (__atanl): Force underflow exception for results with small
21313         absolute value.
21314         * sysdeps/x86/fpu/bits/mathinline.h
21315         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21316         (__ieee754_atan2): Only define inline for long double.
21317         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21318         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21319         * math/auto-libm-test-in: Do not mark underflow exceptions as
21320         possibly missing for bug 15319.  Add more tests of atan2.
21321         * math/auto-libm-test-out: Regenerated.
21322         * math/libm-test.inc (casin_test_data): Do not mark underflow
21323         exceptions as possibly missing for bug 15319.
21324         (casinh_test_data): Likewise.
21325         * sysdeps/i386/fpu/libm-test-ulps: Update.
21327 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21329         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21330         * sysdeps/mips/bits/endian.h: Fix comments.
21332 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21334         [BZ #17996]
21335         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21336         (hdestroy_r): Likewise.
21337         (hsearch_r): Likewise.
21338         (__hcreate_r): Declare and use libc_hidden_proto.
21339         (__hdestroy_r): Likewise.
21340         (__hsearch_r): Likewise.
21341         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21342         (hcreate): Call __hcreate_r instead of hcreate_r.
21343         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21344         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21345         as weak alias of __hcreate_r.
21346         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21347         __hdestroy_r.
21348         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21349         __hsearch_r.
21350         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21351         Remove variable.
21352         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21353         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21354         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21355         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21357 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21359         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21360         arena_lock into a single arena_get.
21362 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21364         * dl-reloc.c: Inlucde libc-internal.h.
21365         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21366         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21367         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21368         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21369         (grow_heap): Likewise.
21370         * malloc/malloc.c: Include libc-internal.h.
21371         (do_check_malloc): Call powerof2.
21372         (sysmalloc): Use pagesize. Call ALIGN_UP.
21373         (systrim): Use pagesize.
21374         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21375         (__libc_valloc): Use pagesize.
21376         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21378 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21380         [BZ #17991]
21381         * include/sys/resource.h (__getrlimit64): Declare.  Use
21382         libc_hidden_proto.
21383         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21384         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21385         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21386         getrlimit64.
21387         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21388         __getrlimit64.
21389         [!getrlimit64] (getrlimit64): Define as weak alias of
21390         __getrlimit64.  Use libc_hidden_weak.
21391         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21392         using __getrlimit64 not __new_getrlimit64.
21393         (__GI_getrlimit64): Likewise.
21394         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21395         Likewise.
21396         (__GI_getrlimit64): Likewise.
21397         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21399         (getrlimit): Add __getrlimit64 alias.
21400         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21401         Likewise.
21402         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21403         Remove variable.
21404         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21405         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21407 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21409         * libio/fileops.c: Add missing sys/mman.h
21410         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21412 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21414         * manual/math.texi (Errors in Math Functions): Clarify goals
21415         regarding inexact and underflow exceptions.
21417 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21419         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21420         * sysdeps/mips/memset.S: Ditto.
21422 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21424         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21426 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21428         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21429         (__v1longjmp): Remove versioned symbol.
21430         (__v1siglongjmp): Remove alias and versioned symbol.
21431         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21432         (__v2siglongjmp): Likewise.
21434 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21436         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21438 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21440         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21442 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21444         [BZ #17987]
21445         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21446         zero result does not depend on the sign resulting from
21447         subtraction.
21448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21449         Likewise.
21450         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21451         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21452         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21453         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21454         * math/libm-test.inc (remquo_test_data): Add more tests.
21456 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21458         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21459         Problem reported by J William Piggott.
21461 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21463         [BZ #17978]
21464         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21465         products 4 * y and 2 * y where those would overflow.
21466         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21467         Likewise.
21468         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21469         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21470         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21471         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21472         * math/libm-test.inc (remquo_test_data): Add more tests.
21474         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21476         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21477         [defined _COMPILING_NEWLIB].
21478         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21479         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21481         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21482         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21484 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21486         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21487         acquired.
21489 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21491         [BZ #17792]
21492         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21493         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21494         HOST_STACK_END_ADDR): Likewise.
21496 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21498         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21499         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21500         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21502 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21504         * sysdeps/generic/c++-types.data: New file.
21505         * sysdeps/generic/ld.abilist: New file.
21506         * sysdeps/generic/libBrokenLocale.abilist: New file.
21507         * sysdeps/generic/libanl.abilist: New file.
21508         * sysdeps/generic/libc.abilist: New file.
21509         * sysdeps/generic/libcrypt.abilist: New file.
21510         * sysdeps/generic/libdl.abilist: New file.
21511         * sysdeps/generic/libm.abilist: New file.
21512         * sysdeps/generic/libpthread.abilist: New file.
21513         * sysdeps/generic/libresolv.abilist: New file.
21514         * sysdeps/generic/librt.abilist: New file.
21516 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21518         [BZ #17569]
21519         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21520         Compute absolute value of x as modified by fmod, not original
21521         value of x.
21522         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21523         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21524         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21525         RUN_TEST_ffI_f1_mod8.
21526         (remquo_test_data): Add more tests.
21528 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21530         * sysdeps/init_array/pt-crti.S: New file.
21532 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21534         [BZ #17967]
21535         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21536         __builtin_fmaf instead of relying on contraction of a * b + c.
21538 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21540         [BZ #17969]
21541         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21542         node.
21544 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21546         [BZ #17964]
21547         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21548         __builtin_fma instead of relying on contraction of a * b + c.
21550 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21552         * Makeconfig (ASFLAGS): Add -Werror=undef.
21553         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21554         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21555         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21557         * Makeconfig (after-link): New variable.
21558         (+link-pie, +link-pie-tests): Use it.
21559         (+link-static, +link-static-tests): Likewise.
21560         (+link, +link-tests): Likewise.
21561         * Makerules (build-module, build-module-asneeded): Likewise.
21562         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21563         Likewise.
21564         * elf/Makefile ($(objpfx)ld.so): Likewise.
21566 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21568         [BZ #17965]
21569         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21570         both struct timeval and struct timespec.
21572 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21574         [BZ #16560]
21575         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21576         and redefine.
21577         (__ieee754_exp2l): Do not multiply small fractional parts by
21578         M_LN2l.
21579         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21580         small argument.
21581         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21582         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21583         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21584         * math/auto-libm-test-in: Add more tests of exp2.
21585         * math/auto-libm-test-out: Regenerated.
21587 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21589         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21590         unaligned path.
21592 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21594         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21595         little endian.
21597 2015-02-12  Andreas Schwab  <schwab@suse.de>
21599         [BZ #15790]
21600         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21601         Filter out elision flags from value returned in kind.
21602         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21603         * nptl/tst-pthread-mutexattr.c: New file.
21605 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21607         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21608         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21609         into gnu-gnu, and update comment to refer to abi-tags.
21611 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21613         [BZ #15467]
21614         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21615         (__sincos): Set errno to EDOM for infinite argument.
21616         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21617         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21618         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21619         (__sincosl): Set errno to EDOM for infinite argument.
21620         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21621         (__sincosl): Set errno to EDOM for infinite argument.
21622         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21623         (__sincosl): Set errno to EDOM for infinite argument.
21624         * math/libm-test.inc (sincos_test_data): Test errno setting.
21626 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21628         * string/strxfrm_l.c: Remove #define STRCMP.
21629         * string/strcoll_l.c: Remove #define STRLEN.
21630         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21631         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21633 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21635         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21636         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21637         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21638         * sysdeps/mips/mips64/Makefile: ... here.
21639         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21640         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21641         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21642         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21643         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21644         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21645         * sysdeps/mips/mips64/n64/Implies: Likewise.
21647 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21649         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21650         <sys/time.h>, <string.h>, and <errno.h>.
21651         (dest_offset, dest_address, value, zero): Remove unused variables.
21652         (ldouble): Remove typedef.
21653         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21654         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21655         1).  Fix code style.
21656         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21657         (check): Function removed.
21658         (CHECK): New macro.
21659         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21660         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21661         Don't call set_sigaction_FP and remove_sigaction_FP here.
21662         (ldouble_test): Just use 'long double' as macro argument, no need for
21663         the 'ldouble' typedef.
21664         (do_test): Set up SIGFPE handler at start, using plain signal rather
21665         than sigaction.  Fix code style.
21667 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21669         [BZ #17949]
21670         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21671         jump label.
21673 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21675         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21676         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21678         * sysdeps/powerpc/configure.ac: Remove file.
21679         * sysdeps/powerpc/configure: Likewise.
21681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21682         [sysdep_routines]: Remove wordcopy-power6 object.
21683         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21684         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21685         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21686         (__memmove_ppc32): Likewise.
21687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21688         file.
21689         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21690         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21691         Remove preprocessor.
21693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21694         [sysdep_routines]: Remove wide chars objects.
21695         [wcsmbs]: New rule for wide char objects.
21697         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21698         Remove wordcopy-power6 obejct.
21699         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21700         Use local call for wordcopy and memcpy symbols.
21701         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21703         implementation for loader.
21704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21707         Remove wordcopy-power7 object.
21708         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21709         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21710         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21711         (_wordcopy_fwd_dest_aligned): Likewise.
21712         (_wordcopy_bwd_aligned): Likewise.
21713         (_wordcopy_bwd_dest_aligned): Likewise.
21715         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21716         Rewrite to call __memmove_ppc instead of include default
21717         implementation.
21719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21720         Remove wide chars objects.
21721         [wcsmbs]: New rule for wide char objects.
21723 2015-02-09  Andreas Schwab  <schwab@suse.de>
21725         [BZ #17912]
21726         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21727         in terms of __O_DIRECTORY.
21729 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21731         * time/getdate.c: Include <stdbool.h>.
21732         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21733         call PTR_MANGLE.
21734         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21735         PTR_DEMANGLE.
21737 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21739         Add ersatz _Static_assert on older C hosts
21740         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21741         pre-C11 C platform that is not known to support _Static_assert.
21743 2015-02-07  Richard Braun  <rbraun@sceen.net>
21745         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21746         sigstate.
21747         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21749 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21751         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21752         priority against unexistent AIO_PRIO_DELTA_MAX.
21753         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21754         instead of int.
21755         * misc/fchflags.c (fchflags): Likewise.
21756         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21757         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21758         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21759         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21760         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21761         Declare macros.
21762         [__USE_MISC] (chflags, fchflags): Declare functions.
21763         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21764         EINVAL when nfds is greater than FD_SETSIZE.
21765         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21766         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21767         45.
21768         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21769         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21770         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21771         MACH_RCV_TIMED_OUT.
21772         * hurd/hurd/signal.h (_hurd_self_sigstate,
21773         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21774         Explicit casts from void *.
21775         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21776         * abi-tags: Rename gnu-gnu os into gnu.
21778         [BZ #4719]
21779         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21780         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21781         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21782         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21783         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21784         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21786         [BZ #17944]
21787         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21788         duplicates ADDR->sun_path with sockaddr LEN limitation.
21789         * sysdeps/mach/hurd/connect.c: Include <string.h>
21790         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21791         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21792         * sysdeps/mach/hurd/sendto.c: Likewise.
21793         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21794         implementing it by hand.
21796 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21798         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21799         Use sfi_breg on ldr.
21800         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21801         Likewise.
21803         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21804         it's defined.
21805         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21806         Test SIGSETXID only if it's defined.
21808         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21810         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21811         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21813         * nptl/tst-align2.c: Moved ...
21814         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21815         * nptl/Makefile (tests): Remove tst-align2.
21816         * sysdeps/unix/sysv/linux/Makefile
21817         [$(subdir) = nptl] (tests): Add tst-align-clone.
21818         * nptl/tst-getpid1.c: Moved ...
21819         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21820         * nptl/tst-getpid2.c: Moved ...
21821         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21822         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21823         * sysdeps/unix/sysv/linux/Makefile
21824         [$(subdir) = nptl] (tests): ... here.
21825         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21826         * sysdeps/unix/sysv/linux/Makefile
21827         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21829         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21830         Drop trailing \n from perror argument.  Use return rather than exit.
21832         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21833         on [SA_SIGINFO].
21834         * nptl/tst-cancel21.c (do_test): Likewise.
21835         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21836         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21837         [!SA_SIGINFO]: Make it a stub test.
21839         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21840         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21842         * posix/tst-getlogin.c: Move to ...
21843         * login/tst-getlogin.c: ... here.
21844         * posix/Makefile (tests): Move tst-getlogin to ...
21845         * login/Makefile (tests): ... here.
21847         * libio/tst-atime.c (do_test): Move local variables SV and E
21848         inside [ST_NOATIME] conditional.
21850         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21852         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21854         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21855         (wait_code): New function replaces macro.
21856         Call nanosleep rather than syscall.
21858         * nptl/pt-system.c: Rewritten.  Put everything under
21859         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21860         Use IFUNC to redirect when possible.
21862         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21863         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21864         Use IFUNC to redirect when possible.
21866         * nptl/pt-fork.c: Rewritten.  Put everything under
21867         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21868         Use IFUNC to redirect when possible.
21869         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21871         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21872         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21873         unconditionally nowadays.  This included the only reference to
21874         __vdso_clock_gettime that appears outside libc proper.
21875         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21876         Remove version set (containing only __vdso_clock_gettime).
21877         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21878         Add attribute_hidden.
21879         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21880         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21881         libc_hidden_data_def.
21882         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21883         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21885         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21886         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21887         setrpcent, and getrpcport to ...
21888         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21889         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21890         getrpcbynumber_r, and getrpcent_r to ...
21891         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21892         * inet/getrpcbyname.c: Moved ...
21893         * sunrpc/getrpcbyname.c: ... here.
21894         * inet/getrpcbyname_r.c: Moved ...
21895         * sunrpc/getrpcbyname_r.c: ... here.
21896         * inet/getrpcbynumber.c: Moved ...
21897         * sunrpc/getrpcbynumber.c: ... here.
21898         * inet/getrpcbynumber_r.c: Moved ...
21899         * sunrpc/getrpcbynumber_r.c: ... here.
21900         * inet/getrpcent.c: Moved ...
21901         * sunrpc/getrpcent.c: ... here.
21902         * inet/getrpcent_r.c: Moved ...
21903         * sunrpc/getrpcent_r.c: ... here.
21904         * inet/Makefile (routines): Move those to ...
21905         * sunrpc/Makefile (routines): ... here.
21906         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21907         the $(subdirs) list.
21908         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21909         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21910         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21911         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21913         * elf/Makefile (routines): Include $(all-dl-routines), not just
21914         $(dl-routines).
21915         (rtld-routines): Likewise.  Use = rather than :=.
21916         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21917         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21918         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21919         * sysdeps/arm/Makefile: Likewise.
21920         * sysdeps/i386/Makefile: Likewise.
21921         * sysdeps/x86_64/Makefile: Likewise.
21922         * sysdeps/hppa/Makefile [$(subdir) = elf]
21923         (sysdep_routines, sysdep-rtld-routines): Don't add
21924         $(sysdep-dl-routines) to these.
21925         * sysdeps/ia64/Makefile: Likewise.
21926         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21927         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21928         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21929         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21930         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21931         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21932         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21933         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21934         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21935         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21936         these; sysdep-dl-routines alone is enough.
21938 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21940         [BZ #17932]
21941         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21942         where multiplication results in zero and third argument is finite
21943         and nonzero.
21944         * math/auto-libm-test-in: Add more tests of fma.
21945         * math/auto-libm-test-out: Regenerated.
21947         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21948         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21949         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21950         (_FP_CMP_EQ): Likewise.
21951         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21953         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21954         extra argument CHECK_NAN.  Redefine as wrapper around
21955         _FP_EXTEND_CNAN.
21957 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21959         * version.h (RELEASE): Set to "stable".
21960         (VERSION): Set to "2.21"
21961         * include/features.h (__GLIBC_MINOR__): Set to 21.
21963         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21965 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21966             Paul Eggert  <eggert@cs.ucla.edu>
21968         [BZ #16618]
21969         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21970         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21971         size in bytes. Store needed elements in wpmax. Use needed size
21972         in bytes for extend_alloca.
21974 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21976         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21977         binutls 2.25, and texinfo 5.2.
21978         * INSTALL: Regenerate.
21979         * sysdeps/nios2/configure: Regenerate.
21980         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21981         * manual/contrib.texi: Update.
21982         * po/be.po: Update.
21983         * po/bg.po: Update.
21984         * po/ca.po: Update.
21985         * po/cs.po: Update.
21986         * po/da.po: Update.
21987         * po/de.po: Update.
21988         * po/el.po: Update.
21989         * po/eo.po: Update.
21990         * po/es.po: Update.
21991         * po/fi.po: Update.
21992         * po/fr.po: Update.
21993         * po/gl.po: Update.
21994         * po/hr.po: Update.
21995         * po/hu.po: Update.
21996         * po/ia.po: Update.
21997         * po/id.po: Update.
21998         * po/it.po: Update.
21999         * po/ja.po: Update.
22000         * po/ko.po: Update.
22001         * po/lt.po: Update.
22002         * po/nb.po: Update.
22003         * po/nl.po: Update.
22004         * po/pl.po: Update.
22005         * po/pt_BR.po: Update.
22006         * po/ru.po: Update.
22007         * po/rw.po: Update.
22008         * po/sk.po: Update.
22009         * po/sl.po: Update.
22010         * po/sv.po: Update.
22011         * po/tr.po: Update.
22012         * po/uk.po: Update.
22013         * po/vi.po: Update.
22014         * po/zh_CN.po: Update.
22015         * po/zh_TW.po: Update.
22017         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22018         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22019         * sysdeps/hppa/dl-irel.h: Remove #warning.
22020         * sysdeps/hppa/entry.h: Provide prototype for
22021         __canonicalize_funcptr_for_compare and cast argument.
22022         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22023         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22024         * sysdeps/hppa/sotruss-lib.c: New file.
22025         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22026         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22027         (atomic_compare_and_exchange_bool_acq): Likewise.
22028         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22029         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22031         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22032         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22033         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22035 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22037         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22038         called function in non-PIC case.
22040 2015-01-31  David S. Miller  <davem@davemloft.net>
22042         * sysdeps/sparc/sparc32/bits/atomic.h
22043         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22044         unlock not after it.
22045         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22046         volatile register usage warnings from the compiler.
22048         * sysdeps/sparc/nptl/sem_init.c: Delete.
22049         * sysdeps/sparc/nptl/sem_post.c: Delete.
22050         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22051         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22052         * sysdeps/sparc/sparc32/sem_init.c: New file.
22053         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22054         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22055         padding explicitly initialized.
22056         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22057         padding for in-semaphore spinlock.
22058         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22059         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22060         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22061         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22062         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22063         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22064         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22065         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22066         version.
22067         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22068         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22070 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22072         [BZ #17801]
22073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22074         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22075         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22076         New.
22077         (index_AVX_Fast_Unaligned_Load): Likewise.
22078         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22079         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22080         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22081         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22082         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22083         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22084         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22085         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22086         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22088 2015-01-29  Andreas Schwab  <schwab@suse.de>
22090         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22092 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22094         [BZ #17892]
22095         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22097 2015-01-28  Martin Sebor  <msebor@redhat.com>
22099         * math/README.libm-test: Clarify. Add "How to read the test output."
22101 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22103         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22104         Define to 0.
22106 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22108         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22109         (__HAVE_64B_ATOMICS): Define to 0.
22111 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22113         [BZ #17885]
22114         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22115         value to set as new flag.
22117         [BZ #16576]
22118         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22119         and use _ARCH_PPCSQ instead.
22120         (__ieee754_sqrt): Likewise.
22121         (__ieee754_sqrtf): Likewise.
22122         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22123         _ARCH_PPCSQ is defined.
22124         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22125         fsqrt instruction.
22126         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22127         _ARCH_PPCSQ is defined.
22128         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22129         fsqrts instruction.
22130         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22132 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22134         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22135         bug (GCC BZ #64739).
22137 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22139         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22140         Mark _retval as used.
22141         (lll_futex_wake_unlock): Likewise.
22142         (lll_futex_timed_wait_requeue_pi): Likewise.
22144         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22145         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22146         register variables.
22148         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22149         libm_hidden_def.
22151         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22152         (__bswap_64): Mark as __always_inline.
22154 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22156         [BZ #15378]
22157         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22158         when none of the search directories exist.
22160 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22162         [BZ #17869]
22163         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22164         power8 in .machine directive.
22166         [BZ #17868]
22167         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22168         set dependency from opd value.
22170 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22173         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22174         architecture.
22176 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22178         [BZ #17870]
22179         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22180         with uint64_t.
22181         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22182         (uint64_t) 1.
22183         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22184         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22185         Replace 1UL with (uint64_t) 1.
22186         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22187         int with uint64_t.
22189 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22191         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22192         (if_freenameindex): Likewise.
22194         * resource/getrlimit64.c: Add missing libc_hidden_def.
22196 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22198         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22199         __label__.
22200         (_FP_FMA): Likewise.
22201         (_FP_TO_INT_ROUND): Likewise.
22202         (_FP_FROM_INT): Likewise.
22204 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22206         [BZ #16418]
22207         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22208         Make code racy and cancel safe.
22210 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22212         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22213         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22214         attribution.
22216         * pwd/tst-getpw.c: Rewrite.
22218         [BZ #17702]
22219         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22220         (modules-names): Add moddummy1 and moddummy2.
22221         ($(objpfx)tst-rec-dlopen): Define.
22222         * dlfcn/moddummy1.c: New file.
22223         * dlfcn/moddummy2.c: New file.
22224         * dlfcn/tst-rec-dlopen.c: New file.
22225         * elf/dl-cache.c (_dl_load_cache_lookup):
22226         Return char*. Copy result with alloca/strcpy/strdup.
22227         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22228         returns char*. Free cached. If not saving realname
22229         free cached.
22230         * elf/dl-open.c (dl_open_worker): Do not assert that
22231         _r_debug->r_state is RT_CONSISTENT.
22232         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22233         returns char*.
22235 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22236             Carlos O'Donell  <carlos@redhat.com>
22238         [BZ #12674]
22239         * nptl/sem_waitcommon.c: New file.
22240         * nptl/sem_wait.c: Include sem_waitcommon.c.
22241         (__sem_wait_cleanup, do_futex_wait): Remove.
22242         (__new_sem_wait): Adapt.
22243         (__new_sem_trywait): New function.
22244         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22245         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22246         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22247         (sem_timedwait): Adapt.
22248         * nptl/sem_post.c (__new_sem_post): Adapt.
22249         (futex_wake): New function.
22250         (__old_sem_post): Add release MO fence.
22251         * nptl/sem_open.c (sem_open): Adapt.
22252         * nptl/sem_init.c (__new_sem_init): Adapt.
22253         (futex_private_if_supported): New function.
22254         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22255         (__old_sem_getvalue): Add using previous code.
22256         * sysdeps/nptl/internaltypes.h: Adapt.
22257         * nptl/tst-sem13.c (do_test): Adapt.
22258         * nptl/tst-sem11.c (main): Adapt.
22259         * nptl/sem_trywait.c: Remove.
22260         * nptl/DESIGN-sem.txt: Remove.
22261         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22262         (gen-as-const-headers): Remove structsem.sym.
22263         * nptl/structsem.sym: Remove.
22264         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22265         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22266         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22267         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22268         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22269         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22270         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22271         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22272         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22273         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22274         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22275         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22276         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22277         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22278         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22279         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22280         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22281         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22282         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22283         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22284         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22285         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22287 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22289         * INSTALL: Regenerated.
22291         * po/libc.pot: Regenerated.
22293 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22294             Sandra Loosemore  <sandra@codesourcery.com>
22295             Andrew Jenner  <andrew@codesourcery.com>
22296             Joseph Myers  <joseph@codesourcery.com>
22297             Nathan Sidwell  <nathan@codesourcery.com>
22299         * NEWS: Mention new Nios II port.
22300         * sysdeps/nios2/Implies: New file.
22301         * sysdeps/nios2/Makefile: New file.
22302         * sysdeps/nios2/Subdirs: New file.
22303         * sysdeps/nios2/Versions: New file.
22304         * sysdeps/nios2/__longjmp.S: New file.
22305         * sysdeps/nios2/abort-instr.h: New file.
22306         * sysdeps/nios2/backtrace.c: New file.
22307         * sysdeps/nios2/bits/endian.h: New file.
22308         * sysdeps/nios2/bits/fenv.h: New file.
22309         * sysdeps/nios2/bits/link.h: New file.
22310         * sysdeps/nios2/bits/setjmp.h: New file.
22311         * sysdeps/nios2/bsd-_setjmp.S: New file.
22312         * sysdeps/nios2/bsd-setjmp.S: New file.
22313         * sysdeps/nios2/configure: New generated file.
22314         * sysdeps/nios2/configure.ac: New file.
22315         * sysdeps/nios2/crti.S: New file.
22316         * sysdeps/nios2/crtn.S: New file.
22317         * sysdeps/nios2/dl-init.c: New file.
22318         * sysdeps/nios2/dl-machine.h: New file.
22319         * sysdeps/nios2/dl-sysdep.h: New file.
22320         * sysdeps/nios2/dl-tls.h: New file.
22321         * sysdeps/nios2/dl-trampoline.S: New file.
22322         * sysdeps/nios2/gccframe.h: New file.
22323         * sysdeps/nios2/gmp-mparam.h: New file.
22324         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22325         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22326         * sysdeps/nios2/ldsodefs.h: New file.
22327         * sysdeps/nios2/libc-tls.c: New file.
22328         * sysdeps/nios2/libm-test-ulps: New file.
22329         * sysdeps/nios2/machine-gmon.h: New file.
22330         * sysdeps/nios2/math-tests.h: New file.
22331         * sysdeps/nios2/math_private.h: New file.
22332         * sysdeps/nios2/memusage.h: New file.
22333         * sysdeps/nios2/nptl/Makefile: New file.
22334         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22335         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22336         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22337         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22338         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22339         * sysdeps/nios2/nptl/tls.h: New file.
22340         * sysdeps/nios2/preconfigure: New file.
22341         * sysdeps/nios2/s_fma.c: New file.
22342         * sysdeps/nios2/s_fmaf.c: New file.
22343         * sysdeps/nios2/setjmp.S: New file.
22344         * sysdeps/nios2/sfp-machine.h: New file.
22345         * sysdeps/nios2/sotruss-lib.c: New file.
22346         * sysdeps/nios2/stackguard-macros.h: New file.
22347         * sysdeps/nios2/stackinfo.h: New file.
22348         * sysdeps/nios2/start.S: New file.
22349         * sysdeps/nios2/sysdep.h: New file.
22350         * sysdeps/nios2/tls-macros.h: New file.
22351         * sysdeps/nios2/tst-audit.h: New file.
22352         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22353         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22354         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22355         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22356         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22357         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22358         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22359         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22360         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22361         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22362         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22363         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22364         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22365         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22366         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22367         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22368         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22369         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22370         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22371         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22372         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22373         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22374         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22375         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22376         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22377         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22378         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22379         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22380         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22381         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22382         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22383         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22384         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22385         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22386         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22387         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22388         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22389         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22390         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22391         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22392         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22393         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22394         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22395         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22397 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22399         [BZ #17844]
22400         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22401         (getutent): Use weak_alias in non SHARED case
22402         and default_symbol_version in SHARED case.
22403         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22404         (getutent_r, pututline): Likewise.
22405         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22406         (getutid): Likewise.
22407         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22408         (getutid_r): Likewise.
22409         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22410         (getutline): Likewise.
22411         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22412         (getutline_r): Likewise.
22413         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22414         (updwtmp): Likewise.
22416 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22418         [BZ #17848]
22419         * sysdeps/s390/s390-32/memcmp.S
22420         (memcmp_g5): Rename to __memcmp_g5.
22421         * sysdeps/s390/s390-32/memcpy.S
22422         (memcpy_g5): Rename to __memcpy_g5.
22423         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22424         (memcpy_mvcle) Rename to __memcpy_mvcle.
22425         * sysdeps/s390/s390-32/memset.S
22426         (memset_g5): Rename to __memset_g5.
22427         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22428         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22429         and use prefixed functions.
22430         * sysdeps/s390/s390-32/multiarch/memcmp.S
22431         (memcmp_z196): Rename to __memcmp_z196.
22432         (memcmp_z10): Rename to __memcmp_z10.
22433         (memcmp): Set alias to __memcmp_g5.
22434         (bcmp): Set alias to __memcmp_g5.
22435         * sysdeps/s390/s390-32/multiarch/memcpy.S
22436         (memcpy_z196): Rename to __memcpy_z196.
22437         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22438         (memcpy_z10): Rename to __memcpy_z10.
22439         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22440         (memcpy): Set alias to __memcpy_g5.
22441         * sysdeps/s390/s390-32/multiarch/memset.S
22442         (memset_z196): Rename to __memset_z196.
22443         Jump to __memset_mvcle instead of memset_mvcle.
22444         (memset_z10): Rename to __memset_z10.
22445         Jump to __memset_mvcle instead of memset_mvcle.
22446         (memset_mvcle) Rename to __memset_mvcle.
22447         (memset): Set alias to __memset_g5.
22448         * sysdeps/s390/s390-64/memcmp.S
22449         (memcmp_z900): Rename to __memcmp_z900.
22450         * sysdeps/s390/s390-64/memcpy.S
22451         (memcpy_z900): Rename to __memcpy_z900.
22452         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22453         (memcpy_mvcle) Rename to __memcpy_mvcle.
22454         * sysdeps/s390/s390-64/memset.S
22455         (memset_z900): Rename to __memset_z900.
22456         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22457         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22458         and use prefixed functions.
22459         * sysdeps/s390/s390-64/multiarch/memcmp.S
22460         (memcmp_z196): Rename to __memcmp_z196.
22461         (memcmp_z10): Rename to __memcmp_z10.
22462         (memcmp): Set alias to __memcmp_z900.
22463         (bcmp): Set alias to __memcmp_z900.
22464         * sysdeps/s390/s390-64/multiarch/memcpy.S
22465         (memcpy_z196): Rename to __memcpy_z196.
22466         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22467         (memcpy_z10): Rename to __memcpy_z10.
22468         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22469         (memcpy): Set alias to __memcpy_z900.
22470         * sysdeps/s390/s390-64/multiarch/memset.S
22471         (memset_z196): Rename to __memset_z196.
22472         Jump to __memset_mvcle instead of memset_mvcle.
22473         (memset_z10): Rename to __memset_z10.
22474         Jump to __memset_mvcle instead of memset_mvcle.
22475         (memset_mvcle) Rename to __memset_mvcle.
22476         (memset): Set alias to __memset_z900.
22478 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22480         [BZ #17748]
22481         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22482         __fesetenv instead of fesetenv.
22484 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22486         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22487         macro.
22489 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22491         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22492         regression on LE.
22494         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22495         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22497         strncmp-power8 object.
22498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22499         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22500         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22501         * NEWS: Update.
22503 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22504             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22506         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22507         trailing byte check.
22509 2015-01-13  David S. Miller  <davem@davemloft.net>
22511         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22513 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22515         * login/logout.c (logout): Use memset rather than bzero.
22516         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22517         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22518         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22519         (_gethtbyaddr): Likewise.
22520         * locale/programs/simple-hash.c (bcopy): Macro removed.
22522 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22525         Add strcmp-power8 object.
22526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22527         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22528         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22529         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22530         __strcmp_power8 implementation.
22531         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22532         * NEWS: Update.
22534         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22535         Add strncpy-power8 and stpncpy-power8 objects.
22536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22537         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22538         implementations.
22539         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22540         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22541         __stpncpy_power8 implementation.
22542         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22543         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22544         __strncpy_power8 implementation.
22545         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22546         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22547         * NEWS: Update.
22549         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22550         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22551         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22553         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22554         strncat-power8 object.
22555         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22556         __strcat_power8 implementation.
22557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22558         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22559         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22560         optimized strcat for power8.
22562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22563         strcpy-power8 and stpcpy-power8 objects.
22564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22565         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22566         implementations.
22567         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22568         multiarch stpcpy implementation for POWER8.
22569         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22570         multiarch strcpy implementation for POWER8.
22571         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22572         __strcpy_power8 function.
22573         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22574         stpcpy for POWER8.
22575         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22576         strcpy for POWER8.
22577         * NEWS: Update.
22579 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22581         [BZ #16009]
22582         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22583         weights and rules. Use do_xfrm_cached if data fits in cache,
22584         do_xfrm otherwise.  Moved former main loop to...
22585         * (do_xfrm_cached): New function.
22586         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22587         find_idx, find_position and stack_push.
22588         * (find_idx): New function.
22589         * (find_position): Likewise.
22590         * localedata/sort-test.sh: Added test run for do_xfrm.
22591         * localedata/xfrm-test.c (main): Added command line option
22592         -nocache to run the test with strings that are too large for
22593         the STRXFRM cache.
22595 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22597         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22598         variable to lll_futex_wake call, not the value itself.
22600 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22602         [BZ #17803]
22603         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22604         twom64.  Adjust value to 0x1p-64L.
22605         (__scalblnl): Only return standard underflowing result for K <=
22606         -64 not K <= -63; adjust exponent for underflowing result by 64
22607         not 63.
22608         * math/libm-test.inc (scalbn_test_data): Add more tests.
22609         (scalbln_test_data): Likewise.
22611         [BZ #17834]
22612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22613         0x1p63L.
22614         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22615         not HX.
22616         * math/libm-test.inc (scalbn_test_data): Add more tests.
22617         (scalbln_test_data): Likewise.
22619 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22620             Stefani Seibold  <stefani@seibold.net>
22622         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22623         (sysdep_routines): Add dl-vdso here, ...
22624         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22625         (sysdep_routines): ... not here.
22626         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22627         fallback when vDSO is not presented.
22628         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22629         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22630         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22631         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22632         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22633         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22634         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22635         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22636         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22637         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22638         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22639         fallback configurable symbol when vDSO is not available.
22640         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22641         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22642         be able to redefine fallback symbol when vDSO is not available.
22643         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22644         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22646 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22648         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22649         (TLS_INIT_TP): Add tm_capable initialization.
22650         (TLS_DEFINE_INIT_TP): Likewise.
22651         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22652         TCB.
22653         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22654         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22655         calculation.
22656         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22657         transactoion is lock elision is built and TCB tm_capable is set.
22658         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22660         (INTERNAL_SYSCALL_NCS): Likewise.
22661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22662         (INTERNAL_SYSCALL_NCS): Likewise.
22663         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22665         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22666         for powerpc.
22667         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22668         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22669         and remove it for 32 bits case.
22670         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22672         initialization.
22673         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22674         Disable lock elision with rdlocks if elision is not available.
22676         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22677         (sysdep_routines): Add lock elision objects.
22678         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22679         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22680         [pthread_mutex_t] (__elision): Add field.
22681         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22682         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22683         elision definitions for powerpc.
22684         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22685         implementation of lock elision for powerpc.
22686         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22687         implementation of timed lock elision for powerpc.
22688         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22689         implementation of trylock with lock elision for powerpc.
22690         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22691         implementaion of unlock for lock elision for powerpc.
22692         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22693         automatic enable lock elision for mutexes.
22694         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22695         transaction execution definitions for powerpc.
22696         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22697         definitions.
22698         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22699         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22700         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22701         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22702         * NEWS: Update.
22704 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22706         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22707         for #include of <shm-directory.h>.
22709 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22711         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22712         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22714 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22716         [BZ #17791]
22717         * NEWS: Mention bug fix.
22718         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22719         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22720         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22722 2015-01-09  Torvald Riegel <triegel@redhat.com>
22724         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22726 2015-01-09  Torvald Riegel <triegel@redhat.com>
22728         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22730 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22732         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22733         pointer and cast to uintptr_t.
22735 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22737         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22738         removed.
22739         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22741 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22743         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22744         of 0.
22746 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22748         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22749         <nptl/pthreadP.h> instead.
22750         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22752         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22753         already defined.
22754         [__SIGRTMIN] (init): Function removed.
22755         [__SIGRTMIN] (initialized): Variable removed.
22756         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22757         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22758         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22759         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22760         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22761         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22762         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22763         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22764         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22765         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22766         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22767         * sysdeps/nptl/allocrtsig.c: New file.
22768         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22769         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22770         * sysdeps/generic/testrtsig.h: File removed.
22772         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22773         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22775         * nptl/nptl-init.c (pthread_functions): Conditionalize
22776         .ptr__nptl_setxid initialization on [SIGSETXID].
22778         * sysdeps/nptl/sys/procfs.h: New file.
22779         * nptl_db/Makefile (headers): Add it.
22780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22782         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22783         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22784         * nptl/pthread_attr_setaffinity.c: Include it.
22785         * nptl/pthread_setattr_default_np.c: Likewise.
22786         * nptl/check-cpuset.h: New file.
22788 2015-01-08  Richard Henderson  <rth@redhat.com>
22790         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22791         (CFLAGS-tst-execstack-prog.c): Likewise.
22792         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22794 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22795             Sandra Loosemore  <sandra@codesourcery.com>
22796             Andrew Jenner  <andrew@codesourcery.com>
22797             Joseph Myers  <joseph@codesourcery.com>
22798             Nathan Sidwell  <nathan@codesourcery.com>
22800         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22801         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22802         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22803         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22804         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22805         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22806         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22807         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22808         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22809         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22810         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22811         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22812         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22813         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22814         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22815         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22816         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22818 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22820         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22821         timespec struct member in syscall macro.
22822         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22823         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22824         first timeval struct member in syscall macro.
22825         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22827 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22829         [BZ #17748]
22830         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22831         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22832         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22833         __feupdateenv and define as weak alias of __feupdateenv.  Use
22834         libm_hidden_weak.
22835         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22836         libm_hidden_def.
22837         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22838         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22839         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22840         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22841         libm_hidden_def.
22842         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22843         __feupdateenv and define as weak alias of __feupdateenv.  Use
22844         libm_hidden_weak.
22845         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22846         libm_hidden_def.
22847         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22848         __feupdateenv and define as weak alias of __feupdateenv.  Use
22849         libm_hidden_weak.
22850         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22851         libm_hidden_def.
22852         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22853         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22854         (__feupdateenv): Likewise.
22855         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22856         __feupdateenv and define as weak alias of __feupdateenv.  Use
22857         libm_hidden_weak.
22858         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22859         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22860         libm_hidden_def.
22861         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22862         function.
22863         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22864         libm_hidden_def.
22865         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22866         __feupdateenv instead of feupdateenv.
22867         (default_libc_feupdateenv_test): Likewise.
22868         (libc_feresetround_ctx): Likewise.
22870 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22872         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22873         prototype.
22875 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22877         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22878         COLL_SYM in a couple of places to avoid uninitialized variable
22879         wanings on tilegx gcc 4.8.2.
22881 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22883         * sysdeps/aarch64/strcpy.S: New file.
22884         * sysdeps/aarch64/stpcpy.S: New file.
22885         * NEWS: Updated.
22887 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22889         * sysdeps/aarch64/strrchr.S: New file.
22890         * NEWS: Updated.
22892 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22894         [BZ #17658]
22895         * stdlib/setenv.c: Fix memory leak when setting large,
22896         duplicate string.
22898 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22900         [BZ #17273]
22901         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22902         and tabs from buffer before parsing fstab entry.
22903         * misc/tst-mntent.c (main): Add test for mount entry with
22904         trailing spaces and tabs.
22906 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22908         [BZ #17748]
22909         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22910         * math/fesetround.c (fesetround): Rename to __fesetround and
22911         define as weak alias of __fesetround.  Use libm_hidden_weak.
22912         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22913         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22914         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22915         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22916         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22917         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22918         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22919         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22920         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22921         __fesetround_inline.
22922         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22923         __fesetround_inline instead of __fesetround.
22924         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22925         __fesetround and define as weak alias of __fesetround.  Use
22926         libm_hidden_weak.  Call __fesetround_inline instead of
22927         __fesetround.
22928         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22929         __fesetround and define as weak alias of __fesetround.  Use
22930         libm_hidden_weak.
22931         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22932         Likewise.
22933         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22934         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22935         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22936         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22937         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22938         __fesetround and define as weak alias of __fesetround.  Use
22939         libm_hidden_weak.
22940         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22941         __fesetround instead of fesetround.
22942         (default_libc_feholdexcept_setround): Likewise.
22943         (libc_feholdsetround_ctx): Likewise.
22944         (libc_feholdsetround_noex_ctx): Likewise.
22946         [BZ #17748]
22947         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22948         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22949         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22950         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22951         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22952         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22953         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22954         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22955         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22956         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22957         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22958         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22959         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22960         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22961         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22962         libm_hidden_def.
22963         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22964         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22965         Likewise.
22966         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22967         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22968         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22969         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22970         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22971         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22972         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22973         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22974         __fesetenv instead of fesetenv.
22975         (libc_feresetround_noex_ctx): Likewise.
22976         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22977         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22978         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22979         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22980         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22981         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22982         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22983         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22984         (__feupdateenv): Likewise.
22985         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22986         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22987         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22988         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22990 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22992         [BZ #17806]
22993         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22994         addresses have been freed.
22996 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22998         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22999         and nservall.
23001 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23003         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23004         Clean up check_pf allocation pattern. addresses
23006 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23008         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23009         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23010         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23011         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23012         * nptl/pthread_join.c (pthread_join): Likewise.
23013         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23014         * sysdeps/posix/waitid.c (__waitid): Likewise.
23015         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23016         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23017         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23018         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23020         Likewise.
23021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23022         (__libc_pread64): Likewise.
23023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23024         (__libc_pwrite): Likewise.
23025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23026         (__libc_pwrite64): Likewsie.
23027         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23028         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23029         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23030         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23031         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23032         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23033         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23035         Likewise.
23036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23037         (__libc_pread64): Likewise.
23038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23039         Likewise.
23040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23041         (__libc_pwrite64): Likewise.
23042         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23043         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23044         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23045         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23046         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23047         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23048         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23049         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23050         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23051         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23052         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23053         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23054         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23055         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23056         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23057         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23058         Likewise.
23060 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23062         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23063         (CFLAGS-test-double.c): Likewise.
23064         (CFLAGS-test-ldouble.c): Likewise.
23065         (CPPFLAGS-test-ifloat.c): Likewise.
23066         (CPPFLAGS-test-idouble.c): Likewise.
23067         (CPPFLAGS-test-ildoubl.c): Likewise.
23068         (CFLAGS-test-test-fenv.c): Remove variable.
23069         (CFLAGS-test-misc.c): Likewise.
23071 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23073         [BZ #17797]
23074         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23075         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23076         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23077         CLOCKS_PER_SEC == 1000000.
23078         * time/clocktest.c (main): Replace %ld with %jd and cast to
23079         intmax_t.
23081 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23083         * sysdeps/generic/unwind-resume.h: New file.
23084         * sysdeps/gnu/unwind-resume.c: Include it.
23085         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23086         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23087         argument list.
23088         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23089         global rather than static.
23090         (_Unwind_Resume): Update user.
23091         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23092         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23093         rather than static.  Add __attribute__ ((cold)).
23094         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23095         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23096         * sysdeps/arm/arm-unwind-resume.S: New file.
23097         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23098         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23099         * sysdeps/arm/Makefile [$(subdir) = csu]
23100         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23101         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23102         Add rt-arm-unwind-resume.
23103         [$(subdir) = nptl]
23104         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23105         Add pt-arm-unwind-resume.
23106         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23107         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23109 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23111         [BZ #17748]
23112         * include/fenv.h (__feholdexcept): Declare.  Use
23113         libm_hidden_proto.
23114         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23115         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23116         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23117         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23118         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23119         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23120         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23121         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23122         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23123         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23124         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23125         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23126         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23127         (feholdexcept): Likewise.
23128         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23129         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23130         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23131         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23132         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23133         __feholdexcept instead of feholdexcept.
23134         (default_libc_feholdexcept_setround): Likewise.
23136 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23138         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23139         to avoid using stl/str to align destination.
23141 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23143         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23145 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23147         [BZ #17796]
23148         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23149         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23150         Define as weak alias not strong alias.
23152 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23154         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23155         bltzal with addiupc.
23156         (RTLD_START): Ditto.
23158 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23160         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23161         for __vdso_* functions in declarations.
23162         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23163         definitions.
23164         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23165         INTERNAL_VSYSCALL): Use struct return types to check for error.
23167         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23168         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23169         function with cast from llround().
23170         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23171         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23172         Define.
23174 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23176         [BZ #17793]
23177         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23178         Define as weak alias not strong alias.
23180         [BZ #17635]
23181         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23182         ...
23183         * ctype/ctype-extn.c: ... here.
23184         (__isblank_l): Move to ...
23185         * ctype/ctype-c99_l.c: ... here.  New file.
23186         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23187         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23188         Remove variable.
23189         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23190         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23191         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23192         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23193         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23195         [BZ #17777]
23196         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23197         (posix_fadvise64): Define as weak alias not strong alias.
23198         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23199         (posix_fallocate64): Likewise.
23200         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23201         Remove variable.
23202         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23203         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23204         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23205         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23206         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23208 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23210         [BZ #16191]
23211         * NEWS: Mention bug fix.
23212         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23213         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23214         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23215         (HOST_STACK_END_ADDR): Likewise.
23217 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23219         [BZ #17748]
23220         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23221         * math/fegetround.c (fegetround): Rename to __fegetround and
23222         define as weak alias of __fegetround.  Use libm_hidden_weak.
23223         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23224         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23225         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23226         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23227         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23228         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23229         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23230         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23231         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23232         Undefine after rather than before function definition; use
23233         parentheses around function name in definition.
23234         (__fegetround): Also undefine macro after function definition.
23235         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23236         __fegetround and define as weak alias of __fegetround.  Use
23237         libm_hidden_weak.  Do not undefine as macro.
23238         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23239         Likewise.
23240         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23241         __fegetround and define as weak alias of __fegetround.  Use
23242         libm_hidden_weak.
23243         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23244         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23245         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23246         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23247         __fegetround and define as weak alias of __fegetround.  Use
23248         libm_hidden_weak.
23249         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23250         __fegetround instead of fegetround.
23252         [BZ #17782]
23253         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23254         Condition macro definition on [__USE_MISC].
23256         [BZ #17781]
23257         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23258         (struct sigaction): Change type of sa_flags field to int.
23260         [BZ #17780]
23261         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23262         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23263         __glibc_reserved0.
23265         * nptl/version.c (banner): Use single year in copyright notice.
23267         * NEWS: Update copyright dates.
23268         * catgets/gencat.c (print_version): Likewise.
23269         * csu/version.c (banner): Likewise.
23270         * debug/catchsegv.sh: Likewise.
23271         * debug/pcprofiledump.c (print_version): Likewise.
23272         * debug/xtrace.sh (do_version): Likewise.
23273         * elf/ldconfig.c (print_version): Likewise.
23274         * elf/ldd.bash.in: Likewise.
23275         * elf/pldd.c (print_version): Likewise.
23276         * elf/sotruss.sh: Likewise.
23277         * elf/sprof.c (print_version): Likewise.
23278         * iconv/iconv_prog.c (print_version): Likewise.
23279         * iconv/iconvconfig.c (print_version): Likewise.
23280         * locale/programs/locale.c (print_version): Likewise.
23281         * locale/programs/localedef.c (print_version): Likewise.
23282         * login/programs/pt_chown.c (print_version): Likewise.
23283         * malloc/memusage.sh (do_version): Likewise.
23284         * malloc/memusagestat.c (print_version): Likewise.
23285         * malloc/mtrace.pl: Likewise.
23286         * manual/libc.texinfo: Likewise.
23287         * nptl/version.c (banner): Likewise.
23288         * nscd/nscd.c (print_version): Likewise.
23289         * nss/getent.c (print_version): Likewise.
23290         * nss/makedb.c (print_version): Likewise.
23291         * posix/getconf.c (main): Likewise.
23292         * scripts/test-installation.pl: Likewise.
23293         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23295 2015-01-02  Will Newton  <will.newton@linaro.org>
23297         * sysdeps/arm/armv7/configure: Removed.
23298         * sysdeps/arm/armv7/configure.ac: Likewise.
23300 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23302         * All files with FSF copyright notices: Update copyright dates
23303         using scripts/update-copyrights.
23304         * intl/plural.c: Regenerated.
23305         * locale/programs/charmap-kw.h: Likewise.
23306         * locale/programs/locfile-kw.h: Likewise.
23308 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23310         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23312 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23314         [BZ #17748]
23315         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23316         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23317         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23318         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23319         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23320         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23321         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23322         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23323         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23324         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23325         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23326         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23327         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23328         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23329         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23330         libm_hidden_def.
23331         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23332         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23333         Likewise.
23334         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23335         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23336         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23337         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23338         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23339         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23340         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23341         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23342         __fegetenv instead of fegetenv.
23343         (libc_feholdsetround_noex_ctx): Likewise.
23345 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23347         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23348         (Elf_MIPS_ABIFlags_v0): New structure.
23349         (EF_MIPS_FP64): Define.
23350         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23351         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23352         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23353         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23354         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23355         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23356         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23357         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23358         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23359         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23360         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23361         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23362         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23363         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23364         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23365         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23366         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23367         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23368         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23369         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23370         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23371         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23372         field.
23373         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23374         EF_MIPS_FP64.
23375         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23376         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23377         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23378         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23379         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23380         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23381         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23382         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23383         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23384         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23385         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23386         record the current FP ABI extension.
23387         (mips-mode-switch): Define to show if kernel headers support mode
23388         switching.
23389         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23390         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23391         supported SYSV ABI version to 3.
23392         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23393         feature.
23395 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23396             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23398         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23399         path.
23400         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23402 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23404         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23405         __fegetround and redefine to call __fegetround.  Remove condition
23406         on [!__NO_MATH_INLINES].
23407         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23408         function.
23409         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23410         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23411         Remove macro.
23412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23413         instead of <fenv_libc.h>.
23414         (__llrintl): Call fegetround instead of __fegetround.
23415         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23416         instead of <fenv_libc.h>.
23417         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23418         (__lrintl): Call fegetround instead of __fegetround.
23419         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23420         instead of <fenv_libc.h>.
23421         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23422         (__rintl): Call fegetround instead of __fegetround.
23424 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23426         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23427         arrays.
23429 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23431         [BZ #17775]
23432         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23433         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23434         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23436 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23438         * sysdeps/i386/tls-macros.h: Include <features.h>.
23439         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23440         (TLS_IE): Likewise.
23441         (TLS_LD): Likewise.
23442         (TLS_GD): Likewise.
23443         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23444         define for GCC >= 5.0.
23446 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23448         * math/test-fenv.c (test_single_exception, set_single_exc,
23449         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23450         feexcp_mask_test, feenable_test, fe_single_test): Add
23451         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23452         case where they are not used.
23453         * math/libm-test.inc: Likewise.
23454         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23455         unused in the absence of FP rounding/exception support.
23456         * stdio-common/tst-printf-round.c: Likewise.
23457         * stdlib/tst-strtod-round.c: Likewise.
23458         * stdlib/tst-strtod-underflow.c: Likewise.
23460 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23462         [BZ #17723]
23463         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23464         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23465         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23466         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23467         libm_hidden_weak.
23468         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23469         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23470         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23471         libm_hidden_def.
23472         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23473         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23474         libm_hidden_weak.
23475         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23476         Likewise.
23477         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23478         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23479         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23480         libm_hidden_weak.
23481         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23482         libm_hidden_def.
23483         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23484         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23485         (__feraiseexcept): Likewise.
23486         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23487         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23488         libm_hidden_weak.
23489         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23490         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23491         libm_hidden_def.
23492         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23493         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23494         Use libm_hidden_def.
23495         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23496         libm_hidden_def.
23497         (feraiseexcept): Define as weak not strong alias.  Use
23498         libm_hidden_weak.
23499         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23500         New inline function.  Factored out of ...
23501         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23502         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23503         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23504         feraiseexcept.
23505         * math/w_acos.c (__acos): Likewise.
23506         * math/w_asin.c (__asin): Likewise.
23507         * math/w_ilogb.c (__ilogb): Likewise.
23508         * math/w_j0.c (y0): Likewise.
23509         * math/w_j1.c (y1): Likewise.
23510         * math/w_jn.c (yn): Likewise.
23511         * math/w_log.c (__log): Likewise.
23512         * math/w_log10.c (__log10): Likewise.
23513         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23514         * sysdeps/aarch64/fpu/math_private.h
23515         (libc_feupdateenv_test_aarch64): Likewise.
23516         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23517         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23518         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23519         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23520         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23521         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23522         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23523         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23524         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23525         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23527 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23529         [BZ #17732]
23530         * io/test-utime.c (main): Replace %ld with %jd and cast to
23531         intmax_t.
23532         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23533         * nptl/tst-mutex5.c: Include <stdint.h>.
23534         (do_test): Replace %ld with %jd and cast to intmax_t.
23535         * posix/tst-regex.c (run_test): Likewise.
23536         (run_test_backwards): Likewise.
23537         * rt/tst-clock.c: Include <stdint.h>.
23538         (clock_test): Replace %ld with %jd and cast to intmax_t.
23539         * rt/tst-cpuclock1.c: Include <stdint.h>.
23540         (do_test): Replace %lu with %ju and cast to uintmax_t.
23541         * rt/tst-cpuclock2.c: Include <stdint.h>.
23542         (do_test): Replace %lu with %ju and cast to uintmax_t.
23543         * rt/tst-mqueue1.c: Include <stdint.h>.
23544         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23545         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23546         intmax_t.
23547         * rt/tst-mqueue4.c (do_test): Likewise.
23548         * rt/tst-timer4.c: Include <stdint.h>.
23549         (check_ts): Replace %ld with %jd and cast to intmax_t.
23550         (do_test): Likewise.
23551         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23552         and cast to intmax_t.
23553         * sysdeps/pthread/tst-timer.c (main): Likewise.
23554         * time/clocktest.c (main): Likewise.
23555         * time/tst-posixtz.c (do_test): Likewise.
23556         * timezone/tst-timezone.c (main): Likewise.
23558 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23559             H.J. Lu  <hongjiu.lu@intel.com>
23561         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23562         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23563         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23564         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23565         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23566         version if bit_Fast_Unaligned_Load is set.
23567         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23568         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23569         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23570         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23571         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23572         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23574         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23575         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23576         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23577         to 4.
23578         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23579         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23580         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23581         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23583 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23585         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23586         instead of #if to avoid a Wundef warning.
23587         * stdlib/tst-limits.c (do_test): Likewise.
23589         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23590         parallel other exception macros.
23591         (fegetenv): Convert from macro to extern inline so that it applies
23592         retroactively to inline functions already seen by the compiler.
23593         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23595         * posix/Makefile (before-compile): Use $(objpfx) for
23596         posix-conf-vars-def.h.
23598 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23600         * posix/getconf.c (main): Use size_t for type of I.
23601         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23602         NSPEC.
23604         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23605         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23606         * posix/posix-envs.def: Likewise.
23607         * sysdeps/posix/sysconf.c: Likewise.
23608         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23609         (specs): Remove array.
23610         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23611         array.
23613         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23614         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23615         (__sysconf): Use CONF_IS_* macros.
23617         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23618         ($(objpfx)posix-conf-vars-def.h): New target.
23619         * posix/posix-conf-vars.list: New file.
23620         * posix/posix-conf-vars.h: New file.
23621         * posix/confstr.c: Include posix-conf-vars.h.
23622         (confstr): Use CONF_IS_* macros.
23623         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23624         CONF_IS_* macros.
23625         * scripts/gen-posix-conf-vars.awk: New file.
23627 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23629         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23630         fegetround): Add no-op macros to avoid linknamespace issues.
23632         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23633         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23635         * sysdeps/unix/sysv/linux/tile/sysdep.h
23636         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23637         assembly-specific section to avoid a redefinition warning.
23639         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23640         long before casting to pointer to avoid a cast warning.
23642 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23644         * sysdeps/tile/tilegx/Implies: New file.
23646 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23648         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23650 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23652         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23654 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23656         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23657         not define.
23658         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23659         <kernel-features.h>.
23660         (__utimes) [__NR_utimes]: Make code unconditional.
23661         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23662         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23663         (__ASSUME_UTIMES): Do not undefine.
23664         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23665         (__ASSUME_UTIMES): Likewise.
23666         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23667         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23668         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23669         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23671 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23673         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23675 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23677         [BZ #17747]
23678         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23679         alias to weak alias for j0l, y0l.
23680         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23681         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23683         [BZ #17746]
23684         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23685         conversion.
23687 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23689         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23690         to zero if not already defined.
23692 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23694         [BZ #17724]
23695         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23696         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23697         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23698         (char *) casts added.
23699         * sysdeps/ieee754/k_standardf.c: New file.
23700         * sysdeps/ieee754/k_standardl.c: Likewise.
23701         * math/Makefile (libm-support): Remove k_standard.
23702         (libm-calls): Add k_standard.
23704 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23706         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23707         Optimize to avoid an unnecessary FPCR read.
23709 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23711         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23712         Optimize to reduce FPCR/FPSR accesses.
23714 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23716         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23717         Call libc_fetestexcept_aarch64.
23719 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23721         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23722         Call libc_fesetround_aarch64.
23724 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23726         [BZ #17733]
23727         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23728         (__bind): Do not define as weak alias.
23729         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23730         define.
23731         (__getsockname): Do not define as weak alias.
23733 2014-12-22  Will Newton  <will.newton@linaro.org>
23735         * manual/install.texi: Document that we require bison 2.7
23736         or above.
23737         * INSTALL: Regenerate.
23738         * configure.ac: Use AC_CHECK_PROG_VER instead of
23739         AC_PATH_PROG when checking for bison and check for
23740         version 2.7 or above.
23741         * configure: Regenerate.
23743 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23745         [BZ #17745]
23746         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23747         * sysdeps/tile/ffsll.c (ffsll): To here.
23749         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23751 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23753         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23754         if not defined.
23755         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23756         definition.
23757         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23758         hidden ___tls_get_addr.
23759         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23760         hidden __tls_get_addr.
23761         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23762         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23763         Likewise.
23765 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23767         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23768         _dl_init call.
23770 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23772         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23773         from "call _dl_init@PLT".
23774         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23776 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23778         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23779         guarantees.
23781 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23783         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23785 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23787         [BZ #17744]
23788         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23789         strnlen.
23791 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23793         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23794         of multu on MIPSr6.
23795         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23796         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23797         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23798         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23799         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23801 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23803         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23804         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23805         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23806         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23807         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23808         mips32r6/mips64r6.
23809         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23811 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23813         * string/strncat.c (STRNCAT): Simplify implementation.
23815 2014-12-19  David S. Miller  <davem@davemloft.net>
23817         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23818         access the quad as both a long double and as a series of 4 words.
23820         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23821         link_map->l_info array access.
23823 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23825         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23827         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23828         * math/atest-exp2.c (TIMEOUT): Likewise.
23829         * math/atest-sincos.c (TIMEOUT): Likewise.
23831 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23833         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23834         -Wno-error with -fno-builtin-lround.
23836 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23838         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23839         Contains futex constants and functions moved over from ...
23840         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23841         <lowlevellock-futex.h>.
23842         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23843         (lll_timedwait_tid): Add comments and parentheses around macro
23844         arguments.
23846 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23848         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23849         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23850         (__lll_private_flag): Remove.
23851         (lll_futex_wait): Likewise.
23852         (lll_futex_timed_wait): Likewise.
23853         (lll_futex_wake): Likewise.
23854         (lll_futex_requeue): Likewise.
23855         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23856         (__lll_timedwait_tid): Spell out argument names.
23857         (lll_timedwait_tid): Add comments and parentheses around macro
23858         arguments.
23859         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23860         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23862 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23864         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23865         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23866         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23867         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23868         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23869         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23870         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23871         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23872         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23873         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23875         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23876         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23878         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23879         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23880         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23881         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23882         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23884 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23886         * sysdeps/x86_64/x32/Makefile: New file.
23888 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23890         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23891         1L with (mp_limb_t) 1.
23893 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23895         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23896         * nptl/libc_pthread_init.c: ... here.
23897         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23898         * nptl/register-atfork.c: ... here.
23900         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23901         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23902         Use assert_perror to check its return value.
23903         (__gai_create_helper_thread): Likewise.
23905         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23907         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23909 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23911         [BZ #17725]
23912         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23913         __profil_counter.
23914         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23915         Likewise.
23916         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23917         Likewise.
23918         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23919         Likewise.
23920         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23921         (profil_counter): Likewise.
23922         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23923         (profil_counter): Likewise.
23924         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23925         Likewise.
23926         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23927         Likewise.
23928         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23929         (profil_counter): Likewise.
23930         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23931         Likewise.
23932         [!__profil_counter] (profil_counter): Define as weak alias of
23933         __profil_counter.
23934         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23935         (profil_counter): Rename to __profil_counter.
23936         [!__profil_counter] (profil_counter): Define as weak alias of
23937         __profil_counter.
23938         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23939         (profil_counter): Rename to __profil_counter.
23940         [!__profil_counter] (profil_counter): Define as weak alias of
23941         __profil_counter.
23942         * sysdeps/posix/profil.c: Update comment referring to
23943         profil_counter.
23944         (__profil): Use __profil_counter instead of profil_counter.
23945         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23946         __profil_counter.  Use __profil_counter_ushort and
23947         __profil_counter_uint in definitions.
23948         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23949         instead of profil_counter_uint and profil_counter_ushort.
23951         [BZ #17722]
23952         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23953         define as weak alias of __inet_makeaddr.
23954         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23955         as weak alias of __inet_addr.
23956         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23957         as weak alias of __inet_pton.  Use libc_hidden_weak.
23958         * include/arpa/inet.h (__inet_pton): Declare.  Use
23959         libc_hidden_proto.
23960         (inet_makeaddr): Don't use libc_hidden_proto.
23961         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23962         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23963         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23964         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23965         Remove variable.
23966         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23967         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23969 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23971         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23973 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23975         * stdio-common/bug-vfprintf-nargs.c (do_test):
23976         Cast value to intptr_t to avoid format warning
23977         for usage with PRIdPTR printing macro.
23979 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23981         * libio/tst-widetext.c (do_test):
23982         Use format type %td instead of %Zd for ptrdiff_t
23983         in order to avoid format warning.
23985 2014-12-17  Andreas Schwab  <schwab@suse.de>
23987         * nscd/mem.c (gc): Add size_t cast to match printf format.
23989 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23991         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23992         (init): Apply PTR_MANGLE to pointers before storing them.
23993         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23994         before using them.
23996 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23998         [BZ #17719]
23999         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24000         define as weak alias of __memrchr.
24001         (__memrchr): Do not define as strong alias of memrchr.
24002         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24003         Remove variable.
24004         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24005         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24006         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24008         [BZ #17717]
24009         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24010         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24011         (if_indextoname): Rename to __if_indextoname and define as weak
24012         alias of __if_indextoname.  Use libc_hidden_weak.
24013         (if_freenameindex): Rename to __if_freenameindex and define as
24014         weak alias of __if_freenameindex.
24015         (if_nameindex): Rename to __if_nameindex and define as weak alias
24016         of __if_nameindex.
24017         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24018         __if_nametoindex and define as weak alias of __if_nametoindex.
24019         Use libc_hidden_weak.
24020         (if_freenameindex): Rename to __if_freenameindex and define as
24021         weak alias of __if_freenameindex.
24022         (if_nameindex): Rename to __if_nameindex and define as weak alias
24023         of __if_nameindex.
24024         (if_indextoname): Rename to __if_indextoname and define as weak
24025         alias of __if_indextoname.  Use libc_hidden_weak.
24026         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24027         __if_nametoindex and define as weak alias of __if_nametoindex.
24028         Use libc_hidden_weak.
24029         (if_freenameindex): Rename to __if_freenameindex and define as
24030         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24031         (if_nameindex_netlink): Use __if_freenameindex instead of
24032         if_freenameindex.
24033         (if_nameindex): Rename to __if_nameindex and define as weak alias
24034         of __if_nameindex.  Use libc_hidden_weak.
24035         (if_indextoname): Rename to __if_indextoname and define as weak
24036         alias of __if_indextoname.  Use libc_hidden_weak.
24037         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24038         libc_hidden_proto.
24039         [!_ISOMAC] (__if_freenameindex): Likewise.
24040         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24041         if_nametoindex.
24042         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24043         variable.
24044         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24045         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24046         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24047         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24048         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24049         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24050         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24052         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24053         Remove variable.
24054         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24055         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24057 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24059         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24060         subscript above bounds'
24062         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24063         bounds.
24065 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24067         * libio/tst-fopenloc.c: Use test-skeleton.c.
24069         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24070         (entry): Rename to ITEM.
24071         (do_test, comp): Adjust.
24073         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24075 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24077         * string/tester.c: Include <libc-internal.h>.
24078         (test_memset): Ignore -Wmemset-transposed-args.
24080 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24082         * misc/tst-mntent2.c (do_test): Fix warning.
24084 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24086         * elf/tst-unique4lib.cc(a): Mark as used.
24088 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24090         [BZ #17630]
24091         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24092         names.
24094 2014-12-16  Allan McRae  <allan@archlinux.org>
24096         * stdio-common/Makefile (tests): Re-add bug26.
24098 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24100         [BZ #17657]
24101         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24102         static array.
24104 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24106         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24107         (__lll_lock_wait): Likewise.
24108         (__lll_timedlock_wait): Likewise.
24109         (__lll_timedwait_tid): Likewise.
24110         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24111         (__lll_robust_timedlock_wait): Likewise.
24112         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24113         (lll_cond_trylock): Likewise.
24114         (__lll_lock): Likewise.
24115         (__lll_robust_lock): Likewise.
24116         (__lll_cond_lock): Likewise.
24117         (lll_robust_cond_lock): Likewise.
24118         (__lll_timedlock): Likewise.
24119         (__lll_robust_timedlock): Likewise.
24120         (__lll_unlock): Likewise.
24121         (__lll_robust_unlock): Likewise.
24122         (lll_wait_tid): Likewise.
24123         (lll_timedwait_tid): Likewise.
24125 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24127         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24129 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24131         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24133 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24135         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24136         * stdio-common/tst-sprintf.c: Likewise.
24138 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24140         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24142 2014-12-15  Jeff Law  <law@redhat.com>
24144         [BZ #16617]
24145         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24146         on the heap.  (CVE-2012-3406)
24147         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24148         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24149         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24151 2014-12-15  Will Newton  <will.newton@linaro.org>
24153         * manual/install.texi: Bump required version of texinfo
24154         to 4.7 from 4.5.
24155         * INSTALL: Regenerated.
24156         * configure.ac: Check for makeinfo version 4.7 and above.
24157         * configure: Regenerated.
24159 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24161         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24162         PREFIX, string constant to insert between directory and name.
24163         * sysdeps/posix/shm_open.c: Update caller.
24164         * sysdeps/posix/shm_unlink.c: Likewise.
24165         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24166         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24167         (SEM_SHM_PREFIX): New macro.
24168         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24169         [$(have-thread-library) = no].
24170         * nptl/Makefile (libpthread-routines): Add shm-directory.
24171         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24172         * sysdeps/nptl/shm-directory.h: New file.
24173         * sysdeps/posix/shm-directory.c
24174         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24175         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24176         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24177         INTERNAL_SYSCALL.
24178         (__where_is_shmfs): Function removed.
24179         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24180         Variables removed.
24181         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24182         Use SHM_GET_NAME.
24183         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24185         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24186         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24187         unconditional for use inside libpthread.
24188         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24190 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24192         * nptl/pthread_getaffinity.c: New file.
24193         * nptl/pthread_setaffinity.c: New file.
24194         * nptl/pthread_getname.c: New file.
24195         * nptl/pthread_setname.c: New file.
24197         * nptl/pthread_create.c (START_THREAD_DEFN)
24198         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24200 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24201             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24203         * resolv/res_send.c (send_vc): Disable warning resplen may
24204         be used uninitialized.
24206 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24208         * nptl/tst-mutex6.c
24209         (ATTR_NULL): New define checks ATTR against NULL.
24210         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24211         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24213 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24215         [BZ #17581]
24216         * malloc/hooks.c
24217         (mem2mem_check): Revert my previous change.
24218         (malloc_check_get_size): Revert my previous change.
24219         (mem2chunk_check): Revert my previous change.
24221 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24223         * sysdeps/posix/shm-directory.c: New file.
24224         * sysdeps/posix/shm-directory.h: New file.
24225         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24226         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24227         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24228         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24229         Transmute EPERM to EACCES.
24230         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24231         from ...
24232         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24233         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24235 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24237         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24238         pointer and cast to uintptr_t.
24239         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24240         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24241         Add cast to avoid warning.
24242         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24244 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24246         * nptl/semaphore.h: Move to ...
24247         * sysdeps/pthread/semaphore.h: ... here.
24248         * Makefile (installed-headers): Change nptl/semaphore.h to
24249         sysdeps/pthread/semaphore.h.
24251 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24253         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24254         generated error format strings.
24256         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24257         -Wformat-extra-args warnings for scanf formats.
24258         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24259         test of zero-length format (duh).
24260         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24261         corner-case scanf format test.
24262         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24263         generated fprintf format string.
24264         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24265         corner-case sprintf format tests.
24266         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24267         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24268         -Wformat-extra-args warnings throughout.
24269         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24270         (CFLAGS-scanf4.c): Likewise.
24271         (CFLAGS-scanf7.c): Likewise.
24272         (CFLAGS-tst-sprintf.c): Likewise.
24273         (CFLAGS-tst-printf.c): Likewise.
24274         (CFLAGS-tst-printfsz.c): Likewise.
24276 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24278         * include/cpio.h: New file.
24279         * include/fmtmsg.h: Likewise.
24281         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24282         corresponding format argument to size_t.
24283         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24284         arguments.
24285         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24286         corresponding format argument to size_t.
24287         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24288         arguments.
24289         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24290         corresponding format argument to size_t.
24291         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24292         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24293         (CFLAGS-tst-mbswcs2.c): Likewise.
24294         (CFLAGS-tst-mbswcs3.c): Likewise.
24295         (CFLAGS-tst-mbswcs4.c): Likewise.
24296         (CFLAGS-tst-mbswcs5.c): Likewise.
24297         (CFLAGS-tst-trans.c): Likewise.
24299 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24301         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24302         rather than assuming they won't contain any '%'s.
24304 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24306         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24307         inhibit_loop_to_libcall to avoid recursive calls.
24308         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24309         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24311 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24313         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24314         prototype.
24316 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24318         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24319         integer value instead of boolean.
24321 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24323         * malloc/malloc.c: Fix powerof2 check.
24325 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24327         * locale/programs/locfile.h (maybe_swap_uint32):
24328         Remove inline and add unused attribute.
24330 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24332         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24333         Truncating assembler expression to a .long expression.
24335 2014-12-11  Andreas Schwab  <schwab@suse.de>
24337         * elf/rtld.c (struct map_args): Constify str member.
24338         (do_preload): Constify fname argument.
24340 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24342         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24343         constants definition.
24345 2014-12-11  Andreas Schwab  <schwab@suse.de>
24347         [BZ #16657]
24348         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24349         FORCE_ELISION instead of DO_ELISION.
24350         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24351         Remove.
24352         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24353         Likewise.
24355         * iconvdata/gconv-modules: Remove duplicate entry.
24357 2014-12-11  Will Newton  <will.newton@linaro.org>
24359         Merge gettext 0.19.3 into intl/.
24361         This involves a number of cosmetic changes to comments
24362         and ANSI function definitions and prototypes throughout
24363         all the files. The gettext copyright header is used but
24364         with the date ranges taken from the glibc copy.
24366         * NEWS: Add gettext merge to 2.21.
24367         * intl/bindtextdom.c: Switch to gettext copyright.
24368         Use ANSI definitions and prototypes.
24369         Use gl_* locking primitives rather than __libc_* ones.
24370         Use __builtin_expect rather than __glibc_likely/unlikely.
24371         * intl/dcgettext.c: Switch to gettext copyright.
24372         Use ANSI definitions and prototypes.
24373         * intl/dcigettext.c: Switch to gettext copyright.
24374         Use ANSI definitions and prototypes.
24375         (INTDIV0_RAISES_SIGFPE): New define.
24376         Use gl_* locking primitives rather than __libc_* ones.
24377         Include eval-plural.h instead of plural-eval.c.
24378         Use __builtin_expect rather than __glibc_likely/unlikely.
24379         * intl/dcngettext.c: Switch to gettext copyright.
24380         Use ANSI definitions and prototypes.
24381         * intl/dgettext.c: Likewise.
24382         * intl/dngettext.c: Likewise.
24383         * intl/plural-eval.c: Renamed to...
24384         * intl/eval-plural.h: ...this.
24385         * intl/explodename.c: Switch to gettext copyright.
24386         Use ANSI definitions and prototypes.
24387         (_nl_explode_name): Use strchr instead of __rawmemchr.
24388         * intl/finddomain.c: Switch to gettext copyright.
24389         Use ANSI definitions and prototypes.
24390         Use gl_* locking primitives rather than __libc_* ones.
24391         (_nl_find_domain): Use malloc rather than alloca for
24392         allocation of temporary locale name.
24393         * intl/gettext.c: Switch to gettext copyright.
24394         Use ANSI definitions and prototypes.
24395         * intl/gettextP.h: Switch to gettext copyright.
24396         Use ANSI definitions and prototypes.
24397         Use gl_* locking primitives rather than __libc_* ones.
24398         * intl/gmo.h: Switch to gettext copyright.
24399         (struct sysdep_string): Move struct segment_pair outside of
24400         struct definition.
24401         * intl/hash-string.c: Use ANSI definitions and prototypes.
24402         * intl/hash-string.h: Switch to gettext copyright.
24403         Use ANSI definitions and prototypes.
24404         * intl/l10nflist.c: Switch to gettext copyright.
24405         Use ANSI definitions and prototypes.
24406         (_nl_normalize_codeset): Avoid integer overflow.
24407         * intl/loadinfo.h: Switch to gettext copyright.
24408         Use ANSI definitions and prototypes.
24409         (LIBINTL_DLL_EXPORTED): New define.
24410         (PATH_SEPARATOR): New define.
24411         * intl/loadmsgcat.c: Switch to gettext copyright.
24412         * intl/localealias.c: Switch to gettext copyright.
24413         Use ANSI definitions and prototypes.
24414         (_nl_expand_alias): Use PATH_SEPARATOR.
24415         * intl/ngettext.c: Switch to gettext copyright.
24416         Use ANSI definitions and prototypes.
24417         * intl/plural-exp.c: Likewise.
24418         * intl/plural-exp.h: Switch to gettext copyright.
24419         Use ANSI definitions and prototypes.
24420         (struct expression): Move definition of enum operator outside
24421         of struct definition.
24422         * intl/plural.c: Regenerate.
24423         * intl/plural.y: Switch to gettext copyright.
24424         Use ANSI definitions and prototypes.
24425         Port to bison 3.0.
24426         * intl/textdomain.c: Switch to gettext copyright.
24427         Use ANSI definitions and prototypes.
24428         Use gl_* locking primitives rather than __libc_* ones.
24430 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24432         * debug/warning-nop.c: Add used atrribute.
24434 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24436         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24438         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24439         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24440         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24442 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24443             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24445         [BZ #17634]
24446         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24447         Undefine after defining function.  Define as weak alias of
24448         __wcschr.  Use libc_hidden_weak.
24449         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24450         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24451         (libc_hidden_def): Also define __GI___wcschr alias.
24452         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24453         __wcschr and define as weak alias of __wcschr.
24454         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24455         __wcschr.
24456         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24457         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24458         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24459         libc_hidden_weak.  Do not use libc_hidden_def.
24460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24461         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24462         __GI___wcschr alias.
24463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24464         [IS_IN (libc)] (wcschr): Define as macro expanding to
24465         __redirect_wcschr.
24466         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24467         [IS_IN (libc)] (__wcschr_power6): Likewise.
24468         [IS_IN (libc)] (__wcschr_power7): Likewise.
24469         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24470         instead of wcschr.
24471         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24472         __libc_wcschr.
24473         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24474         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24475         __wcschr and define as weak alias of __wcschr.  Use
24476         libc_hidden_builtin_def.
24477         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24478         as weak alias of __wcschr.  Use libc_hidden_weak.
24479         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24480         wcschr.
24481         * time/era.c (_nl_init_era_entries): Likewise.
24482         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24483         variable.
24484         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24485         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24487 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24489         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24490         format for long int variable.
24492 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24494         [BZ #10672]
24495         * manual/search.texi: (Array Sort Function): Remove claim how to make
24496         qsort stable.
24498 2014-12-10  Andreas Schwab  <schwab@suse.de>
24500         [BZ #12847]
24501         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24502         user-controlled locks.
24504 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24506         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24507         register.
24509 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24511         * configure.ac (--disable-werror): New configure option.
24512         (enable_werror): New AC_SUBST.
24513         * configure: Regenerated.
24514         * config.make.in (enable-werror): New variable.
24515         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24516         -Wno-error=undef.
24517         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24518         * manual/install.texi (Configuring and compiling): Document
24519         --disable-werror.
24520         * INSTALL: Regenerated.
24521         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24522         (CFLAGS-tst-chk2.c): Likewise.
24523         (CFLAGS-tst-chk3.c): Likewise.
24524         (CFLAGS-tst-chk4.cc): Likewise.
24525         (CFLAGS-tst-chk5.cc): Likewise.
24526         (CFLAGS-tst-chk6.cc): Likewise.
24527         (CFLAGS-tst-lfschk1.c): Likewise.
24528         (CFLAGS-tst-lfschk2.c): Likewise.
24529         (CFLAGS-tst-lfschk3.c): Likewise.
24530         (CFLAGS-tst-lfschk4.cc): Likewise.
24531         (CFLAGS-tst-lfschk5.cc): Likewise.
24532         (CFLAGS-tst-lfschk6.cc): Likewise.
24534         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24535         (main): Disable -Wdeprecated-declarations around calls to
24536         register_printf_function.
24538         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24539         (do_test): Disable -Wdiv-by-zero around some calls to
24540         fwrite_unlocked and fread_unlocked.
24542         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24543         (DIAG_POP_NEEDS_COMMENT): Likewise.
24544         (_DIAG_STR1): Likewise.
24545         (_DIAG_STR): Likewise.
24546         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24547         * stdio-common/bug21.c: Include <libc-internal.h>.
24548         (do_test): Disable -Wformat around call to sscanf.
24549         * stdio-common/scanf14.c: Include <libc-internal.h>.
24550         (main): Disable -Wformat around some calls to scanf functions.
24552 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24554         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24556 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24558         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24559         stack variable alignment.
24561 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24563         [BZ #17682]
24564         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24565         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24566         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24567         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24568         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24569         __getrlimit instead of getrlimit.
24570         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24571         __gettimeofday instead of gettimeofday.
24572         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24573         Likewise.
24574         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24575         Likewise.
24576         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24577         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24578         Remove variable.
24579         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24580         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24582 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24584         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24585         for wide-character tests.
24587 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24589         * io/openat64.c: #include <libc-internal.h>
24590         (__openat64): Prototypify.  Use ignore_value on MODE.
24591         * io/openat.c: Likewise.
24592         * misc/reboot.c: #include <libc-internal.h>
24593         (reboot): Prototypify.  Use ignore_value on HOWTO.
24594         * misc/ptrace.c: #include <libc-internal.h>
24595         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24597 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24599         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24600         XPG4, UNIX98 and XOPEN2K.
24601         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24602         Remove variable.
24603         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24605 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24607         * libio/fileops.c: Use ISO C style for function definitions.
24608         * libio/iofopen.c: Likewise.
24609         * libio/wfileops.c: Likewise.
24611         [BZ #17653]
24612         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24613         offset on EOF.
24614         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24615         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24616         (fgets_func): Function pointer to fgets and fgetws.
24617         (do_ftell_test): Add test to verify ftell value after read
24618         EOF.
24619         (do_test): Set fgets_func.
24621         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24622         O_TRUNC flag for w and w+ modes.
24623         (do_rewind_test): Likewise.
24624         (do_ftell_test): Likewise.
24625         (do_write_test): Likewise.
24627         [BZ #17647]
24628         * libio/fileops.c (do_ftell): Seek only when there are
24629         unflushed writes.
24630         * libio/wfileops.c (do_ftell_wide): Likewise.
24631         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24632         test case.
24633         (do_one_test): Call it.
24635 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24637         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24638         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24639         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24640         Remove variable.
24641         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24642         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24643         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24645 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24647         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24648         Remove variable.
24649         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24651         [BZ #17668]
24652         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24653         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24654         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24655         __freeifaddrs.  Use libc_hidden_weak.
24656         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24657         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24658         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24659         __freeifaddrs.  Use libc_hidden_weak.
24660         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24661         __getifaddrs and define as weak alias of __getifaddrs.  Use
24662         libc_hidden_weak.
24663         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24664         __freeifaddrs.  Use libc_hidden_weak.
24665         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24666         Remove variable.
24667         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24668         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24670 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24672         [BZ #17601]
24673         * sysdeps/mips/start.S (__start): Use indirect jump to call
24674         __libc_start_main.
24676 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24678         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24680         * nptl/tst-mutex1.c: Include <stdbool.h>.
24681         [!ATTR] (ATTR_NULL): New macro.
24682         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24683         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24684         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24686         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24687         to char *.
24689         [BZ #17665]
24690         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24691         Change conditional to [__USE_MISC].
24693         [BZ #17664]
24694         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24695         fgets_unlocked.
24696         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24697         __fgets_unlocked.
24698         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24699         fgets_unlocked.
24700         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24701         Remove variable.
24702         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24703         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24704         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24705         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24706         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24707         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24708         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24709         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24710         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24712         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24714 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24716         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24717         Remove strpbrk objects.
24718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24719         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24720         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24721         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24722         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24723         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24725         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24726         Remove strcspn objects.
24727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24728         (__libc_ifunc_impl_list): Remove strcspn implementation.
24729         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24730         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24731         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24732         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24735         Remove strspn objetcs.
24736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24737         (__libc_ifunc_impl_list): Remove strspn implementation.
24738         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24739         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24740         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24741         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24743 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24745         [BZ #17581]
24746         * malloc/hooks.c
24747         (mem2mem_check): Add a terminator to the chain of checking blocks.
24748         (malloc_check_get_size): Use it here.
24749         (mem2chunk_check): Ditto.
24751 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24753         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24754         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24756 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24758         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24760         * nptl/nptl-init.c: Include libc-internal.h.
24761         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24763         * elf/ldconfig.c (search_dir): Expand comment.
24765 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24767         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24768         variable.
24769         (linknamespace-symlist-stdlibs-tests): Likewise.
24770         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24771         instead of $(objpfx)symlist-stdlibs.
24772         (linknamespace-libs-isoc): New variable.
24773         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24774         (linknamespace-libs-ISO): New variable.
24775         (linknamespace-libs-ISO99): Likewise.
24776         (linknamespace-libs-ISO11): Likewise.
24777         (linknamespace-libs-XPG3): Likewise.
24778         (linknamespace-libs-XPG4): Likewise.
24779         (linknamespace-libs-POSIX): Likewise.
24780         (linknamespace-libs-UNIX98): Likewise.
24781         (linknamespace-libs-XOPEN2K): Likewise.
24782         (linknamespace-libs-POSIX2008): Likewise.
24783         (linknamespace-libs-XOPEN2K8): Likewise.
24784         ($(objpfx)symlist-stdlibs): Replace by
24785         $(linknamespace-symlist-stdlibs-tests).  Use
24786         $(linknamespace-libs-$*) as set of libraries.
24787         ($(linknamespace-header-tests)): Update dependencies.  Use
24788         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24789         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24790         * conform/linknamespace.pl: Remove comment about considering
24791         definitions of symbols from irrelevant libraries.
24793 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24795         [BZ #13862]
24796         * elf/dl-tls.c: Include <atomic.h>.
24797         (oom): Remove #ifdef SHARED/#endif.
24798         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24799         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24800         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24801         big enough.
24802         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24803         * nptl/Makefile (tests): Add tst-stack4.
24804         (modules-names): Add tst-stack4mod.
24805         ($(objpfx)tst-stack4): New.
24806         (tst-stack4mod.sos): Likewise.
24807         ($(objpfx)tst-stack4.out): Likewise.
24808         ($(tst-stack4mod.sos)): Likewise.
24809         (clean): Likewise.
24810         * nptl/tst-stack4.c: New file.
24811         * nptl/tst-stack4mod.c: Likewise.
24813 2014-11-27  J. Brown  <jb999@gmx.de>
24815         * sysdeps/x86/bits/string.h: Add recent CPUs.
24817 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24819         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24820         sigblock.
24822         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24823         feof.
24825         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24826         variable.
24828 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24830         * nscd/connections.c: Include libc-internal.h because of macro
24831         usage ignore_value.
24833 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24835         * string/bits/string3.h (__warn_memset_zero_len): Don't
24836         declare for gcc newer than 5.0.
24837         (memset): Don't test for zero-length __LEN for gcc newer than
24838         5.0.
24840 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24842         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24843         size_t for %zu format.
24845         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24846         difference, not %ju.
24848 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24850         * include/libc-internal.h (ignore_value): New macro.
24851         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24852         with ignore_value.
24854         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24855         definition.
24857         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24858         pthread_cleanup_push to void *.
24860         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24861         Undefine.
24863         [BZ #16619]
24864         [BZ #16740]
24865         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24866         instead of 1L << 52.
24868         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24869         * libio/bug-rewind2.c (do_test): Likewise.
24871         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24872         * debug/test-strcpy_chk-ifunc.c: Likewise.
24873         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24874         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24875         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24876         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24877         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24878         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24879         * Rules [$(multi-arch) = no] (tests): Do not filter out
24880         $(tests-ifunc).
24881         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24882         * debug/Makefile (tests-ifunc): Remove variable.
24883         (tests): Do not add $(tests-ifunc).
24884         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24885         (tests): Do not add $(tests-ifunc).
24886         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24887         [TEST_IFUNC]: Remove conditionals.
24888         * string/test-string.h (TEST_IFUNC): Remove macro.
24889         [TEST_IFUNC]: Remove conditionals.
24891         * string/test-strchr.c [!WIDE] (L): New macro.
24892         [WIDE] (L): Likewise.
24893         (check1): Use CHAR instead of char.  Use L on string and character
24894         constants.
24896 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24898         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24899         tests.
24900         * sysdeps/powerpc/bits/atomic.h
24901         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24902         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24903         (atomic_exchange_and_add_acq): Likewise.
24904         (atomic_exchange_and_add_rel): Likewise.
24905         * sysdeps/powerpc/powerpc32/bits/atomic.h
24906         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24907         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24908         * sysdeps/powerpc/powerpc64/bits/atomic.h
24909         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24910         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24912 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24914         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24915         Change synchronization of __sched_fifo_min_prio and
24916         __sched_fifo_max_prio.
24917         * nptl/pthread_mutexattr_getprioceiling.c
24918         (pthread_mutexattr_getprioceiling): Likewise.
24919         * nptl/pthread_mutexattr_setprioceiling.c
24920         (pthread_mutexattr_setprioceiling): Likewise.
24921         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24922         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24923         Likewise.
24925 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24927         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24928         void.
24930 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24932         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24933         third argument const.
24935 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24937         fnmatch: work around GCC compiler warning bug with uninit var
24938         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24939         This works around a bug with x86-64 GCC 4.9.2 and earlier
24940         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24941         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24942         used uninitialized in this function [-Wmaybe-uninitialized]".
24944 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24946         * posix/bug-regex31.c (main): Return RES not 0.
24948 2014-11-25  Anton Blanchard <anton@samba.org>
24950         * sysdeps/powerpc/bits/atomic.h
24951         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24953 2014-11-24  Sterling Augustine  <saugustine@google.com>
24955         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24957 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24959         [BZ #17608]
24960         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24962 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24964         [BZ #17633]
24965         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24966         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24967         variable.
24968         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24969         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24971 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24973         * string/strncpy.c (strncpy): Improve performance by using memset.
24975 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24977         * string/strcpy.c (strcpy):
24978         Improve performance by using strlen and memcpy.
24980 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24982         * string/strcoll_l.c (get_next_seq): __always_inline.
24983         * string/strcoll_l.c (do_compare): __always_inline.
24985 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24987         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24988         defined.
24989         * include/mqueue.h: Likewise.
24990         * include/stdlib.h: Likewise.
24992         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24993         (get_null_defines): Adjust.
24994         * sunrpc/Makefile: Adjust comment.
24995         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24996         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24997         (CFLAGS-interp.c): Likewise.
24998         (CFLAGS-ldconfig.c): Likewise.
24999         (CPPFLAGS-.os): Likewise.
25000         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25001         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25002         * extra-modules.mk (extra-modules.mk): Likewise.
25003         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25004         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25005         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25006         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25007         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25008         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25009         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25010         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25011         * iconvdata/Makefile (CPPFLAGS): Likewise.
25012         (cpp-srcs-left): Add libof for all iconvdata routines.
25013         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25014         * include/assert.h: Likewise.
25015         * include/ctype.h: Likewise.
25016         * include/errno.h: Likewise.
25017         * include/libc-symbols.h: Likewise.
25018         * include/math.h: Likewise.
25019         * include/netdb.h: Likewise.
25020         * include/resolv.h: Likewise.
25021         * include/stdio.h: Likewise.
25022         * include/stdlib.h: Likewise.
25023         * include/string.h: Likewise.
25024         * include/sys/stat.h: Likewise.
25025         * include/wctype.h: Likewise.
25026         * intl/l10nflist.c: Likewise.
25027         * libidn/idn-stub.c: Likewise.
25028         * libio/libioP.h: Likewise.
25029         * nptl/libc_multiple_threads.c: Likewise.
25030         * nptl/pthreadP.h: Likewise.
25031         * posix/regex_internal.h: Likewise.
25032         * resolv/res_hconf.c: Likewise.
25033         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25034         * sysdeps/arm/memmove.S: Likewise.
25035         * sysdeps/arm/sysdep.h: Likewise.
25036         * sysdeps/generic/_itoa.h: Likewise.
25037         * sysdeps/generic/symbol-hacks.h: Likewise.
25038         * sysdeps/gnu/errlist.awk: Likewise.
25039         * sysdeps/gnu/errlist.c: Likewise.
25040         * sysdeps/i386/i586/memcpy.S: Likewise.
25041         * sysdeps/i386/i586/memset.S: Likewise.
25042         * sysdeps/i386/i686/memcpy.S: Likewise.
25043         * sysdeps/i386/i686/memmove.S: Likewise.
25044         * sysdeps/i386/i686/mempcpy.S: Likewise.
25045         * sysdeps/i386/i686/memset.S: Likewise.
25046         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25047         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25048         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25049         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25050         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25051         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25052         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25053         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25054         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25055         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25056         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25057         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25058         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25059         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25060         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25061         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25062         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25063         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25064         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25065         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25066         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25067         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25068         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25069         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25070         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25071         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25072         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25073         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25074         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25075         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25076         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25077         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25078         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25079         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25080         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25081         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25082         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25083         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25084         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25086         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25087         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25088         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25089         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25090         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25091         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25092         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25093         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25094         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25095         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25096         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25097         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25098         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25099         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25100         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25101         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25102         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25103         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25104         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25105         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25106         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25107         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25108         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25109         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25110         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25111         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25112         * sysdeps/posix/closedir.c: Likewise.
25113         * sysdeps/posix/opendir.c: Likewise.
25114         * sysdeps/posix/readdir.c: Likewise.
25115         * sysdeps/posix/rewinddir.c: Likewise.
25116         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25117         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25118         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25119         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25120         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25121         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25122         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25123         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25127         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25128         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25129         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25130         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25131         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25133         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25135         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25136         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25137         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25138         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25139         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25141         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25144         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25151         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25152         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25153         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25154         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25155         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25156         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25157         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25158         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25159         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25160         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25161         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25162         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25163         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25164         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25165         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25166         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25167         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25168         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25170         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25171         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25172         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25173         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25174         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25175         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25176         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25177         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25178         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25179         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25180         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25181         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25182         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25183         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25184         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25185         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25186         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25187         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25188         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25189         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25190         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25191         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25192         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25193         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25194         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25195         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25196         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25197         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25198         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25199         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25200         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25201         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25202         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25203         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25204         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25205         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25206         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25207         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25208         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25209         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25210         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25211         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25212         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25214         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25215         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25216         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25217         * sysdeps/unix/alpha/sysdep.S: Likewise.
25218         * sysdeps/unix/alpha/sysdep.h: Likewise.
25219         * sysdeps/unix/make-syscalls.sh: Likewise.
25220         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25222         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25223         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25224         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25225         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25226         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25227         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25228         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25229         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25230         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25231         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25233         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25234         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25235         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25236         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25237         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25238         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25239         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25240         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25241         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25242         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25243         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25244         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25245         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25246         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25249         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25250         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25252         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25254         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25255         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25256         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25258         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25259         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25260         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25261         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25262         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25263         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25264         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25267         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25270         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25271         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25272         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25273         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25274         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25276         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25278         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25279         * sysdeps/x86_64/memcpy.S: Likewise.
25280         * sysdeps/x86_64/memmove.c: Likewise.
25281         * sysdeps/x86_64/memset.S: Likewise.
25282         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25283         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25284         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25285         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25286         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25287         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25288         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25289         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25290         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25291         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25292         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25293         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25294         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25295         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25296         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25297         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25298         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25299         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25300         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25301         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25302         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25303         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25304         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25305         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25306         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25307         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25308         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25309         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25310         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25311         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25312         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25313         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25314         * sysdeps/x86_64/strcmp.S: Likewise.
25316         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25318         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25319         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25320         * elf/rtld-Rules: Likewise.
25321         * elf/setup-vdso.h: Likewise.
25322         * include/assert.h: Likewise.
25323         * include/bits/stdlib-float.h: Likewise.
25324         * include/errno.h: Likewise.
25325         * include/sys/stat.h: Likewise.
25326         * include/unistd.h: Likewise.
25327         * sysdeps/aarch64/setjmp.S: Likewise.
25328         * sysdeps/alpha/setjmp.S: Likewise.
25329         * sysdeps/arm/__longjmp.S: Likewise.
25330         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25331         * sysdeps/arm/setjmp.S: Likewise.
25332         * sysdeps/arm/sysdep.h: Likewise.
25333         * sysdeps/generic/_itoa.h: Likewise.
25334         * sysdeps/generic/dl-sysdep.h: Likewise.
25335         * sysdeps/generic/ldsodefs.h: Likewise.
25336         * sysdeps/i386/dl-tls.h: Likewise.
25337         * sysdeps/i386/setjmp.S: Likewise.
25338         * sysdeps/m68k/setjmp.c: Likewise.
25339         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25340         * sysdeps/mach/hurd/opendir.c: Likewise.
25341         * sysdeps/posix/getcwd.c: Likewise.
25342         * sysdeps/posix/opendir.c: Likewise.
25343         * sysdeps/posix/profil.c: Likewise.
25344         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25345         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25346         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25347         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25348         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25349         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25350         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25351         * sysdeps/s390/dl-tls.h: Likewise.
25352         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25353         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25354         * sysdeps/sh/sh3/setjmp.S: Likewise.
25355         * sysdeps/sh/sh4/setjmp.S: Likewise.
25356         * sysdeps/unix/alpha/sysdep.h: Likewise.
25357         * sysdeps/unix/arm/sysdep.S: Likewise.
25358         * sysdeps/unix/i386/sysdep.S: Likewise.
25359         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25360         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25361         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25362         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25363         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25364         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25365         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25366         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25367         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25368         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25369         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25370         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25371         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25374         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25375         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25376         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25377         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25378         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25379         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25380         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25381         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25382         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25383         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25384         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25386         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25387         * sysdeps/x86_64/setjmp.S: Likewise.
25389         * include/math.h: Use IS_IN instead of IS_IN_libm.
25390         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25395         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25396         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25397         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25398         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25399         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25400         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25401         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25402         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25403         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25404         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25405         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25408         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25410         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25411         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25412         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25413         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25414         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25415         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25417         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25418         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25419         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25420         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25421         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25422         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25424         Likewise.
25425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25426         Likewise.
25427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25428         Likewise.
25429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25430         Likewise.
25431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25432         Likewise.
25433         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25434         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25435         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25436         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25437         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25438         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25444         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25445         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25446         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25447         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25448         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25449         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25450         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25451         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25452         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25453         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25454         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25455         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25457         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25459         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25461         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25462         * nptl/pthreadP.h: Likewise.
25463         * nptl_db/structs.def: Likewise.
25464         * sysdeps/arm/sysdep.h: Likewise.
25465         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25466         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25467         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25468         * sysdeps/unix/alpha/sysdep.h: Likewise.
25469         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25470         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25471         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25472         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25473         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25474         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25476         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25477         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25478         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25479         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25480         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25481         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25482         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25485         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25486         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25487         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25488         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25489         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25490         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25491         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25492         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25493         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25494         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25496         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25497         * nptl/pthreadP.h: Likewise.
25498         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25499         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25500         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25501         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25502         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25503         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25504         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25505         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25506         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25507         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25508         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25509         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25511         Likewise.
25512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25513         Likewise.
25514         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25516         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25519         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25520         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25521         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25523         * dlfcn/dladdr.c: Use IS_IN.
25524         * dlfcn/dladdr1.c: Likewise.
25525         * dlfcn/dlclose.c: Likewise.
25526         * dlfcn/dlerror.c: Likewise.
25527         * dlfcn/dlinfo.c: Likewise.
25528         * dlfcn/dlmopen.c: Likewise.
25529         * dlfcn/dlopen.c: Likewise.
25530         * dlfcn/dlsym.c: Likewise.
25531         * dlfcn/dlvsym.c: Likewise.
25533         * include/ifaddrs.h: Use IS_IN.
25534         * inet/check_pf.c: Likewise.
25535         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25536         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25538         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25539         IS_IN_ldconfig.
25540         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25541         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25543         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25544         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25545         IS_IN (libc).
25547         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25549         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25550         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25551         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25552         * include/libc-symbols.h (IS_IN_LIB): New macro.
25553         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25554         * include/netdb.h: Likewise.
25555         * include/stap-probe.h: Remove all uses of IN_LIB.
25557         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25558         instead of IN_MODULE.
25559         * include/libc-symbols.h (IN_MODULE): Define using
25560         MODULE_NAME.
25561         (PASTE_NAME, PASTE_NAME1): New macros.
25562         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25563         of IN_LIB.
25564         (STAP_PROBE_ASM): Likewise.
25566 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25568         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25569         __mach_init in dlopened libc.
25571 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25573         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25574         * sysdeps/arm/preconfigure: Regenerate.
25576 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25578         * nptl/pthread_create.c (__pthread_create_2_1): Set
25579         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25580         when copying values from IATTR into PD.
25582 2014-11-21  Will Newton  <will.newton@linaro.org>
25583             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25585         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25586         Refactor inline-asm.  Also add comment.
25588         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25589         ElfW macro instead of hardcoded Elf64 types.
25590         (la_aarch64_gnu_pltenter): Likewise.
25591         * sysdeps/aarch64/dl-machine.h
25592         (elf_machine_runtime_setup): Use ElfW(Addr).
25594         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25595         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25596         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25597         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25598         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25599         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25600         (R_AARCH64_TLS_DTPMOD): This.
25601         (R_AARCH64_TLS_DTPREL64): Rename to ...
25602         (R_AARCH64_TLS_DTPREL): This.
25603         (R_AARCH64_TLS_TPREL64): Rename to ...
25604         (R_AARCH64_TLS_TPREL): This.
25605         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25606         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25607         R_AARCH64_TLS_TPREL64.
25608         (elf_machine_rela): Likewise.
25610 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25612         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25613         by setting it to 0.  64b atomics are not supported currently.
25615 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25617         [BZ #16469]
25618         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25619         search domain names.
25621 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25623         [BZ #16469]
25624         * NEWS: Update.
25625         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25626         trailing dot.
25627         * posix/tst-getaddrinfo5.c: New.
25628         * posix/Makefile (tests): Add it.
25630 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25632         [BZ #14498]
25633         * NEWS: Fixed.
25634         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25635         after parsing line but before break_if_match.
25636         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25637         if there is a protocol mismatch.
25639 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25641         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25642         because the potential race is on the user-supplied stream.
25644 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25646         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25647         string literal if not passed a buffer.
25648         * manual/job.texi (ctermid): Update reasoning, note deviation
25649         from posix, suggest mtasurace when not passed a buffer, for
25650         future non-preliminary safety notes.
25652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25654         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25655         of not passing it a buffer.
25656         Reported by Peng Haitao.
25658 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25660         * manual/Makefile ($(objpfx)stamp-summary): Require
25661         check-safety.sh to pass.
25662         * manual/check-safety.sh: Wish for verification that every
25663         @deftypefn and @deftypefun is followed by a @safety remark.
25665 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25667         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25669         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25670         PTHREAD_CANCEL_ASYNCHRONOUS.
25671         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25672         send SIGCANCEL.
25674         * nptl/default-sched.h: New file.
25675         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25676         * nptl/pthread_create.c: Include it.
25677         (__pthread_create_2_1): Use collect_default_sched instead of making
25678         Linux syscalls here directly.
25680 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25682         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25683         __pthread_once): Use C11 atomics.
25685 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25687         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25689 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25691         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25692         atomic_thread_fence_acquire, atomic_thread_fence_release,
25693         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25694         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25695         atomic_compare_exchange_weak_relaxed,
25696         atomic_compare_exchange_weak_acquire,
25697         atomic_compare_exchange_weak_release,
25698         atomic_exchange_acquire, atomic_exchange_release,
25699         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25700         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25701         atomic_fetch_and_acquire,
25702         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25704 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25706         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25707         USE_ATOMIC_COMPILER_BUILTINS): Define.
25708         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25710         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25712         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25714         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25716         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25718         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25720         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25722         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25724         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25726         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25728         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25730         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25732         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25734         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25736         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25738         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25740         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25742         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25743         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25744         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25746         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25749 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25751         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25752         the sched_priority value here.  It was already checked when the user
25753         called pthread_attr_setschedparam.
25755         * nptl/tst-bad-schedattr.c: New file.
25756         * nptl/Makefile (tests): Add it.
25758 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25759             Florian Weimer  <fweimer@redhat.com>
25760             Joseph Myers  <joseph@codesourcery.com>
25761             Adam Conrad  <adconrad@0c3.net>
25762             Andreas Schwab  <schwab@suse.de>
25763             Brooks  <bmoses@google.com>
25765         [BZ #17625]
25766         * wordexp-test.c (__dso_handle): Add prototype.
25767         (__register_atfork): Likewise.
25768         (__app_register_atfork): New function.
25769         (registered_forks): New global.
25770         (register_fork): New function.
25771         (test_case): Add 3 new tests for WRDE_CMDSUB.
25772         (main): Call __app_register_atfork.
25773         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25774         fork count is non-zero fail the test.
25775         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25776         is set.
25777         (parse_dollars): Remove check for WRDE_NOCMD.
25778         (parse_dquote): Likewise.
25780 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25782         * Makeconfig (built-modules): List non-library modules to be
25783         built.
25784         (module-cppflags): Include libc-modules.h for
25785         everything except shlib-versions.v.i.
25786         (CPPFLAGS): Use it.
25787         (before-compile): Add libc-modules.h.
25788         ($(common-objpfx)libc-modules.h,
25789         $(common-objpfx)libc-modules.stmp): New targets.
25790         (common-generated): Add libc-modules.h and libc-modules.stmp.
25791         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25792         * include/libc-symbols.h: Don't include libc-modules.h.
25793         * include/libc-modules.h: Remove file.
25794         * scripts/gen-libc-modules.awk: New script to generate
25795         libc-modules.h.
25796         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25797         Depend on libc-modules.stmp.
25799         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25801         * Makeconfig (in-module): Get value of libof set for the
25802         translation unit.
25803         (CPPFLAGS): Use $(in-module).
25804         * Makerules: Don't suffix routine names for nonlib.
25805         * include/libc-modules.h: New file.
25806         * include/libc-symbols.h: Include libc-modules.h
25807         (IS_IN): New macro to replace IS_IN_* macros.
25808         * elf/Makefile: Set libof-* for each routine.
25809         * elf/rtld-Rules: Likewise.
25810         * extra-modules.mk: Likewise.
25811         * iconv/Makefile: Likewise.
25812         * iconvdata/Makefile: Likewise.
25813         * locale/Makefile: Likewise.
25814         * malloc/Makefile: Likewise.
25815         * nss/Makefile: Likewise.
25816         * sysdeps/gnu/Makefile: Likewise.
25817         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25818         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25819         * sysdeps/s390/s390-64/Makefile: Likewise.
25820         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25821         CPPFLAGS for nscd instead of nonlib.
25823 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25825         * nptl/createthread.c: New file.
25827         * nptl/createthread.c: Moved ...
25828         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25830         * nptl/createthread.c: Add proper top-line comment.
25831         (do_clone): Folded into ...
25832         (create_thread): ... here.  Take new arguments STOPPED_START and
25833         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25834         increment __nptl_threads, do event-reporting logic, do
25835         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25836         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25837         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25838         just send SIGCANCEL.
25839         * nptl/pthread_create.c: Forward-declare create_thread before
25840         including createthread.c.
25841         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25842         declaration, and new macro START_THREAD_SELF to replace argument.
25843         Remove return statement.
25844         (report_thread_creation): New function.
25845         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25846         synchronization logic, and __nptl_nthreads increment here, around
25847         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25848         PD->parent_cancelhandling here, before create_thread.  When
25849         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25850         __deallocate_stack, and ENOMEM translation here.
25852 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25854         [BZ #17616]
25855         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25856         (mptwo): Rename to __mptwo.
25857         (__inv): Use __mptwo instead of mptwo.
25858         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25859         (mptwo): Rename to __mptwo.
25860         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25861         of mpone and __mptwo instead of mptwo.
25862         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25863         instead of mpone.
25864         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25865         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25866         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25867         of mpone and __mptwo instead of mptwo.
25868         (__mpranred): Use __mpone instead of mpone.
25869         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25870         variable.
25871         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25872         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25873         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25874         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25875         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25876         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25877         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25878         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25879         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25880         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25881         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25882         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25883         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25884         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25885         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25886         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25887         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25888         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25889         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25891 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25893         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25894         replace BSD Handler xref with BSD Signal Handling.
25896 2014-11-17  Richard Henderson  <rth@redhat.com>
25898         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25899         (_FP_PACK_RAW_2): Remove.
25900         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25901         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25902         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25903         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25904         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25905         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25906         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25907         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25908         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25909         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25910         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25911         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25912         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25913         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25914         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25915         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25917 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25919         * signal/signal.h [__USE_MISC]
25920         (struct sigvec): Remove type.
25921         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25922         (sigvec): Remove declaration.
25923         * sysdeps/posix/sigvec.c: Moved ...
25924         * signal/sigvec.c: ... here, replacing old file.
25925         (struct sigvec): New type, copied from old signal.h definition.
25926         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25927         (__sigvec): Convert definition to prototype.
25928         (sigvec): Replace weak_alias with compat_symbol.
25929         * signal/Versions (libc: GLIBC_2.21): New version set.
25930         * include/signal.h: Remove __sigvec declaration.
25931         * sysdeps/unix/bsd/sigvec.c: Remove file.
25932         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25933         * manual/signal.texi (BSD Handler): Remove subsection.
25934         Move siginterrupt up to ...
25935         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25936         (Blocking in BSD): Fold subsection into its parent.
25937         * NEWS: Mention sigvec removal.
25939 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25941         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25942         (DLA_FMS): Make definition conditional only on [__FMA4__].
25943         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25944         definition.
25946         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25947         Make definition conditional only on [PROF].
25948         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25949         definition.
25950         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25951         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25953         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25954         !__GNUC__].
25955         * include/signal.h (__sigpause): Move declaration above call to
25956         libc_hidden_proto.
25957         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25958         variable.
25959         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25960         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25962 2014-11-14  David S. Miller  <davem@davemloft.net>
25964         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25965         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25967 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25969         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25970         * configure: Regenerated.
25971         * manual/install.texi (Tools for Compilation): Document a
25972         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25973         compiler verified to work.
25974         * INSTALL: Regenerated.
25976         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25977         redeclare with asm name.
25978         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25979         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25980         including <string.h>.
25981         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25982         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25983         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25984         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25985         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25986         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25987         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25989 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25991         * stdlib/strtol.c (__strtol): Use prototype definition.
25993         [BZ #17594]
25994         * stdlib/strtol.c (SYM__): New macro.
25995         (SYM__1): Likewise.
25996         (__strtol): Likewise.
25997         (strtol): Rename to __strtol and define as weak alias of
25998         __strtol.  Use libc_hidden_weak.
26000 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26002         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26003         Use numbered labels in inline assembly.
26005 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26007         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26008         Add setjmp LIBC_PROBE.
26009         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26010         Likewise.
26011         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26012         Add longjmp, longjmp_target LIBC_PROBE.
26013         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26014         Likewise.
26016 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26018         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26019         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26020         to get rid of unused variable warning.
26022 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26024         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26025         Check for unwind_backtrace ==  NULL only in SHARED case.
26026         (__backchain_backtrace): Compile only in SHARED case.
26027         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26028         Likewise.
26029         (__backchain_backtrace): Declare as static.
26031 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26033         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26034         (__libc_multiple_threads_ptr): Variable moved ...
26035         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26037 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26039         * conform/GlibcConform.pm: New file.
26040         * conform/conformtest.pl: Use GlibcConform module.
26041         * conform/linknamespace.pl: New file.
26042         * conform/list-header-symbols.pl: Likewise.
26043         * conform/Makefile (linknamespace-symlists-base): New variable.
26044         (linknamespace-symlists-tests): Likewise.
26045         (linknamespace-header-base): Likewise.
26046         (linknamespace-header-tests): Likewise.
26047         (tests-special): Add new tests.
26048         ($(linknamespace-symlists-tests)): New rule.
26049         (linknamespace-libs): New variable.
26050         ($(objpfx)symlist-stdlibs): New rule.
26051         ($(linknamespace-header-tests)): Likewise.
26052         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26053         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26054         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26055         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26056         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26057         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26058         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26059         (test-xfail-ISO/math.h/linknamespace): Likewise.
26060         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26061         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26062         (test-xfail-ISO/time.h/linknamespace): Likewise.
26063         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26064         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26065         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26066         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26067         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26068         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26069         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26070         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26071         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26072         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26073         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26074         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26075         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26076         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26077         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26078         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26079         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26080         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26081         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26082         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26083         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26084         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26085         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26086         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26087         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26088         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26089         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26090         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26091         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26092         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26093         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26094         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26095         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26096         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26097         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26098         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26099         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26100         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26101         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26102         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26103         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26104         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26105         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26106         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26107         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26108         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26109         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26110         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26111         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26112         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26113         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26114         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26115         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26116         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26117         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26118         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26119         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26120         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26121         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26122         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26123         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26124         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26125         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26126         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26127         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26128         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26129         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26130         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26131         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26132         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26133         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26134         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26135         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26136         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26137         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26138         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26139         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26140         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26141         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26142         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26143         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26144         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26145         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26146         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26147         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26148         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26149         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26150         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26151         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26152         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26153         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26154         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26155         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26156         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26157         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26158         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26159         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26160         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26161         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26162         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26163         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26164         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26165         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26166         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26167         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26168         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26169         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26170         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26171         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26172         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26173         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26174         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26175         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26176         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26177         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26178         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26179         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26180         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26181         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26182         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26183         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26184         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26185         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26186         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26187         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26188         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26189         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26190         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26191         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26192         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26193         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26194         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26195         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26196         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26197         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26198         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26199         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26200         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26201         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26202         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26203         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26204         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26205         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26206         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26207         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26208         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26209         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26210         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26211         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26212         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26214         [BZ #17589]
26215         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26216         of fgets_unlocked.
26218         [BZ #17585]
26219         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26220         (memmem): Rename to __memmem and define as weak alias of
26221         __memmem.  Use libc_hidden_weak.
26222         (__memmem): Use libc_hidden_def.
26223         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26224         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26225         memmem.
26227         [BZ #17582]
26228         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26229         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26230         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26231         and define as weak alias of __fgets_unlocked.  Use
26232         libc_hidden_weak.
26233         (__fgets_unlocked): Use libc_hidden_def.
26234         * include/stdio.h (__fgets_unlocked): Declare.  Use
26235         libc_hidden_proto.
26236         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26237         __fgets_unlocked instead of fgets_unlocked.
26238         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26239         (GET_NPROCS_CONF_PARSER): Likewise.
26240         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26241         (GET_NPROCS_CONF_PARSER): Likewise.
26243         [BZ #17574]
26244         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26245         weak alias of __wmemset.  Use libc_hidden_weak.
26246         (__wmemset): Use libc_hidden_def.
26247         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26248         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26249         of wmemset.
26251         [BZ #17573]
26252         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26253         with asm name __mempcpy.
26254         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26256         [BZ #17572]
26257         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26258         and define as weak alias of __rawmemchr.
26259         (__rawmemchr): Do not define as strong alias of rawmemchr.
26261         [BZ #17571]
26262         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26263         alias of __qsort_r.
26264         (qsort): Call __qsort_r instead of qsort_r.
26265         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26266         (__qsort_r): Declare.  Call libc_hidden_proto.
26267         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26268         instead of qsort_r.
26269         * nscd/gai.c (__qsort_r): Define to qsort_r.
26270         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26271         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26272         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26274         [BZ #17570]
26275         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26276         define as weak alias of __malloc_info.
26278         [BZ #17584]
26279         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26280         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26281         (__rewinddir): Use libc_hidden_def.
26282         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26283         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26284         (__rewinddir): Use libc_hidden_def.
26285         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26286         weak alias of __rewinddir.  Don't use libc_hidden_def.
26287         (__rewinddir): Use libc_hidden_def.
26288         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26289         (__rewinddir): Use libc_hidden_proto.
26290         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26291         rewinddir.
26292         (__getcwd): Use __rewinddir instead of rewinddir.
26294         [BZ #17583]
26295         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26296         alias of __fileno.  Use libc_hidden_weak.
26297         (__fileno): Use libc_hidden_def.
26298         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26299         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26300         alias of __ftello.
26301         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26302         __ftello.
26303         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26304         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26305         libc_hidden_def.
26306         (fread_unlocked): Don't use libc_hidden_ver.
26307         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26308         and define as weak alias of __fread_unlocked.  Don't use
26309         libc_hidden_def.
26310         (__fread_unlocked): Use libc_hidden_def.
26311         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26312         (ftello): Don't use libc_hidden_proto.
26313         (__ftello): Declare.  Use libc_hidden_proto.
26314         (fread_unlocked): Don't use libc_hidden_proto.
26315         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26316         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26317         and __ftello instead of fileno, fread_unlocked and ftello.
26319 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26321         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26322         GOT12.
26323         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26324         Likewise.
26325         (_dl_start_user): Likewise.
26326         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26328 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26329             Siddhesh Poyarekar  <siddhesh@redhat.com>
26331         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26332         Move argv and envp down instead of moving argc up.
26333         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26335 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26337         [BZ #17506]
26338         * test-skeleton.c (main): Return successful if one of
26339         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26340         * string/tst-strcoll-overflow.c: Define expected status.
26342 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26344         [BZ #17475]
26345         * locale/iso-639.def: Define Bhili and Tulu language codes.
26347 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26349         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26351 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26353         [BZ #17555]
26354         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26356 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26358         * configure.ac: Updated check of minimal required version to
26359         2.22.
26360         * manual/install.texi (Tools for Compilation): Updated version
26361         number.
26362         * configure: Regenerated.
26363         * INSTALL: Likewise.
26365 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26367         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26368         __tls_get_addr.
26370 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26372         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26373         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26374         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26375         libc_hidden_weak.
26376         (waitpid): Define as alias of __waitpid.
26377         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26378         __waitpid.
26379         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26380         libc_hidden_weak.
26381         (waitpid): Define as alias of __waitpid.
26382         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26383         __libc_waitpid alias.
26384         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26385         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26386         Likewise.
26387         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26388         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26389         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26390         alias.
26391         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26392         __waitpid.
26393         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26394         libc_hidden_weak.
26395         (waitpid): Define as alias of __waitpid.
26397 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26399         * manual/llio.texi: Add comment that write safety has been
26400         fixed in Linux.
26402         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26403         (localplt-build-dso): Add elf/ld.so.
26404         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26405         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26406         and free for ld.so.
26407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26408         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26410         Likewise.
26411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26412         Likewise.
26413         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26414         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26415         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26416         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26417         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26418         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26419         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26420         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26421         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26422         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26423         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26425 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26427         [BZ #14132]
26428         * include/libc-symbols.h (INTUSE): Remove macro.
26429         (INTDEF): Likewise.
26430         (INTVARDEF): Likewise.
26431         (_INTVARDEF): Likewise.
26432         (INTDEF2): Likewise.
26433         (INTVARDEF2): Likewise.
26434         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26435         rtld_hidden_def instead of INTVARDEF.
26436         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26437         (_dl_starting_up_internal): Remove declaration.
26438         (_dl_starting_up): Use rtld_hidden_proto.
26439         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26440         declaration.
26441         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26442         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26443         _dl_starting_up.
26444         * elf/dl-writev.h (_dl_writev): Likewise.
26445         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26446         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26447         _dl_starting_up_internal.
26449 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26451         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26452         test-skeleton.c.
26454 2014-11-05  Will Newton  <will.newton@linaro.org>
26456         * benchtests/Makefile: (bench-malloc): Add malloc thread
26457         scalability benchmark.
26458         * benchtests/bench-malloc-threads.c: New file.
26460 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26462         * sysdeps/aarch64/strchrnul.S: New file.
26464 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26466         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26467         definition.
26468         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26469         Likwise.
26470         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26471         Likewise.
26472         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26473         Likewise.
26474         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26475         Likewise.
26476         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26477         Likewise.
26479 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26481         * catgets/test-gencat.c: Use test-skeleton.c.
26482         * catgets/tst-catgets.c: Likewise.
26483         * csu/tst-empty.c: Likewise.
26484         * elf/tst-audit2.c: Likewise.
26485         * elf/tst-global1.c: Likewise.
26486         * elf/tst-pathopt.c: Likewise.
26487         * elf/tst-piemod1.c: Likewise.
26488         * elf/tst-tls10.c: Likewise.
26489         * elf/tst-tls11.c: Likewise.
26490         * elf/tst-tls12.c: Likewise.
26491         * gnulib/tst-gcc.c: Likewise.
26492         * iconvdata/tst-e2big.c: Likewise.
26493         * iconvdata/tst-loading.c: Likewise.
26494         * iconv/tst-iconv1.c: Likewise.
26495         * iconv/tst-iconv2.c: Likewise.
26496         * inet/test-inet6_opt.c: Likewise.
26497         * inet/tst-gethnm.c: Likewise.
26498         * inet/tst-network.c: Likewise.
26499         * inet/tst-ntoa.c: Likewise.
26500         * intl/tst-codeset.c: Likewise.
26501         * intl/tst-gettext2.c: Likewise.
26502         * intl/tst-gettext3.c: Likewise.
26503         * intl/tst-ngettext.c: Likewise.
26504         * intl/tst-translit.c: Likewise.
26505         * io/test-stat.c: Likewise.
26506         * libio/test-fmemopen.c: Likewise.
26507         * libio/tst-freopen.c: Likewise.
26508         * libio/tst-sscanf.c: Likewise.
26509         * libio/tst-ungetwc1.c: Likewise.
26510         * libio/tst-ungetwc2.c: Likewise.
26511         * libio/tst-widetext.c: Likewise.
26512         * localedata/tst-ctype.c: Likewise.
26513         * localedata/tst-digits.c: Likewise.
26514         * localedata/tst-leaks.c: Likewise.
26515         * localedata/tst-mbswcs1.c: Likewise.
26516         * localedata/tst-mbswcs2.c: Likewise.
26517         * localedata/tst-mbswcs3.c: Likewise.
26518         * localedata/tst-mbswcs4.c: Likewise.
26519         * localedata/tst-mbswcs5.c: Likewise.
26520         * localedata/tst-setlocale.c: Likewise.
26521         * localedata/tst-trans.c: Likewise.
26522         * localedata/tst-wctype.c: Likewise.
26523         * localedata/tst-xlocale1.c: Likewise.
26524         * login/tst-grantpt.c: Likewise.
26525         * malloc/tst-calloc.c: Likewise.
26526         * malloc/tst-malloc.c: Likewise.
26527         * malloc/tst-mallocstate.c: Likewise.
26528         * malloc/tst-mcheck.c: Likewise.
26529         * malloc/tst-mtrace.c: Likewise.
26530         * malloc/tst-obstack.c: Likewise.
26531         * math/atest-exp2.c: Likewise.
26532         * math/atest-exp.c: Likewise.
26533         * math/atest-sincos.c: Likewise.
26534         * math/test-matherr.c: Likewise.
26535         * math/test-misc.c: Likewise.
26536         * math/test-powl.c: Likewise.
26537         * math/tst-definitions.c: Likewise.
26538         * misc/tst-dirname.c: Likewise.
26539         * misc/tst-efgcvt.c: Likewise.
26540         * misc/tst-fdset.c: Likewise.
26541         * misc/tst-hsearch.c: Likewise.
26542         * misc/tst-mntent2.c: Likewise.
26543         * nptl/tst-sem7.c: Likewise.
26544         * nptl/tst-sem8.c: Likewise.
26545         * nptl/tst-sem9.c: Likewise.
26546         * nss/test-netdb.c: Likewise.
26547         * posix/tst-fnmatch.c: Likewise.
26548         * posix/tst-getlogin.c: Likewise.
26549         * posix/tst-gnuglob.c: Likewise.
26550         * posix/tst-mmap.c: Likewise.
26551         * pwd/tst-getpw.c: Likewise.
26552         * resolv/tst-inet_ntop.c: Likewise.
26553         * rt/tst-timer.c: Likewise.
26554         * stdio-common/test-fseek.c: Likewise.
26555         * stdio-common/test-popen.c: Likewise.
26556         * stdio-common/test-vfprintf.c: Likewise.
26557         * stdio-common/tst-cookie.c: Likewise.
26558         * stdio-common/tst-fileno.c: Likewise.
26559         * stdio-common/tst-gets.c: Likewise.
26560         * stdio-common/tst-obprintf.c: Likewise.
26561         * stdio-common/tst-perror.c: Likewise.
26562         * stdio-common/tst-sprintf2.c: Likewise.
26563         * stdio-common/tst-sprintf3.c: Likewise.
26564         * stdio-common/tst-sprintf.c: Likewise.
26565         * stdio-common/tst-swprintf.c: Likewise.
26566         * stdio-common/tst-tmpnam.c: Likewise.
26567         * stdio-common/tst-unbputc.c: Likewise.
26568         * stdio-common/tst-wc-printf.c: Likewise.
26569         * stdlib/tst-environ.c: Likewise.
26570         * stdlib/tst-fmtmsg.c: Likewise.
26571         * stdlib/tst-limits.c: Likewise.
26572         * stdlib/tst-rand48-2.c: Likewise.
26573         * stdlib/tst-rand48.c: Likewise.
26574         * stdlib/tst-random2.c: Likewise.
26575         * stdlib/tst-random.c: Likewise.
26576         * stdlib/tst-strtol.c: Likewise.
26577         * stdlib/tst-strtoll.c: Likewise.
26578         * stdlib/tst-tls-atexit.c: Likewise.
26579         * stdlib/tst-xpg-basename.c: Likewise.
26580         * string/test-ffs.c: Likewise.
26581         * string/tst-bswap.c: Likewise.
26582         * string/tst-inlcall.c: Likewise.
26583         * string/tst-strtok.c: Likewise.
26584         * string/tst-strxfrm.c: Likewise.
26585         * sysdeps/x86_64/tst-audit10.c: Likewise.
26586         * sysdeps/x86_64/tst-audit3.c: Likewise.
26587         * sysdeps/x86_64/tst-audit4.c: Likewise.
26588         * sysdeps/x86_64/tst-audit5.c: Likewise.
26589         * time/tst-ftime_l.c: Likewise.
26590         * time/tst-getdate.c: Likewise.
26591         * time/tst-mktime3.c: Likewise.
26592         * time/tst-mktime.c: Likewise.
26593         * time/tst-posixtz.c: Likewise.
26594         * time/tst-strptime2.c: Likewise.
26595         * time/tst-strptime3.c: Likewise.
26596         * wcsmbs/tst-btowc.c: Likewise.
26597         * wcsmbs/tst-mbrtowc.c: Likewise.
26598         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26599         * wcsmbs/tst-wchar-h.c: Likewise.
26600         * wcsmbs/tst-wcpncpy.c: Likewise.
26601         * wcsmbs/tst-wcrtomb.c: Likewise.
26602         * wcsmbs/tst-wcsnlen.c: Likewise.
26603         * wcsmbs/tst-wcstof.c: Likewise.
26605 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26607         [BZ #14132]
26608         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26609         INTDEF.
26610         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26611         declaration.
26612         (_dl_mcount): Use rtld_hidden_proto.
26613         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26614         _dl_mcount.
26615         * elf/rtld.c (_rtld_global_ro): Likewise.
26617         [BZ #14132]
26618         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26619         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26620         of _dl_init_internal.
26621         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26622         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26623         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26624         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26625         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26626         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26627         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26628         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26629         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26630         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26631         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26632         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26633         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26634         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26635         * sysdeps/tile/dl-start.S (_start): Likewise.
26636         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26637         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26639         [BZ #14132]
26640         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26641         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26642         (rtld_progname): Make macro definition unconditional.
26643         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26644         INTDEF.
26645         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26646         (dl_main): Likewise.
26647         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26648         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26649         instead of _dl_argv_internal.
26650         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26651         __GI__dl_argv instead of INTUSE(_dl_argv).
26652         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26653         __GI__dl_argv instead of _dl_argv_internal.
26655         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26656         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26657         macro.
26658         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26659         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26660         New macro.
26661         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26662         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26663         macro.
26664         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26665         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26667 2014-11-04  Andreas Schwab  <schwab@suse.de>
26669         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26671 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26673         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26674         mtvsrd instruction in binary form.
26676 2014-11-03  Andreas Schwab  <schwab@suse.de>
26678         [BZ #17522]
26679         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26680         for less than MB_LEN_MAX use a local buffer of that size.
26681         * libio/tst-fputws.c: New file.
26682         * libio/Makefile (tests): Add tst-fputws.
26684 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26686         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26687         the size of the fpu_fr.fpu_dregs[] array.
26689 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26691         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26692         (__nanosleep): Do not define as alias.
26693         (nanosleep): Define as alias of __nanosleep.
26694         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26695         __libc_nanosleep name.
26697 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26699         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26700         install.texi in comment.
26702 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26704         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26705         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26706         ... add here and use lwsync or sync ...
26707         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26708         ... and add here using lwsync.
26710 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26712         * elf/dl-machine-reject-phdr.h: New file.
26713         * elf/dl-load.c: #include that.
26714         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26715         if that returned true.
26717 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26719         [BZ #17496]
26720         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26721         gen-as-const-headers chunk.  Add a big scare comment after the last
26722         safe place to touch before-compile.
26724 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26726         * manual/install.texi (Tools for Compilation): Update autoconf
26727         version requirements.
26728         * INSTALL: Regenerated.
26730         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26731         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26732         (__libc_pselect): Likewise.
26734         [BZ #14138]
26735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26740 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26742         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26743         correct barrier instruction.
26744         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26745         Likewise.
26746         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26747         Likewise.
26749 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26751         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26752         after defining inlines.  Instead, just use parens to defeat macro
26753         expansion of __isctype in its declaration.
26755 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26757         * include/sys/uio.h (__libc_readv): Remove declaration.
26758         (__libc_writev): Likewise.
26759         * misc/readv.c (__libc_readv): Rename to __readv.
26760         (__readv): Do not define as alias.
26761         (readv): Define as alias of __readv.
26762         * misc/writev.c (__libc_writev): Rename to __writev.
26763         (__writev): Do not define as alias.
26764         (writev): Define as alias of __writev.
26765         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26766         (__readv): Do not define as alias.
26767         (readv): Define unconditionally as alias of __readv.
26768         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26769         (__writev): Do not define as alias.
26770         (writev): Define unconditionally as alias of __writev.
26771         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26772         name.
26773         (writev): Do not define __libc_writev name.
26775 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26777         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26778         (convert_charseq): New function, broken out of ...
26779         (use_from_charmap): ... here.  Call it.
26780         (use_to_charmap): Use convert_charseq and free instead of duplicating
26781         its code with a variable-length stack struct.
26783 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26785         * include/fcntl.h (__libc_creat): Remove declaration.
26786         * io/creat.c (__libc_creat): Rename to creat.
26787         (creat): Do not define as alias.
26788         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26789         of creat instead of __libc_creat.
26790         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26791         to creat.
26792         (creat): Do not define as alias.
26793         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26794         __libc_creat.
26795         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26796         __libc_creat name.
26797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26798         Likewise.
26800 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26802         * manual/llio.texi: Add comments discussing why write() may be
26803         considered MT-unsafe on Linux.
26805 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26807         * dl-load.c (local_strdup): Remove.
26808         (expand_dynamic_string_token): Use __strdup.
26809         (decompose_rpath): Likewise.
26810         (_dl_map_object): Likewise.
26812 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26814         [BZ #14132]
26815         * sysdeps/generic/unwind-dw2-fde.c
26816         (__register_frame_info_bases_internal): Do not declare.
26817         (__register_frame_info_table_bases_internal): Likewise.
26818         (__deregister_frame_info_bases_internal): Likewise.
26819         (__register_frame_info_bases): Declare and use hidden_proto before
26820         definition.  Use hidden_def instead of INTDEF.
26821         (__register_frame_info_table_bases): Likewise.
26822         (__deregister_frame_info_bases): Likewise.
26823         (__register_frame_info): Do not use INTUSE.
26824         (__register_frame): Likewise.
26825         (__register_frame_info_table): Likewise.
26826         (__register_frame_table): Likewise.
26827         (__deregister_frame_info): Likewise.
26828         (__deregister_frame): Likewise.
26830 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26832         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26833         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26834         not undefine.
26835         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26836         Likewise.
26837         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26838         Likewise.
26840 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26842         [BZ #14138]
26843         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26844         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26845         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26846         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26847         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26848         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26849         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26850         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26851         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26852         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26853         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26854         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26855         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26856         syscall.
26857         (setfsuid): Likewise.
26858         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26859         (setfsuid): Likewise.
26860         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26861         (setfsuid): Likewise.
26862         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26863         Likewise.
26864         (setfsuid): Likewise.
26865         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26866         (setfsuid): Likewise.
26867         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26868         Likewise.
26869         (setfsuid): Likewise.
26871 2014-10-27  Andreas Schwab  <schwab@suse.de>
26873         [BZ #17501]
26874         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26875         check for Slow_SSE4_2 feature bit.
26876         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26877         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26878         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26879         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26881 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26883         * configure.ac: Validate compiler version with a empirical test of
26884         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26885         $CC -v output.
26886         * configure: Regenerated.
26888         * inet/htons.c (htons): Prototypify.
26889         * inet/htonl.c (htonl): Likewise.
26891 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26893         * string/strncat.c (strncat): Improve performance by using strlen.
26895 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26897         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26899 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26901         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26902         Call libc_fetestexcept_aarch64.
26904 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26906         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26907         Call libc_feholdexcept_aarch64.
26909 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26911         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26912         Call get_rounding_mode.
26914 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26916         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26917         Simplify logic.
26919 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26921         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26922         Simplify logic.
26924 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26926         [BZ #14138]
26927         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26928         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26929         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26930         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26931         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26932         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26933         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26934         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26935         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26936         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26937         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26938         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26939         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26940         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26941         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26942         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26943         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26944         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26945         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26946         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26947         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26948         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26949         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26950         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26951         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26952         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26953         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26954         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26955         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26956         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26957         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26958         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26959         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26960         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26961         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26962         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26963         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26964         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26965         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26966         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26967         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26968         syscall.
26969         (geteuid): Likewise.
26970         (getgid): Likewise.
26971         (getuid): Likewise.
26972         (getresgid): Likewise.
26973         (getresuid): Likewise.
26974         (getgroups): Likewise.
26975         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26976         (geteuid): Likewise.
26977         (getgid): Likewise.
26978         (getuid): Likewise.
26979         (getresgid): Likewise.
26980         (getresuid): Likewise.
26981         (getgroups): Likewise.
26982         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26983         (geteuid): Likewise.
26984         (getgid): Likewise.
26985         (getuid): Likewise.
26986         (getresgid): Likewise.
26987         (getresuid): Likewise.
26988         (getgroups): Likewise.
26989         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26990         Likewise.
26991         (geteuid): Likewise.
26992         (getgid): Likewise.
26993         (getuid): Likewise.
26994         (getresgid): Likewise.
26995         (getresuid): Likewise.
26996         (getgroups): Likewise.
26997         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26998         (geteuid): Likewise.
26999         (getgid): Likewise.
27000         (getuid): Likewise.
27001         (getresgid): Likewise.
27002         (getresuid): Likewise.
27003         (getgroups): Likewise.
27004         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27005         Likewise.
27006         (geteuid): Likewise.
27007         (getgid): Likewise.
27008         (getuid): Likewise.
27009         (getgroups): Likewise.
27011         [BZ #14138]
27012         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27013         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27014         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27015         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27016         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27017         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27018         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27019         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27020         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27021         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27022         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27023         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27024         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27025         __chown.
27026         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27027         (lchown): Likewise.
27028         (fchown): Likewise.
27029         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27030         Likewise.
27031         (lchown): Likewise.
27032         (fchown): Likewise.
27033         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27034         (lchown): Likewise.
27035         (fchown): Likewise.
27036         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27037         Likewise.
27038         (lchown): Likewise.
27039         (fchown): Likewise.
27041 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27043         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27044         Simplify logic.
27046 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27048         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27049         Cleanup logic.
27051 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27053         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27054         Remove unused include.
27056 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27058         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27059         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27060         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27061         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27063 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27064             Helge Deller <deller@gmx.de>
27066         [BZ #17508]
27067         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27068         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27069         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27071 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27073         [BZ #14132]
27074         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27075         Remove macro definition.
27076         (__ashrdi3_v_glibc20): Likewise.
27077         (__lshrdi3_v_glibc20): Likewise.
27078         (__cmpdi2_v_glibc20): Likewise.
27079         (__ucmpdi2_v_glibc20): Likewise.
27080         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27081         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27082         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27083         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27084         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27085         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27087 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27089         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27090         old GNU extension [0] syntax.
27091         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27092         alloca rather than an array member with variable length.
27093         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27094         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27095         (parse_opt): ... here.  Likewise use alloca there.
27096         Validate the -i argument before checking for rootness.
27097         (send_shutdown): New function, broken out of ...
27098         (parse_opt): ... here.
27100 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27102         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27103         macro to get at the _rt_local_ro field.
27104         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27105         ([PIC] case) or _dl_hwcap ([!PIC] case).
27106         * sysdeps/arm/setjmp.S: Likewise.
27108         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27109         * sysdeps/arm/configure.ac: New check to define it.
27110         * sysdeps/arm/configure: Regenerated.
27111         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27112         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27113         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27114         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27115         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27116         Use move/movt pair instead of a load.
27117         (LDST_GLOBAL): Macro removed.
27118         (LDR_GLOBAL): New macro replaces it.
27119         (LDR_HIDDEN): New macro.
27120         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27121         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27123         * setjmp/tst-setjmp-static.c: New file.
27124         * setjmp/Makefile (tests): Add it.
27125         (tests-static): New variable.
27127 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27129         [BZ #17485]
27130         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27132 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27134         [BZ #14132]
27135         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27137 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27139         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27141 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27143         * io/fts.c (dirent_not_directory): New function.
27144         (fts_build): Call it.
27146 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27148         * nptl/version.c (__nptl_main): Use normal __write rather than
27149         INTERNAL_SYSCALL.
27150         (banner): Update copyright years.
27152         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27153         gettimeofday.
27154         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27155         * nptl/pthread_cond_timedwait.c: Likewise.
27156         * nptl/pthread_mutex_timedlock.c: Likewise.
27157         * nptl/sem_timedwait.c: Likewise.
27159         * sysdeps/nptl/bits/libc-lock.h
27160         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27161         (__libc_lock_init_recursive): Return void, not 0.
27162         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27163         (__libc_rwlock_init): Likewise.
27164         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27166 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27168         [BZ #15215]
27169         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27170         (__pthread_once_slow): ... here.
27171         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27172         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27174 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27176         [BZ #15215]
27177         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27178         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27179         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27180         * nptl/pthread_once.c (__pthread_once): Likewise.
27181         Update comments.
27183 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27185         [BZ #14138]
27186         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27187         name.
27188         (writev): Use __libc_writev as strong name.
27189         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27190         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27192 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27194         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27196         * sysdeps/i386/nptl/tls.h
27197         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27198         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27199         New macros.
27200         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27201         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27202         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27203         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27204         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27205         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27207         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27208         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27209         on [__NR_futex].
27210         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27211         broken out of ...
27212         (__pthread_mutex_init): ... here.  Call it.
27213         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27214         Conditionalize PI cases on [__NR_futex].
27215         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27216         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27217         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27219         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27220         conditional on [SIGSETXID].
27221         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27222         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27223         is defined.  Likewise for SIGSETXID.
27224         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27225         Conditionalize definitions on [SIGSETXID].
27226         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27227         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27228         unblocking on [SIGCANCEL].
27230         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27231         [__NR_set_robust_list].
27233 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27235         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27236         (do_compare): Likewise.
27238 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27240         [BZ #15884]
27241         * string/strcoll_l.c: Don't include stdio.h.
27242         (coll_seq): Remove members idxarr and rulearr.
27243         (get_next_seq_cached): Remove function.
27244         (get_next_seq): Likewise.
27245         (get_next_seq_nocache): Rename to get_next_seq.
27246         (do_compare): Remove function.
27247         (do_compare_nocache): Rename to do_compare.
27248         (STRCOLL): Remove weight and rules cache.
27250 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27252         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27253         * sysdeps/arm/sfp-machine.h: ... to here.
27254         * sysdeps/arm/Implies: Remove arm/soft-fp.
27256 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27258         * conform/data/sys/utsname.h-data (*_t): Allow.
27259         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27260         [POSIX] (WEXITED): Do not expect constant.
27261         [POSIX] (WSTOPPED): Likewise.
27262         [POSIX] (WNOHANG): Likewise.
27263         [POSIX] (WNOWAIT): Likewise.
27264         [POSIX] (siginfo_t): Do not expect type or elements.
27265         [POSIX] (pid_t): Do not expect type.
27266         [POSIX] (signal.h): Do not allow header.
27267         [POSIX] (sys/resource.h): Likewise.
27268         [POSIX] (si_*): Do not allow pattern.
27269         [POSIX] (W*): Likewise.
27270         [POSIX] (P_*): Likewise.
27271         [POSIX] (BUS_*): Likewise.
27272         [POSIX] (CLD_*): Likewise.
27273         [POSIX] (FPE_*): Likewise.
27274         [POSIX] (ILL_*): Likewise.
27275         [POSIX] (POLL_*): Likewise.
27276         [POSIX] (SEGV_*): Likewise.
27277         [POSIX] (SI_*): Likewise.
27278         [POSIX] (TRAP_*): Likewise.
27279         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27280         variable.
27282 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27284         [BZ #12926]
27285         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27286         infinite loop when __recvmsg returns 0.
27288 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27290         * CANCEL-FCT-WAIVE: Remove file.
27291         * CANCEL-FILE-WAIVE: Likewise.
27293         [BZ #14132]
27294         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27295         instead of INTVARDEF.
27296         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27297         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27298         rtld_hidden_data_def instead of INTVARDEF.
27299         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27300         * elf/dl-deps.c (expand_dst): Likewise.
27301         * elf/dl-load.c (_dl_dst_count): Likewise.
27302         (_dl_dst_substitute): Likewise.
27303         (decompose_rpath): Likewise.
27304         (_dl_init_paths): Likewise.
27305         (open_path): Likewise.
27306         (_dl_map_object): Likewise.
27307         * elf/rtld.c (dl_main): Likewise.
27308         (process_dl_audit): Likewise.
27309         (process_envvars): Likewise.
27310         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27311         Remove declaration.
27312         (__libc_enable_secure): Use rtld_hidden_proto.
27314 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27316         * elf/dl-load.c
27317         (add_path): New function broken out of _dl_rtld_di_serinfo.
27318         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27320 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27322         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27323         parentheses around macro arguments.
27324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27327         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27328         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27332         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27335         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27336         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27337         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27338         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27339         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27340         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27345         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27350         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27353         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27354         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27355         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27356         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27357         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27358         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27359         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27360         Likewise.
27361         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27362         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27366         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27367         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27368         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27369         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27370         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27371         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27372         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27373         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27382         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27383         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27384         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27385         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27386         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27387         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27388         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27389         (_FP_FRAC_SRS_1): Likewise.
27390         (_FP_FRAC_CLZ_1): Likewise.
27391         (_FP_MUL_MEAT_1_imm): Likewise.
27392         (_FP_MUL_MEAT_1_wide): Likewise.
27393         (_FP_MUL_MEAT_1_hard): Likewise.
27394         (_FP_SQRT_MEAT_1): Likewise.
27395         (_FP_FRAC_ASSEMBLE_1): Likewise.
27396         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27397         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27398         (__FP_CLZ_2): Likewise.
27399         (_FP_MUL_MEAT_2_wide): Likewise.
27400         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27401         (_FP_MUL_MEAT_2_gmp): Likewise.
27402         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27403         (_FP_SQRT_MEAT_2): Likewise.
27404         (_FP_FRAC_ASSEMBLE_2): Likewise.
27405         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27406         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27407         (_FP_FRAC_CLZ_4): Likewise.
27408         (_FP_MUL_MEAT_4_wide): Likewise.
27409         (_FP_MUL_MEAT_4_gmp): Likewise.
27410         (_FP_SQRT_MEAT_4): Likewise.
27411         (_FP_FRAC_ASSEMBLE_4): Likewise.
27412         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27413         * soft-fp/op-common.h (_FP_CMP): Likewise.
27414         (_FP_CMP_EQ): Likewise.
27415         (_FP_CMP_UNORD): Likewise.
27416         (_FP_TO_INT): Likewise.
27417         (_FP_FROM_INT): Likewise.
27418         [!__FP_CLZ] (__FP_CLZ): Likewise.
27419         (_FP_DIV_HELP_imm): Likewise.
27420         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27421         Likewise.
27422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27425         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27426         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27433         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27434         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27435         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27436         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27437         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27438         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27444         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27448         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27451         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27452         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27453         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27454         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27455         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27456         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27457         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27458         (FP_UNPACK_RAW_SP): Likewise.
27459         (FP_PACK_RAW_S): Likewise.
27460         (FP_PACK_RAW_SP): Likewise.
27461         (FP_UNPACK_S): Likewise.
27462         (FP_UNPACK_SP): Likewise.
27463         (FP_UNPACK_SEMIRAW_S): Likewise.
27464         (FP_UNPACK_SEMIRAW_SP): Likewise.
27465         (FP_PACK_S): Likewise.
27466         (FP_PACK_SP): Likewise.
27467         (FP_PACK_SEMIRAW_S): Likewise.
27468         (FP_PACK_SEMIRAW_SP): Likewise.
27469         (_FP_SQRT_MEAT_S): Likewise.
27470         (FP_CMP_S): Likewise.
27471         (FP_CMP_EQ_S): Likewise.
27472         (FP_CMP_UNORD_S): Likewise.
27473         (FP_TO_INT_S): Likewise.
27474         (FP_FROM_INT_S): Likewise.
27476         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27478         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27479         (FP_EX_INVALID_IMZ): Likewise.
27480         (FP_EX_INVALID_IMZ_FMA): Likewise.
27481         (FP_EX_INVALID_ISI): Likewise.
27482         (FP_EX_INVALID_ZDZ): Likewise.
27483         (FP_EX_INVALID_IDI): Likewise.
27484         (FP_EX_INVALID_SQRT): Likewise.
27485         (FP_EX_INVALID_CVI): Likewise.
27486         (FP_EX_INVALID_VC): Likewise.
27487         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27488         "invalid" exceptions.
27489         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27490         (_FP_ADD_INTERNAL): Likewise.
27491         (_FP_MUL): Likewise.
27492         (_FP_FMA): Likewise.
27493         (_FP_DIV): Likewise.
27494         (_FP_CMP_CHECK_NAN): Likewise.
27495         (_FP_SQRT): Likewise.
27496         (_FP_TO_INT): Likewise.
27497         (FP_EXTEND): Likewise.
27499 2014-10-09  Allan McRae  <allan@archlinux.org>
27501         * po/fr.po: Update French translation from translation project.
27503 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27505         [BZ #14132]
27506         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27507         of INTDEF.
27508         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27509         (__cxa_atexit): Use libc_hidden_proto.
27510         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27512         [BZ #14132]
27513         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27514         declaration.
27515         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27516         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27517         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27518         [!_ISOMAC] (__iswctype_internal): Likewise.
27519         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27520         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27521         alias.
27522         (fcntl): Remove __fcntl_internal alias.
27523         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27524         __connect_internal alias.
27525         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27526         Likewise.
27528         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27529         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27530         FP_DENORM_ZERO.
27531         (_FP_CHECK_FLUSH_ZERO): New macro.
27532         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27533         (_FP_CMP): Likewise.
27534         (_FP_CMP_EQ): Likewise.
27535         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27536         FP_DENORM_ZERO.
27537         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27538         (FP_TRUNC): Likewise.
27540         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27541         treated as invalid conversion, not as normal exponent.
27543         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27544         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27545         (_FP_CMP_EQ): Likewise.
27546         (_FP_CMP_UNORD): Likewise.
27547         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27548         (FP_CMP_EQ_D): Likewise.
27549         (FP_CMP_UNORD_D): Likewise.
27550         * soft-fp/extended.h (FP_CMP_E): Likewise.
27551         (FP_CMP_EQ_E): Likewise.
27552         (FP_CMP_UNORD_E): Likewise.
27553         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27554         (FP_CMP_EQ_Q): Likewise.
27555         (FP_CMP_UNORD_Q): Likewise.
27556         * soft-fp/single.h (FP_CMP_S): Likewise.
27557         (FP_CMP_EQ_S): Likewise.
27558         (FP_CMP_UNORD_S): Likewise.
27559         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27560         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27561         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27562         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27563         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27564         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27565         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27566         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27567         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27568         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27569         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27570         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27571         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27572         to FP_CMP_Q.
27573         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27574         FP_CMP_Q.
27575         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27576         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27577         FP_CMP_EQ_Q.
27578         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27579         FP_CMP_Q.
27580         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27581         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27582         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27583         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27584         FP_CMP_EQ_Q.
27585         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27586         FP_CMP_Q.
27587         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27588         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27589         FP_CMP_EQ_Q.
27590         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27591         FP_CMP_Q.
27592         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27593         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27594         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27595         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27596         FP_CMP_EQ_Q.
27598         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27599         a subnormal result, set the underflow exception if trapping on
27600         underflow is enabled.
27601         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27602         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27603         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27604         redefine to 0.
27605         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27606         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27607         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27608         * soft-fp/extendxftf2.c (__extendxftf2): Use
27609         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27611         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27612         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27613         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27614         FP_HANDLE_EXCEPTIONS.
27615         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27616         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27617         FP_HANDLE_EXCEPTIONS.
27618         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27619         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27620         FP_HANDLE_EXCEPTIONS.
27621         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27622         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27623         FP_HANDLE_EXCEPTIONS.
27625 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27627         [BZ #14132]
27628         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27629         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27630         use INTUSE.
27631         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27632         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27633         Remove alias.
27634         (__adjtimex): Define using libc_hidden_ver.
27635         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27636         Remove declaration.
27637         (ntp_gettime): Call __adjtimex directly.
27638         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27639         Remove declaration.
27640         (ntp_gettimex): Call __adjtimex directly.
27641         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27642         __adjtimex_internal alias.
27644 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27646         [BZ #17460]
27647         * nscd/nscd.c (more_help): Rewrite list of tables collection
27648         using xstrdup and asprintf.
27650         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27652 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27653             Roland McGrath  <roland@hack.frob.com>
27655         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27656         (do_lookup_unique): ... local function 'enter' here; update callers.
27658 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27660         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27661         compat_symbol calls on [SHARED].
27662         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27663         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27664         Remove.
27665         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27666         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27667         (oldsetrlimit): Remove.
27668         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27670         (lchown): New syscall entry.
27671         (oldsetrlimit): Remove.
27672         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27674         (oldsetrlimit): Remove.
27675         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27677         [BZ #14138]
27678         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27679         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27680         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27681         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27682         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27683         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27684         (fchown): Likewise.
27685         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27686         (fchown): Likewise.
27687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27688         Likewise.
27690 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27692         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27693         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27694         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27695         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27696         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27697         Likewise.
27698         (__old_sem_post): Likewise.
27700 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27702         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27703         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27704         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27705         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27706         Use INLINE_VSYSCALL macro.
27707         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27708         __vdso_clock_gettime.
27709         * sysdeps/unix/sysv/linux/tile/init-first.c
27710         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27711         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27712         __vdso_clock_gettime.
27714         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27715         to set up frame more cleanly.
27717         * sysdeps/tile/memcmp.c: New file.
27719         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27721         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27722         * sysdeps/tile/tilegx/strcasestr.c: New file.
27723         * sysdeps/tile/tilegx/strnlen.c: New file.
27724         * sysdeps/tile/tilegx/strstr.c: New file.
27726         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27728 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27730         * nptl/tst-setuid3.c: Write errors to stdout.
27732 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27734         * elf/dl-deps.c
27735         (preload): New functions broken out of _dl_map_object_deps.
27736         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27738 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27740         [BZ #14138]
27741         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27742         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27744 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27746         * sysdeps/mips/strcmp.S: New.
27748 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27750         [BZ #14138]
27751         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27752         (linkat): Likewise.
27753         (mkdirat): Likewise.
27754         (readlinkat): Likewise.
27755         (renameat): Likewise.
27756         (symlinkat): Likewise.
27757         (unlinkat): Likewise.
27758         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27759         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27760         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27761         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27762         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27763         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27764         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27766 2014-09-30  Will Newton  <will.newton@linaro.org>
27768         * math/math.h: Define long double math functions if
27769         _LIBC_TEST is defined.
27770         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27772         * localedata/Makefile: Move assignment to tests-special
27773         into an ifdef testing run-built-tests.
27774         * timezone/Makefile: Likewise.
27776 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27778         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27779         with $(BASH) not $(SHELL).
27781 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27782             Matthew LeGendre  <legendre1@llnl.gov>
27784         [BZ #17411]
27785         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27786         l_reloc_result.
27788 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27790         * stdio-common/printf_fp.c
27791         (hack_digit): New function, broken out of ...
27792         (__printf_fp): ... local function here.  Update call sites.
27793         hack_digit now takes an additional parameter that is a pointer
27794         to a struct of the referenced locals.  Those locals moved inside
27795         the struct and references updated.
27797 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27799         * aclocal.m4: Require autoconf 2.69.
27800         * configure: Regenerated.
27801         * sysdeps/aarch64/configure: Likewise.
27802         * sysdeps/alpha/configure: Likewise.
27803         * sysdeps/arm/armv7/configure: Likewise.
27804         * sysdeps/arm/configure: Likewise.
27805         * sysdeps/ia64/configure: Likewise.
27806         * sysdeps/mach/configure: Likewise.
27807         * sysdeps/mips/configure: Likewise.
27808         * sysdeps/s390/configure: Likewise.
27809         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27812         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27813         file.
27814         * sysdeps/ia64/configure.ac: Likewise.
27816 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27819         specify symbol version for ld.so.  Do not include entry for
27820         libpthread.
27821         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27822         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27823         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27825         [BZ #14171]
27826         * Makeconfig [$(build-shared) = yes]
27827         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27828         makefiles.
27829         [$(build-shared) = yes && $(soversions.mk-done) = t]
27830         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27831         [$(build-shared) = yes && $(soversions.mk-done) = t]
27832         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27833         to Makerules.
27834         [$(build-shared) = yes && $(soversions.mk-done) = t]
27835         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27836         here.
27837         [$(build-shared) = yes && $(soversions.mk-done) = t]
27838         (common-generated): Don't append gnu/lib-names.h and
27839         gnu/lib-names.stmp here.
27840         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27841         (lib-names-h-abi): New variable.
27842         [$(build-shared) = yes && $(soversions.mk-done) = t]
27843         (lib-names-stmp-abi): Likewise.
27844         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27845         abi-variants] (before-compile): Append
27846         $(common-objpfx)$(lib-names-h-abi).
27847         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27848         abi-variants] (common-generated): Append gnu/lib-names.h.
27849         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27850         abi-variants] (install-others-nosubdir): Depend on
27851         $(inst_includedir)/$(lib-names-h-abi).
27852         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27853         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27854         [$(build-shared) = yes && $(soversions.mk-done) = t]
27855         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27856         [$(build-shared) = yes && $(soversions.mk-done) = t]
27857         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27858         [$(build-shared) = yes && $(soversions.mk-done) = t]
27859         (common-generated): Append $(lib-names-h-abi) and
27860         $(lib-names-stmp-abi).
27861         * scripts/lib-names.awk: Do not handle multi being set.
27862         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27863         Remove variable.
27864         (abi-lp64_be-ld-soname): Likewise.
27865         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27866         Likewise.
27867         (abi-hard-ld-soname): Likewise.
27868         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27869         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27870         Remove variable.
27871         (abi-o32_hard-ld-soname): Likewise.
27872         (abi-o32_soft_2008-ld-soname): Likewise.
27873         (abi-o32_hard_2008-ld-soname): Likewise.
27874         (abi-n32_soft-ld-soname): Likewise.
27875         (abi-n32_hard-ld-soname): Likewise.
27876         (abi-n32_soft_2008-ld-soname): Likewise.
27877         (abi-n32_hard_2008-ld-soname): Likewise.
27878         (abi-n64_soft-ld-soname): Likewise.
27879         (abi-n64_hard-ld-soname): Likewise.
27880         (abi-n64_soft_2008-ld-soname): Likewise.
27881         (abi-n64_hard_2008-ld-soname): Likewise.
27882         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27883         Likewise.
27884         (abi-64-v2-ld-soname): Likewise.
27885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27886         ld.so entries.
27887         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27888         variable.
27889         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27890         entry.
27891         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27892         variable.
27893         (abi-64-ld-soname): Likewise.
27894         (abi-x32-ld-soname): Likewise.
27895         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27896         entry.
27897         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27899 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27901         [BZ #14138]
27902         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27903         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27904         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27905         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27906         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27907         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27908         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27909         syscall entry for GLIBC_2.2 symbol version.
27910         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27911         Likewise.
27912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27913         (setrlimit): Likewise.
27914         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27915         Likewise.
27917 2014-09-23  Will Newton  <will.newton@linaro.org>
27919         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27920         _LINUX_ARM_SYSDEP_H include guard too.
27921         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27922         define.
27924 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27926         * sysdeps/unix/sysv/linux/eventfd.c:
27927         Make first argument unsigned.
27928         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27929         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27931 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27933         [BZ #16852]
27934         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27935         * socket/sys/socket.h: Likewise.
27936         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27938 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27940         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27942 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27944         * time/tst-ftime.c: New test.
27945         * time/Makefile (tests): Add tst-ftime.
27947 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27949         * soft-fp/extended.h: Fix comment formatting.
27950         * soft-fp/op-1.h: Likewise.
27951         * soft-fp/op-2.h: Likewise.
27952         * soft-fp/op-4.h: Likewise.
27953         * soft-fp/op-8.h: Likewise.
27954         * soft-fp/op-common.h: Likewise.
27955         * soft-fp/soft-fp.h: Likewise.
27957         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27959 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27961         [BZ #6652]
27962         * Makeconfig (soversions-default-setname): Remove variable.
27963         ($(common-objpfx)soversions.i): Don't pass default_setname to
27964         soversions.awk.
27965         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27966         oldest_abi to abi-versions.awk.
27967         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27968         * config.make.in (oldest-abi): Remove variable.
27969         * configure.ac (--enable-oldest-abi): Remove configure option.
27970         * configure: Regenerated.
27971         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27972         text.
27973         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27974         * scripts/soversions.awk: Do not handle default_setname variable.
27975         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27976         variable.
27977         * sysdeps/mach/hurd/configure: Regenerated.
27978         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27979         variable.
27980         * sysdeps/unix/sysv/linux/configure: Regenerated.
27982 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27984         * elf/Makefile (CFLAGS-interp.c): Remove.
27985         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27986         path string.
27987         * elf/interp.c: Include generated runtime-linker.h
27989         * Makerules (lib%.so): Don't include $(+interp) in
27990         prerequisites.
27991         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27992         * dlfcn/eval.c: Remove file.
27994         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27995         macros.
27997         [BZ #17266]
27998         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27999         4.2 and newer.
28001         [BZ #17370]
28002         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28004 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28005             Jakub Jelinek  <jakub@redhat.com>
28007         [BZ #17266]
28008         * libio/stdio.h: Check definition of __fortify_function
28009         instead of __extern_always_inline to include bits/stdio2.h.
28010         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28011         check if __extern_always_inline is defined.
28012         [__USE_MISC || __USE_XOPEN]: Likewise.
28013         [__USE_ISOC99] Likewise.
28014         * misc/sys/cdefs.h (__fortify_function): Define only if
28015         __extern_always_inline is defined.
28016         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28017         __extern_always_inline and __extern_inline only for g++-4.3
28018         and newer or a compatible gcc.
28020 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28022         [BZ #17371]
28023         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28024         last change to handle zero prefix length.
28026 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28028         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28029         _SC_REGEX_VERSION.
28031         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28032         _POSIX_RAW_SOCKETS.
28034 2014-09-13  Allan McRae  <allan@archlinux.org>
28036         * po/ru.po: Update Russian translation from translation project.
28038 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28040         * locale/programs/locale.c (show_locale_vars): Inline local function
28041         into its sole call site.  Clean up some style nits.
28042         (print_item): New function, broken out of ...
28043         (show_info): ... local function here.  Clean up style nits.
28045         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28046         out of ...
28047         (set_class_defaults): ... local function set_default here.
28048         Define set_default as a macro locally to pass constant parameters.
28049         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28050         rather than a shared local.
28052         * stdlib/rpmatch.c (try): New function, broken out of ...
28053         (rpmatch): ... local function here.  Also, prototypify definition.
28055 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28057         * scripts/soversions.awk: Do not handle configuration names.
28058         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28059         vendor and os variables to soversions.awk.
28060         * configure.ac: Do not modify gnu-* host_os.
28061         * configure: Regenerated
28062         * shlib-versions: Remove first column with configuration names.
28063         * nptl/shlib-versions: Likewise.
28064         * nptl_db/shlib-versions: Likewise.
28065         * sysdeps/hppa/shlib-versions: Likewise.
28066         * sysdeps/m68k/shlib-versions: Likewise.
28067         * sysdeps/mach/hurd/shlib-versions: Likewise.
28068         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28069         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28070         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28071         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28072         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28073         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28074         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28075         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28077         Likewise.
28078         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28079         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28080         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28081         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28082         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28083         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28084         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28085         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28088         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28090         Regenerated.
28091         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28093         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28095         * shlib-versions: Remove OS-specific entries.  Moved to files in
28096         sysdeps.
28097         * sysdeps/mach/hurd/shlib-versions: New file.
28098         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28100         * nptl/shlib-versions: Remove architecture-specific entries.
28101         Moved to files in sysdeps.
28102         * shlib-versions: Likewise.
28103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28104         file.
28105         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28106         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28107         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28108         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28110         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28111         (UDP_NO_CHECK6_RX): Likewise.
28113 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28115         * sysdeps/posix/sysconf.c (__sysconf): Spell
28116         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28118 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28120         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28121         loading.
28122         * iconv/Versions (__gconv_transliterate): Export for use from
28123         gconv modules.
28124         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28125         (struct __gconv_trans_data, __gconv_trans_fct,
28126         __gconv_trans_context_fct, __gconv_trans_query_fct,
28127         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28128         definitions.
28129         (struct __gconv_step_data): Remove __trans member.
28130         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28131         longer hidden.  Remove unused trans_data argument.
28132         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28133         (__gconv_translit_find): Remove declaration.
28134         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28135         prototype.
28136         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28137         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28138         trans_data argument.  Add hidden definition.
28139         (__gconv_translit_find): Remove.
28140         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28141         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28142         * iconv/skeleton.c: Remove transliteration initialization.
28143         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28144         __gconv_step_data initialization.
28145         * libio/iofwide.c (__libio_translit_): Remove.
28146         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28147         * wcsmbs/btowc.c (__btowc): Likewise.
28148         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28149         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28150         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28151         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28152         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28153         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28154         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28155         * wcsmbs/wctob.c (wctob): Likewise.
28157 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28159         [BZ #16194]
28160         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28161         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28162         register usage.
28163         * sysdeps/x86/Makefile: Adjust.
28165 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28166             Roland McGrath  <roland@hack.frob.com>
28168         * locale/weight.h: Add include guard.
28169         (findidx): Make static rather than auto; take new parameters
28170         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28171         * locale/weightwc.h: Likewise.
28172         * posix/fnmatch_loop.c
28173         (FCT): Change type of EXTRA from int32_t to wint_t.
28174         Don't include either header inside the function.
28175         Call FINDIDX rather than findidx, and pass new arguments.
28176         #undef FINDIDX at the end of the file.
28177         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28178         FINDIDX before including fnmatch_loop.c for the non-wide version.
28179         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28180         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28181         for the wide version.
28182         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28183         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28184         Pass new arguments to findidx.
28185         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28186         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28187         Don't #include it inside the function.  Pass new arguments to findidx.
28188         * posix/regex_internal.h
28189         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28190         (re_string_elem_size_at): Don't #include it inside the function.
28191         Pass new arguments to findidx.
28192         * string/strcoll_l.c: #include WEIGHT_H at top level.
28193         (get_next_seq): Don't #include it inside the function.
28194         Pass new arguments to findidx.
28195         (get_next_seq_nocache): Likewise.
28196         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28197         (STRXFRM): Don't #include it inside the function.
28198         Pass new arguments to findidx.
28200 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28202         [BZ #17344]
28203         * malloc/malloc.c (unlink): Turn asserts into a call to
28204         malloc_printerr.
28206 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28208         [BZ #17370]
28209         * libio/wfileops (do_ftell_wide): Free OUT.
28211 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28213         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28215 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217         [BZ #17363]
28218         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28219         group if the current group is empty.
28221 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28223         * benchtests/bench-memset.c (test_main): Add more test from size
28224         from 32 to 512 bytes.
28225         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28226         Add POWER8 memset object.
28227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28228         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28229         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28230         implementation.
28231         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28232         Likewise.
28233         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28234         multiarch POWER8 memset optimization.
28235         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28236         POWER8 memset optimization.
28238         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28239         Remove bzero multiarch objects.
28240         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28241         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28242         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28243         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28244         Remove define.
28245         [__bzero]: Redefine to specific name.
28246         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28247         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28248         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28249         define.
28250         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28251         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28253 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28255         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28256         warnings into errors.
28258         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28259         __cxa_thread_atexit_impl prototype.
28261 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28263         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28264         Fix capitalization of error message.
28266 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28268         * sysdeps/mips/preconfigure: Modify ABI tests.
28270 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28272         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28274 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28275             Carlos O'Donell  <carlos@systemhalted.org>
28277         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28278         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28279         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28280         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28281         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28282         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28283         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28284         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28285         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28298         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28299         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28300         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28301         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28302         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28303         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28304         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28305         Deconditionalize the code that was previously under [RESET_PID].
28306         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28307         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28308         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28309         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28310         include sysdep.h.
28312 2014-09-08  Allan McRae  <allan@archlinux.org>
28314         * version.h (RELEASE): Set to "development".
28315         (VERSION): Set to "2.20.90"
28317 2014-09-07  Allan McRae  <allan@archlinux.org
28319         * version.h (RELEASE): Set to "stable".
28320         (VERSION): Set to "2.20"
28321         * include/features.h (__GLIBC_MINOR__): Set to 20.
28323         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28324         Liebler.
28326         * po/ko.po: Update Korean translation from translation project.
28328 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28330         [BZ #17354]
28331         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28332         macro for handling signed relocations.
28334 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28336         [BZ #17325]
28337         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28338         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28339         assert.
28340         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28341         * iconvdata/ibm935.c (BODY): Likewise.
28342         * iconvdata/ibm937.c (BODY): Likewise.
28343         * iconvdata/ibm939.c (BODY): Likewise.
28344         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28345         assert.
28346         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28347         script.
28348         * iconvdata/run-iconv-test.sh: New test loop for checking for
28349         decoder crashers.
28351 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28353         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28354         libm_hidden_ver.
28356 2014-09-01  Allan McRae  <allan@archlinux.org>
28358         * po/eo.po: Update Esperanto translation from translation project.
28360         * po/ca.po: Update Catalan translation from translation project.
28362 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28364         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28365         __proc_dostop call.
28367 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28369         [BZ #17319]
28370         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28371         to call set_thread_area instead of hand written asm.
28372         (__NR_set_thread_area): Removed define.
28373         (TLS_FLAG_WRITABLE): Likewise.
28374         (__ASSUME_SET_THREAD_AREA): Remove check.
28375         (TLS_EBX_ARG): Remove define.
28376         (TLS_LOAD_EBX): Likewise.
28378 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28380         Simplify atomicity of socket creation in bind.
28382         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28383         looking up the name after linking the file.
28385 2014-08-27  Allan McRae  <allan@archlinux.org>
28387         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28389 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28391         [BZ #17187]
28392         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28393         trans_compare, open_translit, __gconv_translit_find):
28394         Remove module loading code.
28396 2014-08-26  Allan McRae  <allan@archlinux.org>
28398         * po/vi.po: Update Vietnamese translation from translation project.
28400         * po/uk.po: Update Ukrainian translation from translation project.
28402         * po/fr.po: Update French translation from translation project.
28404         * po/ru.po: Update Russian translation from translation project.
28406         * po/pl.po: Update Polish translation from translation project.
28408         * po/cs.po: Update Czech translation from translation project.
28410         * po/de.po: Update German translation from translation project.
28412         * po/bg.po: Update Bulgarian translation from translation project.
28414         * po/sv.po: Update Sweedish translation from translation project.
28416         * po/nl.po: Update Dutch translation from translation project.
28418         * po/es.po: Update Spanish translation from translation project.
28420 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28422         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28424         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28425         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28426         (CPPFLAGS-iconvconfig): Likewise.
28427         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28429         * include/libc-symbols.h: Remove unnecessary check for
28430         NOT_IN_libc.
28431         * nptl/pthreadP.h: Likewise.
28432         * sysdeps/aarch64/setjmp.S: Likewise.
28433         * sysdeps/alpha/setjmp.S: Likewise.
28434         * sysdeps/arm/sysdep.h: Likewise.
28435         * sysdeps/i386/setjmp.S: Likewise.
28436         * sysdeps/m68k/setjmp.c: Likewise.
28437         * sysdeps/posix/getcwd.c: Likewise.
28438         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28439         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28440         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28441         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28442         * sysdeps/sh/sh3/setjmp.S: Likewise.
28443         * sysdeps/sh/sh4/setjmp.S: Likewise.
28444         * sysdeps/unix/alpha/sysdep.h: Likewise.
28445         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28446         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28447         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28448         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28451         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28453         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28455         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28456         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28458         * sysdeps/x86_64/setjmp.S: Likewise.
28460 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28462         [BZ #17263]
28463         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28464         <stdint.h>.
28465         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28466         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28468 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28470         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28472         [BZ #17262]
28473         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28474         and __x86_64__ when disabling x87 inline functions.
28476 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28478         [BZ #17259]
28479         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28480         asm statement with __cpuid_count.
28482 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28484         * configure.ac: Change __ehdr_start code to dereference the struct.
28485         Run readelf on the output to look for relocations.
28486         * configure: Regenerated.
28488 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28490         [BZ #17261]
28491         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28492         value to 0.
28493         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28495 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28497         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28499 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28501         [BZ #16892]
28502         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28503         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28505 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28507         * malloc/malloc.c: Fix typo in comment.
28509 2014-08-09  Allan McRae  <allan@archlinux.org>
28511         * Regenerate libc.po.
28513 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28515         * intl/tst-gettext2.sh: Check every lang file for creation.
28517 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28519         * sysdeps/aarch64/fpu/math_private.h
28520         (libc_feholdsetround_noex_aarch64_ctx): New function.
28522 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28524         * sysdeps/arm/armv6/strcpy.S (strcpy):
28525         Fix performance issue in misaligned cases.
28527 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28529         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28530         Move definition from termios.h.
28531         (struct termio): Likewise.
28532         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28533         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28534         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28535         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28536         Likewise.
28537         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28538         Move definition to ioctl-types.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.
28546 2014-08-05  Richard Henderson  <rth@redhat.com>
28548         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28549         exceptions.
28550         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28551         Add fraiseexcpt.
28552         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28553         Use __feraiseexcept.
28554         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28555         Protect libm symbols with IS_IN_libm.
28557         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28559 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28561         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28563 2014-08-04  Will Newton  <will.newton@linaro.org>
28565         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28566         file.
28568 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28570         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28571         variants for each function.
28573 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28575         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28576         appended ...
28577         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28578         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28579         appended ...
28580         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28581         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28582         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28583         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28584         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28585         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28586         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28587         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28588         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28589         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28590         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28591         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28592         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28593         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28594         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28595         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28596         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28597         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28598         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28599         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28600         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28601         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28602         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28603         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28604         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28605         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28606         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28607         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28608         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28609         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28610         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28611         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28612         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28613         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28614         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28615         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28616         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28617         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28618         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28619         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28620         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28622         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28624         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28626         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28628         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28630         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28631         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28632         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28633         Update #include.
28634         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28635         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28637 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28639         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28640         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28641         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28642         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28643         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28644         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28646 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28648         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28649         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28650         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28651         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28653 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28655         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28656         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28657         (__libc_vfork): Define function under this name.
28658         (__vfork): Define as an alias.
28659         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28660         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28662 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28664         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28665         that was previously under [RESET_PID].
28666         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28668 2014-08-04  Andreas Schwab  <schwab@suse.de>
28670         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28672 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28674         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28675         (main): Likewise.
28677 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28679         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28681 2014-08-01  Richard Henderon  <rth@redhat.com>
28683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28684         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28685         typo in exact zero test.
28686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28687         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28690 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28692         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28693         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28694         * sysdeps/arm/sysdep.h: ... here.
28695         [!__ASSEMBLER__]: Include <stdint.h>.
28697 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28699         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28700         (HAVE_WCTYPE_H): Likewise.
28701         (HAVE_ISWCTYPE): Likewise.
28702         (ENABLE_NLS): Likewise.
28703         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28704         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28706         * posix/regex_internal.c: Check if DEBUG is defined and is
28707         set.
28709         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28710         (HAVE_MBSRTOWCS): Likewise.
28711         * posix/fnmatch.c: Include string.h unconditionally.
28713 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28715         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28716         reversal.
28718 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28720         * sysdeps/generic/safe-fatal.h: New file.
28721         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28722         * nptl/forward.c: Include it.
28723         (__pthread_unwind): Use __safe_fatal as default action, rather
28724         than a bogus use of INTERNAL_SYSCALL that could never work.
28726         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28727         * configure.ac (libc_cv_builtin_trap): New test.
28728         * configure: Regenerated.
28729         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28730         (ABORT_INSTRUCTION): Define using __builtin_trap.
28732         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28733         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28734         * sysdeps/nptl/nptl-signals.h: New file.
28735         * nptl/pthreadP.h: Include <nptl-signals.h>.
28737 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28739         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28740         (ONE_DIRECTION): Define.
28741         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28742         (ONE_DIRECTION): Define.
28743         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28744         (ONE_DIRECTION): Define.
28746 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28748         * sysdeps/s390/Makefile: Delete file.
28749         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28750         * sysdeps/s390/__longjmp.c: Delete file.
28751         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28752         Remove fields __flags and __reserved.
28753         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28754         and add versioning.
28755         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28756         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28757         * sysdeps/s390/rtld-setjmp.S: Likewise.
28758         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28759         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28760         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28761         * sysdeps/s390/s390-32/setjmp.S: ... here.
28762         Add versioning.
28763         (__sigsetjmp): Remove setting __flags field.
28764         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28765         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28766         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28767         * sysdeps/s390/s390-64/setjmp.S: ... here.
28768         Add versioning.
28769         (__sigsetjmp): Remove setting __flags field.
28770         * sysdeps/s390/setjmp.S: Delete file.
28771         * sysdeps/s390/sigjmp.c: Likewise.
28772         * sysdeps/s390/v1-longjmp.c: Likewise.
28773         * sysdeps/s390/v1-setjmp.h: Likewise.
28774         * sysdeps/s390/v1-sigjmp.c: Likewise.
28775         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28776         Remove v1-longjmp_chk.
28777         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28778         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28779         Include debug/longjmp_chk.c and add versioning.
28780         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28781         Include nptl/pt-longjmp.c and add versioning.
28782         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28783         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28784         Include __longjmp.c.
28785         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28786         Move to ...
28787         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28788         (__getcontext): Remove setting __flags field.
28789         Add versioning.
28790         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28791         Don't restore upper high grps.
28792         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28793         Likewise.
28794         (__swapcontext): Remove setting uc_flags field.
28795         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28796         Delete file.
28797         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28798         Include __longjmp.c.
28799         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28800         Move to ...
28801         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28802         (__getcontext): Remove setting __flags field.
28803         Add versioning.
28804         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28805         (__swapcontext): Remove setting uc_flags field.
28806         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28807         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28808         Remove fields uc_high_gprs and __reserved.
28809         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28810         New file with reverted content.
28811         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28812         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28813         Regenerated.
28814         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28815         Regenerated.
28817 2014-07-31  Andreas Schwab  <schwab@suse.de>
28819         * config.h.in (HAVE_IFUNC): Define to 0.
28820         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28821         definedness.
28823 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28826         memmove-avx-unaligned, memcpy-avx-unaligned and
28827         mempcpy-avx-unaligned.
28828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28829         Add tests for AVX memcpy functions.
28830         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28831         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28832         memcpy_chk.
28833         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28834         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28835         memmove_chk.
28836         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28837         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28838         mempcpy_chk.
28839         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28840         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28841         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28843 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28845         [BZ #17213]
28846         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28847         powerpc64le.
28849 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28851         [BZ #16839]
28852         * manual/llio.texi: Add section about open file description locks.
28853         * manual/examples/ofdlocks.c: Example of open file description
28854         lock usage.
28855         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28856         F_OFD_SETLK, and F_OFD_SETLKW.
28858 2014-07-23  Allan McRae  <allan@archlinux.org>
28860         * po/es.po: Update Spanish translation from translation project.
28862 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28864         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28866 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28868         [BZ #17078]
28869         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28870         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28871         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28873 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28875         [BZ #17088]
28876         * math/fesetenv.c (__fesetenv)
28877         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28878         * math/feupdateenv.c (__feupdateenv)
28879         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28881         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28882         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28883         (__ASSUME_SOCKETCALL): Do not define.
28885         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28886         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28887         (__ASSUME_SOCKETCALL): Do not define.
28888         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28889         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28890         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28891         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28893         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28894         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28895         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28897         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28898         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28899         (__ASSUME_SOCKETCALL): Do not define.
28900         (__ASSUME_IPC64): Define unconditionally.
28901         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28902         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28903         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28904         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28905         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28906         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28907         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28908         Likewise.
28910         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28911         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28912         (__ASSUME_SOCKETCALL): Do not define.
28913         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28914         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28915         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28916         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28917         (__ASSUME_REQUEUE_PI): Define unconditionally.
28918         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28919         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28920         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28921         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28922         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28923         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28925         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28926         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28927         (__ASSUME_SOCKETCALL): Do not define.
28928         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28929         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28930         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28931         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28932         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28933         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28935         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28936         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28937         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28938         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28939         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28940         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28941         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28942         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28943         (__ASSUME_GETCPU_SYSCALL): Likewise.
28945         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28946         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28947         cases for individual architectures.
28948         * sysdeps/gnu/configure: Regenerated.
28949         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28950         LIBC_SLIBDIR_RTLDDIR.
28951         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28952         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28953         LIBC_SLIBDIR_RTLDDIR.
28954         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28956         LIBC_SLIBDIR_RTLDDIR.
28957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28958         Regenerated.
28959         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28960         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28961         file.
28962         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28963         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28964         file.
28965         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28966         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28967         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28968         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28970         * sysdeps/aarch64/shlib-versions: Move to ...
28971         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28972         * sysdeps/alpha/shlib-versions: Move to ...
28973         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28974         * sysdeps/arm/shlib-versions: Move to ...
28975         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28976         * sysdeps/hppa/shlib-versions: Move all contents except for
28977         libgcc_s entry to ...
28978         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28979         entry from ...
28980         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28981         * sysdeps/ia64/shlib-versions: Move to ...
28982         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28983         entry from ...
28984         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28985         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28986         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28987         * sysdeps/microblaze/shlib-versions: Move to ...
28988         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28989         * sysdeps/mips/shlib-versions: Move to ...
28990         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28991         entry from ...
28992         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28993         * sysdeps/tile/shlib-versions: Move to ...
28994         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28995         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28996         from ...
28997         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28998         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28999         entry from ...
29000         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29002 2014-07-17  Will Newton  <will.newton@linaro.org>
29004         * sysdeps/arm/bits/atomic.h
29005         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29006         (__arch_compare_and_exchange_bool_16_int): Likewise.
29007         (__arch_compare_and_exchange_bool_64_int): Likewise.
29009         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29010         into an #else block.
29012 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29014         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29015         just Linux configurations.  Test empirically that the compiler sets
29016         __ARM_EABI__, rather than using the tuple to decide.
29017         * sysdeps/arm/preconfigure: Regenerated.
29018         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29019         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29020         contents appended ...
29021         * sysdeps/arm/configure.ac: ... here.
29022         * sysdeps/arm/configure: Regenerated.
29024 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29026         * nptl/pthread_kill.c: New file.
29027         * nptl/pthread_sigmask.c: New file.
29028         * nptl/pthread_sigqueue.c: New file.
29030         * sysdeps/nptl/lowlevellock.h: New file.
29031         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29032         * sysdeps/nptl/lowlevellock-futex.h: New file.
29034         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29035         Remove dead declarations.
29037 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29039         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29040         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29041         config-cflags-avx2.
29042         * sysdeps/x86_64/configure.ac: Likewise.
29043         * sysdeps/i386/configure: Regenerated.
29044         * sysdeps/x86_64/configure: Likewise.
29045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29046         memset-avx2 only if config-cflags-avx2 is yes.
29047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29048         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29049         defined.
29050         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29051         only if HAVE_AVX2_SUPPORT is defined.
29052         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29054 2014-07-14  Alan Modra  <amodra@gmail.com>
29056         [BZ #17153]
29057         * elf/elf.h (DT_PPC64_NUM): Correct value.
29058         * NEWS: Add to fixed bug list.
29060 2014-07-13  Jim Meyering  <meyering@fb.com>
29062         [BZ 17150]
29063         regex: don't deref NULL upon heap allocation failure
29064         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29065         failure in one more place.
29066         To trigger the segfault, configure grep -with-included-regex,
29067         build it, and run these commands:
29068         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29070 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29072         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29074 2014-07-11  Richard Henderson  <rth@redhat.com>
29076         * sysdeps/aarch64/libm-test-ulps: Update.
29078 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29080         [BZ #17135]
29081         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29082         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29083         (__nptl_setxid): Initialize error member.  Call
29084         __nptl_setxid_error.
29085         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29086         * nptl/descr.h (struct xid_command): Add error member.
29087         * nptl/tst-setuid3.c: New file.
29088         * nptl/Makefile (tests): Add it.
29090 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29092         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29093         New define.
29094         (__lll_trylock): Use __lll_base_trylock.
29095         (__lll_cond_trylock): Likewise.
29097 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29099         * nptl/pthread_create.c (start_thread): Use atomic_or and
29100         lll_futex_wake directly rather than lll_robust_dead.
29101         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29102         (lll_robust_dead): Macro removed.
29103         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29104         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29105         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29106         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29107         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29108         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29109         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29110         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29111         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29112         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29113         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29114         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29115         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29116         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29117         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29119         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29120         Use atomic_compare_and_exchange_val_acq directly rather than
29121         lll_robust_trylock.
29122         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29123         (__lll_robust_trylock, lll_robust_trylock): Removed.
29124         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29125         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29126         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29128         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29129         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29130         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29131         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29132         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29133         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29134         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29135         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29136         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29137         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29139 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29141         * manual/locale.texi (Locale Names): New section documenting
29142         locale name syntax.  Adjust menu and node chaining accordingly.
29143         (Choosing Locale): Reference Locale Names, Locale Categories.
29144         Mention setting LC_ALL=C.  Reflect that name syntax is now
29145         documented.
29146         (Locale Categories): New section title.  Reference Locale Names.
29147         LC_ALL is an environment variable, but not a category.
29148         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29149         description, now in Locale Name.  Reference that section.  Locale
29150         name syntax is now documented.
29152 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29154         [BZ #17137]
29155         * locale/findlocale.c (name_present, valid_locale_name): New
29156         functions.
29157         (_nl_find_locale): Use the loc_name variable to store name
29158         candidates.  Call name_present and valid_locale_name to check and
29159         validate locale names.  Return an error if the locale is invalid.
29161 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29163         * locale/setlocale.c (setlocale): Use strdup for allocating
29164         composite name copy.
29166 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29168         Sync up with gnulib.
29169         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29170         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29171         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29172         and _GL_ARG_NONNULL.
29173         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29174         [!_LIBC]: Include code for Windows and Cygwin.
29175         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29176         Include prototype for int strerror_r.
29177         [!_LIBC] (is_open): New function.
29178         (flush_stdout): New function.
29179         (print_errno_message): Use it.
29180         (error): Likewise.
29181         (error_at_line): Likewise.
29182         (error_tail) Add function attribute macros.  Use
29183         __builtin_expect.
29185         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29187         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29189         * io/ftw.c: Include sys/param.h unconditionally.
29191         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29193         [BZ #17125]
29194         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29195         libc_freeres_ptr.
29196         (freecache): New function to free CACHE on exit.
29198         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29199         initialization.
29201 2014-07-09  David S. Miller  <davem@davemloft.net>
29203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29205         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29206         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29207         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29208         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29209         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29210         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29211         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29212         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29213         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29214         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29215         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29216         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29217         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29219 2014-07-09  Andreas Schwab  <schwab@suse.de>
29221         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29222         output.
29223         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29224         (do_test): Likewise.
29226         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29228 2014-07-09  Will Newton  <will.newton@linaro.org>
29230         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29231         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29232         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29233         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29234         * sysdeps/hppa/start.S (_start): Likewise.
29236 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29238         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29240         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29241         defined.
29243 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29245         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29246         after checking that it is non-NULL.
29248         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29250 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29252         * sysdeps/powerpc/memmove.c: Remove file.
29253         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29254         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29255         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29256         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29257         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29258         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29259         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29260         string memmove instead of removed powerpc one.
29262         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29263         [weak_alias]: Fix compiler warning due trailing data.
29264         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29265         [weak_alias]: Likewise.
29266         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29267         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29270         (__libc_ifunc_impl_list): Add memmove functions.
29272 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29274         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29275         Remove code.
29276         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29277         Likewise.
29278         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29279         Likewise.
29280         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29281         Likewise.
29282         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29283         Likewise.
29284         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29285         Likewise.
29286         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29287         Likewise.
29288         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29289         Likewise.
29290         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29291         Likewise.
29292         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29293         Likewise.
29294         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29295         Likewise.
29296         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29297         Likewise.
29298         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29299         Likewise.
29300         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29301         Likewise.
29302         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29303         Likewise.
29304         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29305         Likewise.
29306         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29307         Likewise.
29309 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29311         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29312         to avoid alignment traps in non-cacheable memory.
29313         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29316         multiarch objects.
29317         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29318         file: multiarch power7 memmove.
29319         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29320         multiarch default memmove.
29321         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29322         multiarch memove for powerpc32/power4.
29324         * string/bcopy.c: Use full path to include memmove.c.
29325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29326         multiarch objects.
29327         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29328         bcopy for powerpc64.
29329         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29330         bcopy for powerpc64.
29331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29332         and memmove implementations.
29333         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29334         optimized multiarch memmove for POWER7/powerpc64.
29335         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29336         default multiarch memmove for powerpc64.
29337         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29338         multiarch for powerpc64.
29339         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29340         for POWER7/powerpc64.
29341         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29342         memmove for POWER7/powerpc64.
29344         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29345         glibc default one.
29347         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29348         __ELF_NATIVE_CLASS equal to 64.
29350 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29352         * sysdeps/nptl/lowlevellock.h: File removed.
29354         * NEWS: NPTL is no longer an add-on!
29355         * nptl/internaltypes.h: Moved ...
29356         * sysdeps/nptl/internaltypes.h: ... here.
29357         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29358         * sysdeps/nptl/fork.c: Likewise.
29359         * sysdeps/nptl/gai_misc.h: Likewise.
29360         * sysdeps/nptl/librt-cancellation.c: Likewise.
29361         * sysdeps/nptl/jmp-unwind.c: Likewise.
29362         * sysdeps/nptl/setxid.h: Likewise.
29363         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29364         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29365         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29366         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29367         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29368         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29369         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29370         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29371         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29372         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29373         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29374         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29375         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29376         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29377         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29378         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29379         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29380         * nptl/Makeconfig: Moved ...
29381         * sysdeps/nptl/Makeconfig: ... here.
29382         * nptl/configure: File removed.
29383         * nptl/ANNOUNCE: File removed.
29384         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29385         * sysdeps/unix/sysv/linux/configure: Regenerated.
29387         * nptl/Makefile (routines): Add libc_pthread_init,
29388         libc_multiple_threads, register-atfork and unregister-atfork.
29389         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29390         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29391         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29392         pthread-pi-defines.sym, structsem.sym.
29393         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29394         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29395         [$(subdir) = nptl] (tests): Add tst-setgetname.
29396         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29397         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29398         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29399         [!LIBC_SIGACTION]: Remove aliases.
29400         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29401         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29402         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29403         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29404         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29405         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29406         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29407         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29408         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29409         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29410         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29411         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29412         __libc_allocate_rtsig_private.
29413         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29414         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29415         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29416         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29417         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29418         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29419         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29420         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29421         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29422         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29423         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29424         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29425         * nptl/internaltypes.h: ... here.
29426         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29427         * sysdeps/nptl/jmp-unwind.c: ... here.
29428         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29429         * nptl/libc-lowlevellock.c: ... here.
29430         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29431         * nptl/libc_multiple_threads.c: ... here.
29432         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29433         * nptl/libc_pthread_init.c: ... here.
29434         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29435         * nptl/lowlevelbarrier.sym: ... here.
29436         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29437         * nptl/lowlevelcond.sym: ... here.
29438         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29439         * nptl/lowlevellock.c: ... here.
29440         * nptl/lowlevellock.h: Moved ...
29441         * sysdeps/nptl/lowlevellock.h: ... here.
29442         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29443         * nptl/lowlevelrobustlock.c: ... here.
29444         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29445         * nptl/lowlevelrobustlock.sym: ... here.
29446         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29447         * nptl/lowlevelrwlock.sym: ... here.
29448         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29449         * nptl/pt-fork.c: ... here.
29450         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29451         * nptl/pthread-pi-defines.sym: ... here.
29452         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29453         * nptl/pthread_attr_getaffinity.c: ... here.
29454         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29455         * nptl/pthread_attr_setaffinity.c: ... here.
29456         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29457         * nptl/pthread_mutex_cond_lock.c: ... here.
29458         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29459         Update #include.
29460         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29461         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29462         * nptl/pthread_once.c: ... here, replacing old file.
29463         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29464         * nptl/pthread_yield.c: ... here.
29465         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29466         * nptl/register-atfork.c: ... here.
29467         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29468         * nptl/sem_post.c: ... here.
29469         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29470         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29471         * nptl/sem_timedwait.c: ... here.
29472         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29473         * nptl/sem_trywait.c: ... here.
29474         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29475         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29476         * nptl/sem_wait.c: ... here.
29477         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29478         * nptl/structsem.sym: ... here.
29479         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29480         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29481         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29482         * nptl/unregister-atfork.c: ... here.
29483         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29484         * nptl/unwindbuf.sym: ... here.
29485         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29486         * sysdeps/nptl/fork.c: ... here.
29487         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29488         * sysdeps/nptl/fork.h: ... here.
29489         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29490         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29491         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29492         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29493         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29494         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29495         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29496         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29497         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29498         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29499         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29500         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29501         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29502         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29503         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29504         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29505         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29506         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29507         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29508         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29509         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29510         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29511         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29512         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29513         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29514         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29515         * sysdeps/unix/sysv/linux/raise.c: ... here.
29516         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29517         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29518         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29519         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29520         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29521         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29522         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29523         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29524         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29525         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29526         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29527         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29528         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29529         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29530         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29532 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29534         * sysdeps/generic/memcopy.h: Add comment for
29535         MEMCPY_OK_FOR_FWD_MEMMOVE.
29537 2014-07-04  Will Newton  <will.newton@linaro.org>
29539         * string/memchr.c: Merge from gnulib.
29540         [_LIBC]: Remove conditionals.
29541         (__ptr_t): Remove define.
29542         (LONG_MAX_32_BITS): Likewise.
29543         (LONG_MAX): Likewise.
29544         (MEMCHR): Use ANSI prototype and optimize algorithm.
29546         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29548 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29550         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29551         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29553         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29554         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29555         in a bare environment with no <stdlib.h> installed.
29556         * sysdeps/nptl/configure: Regenerated.
29558         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29560         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29561         AC_EGREP_CPP for kernel header checks, so they only succeed if
29562         including <linux/version.h> actually works right.
29563         * sysdeps/unix/sysv/linux/configure: Regenerated.
29565         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29566         value so it's not diagnosed as unused.
29568         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29569         thing) with "ifeq ($(subdir),rt)".
29571 2014-07-03  Richard Henderson  <rth@redhat.com>
29573         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29574         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29575         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29577         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29578         (math_force_eval): New.
29580         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29581         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29583         * sysdeps/alpha/fpu/s_round.c: Remove file.
29584         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29586         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29587         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29588         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29589         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29590         (_dl_start, print_statistics): Likewise.
29591         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29592         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29594         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29595         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29596         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29597         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29598         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29599         (HP_SMALL_TIMING_AVAIL): Define.
29600         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29601         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29602         (HP_SMALL_TIMING_AVAIL): Define.
29603         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29604         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29606         * sysdeps/aarch64/hp-timing.h: New file.
29608         * sysdeps/generic/hp-timing.h: Remove dead comment.
29609         * sysdeps/generic/hp-timing-common.h: New file.
29610         * sysdeps/alpha/hp-timing.h: Include it.
29611         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29612         * sysdeps/i386/i686/hp-timing.h: Likewise.
29613         * sysdeps/ia64/hp-timing.h: Likewise.
29614         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29615         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29616         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29617         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29618         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29619         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29620         (hp_timing_t): New.
29622         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29623         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29624         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29625         * elf/rtld.c (_dl_start_final): Likewise.
29626         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29627         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29628         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29629         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29630         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29631         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29632         (HP_TIMING_DIFF_INIT): Remove.
29633         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29634         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29635         (HP_TIMING_DIFF_INIT): Remove.
29636         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29637         * sysdeps/i386/i686/hp-timing.c: Remove file.
29638         * sysdeps/x86_64/hp-timing.c: Remove file.
29639         * sysdeps/ia64/hp-timing.c: Remove file.
29640         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29641         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29642         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29643         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29645         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29646         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29647         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29648         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29649         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29650         (HP_TIMING_ACCUM): Remove.
29651         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29652         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29653         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29655         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29656         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29657         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29658         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29659         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29660         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29661         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29662         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29664         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29666 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29668         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29670 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29672         Sync up with gettext.
29673         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29674         [_MSC_VER]: Include malloc.h
29675         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29676         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29677         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29678         TEMP_FAILURE_RETRY.  Cast return of alloca.
29679         [!_LIBC] Call gl_rwlock_init.
29680         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29682 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29684         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29685         before checking its value.
29687 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29689         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29691         * debug/memcpy_chk.c: Don't include pagecopy.h.
29692         * debug/mempcpy_chk.c: Likewise.
29693         * string/memcpy.c: Likewise.
29694         * string/memmove.c: Likewise.
29695         * sysdeps/powerpc/memmove.c: Likewise.
29696         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29697         definition of PAGE_COPY_FWD_MAYBE here...
29698         * sysdeps/generic/pagecopy.h: ... from here.
29699         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29701 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29702             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29704         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29706         optimizations.
29707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29708         (__libc_ifunc_impl_list): Likewise.
29709         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29710         multiarch strcat for PPC64.
29711         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29712         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29714 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29716         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29718 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29720         * intl/loadmsgcat.c: Remove declaration of
29721         get_sysdep_segment_value.
29722         (get_sysdep_segment_value): Use ISO C style.
29723         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29724         semicolon.  Fix typo and formatting in comment.
29725         (_nl_unload_domain): Use ISO C style.
29727         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29729 2014-07-02  Will Newton  <will.newton@linaro.org>
29731         * malloc/obstack.c: Merge from gnulib master.
29732         [HAVE_CONFIG_H]: Remove conditional code.
29733         [!_LIBC]: Include config.h.
29734         [!ELIDE_CODE]: Don't include inttypes.h, include
29735         stdint.h unconditionally.
29736         (print_and_abort): Mark as _Noreturn.
29737         (_obstack_allocated_p): Mark as __attribute_pure__.
29738         (obstack_free): Rename to __obstack_free.
29739         [!__attribute__]: Remove conditional code.
29740         * malloc/obstack.h: Merge from gnulib master.
29741         [__cplusplus]: Move conditional down.
29742         [!__attribute_pure__]: Define __attribute_pure__ here
29743         if it is not already defined.
29744         (_obstack_memory_used): Mark as __attribute_pure__.
29745         [!__obstack_free]: Define as obstack_free.
29746         [__GNUC__]: Remove check for ancient NeXT gcc.
29748 2014-07-02  Will Newton  <will.newton@linaro.org>
29749             Paul Eggert  <eggert@cs.ucla.edu>
29751         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29753 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29755         * resolv/gethnamaddr.c: Add comment warning that the file is
29756         not maintained.
29758 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29760         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29761         entries.
29763         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29764         entry for aio_cancel and aio_cancel64.
29765         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29766         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29767         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29768         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29769         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29770         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29771         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29772         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29773         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29774         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29775         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29776         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29777         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29779 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29781         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29782         * nptl/pthread_mutex_lock.c: Likewise.
29783         * nptl/pthread_mutex_timedlock.c: Likewise.
29784         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29786 2014-07-01  Richard henderson  <rth@redhat.com>
29788         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29789         (__isnan, __isnanl): Remove.
29790         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29792         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29794 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29796         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29798 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29800         * resolv/nss_dns/dns-host.c (getanswer_r)
29801         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29803 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29806         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29807         undefine.
29808         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29809         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29811 2014-07-01  Roland McGrath <roland@hack.frob.com>
29813         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29814         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29816         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29817         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29819         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29820         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29821         ... here.
29822         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29823         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29825         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29826         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29827         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29828         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29830         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29831         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29832         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29833         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29834         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29835         Moved ...
29836         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29837         ... here.
29838         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29839         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29840         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29841         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29842         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29843         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29844         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29845         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29846         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29847         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29848         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29849         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29850         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29851         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29852         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29853         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29854         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29855         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29856         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29857         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29858         ... here.
29859         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29860         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29861         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29862         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29863         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29864         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29865         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29866         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29868 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29870         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29871         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29872         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29873         Add sysdep.
29875 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29879 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29881         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29882         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29884         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29886         * sysdeps/arm/libm-test-ulps: Regenerated.
29888 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29889             Roland McGrath <roland@hack.frob.com>
29891         * test-skeleton.c (signal_handler): Kill the whole process group
29892         before killing the child individually.
29893         (main): Report any failure on `setpgid'.
29895 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29897         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29898         from _TLS_H to _ARM_NPTL_TLS_H.
29899         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29900         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29902 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29904         [BZ #16539]
29905         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29906         (__expm1l): Return argument unchanged when small but not
29907         subnormal.
29909         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29910         include macro name.
29911         (_FP_UNPACK_RAW_1_P): Likewise.
29912         (_FP_PACK_RAW_1): Likewise.
29913         (_FP_PACK_RAW_1_P): Likewise.
29914         (_FP_MUL_MEAT_1_wide): Likewise.
29915         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29916         (_FP_MUL_MEAT_1_hard): Likewise.
29917         (_FP_DIV_MEAT_1_imm): Likewise.
29918         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29919         (_FP_DIV_MEAT_1_udiv): Likewise.
29920         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29921         (_FP_UNPACK_RAW_2): Likewise.
29922         (_FP_UNPACK_RAW_2_P): Likewise.
29923         (_FP_PACK_RAW_2): Likewise.
29924         (_FP_PACK_RAW_2_P): Likewise.
29925         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29926         (_FP_MUL_MEAT_2_wide): Likewise.
29927         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29928         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29929         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29930         (_FP_MUL_MEAT_2_gmp): Likewise.
29931         (_FP_DIV_MEAT_2_udiv): Likewise.
29932         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29933         (_FP_FRAC_SRL_4): Likewise.
29934         (_FP_FRAC_SRST_4): Likewise.
29935         (_FP_FRAC_SRS_4): Likewise.
29936         (_FP_UNPACK_RAW_4): Likewise.
29937         (_FP_UNPACK_RAW_4_P): Likewise.
29938         (_FP_PACK_RAW_4): Likewise.
29939         (_FP_PACK_RAW_4_P): Likewise.
29940         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29941         (_FP_MUL_MEAT_4_wide): Likewise.
29942         (_FP_MUL_MEAT_4_gmp): Likewise.
29943         (umul_ppppmnnn): Likewise.
29944         (_FP_DIV_MEAT_4_udiv): Likewise.
29945         (__FP_FRAC_ADD_4): Likewise.
29946         (__FP_FRAC_SUB_3): Likewise.
29947         (__FP_FRAC_SUB_4): Likewise.
29948         (__FP_FRAC_DEC_3): Likewise.
29949         (__FP_FRAC_DEC_4): Likewise.
29950         (__FP_FRAC_ADDI_4): Likewise.
29951         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29952         (_FP_FRAC_SRL_8): Likewise.
29953         (_FP_FRAC_SRS_8): Likewise.
29955         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29956         include macro name.
29957         (FP_UNPACK_RAW_EP): Likewise.
29958         (FP_PACK_RAW_E): Likewise.
29959         (FP_PACK_RAW_EP): Likewise.
29960         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29961         (_FP_ISSIGNAN): Likewise.
29962         (_FP_ADD_INTERNAL): Likewise.
29963         (_FP_FMA): Likewise.
29964         (_FP_CMP): Likewise.
29965         (_FP_SQRT): Likewise.
29966         (_FP_TO_INT): Likewise.
29967         (_FP_FROM_INT): Likewise.
29968         (FP_EXTEND): Likewise.
29969         (_FP_DIV_MEAT_N_loop): Likewise.
29971 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29973         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29974         throughout.
29976 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29978         [BZ #17097]
29979         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29980         result with correct sign in case of exponents that produce
29981         overflow except for X very close to 1.
29983 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29985         mktime: merge #if/#ifdef usage from glibc
29986         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29987         as that works with both Glibc's and Gnulib's style.
29988         See thread starting at Siddhesh Poyarekar's bug report at:
29989         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29991 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29993         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29994         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29995         * sysdeps/tile/tilegx/memmove.c: Remove file.
29997 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29999         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30000         abi-name definition.
30001         * scripts/soversions.awk: Do not handle or generate ABI lines.
30002         * shlib-versions: Remove ABI entries.
30003         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30004         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30006 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30009         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30010         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30011         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30013         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30015         Moved ...
30016         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30017         ... here.
30018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30019         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30021         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30023         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30025         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30027         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30029         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30031         Moved ...
30032         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30034         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30038         Moved ...
30039         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30041         Moved ...
30042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30046         Moved ...
30047         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30049         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30051         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30053         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30055         Moved ...
30056         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30058         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30059         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30060         Moved ...
30061         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30062         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30063         Moved ...
30064         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30066         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30068         Moved ...
30069         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30070         ... here.
30071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30072         Identical file removed.
30073         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30074         Moved ...
30075         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30077         Identical file removed.
30078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30079         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30081         Moved ...
30082         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30084         Identical file removed.
30085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30086         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30088         Identical file removed.
30089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30090         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30092         Identical file removed.
30093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30094         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30096         Identical file removed.
30097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30098         Moved ...
30099         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30101         Identical file removed.
30102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30103         Moved ...
30104         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30106         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30107         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30108         Identical file removed.
30109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30110         Moved ...
30111         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30112         ... here.
30113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30114         Identical file removed.
30115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30116         Moved ...
30117         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30118         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30119         Identical file removed.
30120         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30121         Moved ...
30122         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30124         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30126         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30128         Moved ...
30129         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30130         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30131         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30133         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30134         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30135         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30136         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30137         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30139 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30141         [BZ #17092]
30142         * nscd/nscd.c (monitor_child): Return exit status of child
30143         instead of return value from wait syscall.
30145 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30147         * configure.ac (libc_commonpagesize): Remove variable.
30148         (libc_relro_required): Likewise.
30149         (libc_cv_z_relro): Remove configure test.
30150         * configure: Regenerated.
30151         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30152         variable.
30153         (libc_relro_required): Likewise.
30154         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30155         (libc_relro_required): Likewise.
30156         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30157         (libc_relro_required): Likewise.
30158         * sysdeps/arm/preconfigure: Regenerated.
30159         * sysdeps/ia64/preconfigure: Remove file.
30160         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30161         variable.
30162         (libc_relro_required): Likewise.
30164         [BZ #16561]
30165         [BZ #16562]
30166         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30167         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30168         recompute overflowing results in original rounding mode.
30169         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30170         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30171         recompute overflowing results in original rounding mode.
30172         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30173         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30174         recompute overflowing results in original rounding mode.
30175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30176         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30177         recompute overflowing results in original rounding mode.
30178         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30179         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30180         recompute overflowing results in original rounding mode.
30181         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30182         (libc_feholdsetround_ctx): New macro.
30183         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30184         * sysdeps/i386/fpu/libm-test-ulps: Update.
30185         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30187 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30189         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30190         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30191         corresponding .cpsetup call.
30193 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30195         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30196         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30197         * sysdeps/arm/Makefile [$(subdir) = csu]
30198         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30199         (static-only-routines): Add aeabi_read_tp here.
30200         (shared-only-routines): Add libc-aeabi_read_tp here.
30201         (CFLAGS-libc-start.c): Add -fexceptions here.
30202         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30203         (sysdep_routines, static-only-routines, shared-only-routines):
30204         Don't add to these here.
30205         (CFLAGS-libc-start.c): Likewise.
30207         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30208         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30209         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30210         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30211         * sysdeps/arm/Makefile [$(subdir) = rt]
30212         (librt-sysdep_routines, librt-shared-only-routines):
30213         Append rt-aeabi_unwind_cpp_pr1 here.
30214         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30215         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30216         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30217         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30218         Append nptl-aeabi_unwind_cpp_pr1 here.
30219         (tests): Filter out tst-cleanupx4 here.
30220         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30221         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30222         Don't do those here.
30224 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30226         * scripts/list-sources.sh: Do not handle ports specially.
30228 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30230         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30231         * sysdeps/arm/feupdateenv.c: Likewise.
30233         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30235 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30237         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30238         trailing whitespace removed.
30239         * scripts/config.guess: Update to version 2014-03-23.
30240         * scripts/config.sub: Update to version 2014-05-01
30241         * scripts/install-sh: Update to version 2013-12-25.23.
30242         * scripts/move-if-change: Update from gnulib.
30244 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30246         * debug/memmove_chk.c: Remove pagecopy.h include.
30248 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30250         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30251         identical to gnulib mktime.
30253 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30255         * configure.ac: Do not test for machine being rs6000.  Do not test
30256         for powerpc*-*soft.
30257         * configure: Regenerated.
30259         [BZ #11505]
30260         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30261         test.
30262         * configure: Regenerated.
30263         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30264         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30265         Remove configure test.
30266         * sysdeps/arm/configure: Regenerated.
30267         * sysdeps/nptl/configure.ac: Do not check
30268         libc_cv_asm_cfi_directives.
30269         * sysdeps/nptl/configure: Regenerated.
30270         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30271         * sysdeps/x86_64/nptl/configure: Remove generated file.
30272         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30273         unconditional.
30274         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30276 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30278         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30279         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30280         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30281         it is defined.
30283         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30284         instead of whether it is defined.
30285         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30286         * sysdeps/hppa/dl-machine.h: Likewise.
30287         * sysdeps/ia64/dl-machine.h: Likewise.
30288         * sysdeps/m68k/dl-machine.h: Likewise.
30289         * sysdeps/microblaze/dl-machine.h: Likewise.
30290         * sysdeps/mips/dl-machine.: Likewise.
30291         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30292         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30293         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30294         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30295         * sysdeps/sh/dl-machine.h: Likewise.
30296         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30297         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30298         * sysdeps/tile/dl-machine.h: Likewise.
30299         * sysdeps/x86_64/dl-machine.h: Likewise.
30301         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30302         code.
30303         (verify_persistent_db): Likewise.
30305 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30308         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30310         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30312         Moved ...
30313         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30314         ... here.
30315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30316         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30318         Identical file removed.
30319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30320         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30322         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30324         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30326         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30328         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30330         Moved ...
30331         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30333         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30335         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30337         Moved ...
30338         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30340         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30342         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30344         Identical file removed.
30345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30346         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30348         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30350         Moved ...
30351         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30352         ... here.
30353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30354         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30356         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30358         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30360         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30362         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30364         Moved ...
30365         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30367         Moved ...
30368         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30370         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30372         Moved ...
30373         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30375         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30377         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30378         folded into ...
30379         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30380         * sysdeps/unix/sysv/linux/s390/Versions
30381         (libpthread: GLIBC_2.19): New version set.
30382         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30383         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30384         (librt: GLIBC_2.3.3): New version set.
30385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30386         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30387         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30388         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30389         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30390         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30391         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30392         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30393         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30394         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30395         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30396         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30397         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30398         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30399         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30400         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30401         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30402         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30403         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30404         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30405         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30411         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30413         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30415         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30416         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30417         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30419         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30425         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30427         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30431         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30432         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30433         (__libc_vfork): Define the function under this name.
30434         [!NOT_IN_libc] (__vfork): Make this an alias.
30435         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30437         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30438         (__libc_vfork): Define the function under this name.
30439         [!NOT_IN_libc] (__vfork): Make this an alias.
30440         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30441         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30442         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30444         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30445         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30447         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30448         code that was previously under [RESET_PID].
30449         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30450         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30453         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30454         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30455         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30456         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30457         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30458         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30459         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30460         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30461         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30462         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30463         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30464         Moved ...
30465         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30466         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30467         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30468         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30469         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30470         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30471         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30472         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30473         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30474         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30475         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30476         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30477         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30478         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30479         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30480         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30481         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30482         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30483         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30484         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30485         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30486         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30487         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30488         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30489         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30490         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30491         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30492         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30493         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30495 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30497         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30498         that was previously under [RESET_PID].
30499         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30501 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30503         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30504         not undefine and redefine.
30505         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30506         [O_CLOEXEC]: Make code unconditional.
30507         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30508         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30509         <kernel-features.h>.
30510         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30511         conditional variable definition.
30512         (shm_open) [O_CLOEXEC]: Make code unconditional.
30513         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30514         code.
30516         * configure.ac (USE_REGPARMS): Don't define here.
30517         * configure: Regenerated.
30518         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30519         * sysdeps/i386/configure: Regenerated.
30521         * nptl/createthread.c: Don't include kernel-features.h.
30522         * nptl/pthread_cancel.c: Likewise.
30523         * nptl/pthread_condattr_setclock.c: Likewise.
30524         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30525         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30526         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30527         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30528         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30529         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30530         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30531         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30532         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30533         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30534         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30535         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30536         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30537         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30538         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30539         * nscd/gai.c: Likewise.
30540         * nss/nss_db/db-open.c: Likewise.
30541         * sysdeps/generic/ldsodefs.h: Likewise.
30542         * sysdeps/sh/nptl/tls.h: Likewise.
30543         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30544         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30545         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30546         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30547         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30548         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30549         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30550         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30551         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30552         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30553         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30554         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30555         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30556         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30557         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30558         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30559         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30560         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30561         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30562         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30565         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30566         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30571         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30572         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30573         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30574         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30575         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30576         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30577         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30578         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30579         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30580         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30581         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30582         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30583         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30584         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30585         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30586         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30587         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30588         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30589         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30590         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30591         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30592         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30593         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30594         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30595         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30596         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30597         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30598         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30599         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30600         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30623         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30624         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30625         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30626         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30627         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30628         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30629         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30630         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30631         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30632         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30633         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30634         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30635         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30636         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30637         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30638         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30639         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30640         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30641         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30642         * sysdeps/unix/sysv/linux/system.c: Likewise.
30643         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30644         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30645         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30646         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30647         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30648         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30649         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30651         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30652         * configure: Regenerated.
30653         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30655         * configure.ac (base_machine): Do not set specially for particular
30656         machines here.
30657         * configure: Regenerated.
30658         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30659         settings from configure.ac.
30660         * sysdeps/i386/preconfigure: New file.
30661         * sysdeps/s390/preconfigure: Likewise.
30662         * sysdeps/sh/preconfigure: Likewise.
30663         * sysdeps/sparc/preconfigure: Likewise.
30665 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30667         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30668         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30669         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30670         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30671         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30672         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30673         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30674         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30675         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30676         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30677         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30678         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30679         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30680         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30681         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30683         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30684         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30685         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30687         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30688         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30689         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30690         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30691         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30692         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30693         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30694         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30695         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30696         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30697         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30698         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30699         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30700         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30701         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30702         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30703         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30704         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30705         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30706         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30708         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30712         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30713         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30714         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30716         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30718         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30719         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30720         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30721         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30722         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30723         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30724         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30727         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30729         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30731         Moved ...
30732         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30733         ... here.
30734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30735         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30737         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30739         Moved ...
30740         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30742         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30744         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30746         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30748         Moved ...
30749         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30751         Moved ...
30752         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30754         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30756         Moved ...
30757         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30759         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30761         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30763         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30765         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30767         Moved ...
30768         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30769         ... here.
30770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30771         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30773         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30775         Moved ...
30776         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30778         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30780         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30782         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30784         Moved ...
30785         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30787         Moved ...
30788         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30790         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30792         Moved ...
30793         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30795         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30797         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30799 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30801         * timezone/checktab.awk: Update from tzcode 2014e.
30802         * timezone/private.h: Likewise.
30803         * timezone/tzfile.h: Likewise.
30804         * timezone/zdump.c: Likewise.
30805         * timezone/zic.c: Likewise.
30807         * sysdeps/unix/sysv/linux/kernel-features.h
30808         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30809         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30810         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30811         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30812         Remove conditional code.
30814 2014-06-25  Will Newton  <will.newton@linaro.org>
30816         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30817         (_dl_arm_cap_flags): Add HWCAP2 values.
30818         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30819         (_DL_HWCAP_COUNT): Increase to 37.
30820         (_DL_HWCAP_LAST): New define.
30821         (_DL_HWCAP2_LAST): New define.
30822         (_dl_procinfo): Add support for printing
30823         AT_HWCAP2 entries.
30824         (_dl_string_hwcap): Use _dl_hwcap_string.
30826 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30830 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30832         * README: Do not mention ports directory.
30834         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30835         Remove macro.
30836         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30837         <kernel-features.h>.
30838         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30839         conditional variable definition.
30840         (__futimes): Update comment.
30841         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30842         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30844         [BZ #16560]
30845         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30846         arguments close to 0.
30847         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30848         Likewise.
30849         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30850         Likewise.
30851         * math/auto-libm-test-in: Add more tests of exp10.
30852         * math/auto-libm-test-out: Regenerated.
30853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30855         * sysdeps/unix/sysv/linux/kernel-features.h
30856         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30857         * sysdeps/unix/sysv/linux/readv.c: Do not include
30858         <kernel-features.h>.
30859         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30860         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30861         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30862         unconditional.
30863         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30864         conditional code.
30865         * sysdeps/unix/sysv/linux/writev.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_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30870         unconditional.
30871         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30872         conditional code.
30874 2014-06-25  Will Newton  <will.newton@linaro.org>
30876         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30877         comment changes throughout the file.  Remove checks
30878         for HAVE_*_H definitions that are not required.
30879         (__gen_tempname): Call abort if an unknown kind value is
30880         passed.
30882 2014-06-25  Andreas Schwab  <schwab@suse.de>
30884         [BZ #17086]
30885         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30886         scalbln, scalblnf, scalblnl in libc.
30888 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30890         [BZ #17086]
30891         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30892         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30893         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30895 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30897         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30898         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30899         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30900         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30901         Update #include.
30902         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30903         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30904         Update #include.
30905         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30906         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30907         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30908         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30909         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30910         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30911         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30912         * sysdeps/x86/bits/semaphore.h: ... here.
30913         * sysdeps/x86/nptl/elide.h: Moved ...
30914         * sysdeps/x86/elide.h: ... here.
30915         * sysdeps/x86_64/nptl/Implies: File removed.
30916         * sysdeps/i386/nptl/Implies: File removed.
30918 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30920         [BZ #16539]
30921         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30922         return the argument for normal arguments with exponent below -64.
30923         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30924         Likewise.
30925         * math/auto-libm-test-in: Add another test of expm1.
30926         * math/auto-libm-test-out: Regenerated.
30928         [BZ #16287]
30929         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30930         calling __erfcl for arguments at least 16.
30931         * math/auto-libm-test-in: Add more tests of erf.
30932         * math/auto-libm-test-out: Regenerated.
30934         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30935         individual architectures.
30936         * sysdeps/unix/sysv/linux/configure: Regenerated.
30937         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30938         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30939         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30940         (ldd_rewrite_script): Define variable.
30941         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30943         file.
30944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30945         generated file.
30946         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30947         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30948         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30949         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30950         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30951         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30952         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30953         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30955 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30957         [BZ #17084]
30958         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30959         Rename member __data.d to __data.__elision_data.
30961 2014-06-24  Wilco  <wdijkstr@arm.com>
30963         * NEWS: Add 16918 to fixed bug list.
30965 2014-06-24  Wilco  <wdijkstr@arm.com>
30967         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30969 2014-06-24  Wilco  <wdijkstr@arm.com>
30971         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30972         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30973         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30974         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30975         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30976         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30977         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30978         Use _FPU_MASK_RM.
30980 2014-06-24  Wilco  <wdijkstr@arm.com>
30982         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30984 2014-06-24  Wilco  <wdijkstr@arm.com>
30986         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30987         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30988         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30989         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30991 2014-06-24  Wilco  <wdijkstr@arm.com>
30993         [BZ #16918]
30994         * sysdeps/arm/feupdateenv.c (feupdateenv):
30995         Rewrite to reduce FPSCR accesses and fix return value.
30997 2014-06-24  Wilco  <wdijkstr@arm.com>
30999         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31000         Optimize to avoid unnecessary FPSCR writes.
31001         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31002         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31003         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31004         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31006 2014-06-24  Wilco  <wdijkstr@arm.com>
31008         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31009         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31010         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31011         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31012         Call libc_fetestexcept_vfp.
31013         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31014         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31015         __SOFTFP__ ifdef so that they can be built for softfp.
31017 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31019         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31020         argument type signed char.
31022         * Makerules (check-abi): Dump diff of symlist if the test
31023         fails.
31025 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31027         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31028         using abort.
31030         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31031         Remove unused variable ST.
31033 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31035         [BZ #16354]
31036         [BZ #17061]
31037         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31038         small arguments before calling __expm1.
31039         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31040         small arguments before calling __expm1f.
31041         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31042         small arguments before calling __expm1l.
31043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31044         Likewise.
31045         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31046         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31047         spurious underflow for some cosh tests.
31048         * math/auto-libm-test-out: Regenerated.
31049         * sysdeps/i386/fpu/libm-test-ulps: Update.
31051         [BZ #17050]
31052         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31053         (__ieee754_y1): Set errno if return value overflows.
31054         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31055         (__ieee754_y1f): Set errno if return value overflows.
31056         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31057         (__ieee754_y1l): Set errno if return value overflows.
31058         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31059         (__ieee754_y1l): Set errno if return value overflows.
31060         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31061         * math/auto-libm-test-out: Regenerated.
31063         * math/gen-auto-libm-tests.c: Document use of
31064         ignore-zero-inf-sign.
31065         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31066         (input_flags): Add ignore-zero-inf-sign.
31067         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31068         * math/gen-libm-test.pl (generate_testfile): Handle
31069         ignore-zero-inf-sign.
31070         * math/auto-libm-test-in: Mark some cpow tests with
31071         ignore-zero-inf-sign and some with xfail-rounding.
31072         * math/auto-libm-test-out: Regenerated.
31073         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31074         * sysdeps/i386/fpu/libm-test-ulps: Update.
31075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31077         [BZ #16315]
31078         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31079         overflowing or underflowing operations take place with sign of
31080         result.
31081         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31082         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31083         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31084         (__ieee754_pow): Recompute overflowing and underflowing results in
31085         original rounding mode.
31086         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31087         (__powl_helper): Allow negative argument X and scale negated value
31088         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31089         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31090         overflowing or underflowing operations take place with sign of
31091         result.
31092         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31093         Include <math.h>.
31094         * math/auto-libm-test-in: Add more tests of pow.
31095         * math/auto-libm-test-out: Regenerated.
31096         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31097         (pow_tonearest_test_data): Remove.
31098         (pow_test_tonearest): Likewise.
31099         (pow_towardzero_test_data): Likewise.
31100         (pow_test_towardzero): Likewise.
31101         (pow_downward_test_data): Likewise.
31102         (pow_test_downward): Likewise.
31103         (pow_upward_test_data): Likewise.
31104         (pow_test_upward): Likewise.
31105         (main): Don't call removed functions.
31106         * sysdeps/i386/fpu/libm-test-ulps: Update.
31107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31109 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31112         Moved ...
31113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31115         Moved ...
31116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31118         Moved ...
31119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31121         Moved ...
31122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31124         File removed.
31125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31126         File removed.
31127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31128         File removed.
31129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31130         File removed.
31131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31132         File removed.
31133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31134         File removed.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31136         File removed.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31138         File removed.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31140         File removed.
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31142         File removed.
31143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31144         File removed.
31145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31146         File removed.
31147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31148         Moved ...
31149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31151         Moved ...
31152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31153         ... here.
31154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31155         Moved ...
31156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31158         Moved ...
31159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31161         Moved ...
31162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31164         Moved ...
31165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31167         Moved ...
31168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31170         Moved ...
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31173         Moved ...
31174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31177         ... here.
31178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31179         Moved ...
31180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31182         Moved ...
31183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31184         ... here.
31185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31186         Moved ...
31187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31188         ... here.
31189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31190         Moved ...
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31192         ... here.
31193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31194         Moved ...
31195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31197         Moved ...
31198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31202         Moved ...
31203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31204         ... here.
31205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31206         Moved ...
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31208         ... here.
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31210         Moved ...
31211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31213         Moved ...
31214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31216         Moved ...
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31219         Moved ...
31220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31222         Moved ...
31223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31224         ... here.
31225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31226         Moved ...
31227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31229         Moved ...
31230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31232         Moved ...
31233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31235         Moved ...
31236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31240         Moved ...
31241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31243         Moved ...
31244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31246         Moved ...
31247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31248         ... here.
31249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31250         Moved ...
31251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31252         ... here.
31253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31254         Moved ...
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31256         ... here.
31257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31258         Moved ...
31259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31261         Moved ...
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31264         Moved ...
31265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31267         Moved ...
31268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31269         ... here.
31270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31271         Moved ...
31272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31273         ... here.
31274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31275         Moved ...
31276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31277         ... here.
31278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31279         Moved ...
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31282         Moved ...
31283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31285 2014-06-23  Will Newton  <will.newton@linaro.org>
31286             Wilco  <wdijkstr@arm.com>
31288         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31289         implementation.  Include get-rounding-mode.h.
31290         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31291         [!libc_feholdsetround_noex_ctx]: Define
31292         libc_feholdsetround_noex_ctx.
31293         [!libc_feholdsetround_noexf_ctx]: Define
31294         libc_feholdsetround_noexf_ctx.
31295         [!libc_feholdsetround_noexl_ctx]: Define
31296         libc_feholdsetround_noexl_ctx.
31297         (libc_feholdsetround_ctx): New function.
31298         (libc_feresetround_ctx): New function.
31299         (libc_feholdsetround_noex_ctx): New function.
31300         (libc_feresetround_noex_ctx): New function.
31302 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31304         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31305         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31306         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31307         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31308         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31309         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31311         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31312         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31313         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31314         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31315         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31316         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31318         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31320         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31322         Moved ...
31323         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31324         ... here.
31325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31326         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31328         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31330         Moved ...
31331         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31333         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31335         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31337         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31339         Moved ...
31340         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31341         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31342         Moved ...
31343         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31345         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31347         Moved ...
31348         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31350         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31351         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31352         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31353         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31354         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31356         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31358         Moved ...
31359         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31360         ... here.
31361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31362         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31364         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31366         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31368         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31370         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31372         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31374         Moved ...
31375         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31377         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31379         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31380         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31381         Moved ...
31382         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31384         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31385         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31386         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31388         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31389         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31390         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31391         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31392         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31393         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31394         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31395         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31396         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31397         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31398         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31399         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31400         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31401         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31402         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31403         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31404         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31405         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31406         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31407         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31409         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31410         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31411         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31412         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31413         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31414         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31415         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31417 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31419         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31420         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31421         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31422         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31423         (IPV6_PMTUDISC_INTERFACE): Likewise.
31424         (IPV6_PMTUDISC_OMIT): Likewise.
31426 2014-06-23  Andreas Schwab  <schwab@suse.de>
31428         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31429         Remove unused errout label.
31431 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31433         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31434         macro: hardware supports Vector Crypto instructions.
31436 2014-06-23  Will Newton  <will.newton@linaro.org>
31438         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31439         rather than __builtin_expect.
31441         * elf/dl-lookup.c (undefined_msg): Remove variable.
31442         (_dl_lookup_symbol_x): Replace undefined_msg with string
31443         literal.
31445         * elf/dl-lookup.c (do_lookup_unique): New function.
31446         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31447         to a separate function.
31449 2014-06-23  Andreas Schwab  <schwab@suse.de>
31451         [BZ #17079]
31452         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31453         before reading the next line.
31455 2014-06-23  Will Newton  <will.newton@linaro.org>
31457         * test-skeleton.c (signal_handler): Use printf and %m
31458         rather than perror.  Use printf rather than fprintf to
31459         stderr.  Use puts rather than fputs to stderr.
31460         (main): Likewise.
31462 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31464         * nscd/nscd.c (thread_info_t): Remove typedef.
31465         (thread_info): Remove variable.
31467 2014-06-21  Allan McRae  <allan@archlinux.org>
31469         * NEWS: Mention CVE-2014-4043.
31471 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31473         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31474         * nptl/smp.h: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31478         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31479         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31480         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31481         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31483         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31484         * nptl/stack-aliasing.h: New file.
31485         * sysdeps/i386/i686/stack-aliasing.h: New file.
31486         * sysdeps/i386/i686/nptl/Makefile: File removed.
31487         * sysdeps/x86_64/stack-aliasing.h: New file.
31488         * sysdeps/x86_64/nptl/Makefile
31489         (CFLAGS-pthread_create.c): Variable removed.
31491         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31492         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31493         old file.
31494         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31495         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31496         old file.
31498 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31500         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31501         (__ASSUME_SIGFRAME_V2): Remove macro.
31502         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31503         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31504         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31505         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31506         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31507         Declare as function.  Remove conditional macro definitions.
31508         (__default_rt_sa_restorer): Likewise.
31509         (__default_sa_restorer_v1): Remove declaration.
31510         (__default_sa_restorer_v2): Likewise.
31511         (__default_rt_sa_restorer_v1): Likewise.
31512         (__default_rt_sa_restorer_v2): Likewise.
31513         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31514         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31515         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31517 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31519         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31520         (libpthread-routines): Add sysdep.
31521         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31522         * sysdeps/unix/sysv/linux/sparc/Versions
31523         (libpthread: GLIBC_2.3.3): New version set.
31524         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31525         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31526         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31527         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31528         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31529         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31530         Moved ...
31531         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31532         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31533         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31534         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31535         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31537         * sysdeps/sparc/nptl/sem_init.c: ... here.
31538         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31539         * sysdeps/sparc/nptl/sem_post.c: ... here.
31540         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31541         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31542         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31543         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31544         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31545         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31546         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31547         (libpthread-routines): Add cpu_relax.
31548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31549         File removed.
31550         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31551         (librt: GLIBC_2.3.3): New version set.
31552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31553         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31554         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31555         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31558         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31560         Moved ...
31561         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31563         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31565         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31567         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31569         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31571         Moved ...
31572         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31573         Update #include.
31574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31575         Moved ...
31576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31577         Update #include.
31578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31579         Moved ...
31580         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31581         Update #include.
31582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31583         Moved ...
31584         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31585         Update #include.
31586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31587         Moved ...
31588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31589         Update #include.
31590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31591         Moved ...
31592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31593         Update #include.
31594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31595         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31599         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31601         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31603         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31605         Moved ...
31606         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31608         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31610         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31612 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31614         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31615         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31616         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31617         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31618         * nscd/nscd.c: Likewise.
31619         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31620         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31621         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31622         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31624         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31625         <kernel-features.h>.
31626         (init_mq_netlink): Remove conditional have_sock_cloexec
31627         definitions.  Remove code conditional on have_sock_cloexec < 0.
31628         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31629         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31630         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31631         <kernel-features.h>.
31632         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31633         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31635 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31638         Add tests for memset_chk and memset.
31640         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31641         with AVX2_Usable.
31643 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31645         [BZ #16046]
31646         * elf/tst-dl-iter-static.c: New file.
31647         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31649         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31650         error.
31652 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31654         * sysdeps/unix/sysv/linux/kernel-features.h
31655         (__ASSUME_F_GETOWN_EX): Remove macro.
31656         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31657         <kernel-features.h>.
31658         (miss_F_GETOWN_EX): Remove variable or macro.
31659         (do_fcntl): Do not check miss_F_GETOWN_EX.
31660         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31662         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31663         Remove macro.
31664         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31665         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31666         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31668         * sysdeps/unix/sysv/linux/kernel-features.h
31669         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31670         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31671         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31672         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31674 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31676         [BZ #17075]
31677         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31678         Fix calculation of the symbol's value.
31679         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31680         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31681         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31682         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31683         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31684         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31685         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31686         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31687         (modules-names): Add `tst-armtlsdescmod',
31688         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31689         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31690         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31691         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31692         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31693         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31694         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31695         ($(objpfx)tst-armtlsdescloc): New dependency.
31696         ($(objpfx)tst-armtlsdescextnow): Likewise.
31697         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31698         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31699         TLS scheme support.
31700         * sysdeps/arm/configure: Regenerate.
31702 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31704         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31705         (__atfct_seterrno_2): Likewise.
31706         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31707         <kernel-features.h>.
31708         (__ASSUME_ATFCTS): Do not undefine and redefine.
31709         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31710         (__have_atfcts): Remove conditional definition.
31711         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31712         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31713         unreachable if [__ASSUME_ATFCTS].
31714         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31715         not undefine and redefine.
31716         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31717         <kernel-features.h>.
31718         (faccessat) [__NR_faccessat]: Make code unconditional.
31719         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31720         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31721         <kernel-features.h>.
31722         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31723         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31724         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31725         <kernel-features.h>.
31726         (fchownat) [__NR_fchownat]: Make code unconditional.
31727         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31728         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31729         <kernel-features.h>.
31730         (futimesat) [__NR_futimesat]: Make code unconditional.
31731         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31732         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31733         <kernel-features.h>.
31734         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31735         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31736         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31737         <kernel-features.h>.
31738         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31739         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31740         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31741         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31742         <kernel-features.h>.
31743         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31744         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31745         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31746         <kernel-features.h>.
31747         (linkat) [__NR_linkat]: Make code unconditional.
31748         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31749         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31750         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31751         <kernel-features.h>.
31752         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31753         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31754         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31755         <kernel-features.h>.
31756         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31757         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31758         * sysdeps/unix/sysv/linux/openat.c: Do not include
31759         <kernel-features.h>.
31760         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31761         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31762         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31763         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31764         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31765         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31766         <kernel-features.h>.
31767         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31768         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31769         result of INLINE_SYSCALL directly, not via int variable.
31770         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31771         <kernel-features.h>.
31772         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31773         (renameat) [__NR_renameat]: Make code unconditional.
31774         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31775         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31776         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31777         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31778         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31779         (__ASSUME_ATFCTS): Do not undefine and redefine.
31780         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31781         <kernel-features.h>.
31782         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31783         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31784         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31785         <kernel-features.h>.
31786         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31787         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31788         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31789         (__ASSUME_ATFCTS): Do not undefine and redefine.
31790         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31791         <kernel-features.h>.
31792         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31793         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31794         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31795         <kernel-features.h>.
31796         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31797         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31799 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31801         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31803 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31805         [BZ #17069]
31806         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31807         constructed tree before returning error.
31808         * posix/bug-regexp36.c: Expand test case.
31810 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31812         [BZ #6803]
31813         * math/libm-test.inc (scalbln_test_date):
31814         Add errno expectations.
31815         * math/w_scalblnf.c: New File.
31816         Add wrapper which checks for setting errno to ERANGE.
31817         Add weak_alias for corresponding scalbln function.
31818         * math/w_scalbln.c: Likewise.
31819         * math/w_scalblnl.c: Likewise.
31820         * math/Makefile (libm-calls): Add w_scalbln.
31821         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31822         Remove weak_alias for corresponding scalbln function.
31823         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31824         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31825         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31826         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31827         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31828         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31829         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31830         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31831         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31832         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31833         Remove long_double_symbol for scalblnl function in libm, libc.
31834         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31835         Add wrapper which checks for setting errno to ERANGE.
31836         Add long_double_symbol for scalblnl function in libm, libc.
31837         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31838         Remove long_double_symbol for scalblnl in libm.
31839         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31840         Add wrapper which checks for setting errno to ERANGE.
31841         Add long_double_symbol for scalblnl function in libm.
31842         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31843         Do not use wrapper because of own implementation.
31845 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31847         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31848         3 bytes for __pad1 for x32.
31849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31851 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31852             H.J. Lu  <hongjiu.lu@intel.com>
31854         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31855         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31856         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31857         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31858         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31860 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31862         [BZ #17069]
31863         * posix/regcomp.c (parse_expression): Deallocate partially
31864         constructed tree before returning error.
31865         * posix/Makefile.c (tests): Add bug-regex36.
31866         (generated): Add bug-regex36.mtrace.
31867         (tests-special): Add $(objpfx)bug-regex36-mem.out
31868         (bug-regex36-ENV): New variable.
31869         ($(objpfx)bug-regex36-mem.out): New rule.
31870         * posix/bug-regex36.c: New file.
31872 2014-06-19  Will Newton  <will.newton@linaro.org>
31874         * malloc/malloc.c (systrim): If extra is zero then return
31875         early.
31877 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31879         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31881 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31883         * sysdeps/aarch64/strchr.S: New file.
31885 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31887         [BZ #17022]
31888         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31889         from arguments -2 or below.
31890         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31891         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31893 2014-06-18  Andreas Schwab  <schwab@suse.de>
31895         [BZ #17062]
31896         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31897         of a bracket expr not to run off the end of the string.
31898         * posix/Makefile (tests): Add tst-fnmatch3.
31899         * posix/tst-fnmatch3.c: New file.
31901 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31903         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31904         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31905         [$(cross-compiling) = no]: Likewise.
31906         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31907         [$(cross-compiling) = no]: Likewise.
31909 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31911         [BZ #17031]
31912         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31913         double, adjusted for any remainder from the high double.
31914         * math/libm-test.inc (nearbyint): Add tests.
31915         (rint): Likewise.
31917 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31919         * nptl/sysdeps/powerpc/Makefile: Moved ...
31920         * sysdeps/powerpc/nptl/Makefile: ... here.
31921         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31922         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31923         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31924         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31925         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31926         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31927         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31928         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31929         * nptl/sysdeps/powerpc/tls.h: Moved ...
31930         * sysdeps/powerpc/nptl/tls.h: ... here.
31932 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31934         [BZ #16681]
31935         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31936         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31937         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31938         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31939         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31940         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31941         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31942         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31943         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31945 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31947         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31949 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31951         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31952         defined operator.
31954         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31955         $TIMEOUTFACTOR.
31957 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31959         [BZ #17058]
31960         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31961         non-executed part of the test.
31963 2014-06-16  Andreas Schwab  <schwab@suse.de>
31965         * string/bits/string2.h (strdup, strndup): Update feature guard.
31967 2014-06-14  David S. Miller  <davem@davemloft.net>
31969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31971 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31973         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31974         that was previously under [RESET_PID].
31975         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31977         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31978         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31979         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31980         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31981         (__libc_vfork): New strong alias.
31982         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31984 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31986         * sysdeps/generic/elide.h: New file.
31988 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31990         * Makefile (installed-headers): Adjust path of pthread.h header.
31992 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31994         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31995         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31996         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31997         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31999         * nptl/sysdeps/s390/Makefile: Moved ...
32000         * sysdeps/s390/nptl/Makefile: ... here.
32001         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32002         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32003         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32004         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32005         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32006         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32007         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32008         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32009         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32010         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32011         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32012         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32013         * nptl/sysdeps/s390/tls.h: Moved ...
32014         * sysdeps/s390/nptl/tls.h: ... here.
32016         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32017         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32019 2014-06-13  David S. Miller  <davem@davemloft.net>
32021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32024         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32028         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32029         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32030         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32031         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32032         Remove RESET_PID cpp guards.
32033         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32034         Remove RESET_PID cpp guards.
32035         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32037 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32039         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32040         __sp to uintptr_t.
32042 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32044         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32045         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32046         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32050         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32051         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32054         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32055         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32056         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32058         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32059         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32060         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32065         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32066         (pthread_rwlock_rdlock): Add elision.
32067         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32068         (pthread_rwlock_wrlock): Add elision.
32069         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32070         (pthread_rwlock_trywrlock): Add elision.
32071         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32072         (pthread_rwlock_tryrdlock): Add elision.
32073         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32074         (pthread_rwlock_tryrdlock): Add elision unlock.
32075         * nptl/sysdeps/pthread/pthread.h:
32076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32077         (PTHREAD_RWLOCK_INITIALIZER,
32078         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32079         Handle new elision field.
32080         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32081         * sysdeps/arm/nptl/bits/pthreadtypes.h
32082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32083         * sysdeps/sh/nptl/bits/pthreadtypes.h
32084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32085         * sysdeps/tile/nptl/bits/pthreadtypes.h
32086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32087         * sysdeps/a/nptl/bits/pthreadtypes.h
32088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32089         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32091         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32093         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32095         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32097         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32099         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32101         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32103         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32105         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32106         (elision_init): Set try_xbegin to zero when no RTM.
32107         * sysdeps/x86/nptl/bits/pthreadtypes.h
32108         (pthread_rwlock_t): Change __pad1 to __rwelision.
32109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32111 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32113         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32114         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32115         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32116         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32118 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32120         [BZ #16996]
32121         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32122         that the cached result has been set before returning it.
32124 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32126         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32127         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32128         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32129         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32130         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32131         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32133         * nptl/sysdeps/sparc/Makefile: Moved ...
32134         * sysdeps/sparc/nptl/Makefile: ... here.
32135         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32136         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32137         * nptl/sysdeps/sparc/tls.h: Moved ...
32138         * sysdeps/sparc/nptl/tls.h: ... here.
32139         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32140         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32141         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32142         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32143         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32144         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32145         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32146         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32147         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32148         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32149         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32150         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32151         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32152         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32153         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32154         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32155         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32157         Update #include.
32158         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32160         Update #include.
32161         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32163         Update #include.
32164         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32166         Update #include.
32168         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32170         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32171         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32173         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32174         (struct list_links): Type removed.
32175         (struct thread_node, struct timer_node): Replace struct list_links
32176         with struct list_head.
32177         (list_unlink_ip): Likewise.
32178         * sysdeps/pthread/timer_routines.c
32179         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32180         (list_append, list_insbefore): Likewise.
32181         (list_init): Function removed.
32182         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32183         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32184         * sysdeps/pthread/Makefile: ... here, new file.
32186         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32187         * sysdeps/nptl/Implies: ... here.
32188         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32189         * nptl/sysdeps/pthread/list.h: Moved ...
32190         * include/list.h: ... here.
32191         * nptl/sysdeps/pthread/createthread.c: Moved ...
32192         * nptl/createthread.c: ... here.
32193         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32194         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32195         * nptl/pt-longjmp.c: ... here.
32196         * nptl/sysdeps/pthread/Makefile: Moved ...
32197         * sysdeps/nptl/Makefile: ... here.
32198         * nptl/sysdeps/pthread/Subdirs: Moved ...
32199         * sysdeps/nptl/Subdirs: ... here.
32200         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32201         * sysdeps/nptl/aio_misc.h: ... here.
32202         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32203         * sysdeps/nptl/bits/libc-lock.h: ... here.
32204         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32205         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32206         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32207         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32208         * nptl/sysdeps/pthread/configure: Moved ...
32209         * sysdeps/nptl/configure: ... here.
32210         * nptl/sysdeps/pthread/configure.ac: Moved ...
32211         * sysdeps/nptl/configure.ac: ... here.
32212         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32213         * sysdeps/nptl/gai_misc.h: ... here.
32214         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32215         * sysdeps/nptl/librt-cancellation.c: ... here.
32216         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32217         * sysdeps/nptl/malloc-machine.h: ... here.
32218         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32219         * sysdeps/nptl/pthread-functions.h: ... here.
32220         * nptl/sysdeps/pthread/pthread.h: Moved ...
32221         * sysdeps/nptl/pthread.h: ... here.
32222         * nptl/sysdeps/pthread/setxid.h: Moved ...
32223         * sysdeps/nptl/setxid.h: ... here.
32224         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32225         * sysdeps/nptl/sigfillset.c: ... here.
32226         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32227         * sysdeps/nptl/tcb-offsets.h: ... here.
32228         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32229         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32230         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32231         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32232         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32233         * sysdeps/pthread/allocalim.h: ... here.
32234         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32235         * sysdeps/pthread/bits/sigthread.h: ... here.
32236         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32237         * sysdeps/pthread/flockfile.c: ... here.
32238         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32239         * sysdeps/pthread/ftrylockfile.c: ... here.
32240         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32241         * sysdeps/pthread/funlockfile.c: ... here.
32242         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32243         * sysdeps/pthread/posix-timer.h: ... here.
32244         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32245         * sysdeps/pthread/timer_create.c: ... here.
32246         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32247         * sysdeps/pthread/timer_delete.c: ... here.
32248         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32249         * sysdeps/pthread/timer_getoverr.c: ... here.
32250         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32251         * sysdeps/pthread/timer_gettime.c: ... here.
32252         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32253         * sysdeps/pthread/timer_routines.c: ... here.
32254         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32255         * sysdeps/pthread/timer_settime.c: ... here.
32256         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32257         * sysdeps/pthread/tst-timer.c: ... here.
32258         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32259         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32261         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32262         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32264         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32265         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32266         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32267         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32268         Update #include target.
32269         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32270         * sysdeps/i386/i686/nptl/Makefile: ... here.
32271         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32272         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32273         Update #include target.
32274         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32275         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32276         * nptl/sysdeps/i386/Makefile: Moved ...
32277         * sysdeps/i386/nptl/Makefile: ... here.
32278         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32279         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32280         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32281         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32282         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32283         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32284         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32285         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32286         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32287         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32288         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32289         * nptl/sysdeps/i386/tls.h: Moved ...
32290         * sysdeps/i386/nptl/tls.h: ... here.
32292         * sysdeps/sh/Makefile [$(subdir) = csu]
32293         (gen-as-const-headers): Add tcb-offsets.sym.
32294         * nptl/sysdeps/sh/Makefile: File removed.
32295         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32296         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32297         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32298         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32299         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32300         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32301         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32302         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32303         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32304         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32305         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32306         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32307         * nptl/sysdeps/sh/tls.h: Moved ...
32308         * sysdeps/sh/nptl/tls.h: ... here.
32309         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32310         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32312         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32313         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32314         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32315         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32316         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32317         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32318         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32320         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32322         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32324         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32326         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32328         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32330         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32332         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32334         Moved ...
32335         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32336         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32337         Moved ...
32338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32343         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32344         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32345         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32346         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32347         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32348         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32349         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32350         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32351         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32352         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32353         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32354         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32355         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32356         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32358 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32360         * posix/spawn_faction_addopen.c: Include string.h.
32362 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32364         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32365         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32366         * nptl/sysdeps/x86_64/Makefile: Moved ...
32367         * sysdeps/x86_64/nptl/Makefile: ... here.
32368         * nptl/sysdeps/x86_64/configure: Moved ...
32369         * sysdeps/x86_64/nptl/configure: ... here.
32370         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32371         * sysdeps/x86_64/nptl/configure.ac: ... here.
32372         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32373         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32374         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32375         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32376         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32377         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32378         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32379         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32380         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32381         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32382         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32383         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32384         * nptl/sysdeps/x86_64/tls.h: Moved ...
32385         * sysdeps/x86_64/nptl/tls.h: ... here.
32386         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32387         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32388         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32389         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32391         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32393 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32397 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32399         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32400         type.
32401         [POSIX] (off_t): Likewise.
32402         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32403         [POSIX] (S_ISBLK): Require macro.
32404         [POSIX] (S_ISCHR): Likewise.
32405         [POSIX] (S_ISDIR): Likewise.
32406         [POSIX] (S_ISFIFO): Likewise.
32407         [POSIX] (S_ISREG): Likewise.
32408         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32409         optional-macro.
32410         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32411         type.
32412         [POSIX] (time_t): Likewise.
32413         [POSIX] (timer_t): Likewise.
32415 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32417         [BZ #17048]
32418         * posix/spawn_int.h (struct __spawn_action): Make the path string
32419         non-const to support deallocation.
32420         * posix/spawn_faction_addopen.c
32421         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32422         * posix/spawn_faction_destroy.c
32423         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32424         path in all spawn_do_open actions.
32425         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32426         posix_spawn_file_actions_addopen.
32428 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32430         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32431         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32432         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32433         conditional code always true.
32434         (__libc_vfork): New alias.
32436 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32438         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32439         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32441         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32443         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32444         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32446         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32447         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32449         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32450         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32452 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32454         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32455         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32456         multiarch strcmp for PPC64.
32457         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32458         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32460         multiarch optimizations.
32461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32462         (__libc_ifunc_impl_list): Likewise.
32464 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32466         * benchtests/scripts/validate_benchout.py: New script.
32467         * benchtests/Makefile (bench-func): Call it.
32468         * benchtests/scripts/benchout.schema.json: New file.
32470 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32472         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32473         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32474         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32475         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32476         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32477         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32478         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32479         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32480         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32481         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32482         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32483         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32484         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32485         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32486         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32487         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32489         Moved ...
32490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32491         ... here.
32492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32493         Moved ...
32494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32496         Moved ...
32497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32498         ... here.
32499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32500         Moved ...
32501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32502         ... here.
32503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32504         Moved ...
32505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32507         Moved ...
32508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32509         ... here.
32510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32511         Moved ...
32512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32513         ... here.
32514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32515         Moved ...
32516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32518         Moved ...
32519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32520         ... here.
32521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32522         Moved ...
32523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32524         ... here.
32525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32526         Moved ...
32527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32528         ... here.
32529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32530         Moved ...
32531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32533         Moved ...
32534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32535         ... here.
32536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32537         Moved ...
32538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32539         ... here.
32540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32541         Moved ...
32542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32543         ... here.
32544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32545         Moved ...
32546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32548         Moved ...
32549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32550         ... here.
32551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32552         Moved ...
32553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32554         ... here.
32555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32556         Moved ...
32557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32559         Moved ...
32560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32561         ... here.
32562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32563         Moved ...
32564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32566         Moved ...
32567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32569         Moved ...
32570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32571         ... here.
32572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32573         Moved ...
32574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32575         ... here.
32576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32577         Moved ...
32578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32579         ... here.
32580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32581         Moved ...
32582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32584         Moved ...
32585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32586         ... here.
32587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32588         Moved ...
32589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32590         ... here.
32591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32592         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32594         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32596         Moved ...
32597         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32598         ... here.
32599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32600         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32604         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32606         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32608         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32610         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32612         Moved ...
32613         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32615         Moved ...
32616         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32618         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32620         Moved ...
32621         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32623         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32624         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32625         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32626         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32627         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32629 2014-06-10  Wilco  <wdijkstr@arm.com>
32631         * math/test-fenv-return.c: New file.
32632         * math/Makefile: Add new test test-fenv-return.
32634 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32636         [BZ #17042]
32637         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32638         when x - 1 is zero.
32639         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32640         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32641         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32642         0.0L for an argument of 1.0L.
32643         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32644         Likewise.
32645         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32646         value when x - 1 is zero.
32647         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32648         * sysdeps/i386/fpu/libm-test-ulps: Update.
32649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32651 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32653         [BZ #15119]
32654         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32656 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32658         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32659         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32661 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32663         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32664         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32666         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32667         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32669         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32670         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32672         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32673         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32675         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32676         if not already defined.
32677         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32678         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32679         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32680         (TLS_INIT_TP): Use it.
32681         (TLS_DEFINE_INIT_TP): New macro.
32682         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32684 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32686         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32687         constant.
32688         [POSIX] (IXANY): Likewise.
32689         [POSIX] (OLCUC): Likewise.
32690         [POSIX || POSIX2008] (CBAUD): Do not allow.
32691         [POSIX || POSIX2008] (DEFECHO): Likewise.
32692         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32693         [POSIX || POSIX2008] (ECHOKE): Likewise.
32694         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32695         [POSIX || POSIX2008] (EXTA): Likewise.
32696         [POSIX || POSIX2008] (EXTB): Likewise.
32697         [POSIX || POSIX2008] (FLUSHO): Likewise.
32698         [POSIX || POSIX2008] (LOBLK): Likewise.
32699         [POSIX || POSIX2008] (PENDIN): Likewise.
32700         [POSIX || POSIX2008] (SWTCH): Likewise.
32701         [POSIX || POSIX2008] (VDISCARD): Likewise.
32702         [POSIX || POSIX2008] (VDSUSP): Likewise.
32703         [POSIX || POSIX2008] (VLNEXT): Likewise.
32704         [POSIX || POSIX2008] (VREPRINT): Likewise.
32705         [POSIX || POSIX2008] (VSTATUS): Likewise.
32706         [POSIX || POSIX2008] (VWERASE): Likewise.
32707         (B*): Change to B[0123456789]*.
32708         * conform/data/time.h-data [POSIX || UNIX98]
32709         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32710         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32711         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32712         [POSIX] (tm_*): Do not allow.
32714 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32716         * Makefile (install): Don't set LANGUAGE.
32717         * Makefile.in (install): Likewise.
32718         * assert/Makefile (test-assert-ENV): Remove variable.
32719         (test-assert-perr-ENV): Likewise.
32720         * elf/Makefile (neededtest4-ENV): Likewise.
32721         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32722         [$(cross-compiling) = no]: Don't set LANGUAGE.
32723         * io/ftwtest-sh (LANG): Remove variable.
32724         * libio/Makefile (tst-widetext-ENV): Likewise.
32725         * manual/install.texi (Running make install): Don't refer to
32726         environment settings for make install.
32727         * INSTALL: Regenerated.
32728         * nptl/tst-tls6.sh: Don't set LANG.
32729         * posix/globtest.sh (LANG): Remove variable.
32730         * string/Makefile (tester-ENV): Likewise.
32731         (inl-tester-ENV): Likewise.
32732         (noinl-tester-ENV): Likewise.
32733         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32734         [$(cross-compiling) = no]: Don't set LANGUAGE.
32735         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32736         without explicit environment settings.
32738 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32740         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32741         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32742         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32743         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32745 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32747         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32748         other files in the crypt directory.
32749         * crypt/crypt.c: Remove duplicate includes.
32750         * crypt/crypt-entry.c: Likewise.
32751         * crypt/crypt_util.c: Likewise.
32753 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32755         * Makeconfig (run-program-env): New variable.
32756         (run-program-prefix-before-env): Likewise.
32757         (run-program-prefix-after-env): Likewise.
32758         (run-program-prefix): Define in terms of new variables.
32759         (built-program-cmd-before-env): New variable.
32760         (built-program-cmd-after-env): Likewise.
32761         (built-program-cmd): Define in terms of new variables.
32762         (test-program-prefix-before-env): New variable.
32763         (test-program-prefix-after-env): Likewise.
32764         (test-program-prefix): Define in terms of new variables.
32765         (test-program-cmd-before-env): New variable.
32766         (test-program-cmd-after-env): Likewise.
32767         (test-program-cmd): Define in terms of new variables.
32768         * Rules (make-test-out): Use $(run-program-env).
32769         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32770         (help): Do not mention environment variables.  Mention
32771         --timeoutfactor option.
32772         (timeoutfactor): New variable.
32773         (blacklist_exports): Remove function.
32774         (exports): Remove variable.
32775         (command): Do not include ${exports}.
32776         * manual/install.texi (Configuring and compiling): Do not mention
32777         test wrappers preserving environment variables.  Mention that last
32778         assignment to a variable must take precedence.
32779         * INSTALL: Regenerated.
32780         * benchtests/Makefile (run-bench): Use $(run-program-env).
32781         * catgets/Makefile ($(objpfx)test1.cat): Use
32782         $(built-program-cmd-before-env), $(run-program-env) and
32783         $(built-program-cmd-after-env).
32784         ($(objpfx)test2.cat): Do not specify environment variables
32785         explicitly.
32786         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32787         $(run-program-env) and $(built-program-cmd-after-env).
32788         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32789         $(run-program-env) and $(test-program-cmd-after-env).
32790         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32791         explicitly.
32792         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32793         run_program_env and test_program_cmd_after_env arguments.
32794         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32795         * elf/tst-pathopt.sh: Use run_program_env argument.
32796         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32797         $(test-wrapper-env) and $(run-program-env).
32798         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32799         run_program_env arguments.
32800         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32801         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32802         $(test-program-prefix-before-env), $(run-program-env) and
32803         $(test-program-prefix-after-env).
32804         ($(objpfx)tst-gettext2.out): Likewise.
32805         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32806         run_program_env and test_program_prefix_after_env arguments.
32807         * intl/tst-gettext2.sh: Likewise.
32808         * intl/tst-gettext4.sh: Do not set environment variables
32809         explicitly.
32810         * intl/tst-gettext6.sh: Likewise.
32811         * intl/tst-translit.sh: Likewise.
32812         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32813         $(test-program-prefix-before-env), $(run-program-env) and
32814         $(test-program-prefix-after-env).
32815         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32816         run_program_env and test_program_prefix_after_env arguments.
32817         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32818         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32819         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32820         explicitly with each use of ${test_wrapper_env}.
32821         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32822         $(test-program-prefix-before-env), $(run-program-env) and
32823         $(test-program-prefix-after-env).
32824         * posix/tst-getconf.sh: Do not set environment variables
32825         explicitly.
32826         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32827         run_program_env and test_program_prefix_after_env arguments.
32828         * stdio-common/tst-printf.sh: Do not set environment variables
32829         explicitly.
32830         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32831         $(test-program-prefix-before-env), $(run-program-env) and
32832         $(test-program-prefix-after-env).
32833         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32834         run_program_env and test_program_prefix_after_env arguments.
32835         Split $test calls into $test_pre and $test.
32836         * timezone/Makefile (build-testdata): Use
32837         $(built-program-cmd-before-env), $(run-program-env) and
32838         $(built-program-cmd-after-env).
32840 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32842         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32843         strlen for non SHARED builds.
32845 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * nptl/allocatestack.c (check_list): Inlined function...
32848         (__reclaim_stacks): ... here.
32850 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32852         [BZ #15698]
32853         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32854         memory overrun.
32856 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32858         * Rules (make-test-out): Include
32859         LOCPATH=$(common-objpfx)localedata in default environment.
32860         * debug/Makefile (tst-chk1-ENV): Remove variable.
32861         (tst-chk2-ENV): Likewise.
32862         (tst-chk3-ENV): Likewise.
32863         (tst-chk4-ENV): Likewise.
32864         (tst-chk5-ENV): Likewise.
32865         (tst-chk6-ENV): Likewise.
32866         (tst-lfschk1-ENV): Likewise.
32867         (tst-lfschk2-ENV): Likewise.
32868         (tst-lfschk3-ENV): Likewise.
32869         (tst-lfschk4-ENV): Likewise.
32870         (tst-lfschk5-ENV): Likewise.
32871         (tst-lfschk6-ENV): Likewise.
32872         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32873         (tst-iconv7-ENV): Likewise.
32874         * intl/Makefile (LOCPATH-ENV): Likewise.
32875         (tst-codeset-ENV): Likewise.
32876         (tst-gettext3-ENV): Likewise.
32877         (tst-gettext5-ENV): Likewise.
32878         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32879         (tst-fopenloc-ENV): Likewise.
32880         (tst-fgetws-ENV): Remove variable.
32881         (tst-ungetwc1-ENV): Likewise.
32882         (tst-ungetwc2-ENV): Likewise.
32883         (bug-ungetwc2-ENV): Likewise.
32884         (tst-swscanf-ENV): Likewise.
32885         (bug-ftell-ENV): Likewise.
32886         (tst-fgetwc-ENV): Likewise.
32887         (tst-fseek-ENV): Likewise.
32888         (tst-ftell-partial-wide-ENV): Likewise.
32889         (tst-ftell-active-handler-ENV): Likewise.
32890         (tst-ftell-append-ENV): Likewise.
32891         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32892         (tst-regexloc-ENV): Likewise.
32893         (bug-regex1-ENV): Likewise.
32894         (tst-regex-ENV): Likewise.
32895         (tst-regex2-ENV): Likewise.
32896         (bug-regex5-ENV): Likewise.
32897         (bug-regex6-ENV): Likewise.
32898         (bug-regex17-ENV): Likewise.
32899         (bug-regex18-ENV): Likewise.
32900         (bug-regex19-ENV): Likewise.
32901         (bug-regex20-ENV): Likewise.
32902         (bug-regex22-ENV): Likewise.
32903         (bug-regex23-ENV): Likewise.
32904         (bug-regex25-ENV): Likewise.
32905         (bug-regex26-ENV): Likewise.
32906         (bug-regex30-ENV): Likewise.
32907         (bug-regex32-ENV): Likewise.
32908         (bug-regex33-ENV): Likewise.
32909         (bug-regex34-ENV): Likewise.
32910         (bug-regex35-ENV): Likewise.
32911         (tst-rxspencer-ENV): Likewise.
32912         (tst-rxspencer-no-utf8-ENV): Likewise.
32913         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32914         (tst-sscanf-ENV): Likewise.
32915         (tst-swprintf-ENV): Likewise.
32916         (tst-swscanf-ENV): Likewise.
32917         (test-vfprintf-ENV): Likewise.
32918         (scanf13-ENV): Likewise.
32919         (bug14-ENV): Likewise.
32920         (tst-grouping-ENV): Likewise.
32921         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32922         (tst-strtod3-ENV): Likewise.
32923         (tst-strtod4-ENV): Likewise.
32924         (tst-strtod5-ENV): Likewise.
32925         (testmb2-ENV): Likewise./
32926         * string/Makefile (tst-strxfrm-ENV): Likewise.
32927         (tst-strxfrm2-ENV): Likewise.
32928         (bug-strcoll1-ENV): Likewise.
32929         (test-strcasecmp-ENV): Likewise.
32930         (test-strncasecmp-ENV): Likewise.
32931         * time/Makefile (tst-strptime-ENV): Likewise.
32932         (tst-ftime_l-ENV): Likewise.
32933         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32934         (tst-mbrtowc-ENV): Likewise.
32935         (tst-wcrtomb-ENV): Likewise.
32936         (tst-mbrtowc2-ENV): Likewise.
32937         (tst-c16c32-1-ENV): Likewise.
32938         (tst-mbsnrtowcs-ENV): Likewise.
32940 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32942         * manual/resource.texi (How to get information about the memory
32943         subsystem?): Fix typo.
32944         Reported by Peon de la Parra Ivan <peon@keba.com>
32946 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32948         [BZ #16882]
32949         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32950         (pthread_spin_lock): Branch out of spin loop to proper location.
32951         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32952         (pthread_spin_lock): Likewise.
32954         * nptl/tst-spin4.c: New test.
32955         * nptl/Makefile (tests): Add tst-spin4.
32957 2014-06-03  Andreas Schwab  <schwab@suse.de>
32959         [BZ #15946]
32960         * resolv/res_send.c (send_dg): Reload file descriptor after
32961         calling reopen.
32963 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32967 2014-06-03  Richard Henderson  <rth@redhat.com>
32969         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32970         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32971         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32972         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32973         in the SAVE_PID block.
32974         (__libc_vfork): New alias.
32975         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32977         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32978         child in registers, not on the stack.  Remove RESET_PID conditionals.
32979         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32981 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32983         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32985 2014-06-03  Wilco  <wdijkstr@arm.com>
32987         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32988         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32989         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32990         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32991         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32992         Likewise.
32994 2014-06-03  Wilco  <wdijkstr@arm.com>
32996         * sysdeps/aarch64/fpu/math_private.h
32997         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32998         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32999         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33000         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33001         Fix declarations.
33003 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33005         * crypt/crypt-private.h: Include ufc-crypt.h.
33006         (__b64_from_24bit): Declare extern.
33007         * crypt/crypt_util.c(__b64_from_24bit): New function.
33008         (b64t): New static const variable.
33009         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33010         (b64t): Remove variable.
33011         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33012         * crypt/sha256-crypt.c: Include crypt-private.h.
33013         (b64t): Remove variable.
33014         (__sha256_crypt_r): Remove b64_from_24bit and replace
33015         with __b64_from_24bit.
33016         * crypt/sha512-crypt.c: Likewise.
33018 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33020         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33021         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33022         Label the code __libc_vfork rather than __vfork.
33023         [!NOT_IN_libc] (vfork): Define as weak alias.
33024         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33025         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33026         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33028 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33030         * malloc/malloc.c (malloc_info): Fix format specifier for
33031         n_mmaps.
33033 2014-06-02  Wilco  <wdijkstr@arm.com>
33035         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33036         FPCR write.
33038 2014-06-02  Wilco  <wdijkstr@arm.com>
33040         [BZ #17009]
33041         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33042         Rewrite to reduce FPCR/FPSR accesses.
33044 2014-06-01  David S. Miller  <davem@davemloft.net>
33046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33048 2014-05-31  David S. Miller  <davem@davemloft.net>
33050         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33051         to occur in round to nearest mode when |x| >= 2.0
33053 2014-05-30  Richard Henderson  <rth@twiddle.net>
33055         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33056         (PSEUDO_RET_NOERRNO): Remove.
33057         (ret): Don't redefine.
33058         (ret_NOERRNO): Define in terms of ret.
33059         (ret_ERRVAL): Likewise.
33061         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33062         use of PSEUDO_RET; perform the error check directly.
33064 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33066         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33067         with __int128_t.
33069 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33071         * malloc/malloc (malloc_info): Fix formatting.
33073 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33074             Roland McGrath  <roland@hack.frob.com>
33076         * malloc/malloc (malloc_info): Also print mmapped statistics.
33078 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33080         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33081         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33083 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33085         * malloc/malloc.c (malloc_info): Inline mi_arena.
33087 2014-05-29  Richard Henderson  <rth@twiddle.net>
33089         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33090         Remove comma before expanding ASM_ARGS_##nr.
33091         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33092         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33093         of ASM_ARGS_##nr.
33094         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33095         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33096         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33097         (ASM_ARGS_1): Add leading comma.
33099         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33100         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33101         to __errno_location.
33102         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33103         Remove the expected plt for __errno_location.
33105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33106         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33107         call to __read_tp.
33109         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33110         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33111         it and break it down.
33112         (DOCARGS_0, DOCARGS_1): Do nothing.
33113         (DOCARGS_2): Update to store into the new stack frame.
33114         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33115         (UNDOCARGS_1): Update to restore from the new stack frame.
33116         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33117         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33119         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33120         (SINGLE_THREAD_P): New parameter for result regno.
33121         (PSEUDO): Update to match; use cbz instead of beq.
33123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33124         Use ENTRY to define the _nocancel entry point.  Share the syscall
33125         and syscall error check paths with the cancel path.
33126         (PSEUDO_END): New.
33128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33129         whitespace; tabs before and after asm mnemonics.
33131 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33133         [BZ #15132]
33134         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33135         Call fstat64 or stat64 internally, depending on arguments passed.
33136         Replace stat buffer argument with file descriptor argument.
33137         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33138         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33139         Pass fd to __internal_statvfs instead of calling fstat64.
33140         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33141         Pass fd to __internal_statvfs64 instead of calling fstat64.
33142         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33143         Pass -1 to __internal_statvfs instead of calling stat64.
33144         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33145         Pass -1 to __internal_statvfs64 instead of calling stat64.
33147 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33149         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33150         that was previously under [RESET_PID].
33151         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33153         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33154         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33156 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33158         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33160         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33161         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33163 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33165         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33167 2014-05-27  Andreas Schwab  <schwab@suse.de>
33169         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33170         TLS_INIT_TP macro.
33171         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33172         * elf/rtld.c (init_tls, dl_main): Likewise.
33173         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33174         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33175         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33176         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33177         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33178         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33179         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33180         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33181         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33182         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33183         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33184         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33185         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33186         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33187         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33188         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33189         * sysdeps/generic/tls.h: Update description.
33191 2014-05-27  Will Newton  <will.newton@linaro.org>
33193         [BZ #16990]
33194         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33195         and restore r2 rather than just restoring.
33197 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33199         [BZ #16724]
33200         * libio/tst-ftell-append.c: New test case.
33201         * libio/Makefile (tests): Add test case.
33202         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33203         append mode.
33204         * libio/wfileops.c (do_ftell_wide): Likewise.
33206 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33210         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33211         ...
33212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33214         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33215         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33216         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33217         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33218         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33219         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33221         Moved ...
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33224         Moved ...
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33226         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33227         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33228         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33229         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33230         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33231         ...
33232         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33233         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33234         Moved ...
33235         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33236         here.
33237         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33238         ...
33239         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33240         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33241         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33243         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33244         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33245         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33246         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33249         merge into ...
33250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33252         ...
33253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33255         ...
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33258         Moved ...
33259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33260         here.
33261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33262         Moved ...
33263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33265         Moved ...
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33269         conditional [RESET_PID].
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33272         removed.
33273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33274         removed.
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33277         <tcb-offsets.h>.
33278         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33279         (__libc_vfork): New strong alias.
33280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33281         removed.
33282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33283         Removed.
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33286         <tcb-offsets.h>.
33287         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33288         (__libc_vfork): New strong alias.
33289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33290         removed.
33291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33292         removed.
33294 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33296         * malloc/malloc.c (mi_arena): New function.
33297         (malloc_info): Remove nested function mi_arena. Call non-nosted
33298         function mi_arena.
33300 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33302         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33303         by insrwi.
33304         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33305         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33306         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33307         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33308         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33309         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33310         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33312 2014-05-26  Andreas Schwab  <schwab@suse.de>
33314         [BZ #16984]
33315         * locale/programs/repertoire.c (repertoire_read): Add slash
33316         between I18NPATH element and file name.
33317         * locale/programs/locfile.c (locfile_read): Likewise.
33319 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33321         * nptl/pthread_mutexattr_settype.c
33322         (__pthread_mutexattr_settype):
33323         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33325 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33327         * nptl/tst-mutex5 (do_test):
33328         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33330 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33332         * benchtests/README: Document 'init' directive.
33333         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33334         BENCH_INIT.
33335         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33336         (parse_file): Recognize 'init' directive.
33338 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33340         [BZ #16796]
33341         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33342         alignment of struct pthread.
33344 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33346         [BZ #16878]
33347         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33348         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33349         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33350         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33352 2014-05-25  Richard Henderson  <rth@twiddle.net>
33354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33355         (SINGLE_THREAD_P_PIC): Remove.
33356         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33357         (SINGLE_THREAD_P_PIC): Remove.
33359         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33360         branch to syscall error ...
33361         (PSEUDO): ... here.
33362         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33363         from __local_syscall_error to .Lsyscall_error.
33364         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33365         (SYSCALL_ERROR): Update label name.
33367         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33368         Do not use DOARGS/UNDOARGS.
33369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33370         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33371         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33372         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33373         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33375         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33376         block comment.
33378         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33379         define if !NOT_IN_libc.
33380         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33381         define with non-default symbol versions.
33383 2014-05-23  Richard Henderson  <rth@twiddle.net>
33385         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33386         (vfork, __vfork): Define via compat_symbol.
33388         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33389         [!HAVE_IFUNC] (vfork_compat): Remove.
33390         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33392 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33394         [BZ #16978]
33395         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33396         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33397         variable.
33399 2014-05-23  Richard Henderson  <rth@twiddle.net>
33401         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33402         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33403         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33404         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33406         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33407         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33408         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33409         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33410         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33411         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33412         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33413         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33414         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33415         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33416         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33417         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33418         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33419         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33420         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33421         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33422         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33423         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33424         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33425         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33426         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33427         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33428         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33429         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33430         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33431         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33432         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33433         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33434         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33435         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33436         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33437         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33438         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33439         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33440         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33441         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33442         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33443         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33444         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33445         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33446         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33447         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33448         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33449         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33450         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33451         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33453         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33455         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33456         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33457         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33458         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33459         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33461         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33463         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33464         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33465         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33466         before exiting on error.
33467         (__libc_vfork): New strong alias.
33468         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33469         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33471         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33472         that was previously under [RESET_PID].
33473         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33475         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33477 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33479         [BZ #16977]
33480         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33481         value when x - 1 is zero.
33482         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33483         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33484         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33485         0.0L for an argument of 1.0L.
33486         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33487         Likewise.
33488         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33489         value when x - 1 is zero.
33490         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33491         * sysdeps/i386/fpu/libm-test-ulps: Update.
33492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33494 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33496         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33497         alphasort and versionsort.
33499 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33501         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33502         macro.
33503         [copysignf]: Likewise.
33505 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33507         * crypt/md5-crypt.c: Fix formatting.
33509 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33511         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33512         (b64_from_24bit): New function.
33514 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33516         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33517         libc_hidden_builtin_def to ifunc.
33518         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33519         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33521 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33523         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33524         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33526 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33528         * nscd/Depend (linuxthreads): Remove.
33529         (nptl): Add.
33530         * resolv/Depend (linuxthreads): Remove.
33531         * rt/Depend (linuxthreads): Remove.
33533         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33534         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33535         $(common-objpfx)elf/.
33536         (link-libc-before-gnulib): Likewise.
33537         (elfobjdir): Remove variable.
33538         * Makefile (install): Use $(elf-objpfx) instead of
33539         $(common-objpfx)elf/.
33540         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33541         $(elfobjdir)/.
33542         (link-libc-deps): Likewise.
33543         ($(common-objpfx)libc.so): Likewise.
33544         ($(common-objpfx)linkobj/libc.so): Likewise.
33545         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33546         instead of $(common-objpfx)elf/.
33547         (symbolic-link-list): Likewise.
33548         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33549         [$(cross-compiling) = no]: Likewise.
33550         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33551         $(elfobjdir)/.
33552         (static-gnulib-arch): Likewise.
33553         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33554         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33555         $(common-objpfx)elf/.
33557 2014-05-21  Richard Henderson  <rth@redhat.com>
33559         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33560         (SINGLE_THREAD_P): Use the correct width load.  Fold
33561         into the ldr offset.
33563         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33564         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33566 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33568         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33569         (libgcc_s_resume): Use __attribute_used__.
33570         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33571         Likewise.
33573 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33575         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33576         optimization when used with float constants.
33578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33580 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33582         [BZ #16915]
33583         * locale/nl_langinfo_l.c: Make direct reference to every
33584         _nl_current_CATEGORY symbol.
33585         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33586         (tests-static): Add tst-langinfo-static.
33587         (tests-special): Add tst-langinfo-static.out.
33588         ($(objpfx)tst-langinfo.out): Redirect output.
33589         ($(objpfx)tst-langinfo-static.out): New.
33590         * localedata/tst-langinfo.sh: Send output to stdout.
33591         * localedata/tst-langinfo-static.c: New file.
33593         [BZ #16965]
33594         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33595         when the shift amount is modulo the limb size.
33597 2014-05-20  Richard Henderson  <rth@redhat.com>
33599         [BZ #16967]
33600         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33601         Change type of sa_flags from unsigned int to int.
33603         [BZ #16966]
33604         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33606         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33608 2014-05-20  Will Newton  <will.newton@linaro.org>
33610         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33611         Test the return value of the system call in the nocancel case.
33613 2014-05-20  Will Newton  <will.newton@linaro.org>
33614             Yvan Roux  <yvan.roux@linaro.org>
33616         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33617         #include of asm/ptrace.h.
33618         (PTRACE_GET_THREAD_AREA): Remove #undef.
33619         (PTRACE_GETHBPREGS): Likewise.
33620         (PTRACE_SETHBPREGS): Likewise.
33621         (struct user_regs_struct): New structure.
33622         (struct user_fpsimd_struct): New structure.
33623         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33624         #include of asm/ptrace.h and second #include of sys/user.h.
33625         (PTRACE_GET_THREAD_AREA): Remove #undef.
33626         (PTRACE_GETHBPREGS): Likewise.
33627         (PTRACE_SETHBPREGS): Likewise.
33628         (ELF_NGREG): Use new struct user_regs_struct.
33629         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33631 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33633         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33634         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33636 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33638         [BZ #16958]
33639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33640         membar to avoid block loads/stores to overlap previous stores.
33642 2014-05-17  Richard Henderson  <rth@redhat.com>
33644         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33645         Create the __##syscall_name##_nocancel entry point.
33646         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33647         Remove; let the sysdep-cancel.h code create it.
33649 2014-05-17  David S. Miller  <davem@davemloft.net>
33651         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33652         Protect with __USE_GNU.
33653         (TIOCSET_TEMPT): Likewise.
33654         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33655         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33656         these are already provided in bits/ioctl-types.h
33658 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33660         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33661         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33663         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33664         Use wait4 regardless of [__NR_waitpid].
33666 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33668         PR libgcc/60166
33669         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33670         (_FP_NANSIGN_Q): Set the quiet bit.
33672 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33674         * benchtests/Makefile
33675         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33676         not $(common-objpfx)math/libm.so.
33677         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33678         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33679         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33680         $(common-objpfx)dlfcn/libdl.so.
33681         ($(objpfx)tst-audit8): Depend on $(libm), not
33682         $(common-objpfx)math/libm.so.
33683         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33684         not $(common-objpfx)dlfcn/libdl.so.
33685         * math/Makefile
33686         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33687         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33688         [$(build-shared) = yes].
33689         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33690         $(common-objpfx)nptl/libpthread.so.
33691         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33692         $(common-objpfx)math/libm.so$(libm.so-version) or
33693         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33694         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33695         $(common-objpfx)dlfcn/libdl.so.
33696         * setjmp/Makefile (link-libm): Remove variable.
33697         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33698         * stdio-common/Makefile (link-libm): Remove variable.
33699         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33700         * stdlib/Makefile (link-libm): Remove variable.
33701         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33702         ($(objpfx)tst-strtod-round): Likewise.
33703         ($(objpfx)tst-tininess): Likewise.
33704         ($(objpfx)tst-strtod-underflow): Likewise.
33705         ($(objpfx)tst-strtod6): Likewise.
33706         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33707         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33708         $(common-objpfx)dlfcn/libdl.so.
33710 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33712         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33713         BSD terminal modes definitions.
33715 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33717         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33718         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33720         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33721         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33722         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33723         Don't do #include_next.
33724         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33725         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33726         Don't do #include_next.
33727         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33728         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33729         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33730         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33732 2014-05-16  Allan McRae  <allan@archlinux.org>
33734         * po/sv.po: Update Swedish translation from translation project.
33736         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33737         in sed expression.
33739 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33741         [BZ #16917]
33742         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33743         errno if the TIOCGPTN ioctl fails with an error different than
33744         EINVAL.
33745         * login/tst-ptsname.c: New file.
33746         * login/Makefile (tests): Add tst-ptsname.
33748         [BZ #16943]
33749         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33750         and prlimit64.
33752 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33754         [BZ #16849]
33755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33756         herrno to return EAI_AGAIN.
33758 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33760         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33761         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33762         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33763         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33764         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33765         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33766         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33767         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33768         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33769         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33770         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33771         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33772         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33773         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33774         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33775         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33776         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33777         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33778         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33779         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33780         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33781         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33782         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33783         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33784         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33785         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33786         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33787         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33788         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33789         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33791         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33793         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33795         Moved ...
33796         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33798         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33800         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33802         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33804         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33806         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33808         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33810         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33812         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33814         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33816         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33818         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33820         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33822         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33824         Moved ...
33825         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33827         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33829         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33831         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33833         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33835         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33837         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33839         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33841         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33843         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33845         Moved ...
33846         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33848         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33850         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33851         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33852         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33853         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33854         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33855         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33856         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33857         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33858         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33859         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33860         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33861         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33862         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33863         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33864         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33865         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33866         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33867         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33868         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33869         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33870         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33871         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33872         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33875         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33876         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33877         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33878         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33879         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33880         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33882         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33883         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33885         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33886         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33887         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33888         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33889         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33891         Moved ...
33892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33894         Moved ...
33895         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33899         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33900         Moved ...
33901         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33902         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33903         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33905         Moved ...
33906         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33907         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33908         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33910         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33911         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33912         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33913         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33914         Moved ...
33915         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33916         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33917         Moved ...
33918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33919         ... here.
33920         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33921         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33922         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33923         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33927         ... here.
33928         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33929         Moved ...
33930         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33931         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33932         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33933         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33934         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33936         Moved ...
33937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33939         Moved ...
33940         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33942         Moved ...
33943         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33944         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33945         Moved ...
33946         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33947         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33948         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33950         Moved ...
33951         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33952         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33953         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33956         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33957         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33958         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33959         Moved ...
33960         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33961         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33962         Moved ...
33963         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33964         ... here.
33965         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33966         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33967         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33968         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33970         Moved ...
33971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33972         ... here.
33973         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33974         Moved ...
33975         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33976         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33977         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33978         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33979         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33980         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33981         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33982         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33983         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33984         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33985         Moved ...
33986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33988         Moved ...
33989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33991         Moved ...
33992         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33994         Moved ...
33995         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33996         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33997         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33998         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33999         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34000         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34001         Moved ...
34002         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34003         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34004         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34006         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34007         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34008         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34009         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34010         Moved ...
34011         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34013         Moved ...
34014         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34015         ... here.
34016         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34017         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34018         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34019         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34021         Moved ...
34022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34023         ... here.
34024         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34025         Moved ...
34026         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34027         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34028         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34029         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34030         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34031         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34032         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34033         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34034         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34035         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34036         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34038         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34039         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34041         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34042         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34044         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34045         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34046         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34047         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34048         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34049         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34050         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34051         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34052         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34053         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34054         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34055         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34057         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34058         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34060         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34062         Moved ...
34063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34067         Moved ...
34068         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34070         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34072         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34073         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34074         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34076         Moved ...
34077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34079         Moved ...
34080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34086         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34088         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34089         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34090         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34091         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34092         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34093         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34094         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34095         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34096         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34098         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34099         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34100         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34101         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34102         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34104         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34105         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34106         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34107         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34108         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34109         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34110         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34111         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34112         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34113         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34115         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34118         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34119         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34120         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34121         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34123         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34125         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34126         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34127         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34128         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34129         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34131         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34133         Update #include.
34134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34135         Likewise.
34136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34137         Likewise.
34138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34139         Likewise.
34140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34141         Likewise.
34142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34143         Likewise.
34144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34145         Likewise.
34146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34147         Likewise.
34148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34149         Likewise.
34150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34151         Likewise.
34152         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34153         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34157         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34158         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34159         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34162         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34163         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34164         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34168         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34169         that was previously under [RESET_PID].
34170         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34171         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34172         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34174         * sysdeps/i386/nptl/Implies: New file.
34175         * sysdeps/x86_64/nptl/Implies: New file.
34176         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34177         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34178         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34179         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34181         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34183         (__libc_vfork): New strong alias.
34184         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34185         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34187         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34188         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34189         (__libc_vfork): New strong alias.
34190         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34191         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34193         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34194         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34195         (__libc_vfork): New strong alias.
34196         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34197         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34198         * nptl/pt-vfork.c: New file.
34199         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34200         (libpthread: GLIBC_2.20): New version set (empty).
34202 2014-05-14  Will Newton  <will.newton@linaro.org>
34204         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34205         rather than #if.
34207 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34209         [BZ #16564]
34210         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34211         arguments with exponent 65 or above.
34212         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34213         arguments 0x1p113L or above.
34214         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34215         to arguments 0x1p107L or above.
34216         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34217         positive arguments with exponent 65 or above.
34218         * math/auto-libm-test-in: Add more tests of log1p.
34219         * math/auto-libm-test-out: Regenerated.
34221         [BZ #16928]
34222         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34223         non-finite arguments is +0.
34224         * math/s_cacosf.c (__cacosf): Likewise.
34225         * math/s_cacosl.c (__cacosl): Likewise.
34226         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34227         * sysdeps/i386/fpu/libm-test-ulps: Update.
34228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34230         [BZ #16927]
34231         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34232         value.
34233         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34234         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34235         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34236         for explicit high bit of mantissa when testing for argument equal
34237         to 1.
34238         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34239         * sysdeps/i386/fpu/libm-test-ulps: Update.
34240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34242         [BZ #16516]
34243         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34244         (__erf): Scale by 16 instead of 8 in potentially underflowing
34245         case.  Ensure exception if result actually underflows.
34246         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34247         (__erff): Scale by 16 instead of 8 in potentially underflowing
34248         case.  Ensure exception if result actually underflows.
34249         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34250         (efx8): Remove variable.
34251         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34252         case.  Ensure exception if result actually underflows.
34253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34254         (efx8): Remove variable.
34255         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34256         case.  Ensure exception if result actually underflows.
34257         * sysdeps/ieee754/ldbl-96/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         * math/auto-libm-test-in: Add more tests of erf.
34262         * math/auto-libm-test-out: Regenerated.
34264 2014-05-14  Andreas Schwab  <schwab@suse.de>
34266         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34267         Remove code conditionalized on USE___THREAD.
34269         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34270         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34271         not definedness.
34273 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34275         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34276         Define unconditionally.
34277         (__ASSUME_O_CLOEXEC): Likewise.
34278         (__ASSUME_SOCK_CLOEXEC): Likewise.
34279         (__ASSUME_IN_NONBLOCK): Likewise.
34280         (__ASSUME_PIPE2): Likewise.
34281         (__ASSUME_EVENTFD2): Likewise.
34282         (__ASSUME_SIGNALFD4): Likewise.
34283         (__ASSUME_DUP3): Likewise.
34284         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34285         (__ASSUME_DUP3): Do not define.
34286         (__ASSUME_EVENTFD2): Likewise.
34287         (__ASSUME_IN_NONBLOCK): Likewise.
34288         (__ASSUME_O_CLOEXEC): Likewise.
34289         (__ASSUME_PIPE2): Likewise.
34290         (__ASSUME_SIGNALFD4): Likewise.
34291         (__ASSUME_SOCK_CLOEXEC): Likewise.
34292         (__ASSUME_UTIMES): Undefine.
34293         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34294         (__ASSUME_UTIMES): Do not define.
34295         (__ASSUME_O_CLOEXEC): Likewise.
34296         (__ASSUME_SOCK_CLOEXEC): Likewise.
34297         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34298         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34299         0x020621].
34300         (__ASSUME_PIPE2): Likewise.
34301         (__ASSUME_EVENTFD2): Likewise.
34302         (__ASSUME_SIGNALFD4): Likewise.
34303         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34304         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34305         Do not define.
34306         (__ASSUME_EVENTFD2): Likewise.
34307         (__ASSUME_SIGNALFD4): Likewise.
34308         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34309         (__ASSUME_32BITUIDS): Likewise.
34310         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34311         (__ASSUME_IPC64): Likewise.
34312         (__ASSUME_ST_INO_64_BIT): Likewise.
34313         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34314         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34315         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34316         (__ASSUME_UTIMES): Do not define.
34317         (__ASSUME_PSELECT): Likewise.
34318         (__ASSUME_PPOLL): Likewise.
34319         (__ASSUME_O_CLOEXEC): Likewise.
34320         (__ASSUME_SOCK_CLOEXEC): Likewise.
34321         (__ASSUME_IN_NONBLOCK): Likewise.
34322         (__ASSUME_PIPE2): Likewise.
34323         (__ASSUME_EVENTFD2): Likewise.
34324         (__ASSUME_SIGNALFD4): Likewise.
34325         (__ASSUME_DUP3): Likewise.
34326         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34327         (__ASSUME_UTIMES): Likewise.
34328         (__ASSUME_O_CLOEXEC): Likewise.
34329         (__ASSUME_SOCK_CLOEXEC): Likewise.
34330         (__ASSUME_IN_NONBLOCK): Likewise.
34331         (__ASSUME_PIPE2): Likewise.
34332         (__ASSUME_EVENTFD2): Likewise.
34333         (__ASSUME_SIGNALFD4): Likewise.
34334         (__ASSUME_DUP3): Likewise.
34335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34336         (__ASSUME_UTIMES): Likewise.
34337         (__ASSUME_O_CLOEXEC): Likewise.
34338         (__ASSUME_SOCK_CLOEXEC): Likewise.
34339         (__ASSUME_IN_NONBLOCK): Likewise.
34340         (__ASSUME_PIPE2): Likewise.
34341         (__ASSUME_EVENTFD2): Likewise.
34342         (__ASSUME_SIGNALFD4): Likewise.
34343         (__ASSUME_DUP3): Likewise.
34344         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34345         Likewise.
34346         (__ASSUME_UTIMES): Likewise.
34347         (__ASSUME_EVENTFD2): Likewise.
34348         (__ASSUME_SIGNALFD4): Likewise.
34349         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34350         (__ASSUME_O_CLOEXEC): Likewise.
34351         (__ASSUME_SOCK_CLOEXEC): Likewise.
34352         (__ASSUME_IN_NONBLOCK): Likewise.
34353         (__ASSUME_PIPE2): Likewise.
34354         (__ASSUME_EVENTFD2): Likewise.
34355         (__ASSUME_SIGNALFD4): Likewise.
34356         (__ASSUME_DUP3): Likewise.
34357         (__ASSUME_UTIMES): Undefine.
34359         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34360         feclearexcept.  Remove symbol versioning code.
34361         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34362         symbol versioning code.
34363         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34364         symbol versioning code.
34365         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34366         feupdateenv.  Remove symbol versioning code.
34367         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34368         fegetexceptflag.  Remove symbol versioning code.
34369         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34370         fesetexceptflag.  Remove symbol versioning code.
34371         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34372         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34373         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34374         (__posix_fadvise64_l32): Remove prototype.
34375         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34376         code.
34378 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34380         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34381         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34382         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34383         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34385 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34387         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34388         current working directory
34390 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34392         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34393         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34394         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34395         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34396         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34397         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34398         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34399         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34400         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34401         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34402         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34403         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34404         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34405         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34406         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34407         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34408         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34409         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34410         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34411         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34412         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34413         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34414         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34415         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34416         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34417         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34418         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34419         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34420         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34421         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34422         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34423         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34424         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34425         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34426         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34427         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34428         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34429         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34430         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34431         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34432         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34433         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34435         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34436         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34438         * sysdeps/unix/sysv/linux/arm/Makefile
34439         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34440         Add rt-aeabi_unwind_cpp_pr1.
34441         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34442         Add nptl-aeabi_unwind_cpp_pr1.
34443         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34444         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34445         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34446         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34447         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34448         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34450         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34451         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34452         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34453         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34455         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34456         Deconditionalize the code that was previously under [RESET_PID].
34457         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34459         * sysdeps/generic/exit-thread.h: New file.
34460         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34461         * include/unistd.h (__exit_thread): Remove declaration.
34462         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34463         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34464         * csu/libc-start.c: Include <exit-thread.h>.
34465         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34466         * nptl/pthread_create.c: Include <exit-thread.h>.
34467         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34468         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34469         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34470         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34471         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34472         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34473         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34474         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34475         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34476         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34477         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34478         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34479         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34480         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34481         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34482         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34483         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34485 2014-05-13  Andreas Schwab  <schwab@suse.de>
34487         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34489 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34491         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34492         (__ASSUME_UTIMES): Do not condition on kernel version.
34493         (__ASSUME_PSELECT): Define unconditionally.
34494         (__ASSUME_PPOLL): Likewise.
34495         (__ASSUME_ATFCTS): Likewise.
34496         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34497         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34498         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34499         (__ASSUME_UTIMENSAT): Define unconditionally.
34500         (__ASSUME_PRIVATE_FUTEX): Likewise.
34501         (__ASSUME_FALLOCATE): Likewise.
34502         (__ASSUME_O_CLOEXEC): Likewise.
34503         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34504         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34505         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34506         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34507         (__ASSUME_IN_NONBLOCK): Likewise.
34508         (__ASSUME_PIPE2): Likewise.
34509         (__ASSUME_EVENTFD2): Likewise.
34510         (__ASSUME_SIGNALFD4): Likewise.
34511         (__ASSUME_DUP3): Likewise.
34512         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34513         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34514         (__ASSUME_AT_RANDOM): Likewise.
34515         (__ASSUME_PREADV): Likewise.
34516         (__ASSUME_PWRITEV): Likewise.
34517         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34518         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34519         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34520         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34521         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34523         (__ASSUME_O_CLOEXEC): Define unconditionally.
34524         (__ASSUME_PSELECT): Do not undefine conditionally.
34525         (__ASSUME_PPOLL): Likewise.
34526         (__ASSUME_ATFCTS): Likewise.
34527         (__ASSUME_SET_ROBUST_LIST): Likewise.
34528         (__ASSUME_UTIMENSAT): Likewise.
34529         (__ASSUME_FDATASYNC): Define unconditionally.
34530         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34531         (__ASSUME_SIGFRAME_V2): Likewise.
34532         )__ASSUME_EVENTFD2): Likewise.
34533         (__ASSUME_SIGNALFD4): Likewise.
34534         (__ASSUME_PSELECT): Do not undefine conditionally.
34535         (__ASSUME_PPOLL): Likewise.
34536         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34537         (__ASSUME_PSELECT): Define unconditionally.
34538         (__ASSUME_PPOLL): Likewise.
34539         (__ASSUME_O_CLOEXEC): Likewise.
34540         (__ASSUME_SOCK_CLOEXEC): Likewise.
34541         (__ASSUME_IN_NONBLOCK): Likewise.
34542         (__ASSUME_PIPE2): Likewise.
34543         (__ASSUME_EVENTFD2): Likewise.
34544         (__ASSUME_SIGNALFD4): Likewise.
34545         (__ASSUME_DUP3): Likewise.
34546         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
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/mips/kernel-features.h
34555         (__ASSUME_EVENTFD2): Likewise.
34556         (__ASSUME_SIGNALFD4): Likewise.
34557         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34559 2014-05-12  Andreas Schwab  <schwab@suse.de>
34561         [BZ #16932]
34562         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34563         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34564         than maximum RPC packet size.
34565         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34566         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34567         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34568         (_nss_nis_getservbyport_r): Likewise.
34570 2014-05-12  Will Newton  <will.newton@linaro.org>
34572         * malloc/Makefile (tests): Add tst-mallopt.
34573         * malloc/tst-mallopt.c: New file.
34575 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34577         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34578         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34580 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34582         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34583         (tst-tlsmod6.so): Likewise.
34585 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34587         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34589 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34591         [BZ #16064]
34592         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34593         and <dl-procinfo.h>.
34594         (__fegetenv): Save SSE state in envp->__eip if supported.
34595         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34596         envp->__eip if supported.
34597         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34598         and <dl-procinfo.h>.
34599         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34600         __data_offset and __data_selector in environment to 0.  Set SSE
34601         state if supported.
34602         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34603         test-fenv-sse.
34604         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34605         -mfpmath=sse.
34606         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34608 2014-05-09  Will Newton  <will.newton@linaro.org>
34610         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34611         and libc_relro_required for ARM.
34612         * sysdeps/arm/preconfigure: Regenerate.
34614 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34615             Stefan Liebler  <stli@linux.vnet.ibm.com>
34617         * config.make.in (enable-lock-elision): New Makefile variable.
34618         * configure.ac: Likewise.
34619         * configure: Regenerate.
34620         * sysdeps/s390/configure.ac:
34621         Add check for gcc transactions support.
34622         * sysdeps/s390/configure: Regenerate.
34623         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34624         Build elision files if enabled.
34625         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34626         Add lock elision support for s390.
34627         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34628         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34629         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34630         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34631         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34632         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34634         Likewise.
34635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34636         Likewise.
34637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34638         Likewise.
34639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34640         Likewise.
34641         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34642         (__lll_timedlock_elision, __lll_lock_elision)
34643         (__lll_unlock_elision, __lll_trylock_elision)
34644         (lll_timedlock_elision, lll_lock_elision)
34645         (lll_unlock_elision, lll_trylock_elision): Add.
34646         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34647         (pthread_mutex_t): Add lock elision support for s390.
34649 2014-05-14  Wilco  <wdijkstr@arm.com>
34651         * sysdeps/arm/fclrexcpt.c: Cleanup.
34652         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34653         * sysdeps/arm/feenablxcpt.c: Cleanup.
34654         * sysdeps/arm/fegetenv.c: Cleanup.
34655         * sysdeps/arm/fegetexcept.c: Cleanup.
34656         * sysdeps/arm/fegetround.c: Cleanup.
34657         * sysdeps/arm/feholdexcpt.c: Cleanup.
34658         * sysdeps/arm/fesetenv.c: Cleanup.
34659         * sysdeps/arm/fesetround.c: Cleanup.
34660         * sysdeps/arm/feupdateenv.c: Cleanup.
34661         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34662         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34663         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34664         * sysdeps/arm/ftestexcept.c: Cleanup.
34665         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34666         * sysdeps/arm/setfpucw.c: Cleanup.
34668 2014-05-09  Will Newton  <will.newton@linaro.org>
34670         * sysdeps/arm/armv7/strcmp.S: New file.
34671         * NEWS: Mention addition of ARMv7 optimized strcmp.
34673 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34675         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34676         look for %.ac rather than %.in.
34678         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34679         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34680         * sysdeps/mach/hurd/configure: Regenerated.
34681         * sysdeps/unix/sysv/linux/configure: Regenerated.
34683         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34685 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34687         [BZ# 16922]
34688         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34689         (LONG_SUB): Ditto.
34690         (PTR_SUB): Ditto.
34692 2014-05-07  Andreas Schwab  <schwab@suse.de>
34694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34695         when skipping over non-matching result from nscd.
34697 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34699         [BZ #16876]
34700         * nptl/sockperf.c (client): Check socket return value.
34702         [BZ #16877]
34703         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34704         nscd security class.
34706 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34708         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34709         * sysdeps/arm/unwind.h: ... here.
34711 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34713         [BZ# 16916]
34714         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34715         Define.
34717 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34719         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34720         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34721         multiarch strncpy for PPC64.
34722         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34723         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34725         multiarch optimizations.
34726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34727         (__libc_ifunc_impl_list): Likewise.
34728         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34729         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34730         multiarch stpncpy for PPC64.
34731         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34732         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34734 2014-05-06  Andreas Schwab  <schwab@suse.de>
34736         [BZ #16912]
34737         * gmon/mcount.c (_MCOUNT_DECL): Use
34738         atomic_compare_and_exchange_bool_acq instead of
34739         catomic_compare_and_exchange_bool_acq.
34741 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34743         * elf/Makefile (others, install-bin): Remove pldd.
34744         (pldd-modules): Variable removed.
34745         ($(objpfx)pldd): Target removed.
34746         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34747         (others, install-bin): Append pldd here.
34748         ($(objpfx)pldd): New target.
34750         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34751         to 0, so the first #if test emitted later doesn't see it undefined.
34752         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34753         * sysdeps/gnu/errlist.c: Regenerated.
34755 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34757         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34758         [libc_hidden_builtin_def]: Define to empty value.
34759         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34760         [libc_hidden_builtin_def]: Likewise.
34761         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34762         [libc_hidden_builtin_def]: Likewise.
34763         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34764         [libc_hidden_builtin_def]: Likewise.
34765         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34766         __redirect_memcpy and define ifunc as default hidden symbol.
34767         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34768         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34770 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34772         * locale/iso-4217.def: Reintroduce XDR currency.
34774 2014-05-04  Allan McRae  <allan@archlinux.org>
34776         * po/eo.po: Update Esperanto translation from translation project.
34778 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34780         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34781         and FEATURE_INDEX_MAX to 1.
34782         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34784 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34786         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34787         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34788         * iconvdata/big5.c (ONE_DIRECTION): Define.
34789         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34790         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34791         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34792         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34793         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34794         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34795         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34796         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34797         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34798         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34799         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34800         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34801         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34802         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34803         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34804         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34805         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34806         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34807         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34808         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34809         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34810         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34811         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34812         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34813         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34814         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34815         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34816         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34817         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34818         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34819         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34820         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34821         * iconvdata/johab.c (ONE_DIRECTION): Define.
34822         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34823         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34824         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34825         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34826         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34827         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34828         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34829         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34830         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34831         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34833 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34835         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34836         (_IO_JUMPS_OFFSET): Define to 0.
34838         * nptl/sysdeps/pthread/bits/libc-lock.h
34839         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34840         (__libc_lock_define_initialized_recursive): Always define using
34841         initializer.  Modern compilers treat uninitialized (implicit zero) and
34842         explicit zero initializers the same (i.e. put the datum in bss).
34844 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34846         * nscd/nscd-client.h: Include <string.h>.
34848 2014-05-01  David S. Miller  <davem@davemloft.net>
34850         [BZ #16885]
34851         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34852         multiple zero bytes exist at the end of a string.
34853         Reported by Aurelien Jarno <aurelien@aurel32.net>
34855         * string/test-strcmp.c (check): Add explicit test for situations where
34856         there are multiple zero bytes after the first.
34858 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34860         [BZ #16890]
34861         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34862         when compiling wprintf.
34863         * stdio-common/tstdiomisc.c (t3): New function.
34864         (main): Call it.
34866 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34868         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34869         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34870         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34871         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34873 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34875         * stdlib/longlong.h: Updated from GCC.
34877 2014-05-01  Will Newton  <will.newton@linaro.org>
34878             Bernard Ogden  <bernie.ogden@linaro.org>
34880         * NEWS: Update fixed bug list.
34882         [BZ #15119]
34883         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34885 2014-04-30  David S. Miller  <davem@davemloft.net>
34887         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34888         (libc_feholdexcept_setround_sparc_ctx): New function.
34889         (libc_fesetenv_sparc_ctx): Likewise.
34890         (libc_feupdateenv_sparc_ctx): Likewise.
34891         (libc_feholdsetround_sparc_ctx): Likewise.
34892         (libc_feholdexcept_setround_ctx): Define.
34893         (libc_feholdexcept_setroundf_ctx): Likewise.
34894         (libc_feholdexcept_setroundl_ctx): Likewise.
34895         (libc_fesetenv_ctx): Likewise.
34896         (libc_fesetenvf_ctx): Likewise.
34897         (libc_fesetenvl_ctx): Likewise.
34898         (libc_feupdateenv_ctx): Likewise.
34899         (libc_feupdateenvf_ctx): Likewise.
34900         (libc_feupdateenvl_ctx): Likewise.
34901         (libc_feresetround_ctx): Likewise.
34902         (libc_feresetroundf_ctx): Likewise.
34903         (libc_feresetroundl_ctx): Likewise.
34904         (libc_feholdsetround_ctx): Likewise.
34905         (libc_feholdsetroundf_ctx): Likewise.
34906         (libc_feholdsetroundl_ctx): Likewise.
34908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34909         with __USE_GNU instead of XOPEN cpp guards.
34911         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34912         0.
34914         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34915         with XOPEN cpp guards.
34917 2014-04-30  Julian Brown  <julian@codesourcery.com>
34919         [BZ #16888]
34920         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34921         handling.
34923 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34925         [BZ #9894]
34926         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34927         Change to 2.6.32.
34928         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34929         * sysdeps/unix/sysv/linux/configure: Regenerated.
34930         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34931         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34932         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34933         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34934         * README: Update reference to required Linux kernel version.
34935         * manual/install.texi (Linux): Update reference to required Linux
34936         kernel headers version.
34937         * INSTALL: Regenerated.
34939         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34940         header inclusion.
34941         [POSIX] (limits.h): Likewise.
34942         [POSIX] (math.h): Likewise.
34943         [POSIX] (sys/wait.h): Likewise.
34944         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34945         function.
34946         [POSIX] (stddef.h): Do not allow header inclusion.
34948 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34950         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34952 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34954         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34955         Return immediately after lll_futex_wake.
34957 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34959         [BZ #16791]
34960         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34961         structure.
34962         (datahead_init_pos): Call datahead_init_common early.
34963         (datahead_init_neg): Likewise.
34965         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34966         datahead_init_neg): New functions.
34967         * nscd/aicache.c (addhstaiX): Use them.
34968         * nscd/grpcache.c (cache_addgr): Likewise.
34969         * nscd/hstcache.c (cache_addhst): Likewise.
34970         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34971         * nscd/netgroupcache.c (do_notfound): Likewise.
34972         (addgetnetgrentX): Likewise.
34973         (addinnetgrX): Likewise.
34974         * nscd/pwdcache.c (cache_addpw): Likewise.
34975         * nscd/servicescache.c (cache_addserv): Likewise.
34977 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34978             Atsushi Onoe  <atsushi@onoe.org>
34980         [BZ #14308]
34981         [BZ #12994]
34982         [BZ #13651]
34983         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34984         one response is valid.
34985         * resolv/res_send.c (send_dg): Check for validity of other
34986         response if the current response is a referral.
34988 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34990         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34992 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34994         [BZ #16823]
34995         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34996         Always divide by positive zero when computing -Inf result.
34997         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34998         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35000 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35002         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35003         FPSCR if value do not change.
35004         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35005         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35006         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35007         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35008         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35009         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35010         function.
35012 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35014         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35015         * sysdeps/unix/sysv/linux/hppa: Move directory from
35016         ports/systeps/unix/sysv/linux/hppa.
35017         * README: Update listing for hppa-*-linux-gnu.
35019 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35021         [BZ #16754]
35022         * manual/stdio.texi (Hook functions): Fix types of stream hook
35023         functions.
35024         [BZ #16854]
35025         * socket/sys/socket.h: Fix typo in comment.
35027 2014-04-28  Wilco  <wdijkstr@arm.com>
35029         * sysdeps/arm/fenv_private.h: New file.
35030         * sysdeps/arm/math_private.h: New file.
35031         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35033 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35035         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35036         with __int128_t.
35037         (La_x86_64_retval): Likewise.
35039 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35041         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35042         fpsr if value didn't change.
35043         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35044         to fpcr if value didn't change.
35045         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35046         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35047         fpsr or fpcr if value didn't change.
35048         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35049         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35050         fpcr if value didn't change.
35051         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35052         to fpsr if value didn't change.
35054 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35056         * nptl/tst-sem3.c: Use test-skeleton.c
35057         (main): Rename to do_test.  Use return instead of
35058         exit.
35059         * nptl/tst-sem4.c: Use test-skeleton.c
35060         (main): Rename to do_test.
35062 2014-04-22  David S. Miller  <davem@davemloft.net>
35064         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35065         (struct sigaction): New struct member __glibc_reserved0, change
35066         type of sa_flags to int.
35068 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35070         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35071         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35073 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35075         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35076         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35078 2014-04-22  Will Newton  <will.newton@linaro.org>
35079             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35081         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35082         (__longjmp): Add longjmp and longjmp_target SystemTap
35083         probes.
35084         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35085         (__sigsetjmp): Add setjmp SystemTap probe.
35087 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35089         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35090         match manual order.
35092 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35094         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35096         * sysdeps/powerpc/fpu/fenv_private.h
35097         (libc_feholdexcept_setroundl_ctx): Define to
35098         libc_feholdexcept_setround_ppc_ctx.
35099         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35100         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35101         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35102         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35104 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35106         * sysdeps/aarch64/math-tests.h: New file.
35108 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35110         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35111         New.
35112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35113         Check and set bit_AVX2_Usable.
35114         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35115         macro.
35116         (bit_AVX2): Likewise.
35117         (index_AVX2_Usable): Likewise.
35118         (CPUID_AVX2): Likewise.
35119         (HAS_AVX2): Likewise.
35121 2014-04-17  Will Newton  <will.newton@linaro.org>
35123         * manual/setjmp.texi (System V contexts): Add note that
35124         calling setcontext on a context created by a call to a
35125         signal handler is undefined.  Update text to note that
35126         setcontext from a signal handler is possible but not
35127         recommended.
35129         [BZ #16629]
35130         * stdlib/tst-setcontext.c: Include signal.h.
35131         (main): Check that the signal stack before and
35132         after swapcontext is the same.
35134         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35135         Re-implement to restore registers in user code and avoid
35136         rt_sigreturn system call.
35138 2014-04-17  Wilco  <wdijkstr@arm.com>
35140         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35141         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35142         * math/test-fenv.c: Skip exception trap tests on targets which only
35143         support non-stop mode.
35145 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35146             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35148         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35149         (libc_feholdsetround_aarch64_ctx)
35150         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35151         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35152         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35153         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35154         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35155         (libc_feresetround_noexl_ctx): Define.
35157 2014-04-16  Richard Henderson  <rth@redhat.com>
35159         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35161         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35162         unwind tables.
35164         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35165         const from the non-libc, non-ldso copy.
35167         * sysdeps/alpha/libm-test-ulps: Regenerate.
35169 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35170             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35172         * sysdeps/aarch64/fpu/math_private.h: New file.
35174 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35176         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35178 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35180         [BZ #16275]
35181         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35182         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35183         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35184         Intel MPX bound registers before _dl_profile_fixup.
35185         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35186         registers after _dl_profile_fixup.  Save and restore bound
35187         registers bnd0/bnd1 when calling _dl_call_pltexit.
35188         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35189         (LR_BND_OFFSET): Likewise.
35190         (LRV_BND0_OFFSET): Likewise.
35191         (LRV_BND1_OFFSET): Likewise.
35193 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35195         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35196         to...
35197         * sysdeps/mach/hurd/i386/tls.h: ... here.
35198         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35199         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35200         fields.
35202 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35204         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35206 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35208         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35210 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35212         [BZ #14770]
35213         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35214         * sysdeps/s390/configure: Regenerate.
35216         [BZ #16824]
35217         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35218         Set round-to-nearest internally to reduce error accumulation.
35220 2014-04-16  Alan Modra  <amodra@gmail.com>
35222         [BZ #16740]
35223         [BZ #16619]
35224         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35225         * math/libm-test.inc (frexp_test_data): Add tests.
35226         * NEWS: Update fixed bug list.
35228 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35230         * benchtests/Makefile: Depend on libraries in build directory.
35231         (bench-math): Separate out math tests.
35232         (bench-pthread): Separate out pthread tests.
35233         (bench): Include math and pthread tests.
35235 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35237         [BZ #16831]
35238         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35239         _dl_debug_initialize.
35241         * configure.ac: Remove SELinux header check.
35242         * configure: Regenerate.
35243         * nscd/selinux.c (perms): Array of const char* to permission names.
35244         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35245         default policy. Call string_to_security_class and string_to_av_perm to
35246         translate strings. Enforce default policy and call avs_has_perm with
35247         results of translated strings.
35249 2014-04-13  David S. Miller  <davem@davemloft.net>
35251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35253 2014-04-12  Allan McRae  <allan@archlinux.org>
35255         [BZ #16838]
35256         * manual/string.texi (Collation Functions): Fix qsort argument
35257         order in example.
35258         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35260 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35262         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35263         Make the test a no-op if there are no exceptions defined.
35265 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35267         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35268         enable-hardcoded-path-in-tests
35270 2014-04-11  Will Newton  <will.newton@linaro.org>
35272         * benchtests/Makefile (extra-objs): Add json-lib.o.
35273         (bench-func): Tidy up JSON output.
35274         * benchtests/bench-skeleton.c: Include json-lib.h.
35275         (main): Use JSON library functions to do output of
35276         benchmark results.
35277         * benchtests/bench-timing-type.c (main): Output the
35278         timing type simply, leaving formatting to the user.
35279         * benchtests/json-lib.c: New file.
35280         * benchtests/json-lib.h: Likewise.
35282 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35284         [BZ #15215]
35285         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35286         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35287         memory barriers.  Add comments.
35288         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35289         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35290         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35291         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35292         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35293         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35295 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35297         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35298         * sysdeps/s390/s390-64/configure.ac: ... this ...
35299         * sysdeps/s390/configure.ac: ... to here.
35300         * sysdeps/s390/s390-32/configure: Delete file.
35301         * sysdeps/s390/s390-64/configure: Delete file.
35302         * sysdeps/s390/configure: Regenerate.
35304 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35306         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35308 2014-04-11  Will Newton  <will.newton@linaro.org>
35310         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35311         to zero if it is not defined elsewhere.  (mtrim): Test
35312         the value of MALLOC_DEBUG with #if rather than #ifdef.
35314 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35316         * benchtests/pthread_once-inputs: New file.
35317         * benchtests/pthread_once-source.c: New file.
35318         * benchtests/README: Update documentation.
35320 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35321             H.J. Lu  <hongjiu.lu@intel.com>
35323         [BZ #16275]
35324         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35325         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35326         * sysdeps/x86_64/configure: Regenerated.
35327         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35328         macro.
35329         (REGISTER_SAVE_RAX): Likewise.
35330         (REGISTER_SAVE_RCX): Likewise.
35331         (REGISTER_SAVE_RDX): Likewise.
35332         (REGISTER_SAVE_RSI): Likewise.
35333         (REGISTER_SAVE_RDI): Likewise.
35334         (REGISTER_SAVE_R8): Likewise.
35335         (REGISTER_SAVE_R9): Likewise.
35336         (REGISTER_SAVE_BND0): Likewise.
35337         (REGISTER_SAVE_BND1): Likewise.
35338         (REGISTER_SAVE_BND2): Likewise.
35339         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35340         bound registers when calling _dl_fixup.
35342 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35344         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35345         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35346         of its definition.
35347         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35348         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35349         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35350         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35351         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35352         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35353         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35355 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35357         [BZ #15514]
35358         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35359         pathconf(_PC_NAME_MAX).
35361 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35363         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35364         Remove macro usage.
35365         (__PTHREAD_SPINS): Move definition to ...
35366         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35367         (__PTHREAD_SPINS): ... here.
35368         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35369         (__PTHREAD_SPIN): Likewise.
35370         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35371         (__PTHREAD_SPIN): Likewise.
35372         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35373         (__PTHREAD_SPIN): Likewise.
35374         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35375         (__PTHREAD_SPIN): Likewise.
35376         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35377         (__PTHREAD_SPIN): Likewise.
35378         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35379         (__PTHREAD_SPIN): Likewise.
35380         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35381         (__PTHREAD_SPIN): Likewise.
35382         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35383         (__PTHREAD_SPIN): Likewise.
35384         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35385         (__PTHREAD_SPIN): Likewise.
35386         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35387         (__PTHREAD_SPIN): Likewise.
35388         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35389         (__PTHREAD_SPIN): Likewise.
35390         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35391         (__PTHREAD_SPIN): Likewise.
35393         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35394         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35395         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35396         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35397         imply folder.
35398         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35399         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35400         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35401         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35402         correct imply path.
35403         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35404         strlen symbol for non multi-arch builds.
35405         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35406         missing hidden_def and weak_alias.
35408 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35410         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35412 2014-04-07  Will Newton  <will.newton@linaro.org>
35414         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35415         and contents.  [!_LIBC] Remove #ifndef and contents.
35416         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35417         * string/memccpy.c (__memccpy): Use ANSI prototype.
35418         * string/memfrob.c (memfrob): Likewise.
35419         * string/strcoll.c (STRCOLL): Likewise.
35420         * string/strlen.c (strlen): Likewise.
35421         * string/strtok.c (STRTOK): Likewise.
35422         * string/strcat.c: Remove unused #include of memcopy.h.
35423         (strcat): Use ANSI prototype.
35424         * string/strchr.c: Remove unused #include of memcopy.h.
35425         (strchr): Use ANSI prototype.
35426         * string/strcmp.c: Remove unused #include of memcopy.h.
35427         (strcmp): Use ANSI prototype.
35428         * string/strcpy.c: Remove unused #include of memcopy.h.
35429         (strcpy): Use ANSI prototype.
35431 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35433         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35434         * config.make.in (config-extra-cppflags): Set it from
35435         libc_extra_cppflags.
35436         * configure.ac (libc_extra_cflags): Make it accumulate over
35437         configure fragments.
35438         (libc_extra_cppflags): New flag.
35439         * configure. Regenerate.
35440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35441         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35442         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35445         [BZ #16815]
35446         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35447         result for FE_DOWNWARD rounding mode.
35448         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35449         Likewise.
35450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35452 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35454         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35455         in function argument name.
35457 2014-04-03  David Svoboda  <svoboda@cert.org>
35459         [BZ #5666]
35460         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35461         explicitly.
35463 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35465         * elf/dl-unmap-segments.h: New file.
35466         * sysdeps/generic/ldsodefs.h
35467         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35468         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35469         * elf/dl-fptr.c: Likewise.
35470         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35471         * sysdeps/aarch64/tlsdesc.c: Likewise.
35472         * sysdeps/arm/tlsdesc.c: Likewise.
35473         * sysdeps/i386/tlsdesc.c: Likewise.
35474         * sysdeps/tile/dl-runtime.c: Likewise.
35475         * sysdeps/x86_64/tlsdesc.c: Likewise.
35476         * elf/dl-load.h: New file.
35477         * elf/dl-load.c: Include it.
35478         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35479         Macros moved to dl-load.h.
35480         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35481         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35482         Use _dl_unmap_segments in place of __munmap.
35483         Break out segment-mapping loop into ...
35484         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35486 2014-04-03  Will Newton  <will.newton@linaro.org>
35488         * elf/dl-lookup.c (do_lookup_x): Remove comment
35489         referring to nested function and move variable
35490         declarations down to before first use.
35492 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35494         [BZ #16799]
35495         [BZ #16800]
35496         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35497         with 0 numerator.
35498         * math/s_catanf.c (__catanf): Likewise.
35499         * math/s_catanh.c (__catanh): Likewise.
35500         * math/s_catanhf.c (__catanhf): Likewise.
35501         * math/s_catanhl.c (__catanhl): Likewise.
35502         * math/s_catanl.c (__catanl): Likewise.
35503         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35504         by positive zero when computing -Inf result.
35505         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35506         (catanh_test): Likewise.
35507         * sysdeps/i386/fpu/libm-test-ulps: Update.
35508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35510         [BZ #16789]
35511         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35512         instead of using underflowing value in computing result.
35513         * math/s_clog10.c (__clog10): Likewise.
35514         * math/s_clog10f.c (__clog10f): Likewise.
35515         * math/s_clog10l.c (__clog10l): Likewise.
35516         * math/s_clogf.c (__clogf): Likewise.
35517         * math/s_clogl.c (__clogl): Likewise.
35518         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35519         (clog10_test): Likewise.
35520         * sysdeps/i386/fpu/libm-test-ulps: Update.
35521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35523 2014-04-02  Alan Modra  <amodra@gmail.com>
35525         [BZ #16739]
35526         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35527         output when value is near a power of two.  Use int64_t for lx and
35528         remove casts.  Use decimal rather than hex exponent constants.
35529         Don't use long double multiplication when double will suffice.
35530         * math/libm-test.inc (nextafter_test_data): Add tests.
35531         * NEWS: Add 16739 and 16786 to bug list.
35533         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35535         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35537 2014-04-01  Will Newton  <will.newton@linaro.org>
35539         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35540         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35542 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35544         [BZ #13347]
35545         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35546         * nptl/tst-setuid2.c: New file.
35547         * nptl/Makefile (xtests): Add tst-setuid2.
35549 2014-04-01  Alan Modra  <amodra@gmail.com>
35551         [BZ #16786]
35552         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35554 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35556         [BZ #6803]
35557         [BZ #6804]
35558         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35559         set errno as appropriate.
35560         * math/w_scalbf.c (__scalbf): Likewise.
35561         * math/w_scalbl.c (__scalbl): Likewise.
35562         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35563         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35564         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35565         Add more NaN tests.
35567         [BZ #16349]
35568         * math/w_atan2.c: Include <errno.h>.
35569         (__atan2): Set errno for result underflowing to zero.
35570         * math/w_atan2f.c: Include <errno.h>.
35571         (__atan2f): Set errno for result underflowing to zero.
35572         * math/w_atan2l.c: Include <errno.h>.
35573         (__atan2l): Set errno for result underflowing to zero.
35574         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35575         tests.
35576         * math/auto-libm-test-out: Regenerated.
35578 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35580         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35581         Encode instruction correctly in little endian.
35582         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35583         Likewise.
35584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35585         Likewise.
35586         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35587         Likewise.
35588         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35589         Likewise.
35591 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35593         [BZ #9894]
35594         * sysdeps/unix/sysv/linux/kernel-features.h
35595         [__sparc__ && !__arch64__ && !__sparc_v9__]
35596         (__ASSUME_SET_ROBUST_LIST): Do not define.
35597         [__sparc__ && !__arch64__ && !__sparc_v9__]
35598         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35599         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35600         Likewise.
35601         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35602         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35603         (__ASSUME_REQUEUE_PI): Likewise.
35604         (__ASSUME_SET_ROBUST_LIST): Likewise.
35605         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35606         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35607         Undefine.
35608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35609         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35610         Likewise.
35611         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35612         Likewise.
35613         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35614         Likewise.
35615         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35616         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35617         Undefine.
35618         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35619         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35620         Likewise.
35622         [BZ #16648]
35623         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35624         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35625         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35627 2014-03-31  Will Newton  <will.newton@linaro.org>
35629         * benchtests/Makefile (bench): Add ffs and ffsll to list
35630         of tests.
35631         * benchtests/ffs-inputs: New file.
35632         * benchtests/ffsll-inputs: Likewise.
35634 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35636         [BZ #16770]
35637         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35638         too large before casting to int.
35639         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35640         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35641         * math/libm-test.inc (scalb_test_data): Add more tests.
35643 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35645         * benchtests/Makefile (DETAILED_OPT): New make option.
35646         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35647         set.
35648         * benchtests/bench-skeleton.c: Include stdbool.h.
35649         (main): Store and print timings per input.
35650         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35651         member to each argument value.
35652         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35653         (_print_arg_data): Initialize per-input timing to 0.
35655         * benchtests/Makefile (timing-type): New binary.
35656         (bench-clean): Also remove bench-timing-type.
35657         (bench): New target for timing-type.
35658         (bench-func): Print output in JSON format.
35659         * benchtests/bench-skeleton.c (main): Print output in JSON
35660         format.
35661         * benchtests/bench-timing-type.c: New file.
35662         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35663         (TIMING_PRINT_STATS): Remove.
35664         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35665         name separately.
35667         * benchtests/bench-modf.c: Remove.
35668         * benchtests/modf-inputs: New inputs file.
35670 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35672         [BZ #16362]
35673         * math/s_clog10.c (M_PI_LOG10E): New macro.
35674         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35675         imaginary parts are 0.
35676         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35677         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35678         imaginary parts are 0.
35679         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35680         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35681         imaginary parts are 0.
35682         * math/libm-test.inc (clog10_test_data): Update expected results
35683         for when real and imaginary parts are 0.
35685 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35687         * elf/dl-load.c: Finish conversion of __builtin_expect into
35688         __glibc_{un}likely.
35690 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35692         [BZ #16348]
35693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35694         1+x for argument with exponent below -67.
35695         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35696         Likewise.
35697         * math/auto-libm-test-in: Add more tests of exp.
35698         * math/auto-libm-test-out: Regenerated.
35700 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35702         [BZ #16759]
35703         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35704         (nscd_getnetgrent): Use it.
35706         [BZ #16760]
35707         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35708         of stpcpy.
35710 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35712         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35713         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35714         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35715         (lll_robust_unlock): Remove out of line section. Use cfi
35716         intrinsics.
35717         (LLL_STUB_UNWIND_INFO*): Remove.
35718         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35719         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35720         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35721         (lll_robust_unlock): Remove out of line section. Use cfi
35722         intrinsics.
35723         (LLL_STUB_UNWIND_INFO*): Remove.
35725 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35727         [BZ #16758]
35728         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35729         blank values.
35731 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35733         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35735 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35737         [BZ #16198]
35738         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35739         fnstenv.
35740         * math/test-fenv-preserve.c: New file.
35741         * math/Makefile (tests): Add test-fenv-preserve.
35743 2014-03-26  Will Newton <will.newton@linaro.org>
35745         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35747 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35749         * scripts/versionlist.awk: Partition the version sets and emit all
35750         GLIBC_* (sorted) before all others (sorted).
35752 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35754         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35755         GLIBC_2.2.5 version.
35757 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35759         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35760         calls.
35762         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35763         previous change.
35765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35767 2014-03-25  Andreas Schwab  <schwab@suse.de>
35769         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35770         label to be used after in6ailist is initialized.
35772 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35774         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35775         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35777 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35779         [BZ #16357]
35780         [BZ #16599]
35781         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35782         min_plus_half.
35783         (fp_formats): Update initializers.
35784         (init_fp_formats): Initialize new field.
35785         (output_for_one_input_case): Allow underflow for results up to
35786         min_plus_half.
35787         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35788         * math/auto-libm-test-in: Don't mark some underflows from asin and
35789         atanh as spurious.
35790         * math/auto-libm-test-out: Regenerated.
35791         * sysdeps/i386/fpu/libm-test-ulps: Update.
35792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35794 2014-03-25  Andreas Schwab  <schwab@suse.de>
35796         * libio/Makefile (tst-ftell-partial-wide-ENV)
35797         (tst-ftell-active-handler-ENV): Define.
35799 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35801         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35803 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35805         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35807 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35809         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35810         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35811         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35813 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35815         [BZ #16634]
35816         * elf/dl-load.c (open_verify): Add mode parameter.
35817         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35818         (open_path): Change from boolean 'secure' to complete flag 'mode'
35819         (_dl_map_object): Adjust.
35820         * elf/Makefile (tests): Add tst-dlopen-aout.
35821         * elf/tst-dlopen-aout.c: New test.
35823 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35825         [BZ #16714]
35826         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35827         (struct stat): Rename member pad0 to __glibc_reserved0.
35829         [BZ #16712]
35830         * sysdeps/s390/s390-32/bits/wordsize.h
35831         (__WORDSIZE32_SIZE_ULONG): New define.
35832         * sysdeps/s390/s390-64/bits/wordsize.h
35833         (__WORDSIZE32_SIZE_ULONG): Likewise.
35834         * sysdeps/generic/stdint.h (SIZE_MAX):
35835         Define as UL if __WORDSIZE32_SIZE_ULONG.
35837         [BZ #16713]
35838         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35839         (__glibc_reserved0): New variable.
35840         (sa_flags): Change type to int.
35842         * posix/Makefile (before-compile): Use += before-compile instead
35843         of a :=.
35845         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35846         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35848 2014-03-20  Andreas Schwab  <schwab@suse.de>
35850         [BZ #16743]
35851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35852         non-matching result from nscd.
35854 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35856         * scripts/bench.py: Moved to ...
35857         * benchtests/scripts/bench.py: ... here.
35858         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35860 2014-03-24  Andreas Schwab  <schwab@suse.de>
35862         [BZ #16002]
35863         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35864         alloca_account and account alloca use for struct in6ailist.
35866 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35868         [BZ #16284]
35869         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35870         rounding mode to recompute results that overflow to infinity or
35871         underflow to zero.
35872         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35873         bug 16284.
35874         * math/auto-libm-test-out: Regenerated.
35875         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35876         (ccosh_test): Likewise.
35877         (csin_test_data): Use plus_oflow.
35878         (csin_test): Use ALL_RM_TEST.
35879         (csinh_test_data): Use plus_oflow.
35880         (csinh_test): Use ALL_RM_TEST.
35881         * sysdeps/i386/fpu/libm-test-ulps: Update.
35882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35884 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35886         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35887         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35888         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35890         [BZ #16731]
35891         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35892         when x - 1 is zero.
35893         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35894         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35895         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35896         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35897         argument is 1.
35898         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35899         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35900         zero.
35901         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35902         * sysdeps/i386/fpu/libm-test-ulps: Update.
35903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35905 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35907         * scripts/bench.pl: Remove file.
35908         * scripts/bench.py: New benchmark script.
35909         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35910         * benchtests/README: Mention python dependency.
35911         * scripts/pylintrc: New file.
35912         * scripts/pylint: New file.
35914         * bits/mathdef.h: Use #ifdef instead of #if.
35915         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35916         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35917         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35918         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35919         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35920         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35922 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35923             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35925         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35927         and strpbrk-ppc64 objects.
35928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35929         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35931         multiarch strpbrk for POWER7.
35932         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35933         multiarch strpbrk for PPC64.
35934         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35935         ifunc selector.
35936         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35937         strpbrk for POWER7.
35939 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35941         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35942         (atan_test): Likewise.
35943         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35944         (atanh_test): Use ALL_RM_TEST.
35945         (atan2_test_data): Likewise.
35946         (cabs_test): Likewise.
35947         (cacosh_test): Likewise.
35948         (carg_test): Likewise.
35949         (casin_test): Likewise.
35950         (casinh_test): Likewise.
35951         (cbrt_test): Likewise.
35952         (csqrt_test): Likewise.
35953         (erf_test): Likewise.
35954         (erfc_test): Likewise.
35955         (pow10_test): Likewise.
35956         (exp2_test): Likewise.
35957         (hypot_test): Likewise.
35958         (j0_test): Likewise.
35959         (j1_test): Likewise.
35960         (lgamma_test): Likewise.
35961         (gamma_test): Likewise.
35962         (sincos_test): Likewise.
35963         (tanh_test): Likewise.
35964         (y0_test): Likewise.
35965         (y1_test): Likewise.
35966         * sysdeps/i386/fpu/libm-test-ulps: Update.
35967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35969 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35971         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35973         and strcspn-ppc64 objects.
35974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35975         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35976         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35977         multiarch strcspn for POWER7.
35978         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35979         multiarch strcspn for PPC64.
35980         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35981         ifunc selector.
35982         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35983         strcspn for POWER7.
35985 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35987         * math/gen-libm-test.pl (generate_testfile): Expect only function
35988         name as argument to AUTO_TESTS_* and pass results for all rounding
35989         modes to parse_args.
35990         (parse_auto_input): Separate inputs of automatic tests from
35991         outputs before storing in %auto_tests.
35992         * math/libm-test.inc (acos_test_data): Update call to
35993         AUTO_TESTS_f_f.
35994         (acos_test): Use ALL_RM_TEST.
35995         (acos_tonearest_test_data): Remove.
35996         (acos_test_tonearest): Likewise.
35997         (acos_towardzero_test_data): Likewise.
35998         (acos_test_towardzero): Likewise.
35999         (acos_downward_test_data): Likewise.
36000         (acos_test_downward): Likewise.
36001         (acos_upward_test_data): Likewise.
36002         (acos_test_upward): Likewise.
36003         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36004         (asin_test_data): Likewise.
36005         (asin_test): Use ALL_RM_TEST.
36006         (asin_tonearest_test_data): Remove.
36007         (asin_test_tonearest): Likewise.
36008         (asin_towardzero_test_data): Likewise.
36009         (asin_test_towardzero): Likewise.
36010         (asin_downward_test_data): Likewise.
36011         (asin_test_downward): Likewise.
36012         (asin_upward_test_data): Likewise.
36013         (asin_test_upward): Likewise.
36014         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36015         (atan_test_data): Likewise.
36016         (atanh_test_data): Likewise.
36017         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36018         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36019         (carg_test_data): Likewise.
36020         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36021         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36022         (ccosh_test_data): Likewise.
36023         (cexp_test_data): Likewise.
36024         (clog_test_data): Likewise.
36025         (clog10_test_data): Likewise.
36026         (cos_test_data): Update call to AUTO_TESTS_f_f.
36027         (cos_test): Use ALL_RM_TEST.
36028         (cos_tonearest_test_data): Remove.
36029         (cos_test_tonearest): Likewise.
36030         (cos_towardzero_test_data): Likewise.
36031         (cos_test_towardzero): Likewise.
36032         (cos_downward_test_data): Likewise.
36033         (cos_test_downward): Likewise.
36034         (cos_upward_test_data): Likewise.
36035         (cos_test_upward): Likewise.
36036         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36037         (cosh_test): Use ALL_RM_TEST.
36038         (cosh_tonearest_test_data): Remove.
36039         (cosh_test_tonearest): Likewise.
36040         (cosh_towardzero_test_data): Likewise.
36041         (cosh_test_towardzero): Likewise.
36042         (cosh_downward_test_data): Likewise.
36043         (cosh_test_downward): Likewise.
36044         (cosh_upward_test_data): Likewise.
36045         (cosh_test_upward): Likewise.
36046         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36047         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36048         (ctan_test_data): Likewise.
36049         (ctan_test): Use ALL_RM_TEST.
36050         (ctan_tonearest_test_data): Remove.
36051         (ctan_test_tonearest): Likewise.
36052         (ctan_towardzero_test_data): Likewise.
36053         (ctan_test_towardzero): Likewise.
36054         (ctan_downward_test_data): Likewise.
36055         (ctan_test_downward): Likewise.
36056         (ctan_upward_test_data): Likewise.
36057         (ctan_test_upward): Likewise.
36058         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36059         (ctanh_test): Use ALL_RM_TEST.
36060         (ctanh_tonearest_test_data): Remove.
36061         (ctanh_test_tonearest): Likewise.
36062         (ctanh_towardzero_test_data): Likewise.
36063         (ctanh_test_towardzero): Likewise.
36064         (ctanh_downward_test_data): Likewise.
36065         (ctanh_test_downward): Likewise.
36066         (ctanh_upward_test_data): Likewise.
36067         (ctanh_test_upward): Likewise.
36068         (erf_test_data): Update call to AUTO_TESTS_f_f.
36069         (erfc_test_data): Likewise.
36070         (exp_test_data): Likewise.
36071         (exp_test): Use ALL_RM_TEST.
36072         (exp_tonearest_test_data): Remove.
36073         (exp_test_tonearest): Likewise.
36074         (exp_towardzero_test_data): Likewise.
36075         (exp_test_towardzero): Likewise.
36076         (exp_downward_test_data): Likewise.
36077         (exp_test_downward): Likewise.
36078         (exp_upward_test_data): Likewise.
36079         (exp_test_upward): Likewise.
36080         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36081         (exp10_test): Use ALL_RM_TEST.
36082         (exp10_tonearest_test_data): Remove.
36083         (exp10_test_tonearest): Likewise.
36084         (exp10_towardzero_test_data): Likewise.
36085         (exp10_test_towardzero): Likewise.
36086         (exp10_downward_test_data): Likewise.
36087         (exp10_test_downward): Likewise.
36088         (exp10_upward_test_data): Likewise.
36089         (exp10_test_upward): Likewise.
36090         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36091         (expm1_test_data): Likewise.
36092         (expm1_test): Use ALL_RM_TEST.
36093         (expm1_tonearest_test_data): Remove.
36094         (expm1_test_tonearest): Likewise.
36095         (expm1_towardzero_test_data): Likewise.
36096         (expm1_test_towardzero): Likewise.
36097         (expm1_downward_test_data): Likewise.
36098         (expm1_test_downward): Likewise.
36099         (expm1_upward_test_data): Likewise.
36100         (expm1_test_upward): Likewise.
36101         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36102         (fma_test): Use ALL_RM_TEST.
36103         (fma_towardzero_test_data): Remove.
36104         (fma_test_towardzero): Likewise.
36105         (fma_downward_test_data): Likewise.
36106         (fma_test_downward): Likewise.
36107         (fma_upward_test_data): Likewise.
36108         (fma_test_upward): Likewise.
36109         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36110         (j0_test_data): Update call to AUTO_TESTS_f_f.
36111         (j1_test_data): Likewise.
36112         (jn_test_data): Update call to AUTO_TESTS_if_f.
36113         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36114         (log_test_data): Update call to AUTO_TESTS_f_f.
36115         (log10_test_data): Likewise.
36116         (log1p_test_data): Likewise.
36117         (log2_test_data): Likewise.
36118         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36119         (pow_tonearest_test_data): Likewise.
36120         (sin_test_data): Update call to AUTO_TESTS_f_f.
36121         (sin_test): Use ALL_RM_TEST.
36122         (sin_tonearest_test_data): Remove.
36123         (sin_test_tonearest): Likewise.
36124         (sin_towardzero_test_data): Likewise.
36125         (sin_test_towardzero): Likewise.
36126         (sin_downward_test_data): Likewise.
36127         (sin_test_downward): Likewise.
36128         (sin_upward_test_data): Likewise.
36129         (sin_test_upward): Likewise.
36130         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36131         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36132         (sinh_test): Use ALL_RM_TEST.
36133         (sinh_tonearest_test_data): Remove.
36134         (sinh_test_tonearest): Likewise.
36135         (sinh_towardzero_test_data): Likewise.
36136         (sinh_test_towardzero): Likewise.
36137         (sinh_downward_test_data): Likewise.
36138         (sinh_test_downward): Likewise.
36139         (sinh_upward_test_data): Likewise.
36140         (sinh_test_upward): Likewise.
36141         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36142         (sqrt_test): Use ALL_RM_TEST.
36143         (sqrt_tonearest_test_data): Remove.
36144         (sqrt_test_tonearest): Likewise.
36145         (sqrt_towardzero_test_data): Likewise.
36146         (sqrt_test_towardzero): Likewise.
36147         (sqrt_downward_test_data): Likewise.
36148         (sqrt_test_downward): Likewise.
36149         (sqrt_upward_test_data): Likewise.
36150         (sqrt_test_upward): Likewise.
36151         (tan_test_data): Update call to AUTO_TESTS_f_f.
36152         (tan_test): Use ALL_RM_TEST.
36153         (tan_tonearest_test_data): Remove.
36154         (tan_test_tonearest): Likewise.
36155         (tan_towardzero_test_data): Likewise.
36156         (tan_test_towardzero): Likewise.
36157         (tan_downward_test_data): Likewise.
36158         (tan_test_downward): Likewise.
36159         (tan_upward_test_data): Likewise.
36160         (tan_test_upward): Likewise.
36161         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36162         (tgamma_test_data): Likewise.
36163         (y0_test_data): Likewise.
36164         (y1_test_data): Likewise.
36165         (yn_test_data): Update call to AUTO_TESTS_if_f.
36166         (main): Do not call removed functions.
36168 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36170         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36171         (ldexp_test_data): Remove.
36172         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36173         scalbn_test_data.
36174         (scalb_test): Use ALL_RM_TEST.
36176 2014-03-19  Andreas Schwab  <schwab@suse.de>
36178         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36180 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36182         [BZ #16649]
36183         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36184         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36185         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36186         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36187         (__ASSUME_PREADV): Undefine.
36188         (__ASSUME_PWRITEV): Likewise.
36190 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36192         * bits/mman-linux.h: Add comment about non-Linux use.
36193         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36194         bits/mman-linux.h resting place.
36196         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36197         * bits/mman-linux.h: ... here.
36199 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36201         * conform/conformtest.pl: Add standard definition when calling C
36202         preprocessor on data files.
36203         (checknamespace): Remove unused variable.
36205 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36207         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36208         minus_oflow, plus_uflow and minus_uflow in expected results.
36209         * math/libm-test.inc (scalbn_test_data): Add more tests of
36210         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36211         minus_uflow.
36212         (scalbn_test): Use ALL_RM_TEST.
36213         (scalbln_test_data): Add more tests of negative arguments.  Use
36214         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36215         (scalbln_test): Use ALL_RM_TEST.
36217 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36219         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36221 2014-03-18  Will Newton  <will.newton@linaro.org>
36223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36224         inaccurate comment.
36226 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36228         * Makerules [!subdir] (check-abi): Exit with error status if a
36229         test failed.
36231 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36233         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36234         for rint.  Include results for all rounding modes.
36235         (nearbyint_test): Use ALL_RM_TEST.
36236         (rint_test_data): Include all tests used for nearbyint.
36238 2014-03-17  Will Newton  <will.newton@linaro.org>
36240         * nptl/sysdeps/pthread/pthread.h: Revert previous
36241         change.
36243         * sysdeps/generic/ldsodefs.h: Revert previous
36244         change.
36246         * libio/genops.c: Revert previous change.
36247         * libio/libioP.h: Likewise.
36248         * stdio-common/vfprintf.c: Likewise.
36250         * sysdeps/generic/math_private.h: Revert previous
36251         change.
36253         * sysdeps/generic/math_private.h: Check whether
36254         HAVE_RM_CTX is defined with #ifdef rather
36255         than #if.
36257         * argp/argp-fmtstream.h: Check whether
36258         __STRICT_ANSI__ is defined with #ifdef rather
36259         than #if.
36260         * argp/argp.h: Likewise.
36262         * libio/genops.c: Check whether
36263         _IO_JUMPS_OFFSET is defined with #ifdef rather
36264         than #if.
36265         * libio/libioP.h: Likewise.
36266         * stdio-common/vfprintf.c: Likewise.
36268         * sysdeps/generic/ldsodefs.h: Check whether
36269         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36270         than #if.
36272         * nptl/sysdeps/pthread/pthread.h: Check
36273         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36274         its value.
36276 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36278         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36279         setting O_APPEND.
36280         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36281         test case.
36283         [BZ #16680]
36284         * libio/fileops.c (_IO_file_open): Seek to end of file but
36285         don't cache the offset.
36286         (get_file_offset): Remove function.
36287         (do_ftell): Use cached offset when available.
36288         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36289         don't cache the offset.
36290         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36291         case.
36292         (do_one_test): Call it.
36293         (do_ftell_test): Fix up expected old offset for a+ mode.
36294         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36295         available.
36297         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36298         up test status with function return status.
36299         (do_write_test): Likewise.
36300         (do_append_test): Likewise.
36302         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36303         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36304         Remove.
36306 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36308         * math/gen-libm-test.pl (parse_args): Handle results specified for
36309         each rounding mode separately.
36310         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36311         tests and results from lrint_tonearest_test_data,
36312         lrint_towardzero_test_data, lrint_downward_test_data and
36313         lrint_upward_test_data.
36314         (lrint_test): Use ALL_RM_TEST.
36315         (lrint_tonearest_test_data): Remove.
36316         (lrint_test_tonearest): Likewise.
36317         (lrint_towardzero_test_data): Likewise.
36318         (lrint_test_towardzero): Likewise.
36319         (lrint_downward_test_data): Likewise.
36320         (lrint_test_downward): Likewise.
36321         (lrint_upward_test_data): Likewise.
36322         (lrint_test_upward): Likewise.
36323         (llrint_test_data): Merge in per-rounding-mode tests and results
36324         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36325         llrint_downward_test_data and llrint_upward_test_data.
36326         (llrint_test): Use ALL_RM_TEST.
36327         (llrint_tonearest_test_data): Remove.
36328         (llrint_test_tonearest): Likewise.
36329         (llrint_towardzero_test_data): Likewise.
36330         (llrint_test_towardzero): Likewise.
36331         (llrint_downward_test_data): Likewise.
36332         (llrint_test_downward): Likewise.
36333         (llrint_upward_test_data): Likewise.
36334         (llrint_test_upward): Likewise.
36335         (rint_test_data): Merge in per-rounding-mode tests and results
36336         from rint_tonearest_test_data, rint_towardzero_test_data,
36337         rint_downward_test_data and rint_upward_test_data.  Add
36338         per-rounding-mode results for tests not in those arrays.
36339         (rint_test): Use ALL_RM_TEST.
36340         (rint_tonearest_test_data): Remove.
36341         (rint_test_tonearest): Likewise.
36342         (rint_towardzero_test_data): Likewise.
36343         (rint_test_towardzero): Likewise.
36344         (rint_downward_test_data): Likewise.
36345         (rint_test_downward): Likewise.
36346         (rint_upward_test_data): Likewise.
36347         (rint_test_upward): Likewise.
36348         (main): Don't call removed functions.
36350 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36352         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36353         "Compiled on ..." crapola.  It is anti-useful.
36355 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36357         * scripts/evaluate-test.sh: Handle fourth argument to determine
36358         whether test run should stop on failure.
36359         * Makeconfig (stop-on-test-failure): New variable.
36360         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36361         $(stop-on-test-failure).
36362         * Makefile (tests): Give a summary of results from testing and
36363         exit with failure status if they include an ERROR or FAIL.
36364         (xtests): Likewise.
36365         * manual/install.texi (Configuring and compiling): Mention
36366         stop-on-test-failure=y.
36367         * INSTALL: Regenerated.
36369 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36371         * scripts/versionlist.awk: New file.
36372         * Makerules [$(build-shared) = yes]
36373         (postclean-generated): Add Versions.def, not Versions.def.v and
36374         Versions.def.v.i.
36375         ($(common-objpfx)Versions.def.v.i): Target removed.
36376         ($(common-objpfx)Versions.def): New target.
36377         ($(common-objpfx)Versions.all): Depend on that rather that
36378         $(common-objpfx)Versions.def.v.
36379         * Versions.def: File removed.
36381         * Makeconfig (+gccwarn): Add -Wundef.
36382         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36383         a dl-sysdep.h breaking its contract.
36384         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36385         * include/stackinfo.h: New file.
36386         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36387         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36388         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36389         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36390         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36391         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36392         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36393         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36394         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36395         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36396         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36397         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36398         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36399         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36400         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36402 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36404         [BZ #16707]
36405         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36406         implementation.
36407         * math/libm-test.inc (round_test_data): Add more tests.
36409         [BZ #16706]
36410         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36411         implementation.
36412         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36414         [BZ #16701]
36415         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36416         implementation.
36417         * math/libm-test.inc (ceil_test_data): Add more tests.
36419         * math/libm-test.inc (trunc_test_data): Add more tests related to
36420         BZ#16414.
36422 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36424         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36425         with #if rather than #ifdef.
36426         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36428 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36430         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36431         first.  Disable AVX-512 GCC support if assembler doesn't support
36432         it.
36433         * sysdeps/x86_64/configure: Regenerated.
36435 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36437         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36438         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36439         (__old_pthread_attr_setstack): Likewise.
36440         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36441         [!_STACK_GROWS_DOWN]: Likewise.
36443 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36445         * config.make.in (have-bash2): Delete.
36446         * configure.ac (libc_cv_have_bash2): Delete.
36447         * configure: Regenerate.
36448         * elf/Makefile (common-ldd-rewrite): Rename to ...
36449         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36450         (sh-ldd-rewrite): Delete.
36451         (bash-ldd-rewrite): Delete.
36452         (have-bash2): Delete checks.
36453         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36454         ldd-rewrite.
36456         * config.make.in (have-ksh): Delete.
36457         (KSH): Delete.
36458         * configure.ac (libc_cv_have_ksh): Delete.
36459         * configure: Regenerate.
36461         * elf/Makefile: Delete $(have-ksh) check.
36462         ($(objpfx)sotruss): Change KSH to BASH.
36463         * elf/sotruss.ksh: Rename to ...
36464         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36465         function style to match POSIX.  Drop ksh vim mode setting.
36467         * manual/time.texi (Specifying the Time Zone with TZ): Change
36468         Tuesday to Thursday.
36470         * debug/tst-longjmp_chk2.c: Update header comment.
36471         (stackoverflow_handler): Add comment.  Call assert on pass value.
36473 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36475         [BZ #16194]
36476         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36477         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36478         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36479         (La_x86_64_vector): Add zmm.
36480         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36481         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36482         ($(objpfx)tst-audit10): New target.
36483         ($(objpfx)tst-audit10.out): Likewise.
36484         (tst-audit10-ENV): New.
36485         (AVX512-CFLAGS): Likewise.
36486         (CFLAGS-tst-audit10.c): Likewise.
36487         (CFLAGS-tst-auditmod10a.c): Likewise.
36488         (CFLAGS-tst-auditmod10b.c): Likewise.
36489         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36490         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36491         * sysdeps/x86_64/configure: Regenerated.
36492         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36493         AVX-512 zmm register support.
36494         (_dl_x86_64_save_sse): Likewise.
36495         (_dl_x86_64_restore_sse): Likewise.
36496         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36497         size vector registers.
36498         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36499         (ZMM_SIZE): Likewise.
36500         * sysdeps/x86_64/tst-audit10.c: New file.
36501         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36502         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36504 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36506         * configure.ac (HAVE_EHDR_START): New check.
36507         * configure: Regenerated.
36508         * config.h.in (HAVE_EHDR_START): New #undef.
36509         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36510         assuming the lowest-addressed segment maps the start of the file.
36512 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36514         * INSTALL: Regenerated.
36516 2014-03-13  Will Newton  <will.newton@linaro.org>
36518         * manual/setjmp.texi (System V contexts): Improve
36519         clarity and grammar of documentation.
36521 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36523         [BZ #16381]
36524         * elf/Makefile (tests): Add tst-pie2.
36525         (tests-pie): Add tst-pie2.
36526         * elf/tst-pie2.c: New file.
36527         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36528         for ET_EXEC.
36529         * elf/rtld.c (map_doit): Load executable as lt_executable.
36530         (dl_main): Likewise.
36532 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36534         [BZ #16642]
36535         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36536         (__ASSUME_PSELECT): Undefine.
36538 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36540         [BZ #16689]
36541         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36542         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36543         static build.
36544         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36545         selector for static builds.
36547 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36549         [BZ #16695]
36550         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36551         key in the buffer.
36553 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36555         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36556         IFUNC selector for static builds.
36558 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36560         * sysdeps/mips/math_private.h [__mips_hard_float]
36561         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36562         libc_feresetround_mips_ctx.
36563         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36564         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36565         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36567         [BZ #16677]
36568         * math/s_nextafter.c (__nextafter): Do not return value from
36569         overflowing computation.
36570         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36571         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36572         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36573         Likewise.
36574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36575         Likewise.
36576         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36577         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36579 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36581         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36582         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36583         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36584         the new mov targetting sp.
36586 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36588         [BZ #16683]
36589         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36590         Define it for static builds as well.
36591         (NO_BZERO_IMPL): Likewise.
36593 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36595         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36596         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36597         multiarch strspn for PPC64.
36598         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36599         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36601         (__libc_ifunc_impl_list): Likewise.
36602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36603         multiarch optimizations
36604         * string/strspn.c (strspn): Using macro to redefine symbol name.
36606 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36607             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36609         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36610         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36611         multiarch strncat for PPC64.
36612         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36613         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36615         (__libc_ifunc_impl_list): Likewise.
36616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36617         multiarch optimizations
36619 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36621         [BZ #16639]
36622         * nscd/nscd.service: Make service type forking.
36624 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36626         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36627         sign in non default rounding modes.
36628         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36630 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36632         * math/libm-test.inc (ALL_RM_TEST): New macro.
36633         (ceil_test): Use ALL_RM_TEST.
36634         (cimag_test): Likewise.
36635         (conj_test): Likewise.
36636         (copysign_test): Likewise.
36637         (cproj_test): Likewise.
36638         (creal_test): Likewise.
36639         (fabs_test): Likewise.
36640         (floor_test): Likewise.
36641         (fmax_test): Likewise.
36642         (fmin_test): Likewise.
36643         (fmod_test): Likewise.
36644         (fpclassify_test): Likewise.
36645         (frexp_test): Likewise.
36646         (ilogb_test): Likewise.
36647         (isfinite_test): Likewise.
36648         (finite_test): Likewise.
36649         (isgreater_test): Likewise.
36650         (isgreaterequal_test): Likewise.
36651         (isinf_test): Likewise.
36652         (isless_test): Likewise.
36653         (islessequal_test): Likewise.
36654         (islessgreater_test): Likewise.
36655         (isnan_test): Likewise.
36656         (isnormal_test): Likewise.
36657         (issignaling_test): Likewise.
36658         (isunordered_test): Likewise.
36659         (logb_test): Likewise.
36660         (logb_downward_test_data): Remove.
36661         (logb_test_downward): Likewise.
36662         (lround_test): Use ALL_RM_TEST.
36663         (llround_test): Likewise.
36664         (modf_test): Likewise.
36665         (nexttoward_test): Likewise.
36666         (remainder_test): Likewise.
36667         (drem_test): Likewise.
36668         (remainder_tonearest_test_data): Likewise.
36669         (remainder_test_tonearest): Likewise.
36670         (drem_test_tonearest): Likewise.
36671         (remainder_towardzero_test_data): Likewise.
36672         (remainder_test_towardzero): Likewise.
36673         (drem_test_towardzero): Likewise.
36674         (remainder_downward_test_data): Likewise.
36675         (remainder_test_downward): Likewise.
36676         (drem_test_downward): Likewise.
36677         (remainder_upward_test_data): Likewise.
36678         (remainder_test_upward): Likewise.
36679         (drem_test_upward): Likewise.
36680         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36681         (round_test): Use ALL_RM_TEST.
36682         (signbit_test): Likewise.
36683         (trunc_test): Likewise.
36684         (significand_test): Likewise.
36685         (main): Don't call removed functions.
36687 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36689         [BZ #16674]
36690         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36691         || __USE_XOPEN2K8].
36692         (ILL_ILLOPN): Likewise.
36693         (ILL_ILLADR): Likewise.
36694         (ILL_ILLTRP): Likewise.
36695         (ILL_PRVOPC): Likewise.
36696         (ILL_PRVREG): Likewise.
36697         (ILL_COPROC): Likewise.
36698         (ILL_BADSTK): Likewise.
36699         (FPE_INTDIV): Likewise.
36700         (FPE_INTOVF): Likewise.
36701         (FPE_FLTDIV): Likewise.
36702         (FPE_FLTOVF): Likewise.
36703         (FPE_FLTUND): Likewise.
36704         (FPE_FLTRES): Likewise.
36705         (FPE_FLTINV): Likewise.
36706         (FPE_FLTSUB): Likewise.
36707         (SEGV_MAPERR): Likewise.
36708         (SEGV_ACCERR): Likewise.
36709         (BUS_ADRALN): Likewise.
36710         (BUS_ADRERR): Likewise.
36711         (BUS_OBJERR): Likewise.
36712         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36713         (TRAP_TRACE): Likewise.
36714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36715         __USE_XOPEN2K8].
36716         (CLD_KILLED): Likewise.
36717         (CLD_DUMPED): Likewise.
36718         (CLD_TRAPPED): Likewise.
36719         (CLD_STOPPED): Likewise.
36720         (CLD_CONTINUED): Likewise.
36721         (POLL_IN): Likewise.
36722         (POLL_OUT): Likewise.
36723         (POLL_MSG): Likewise.
36724         (POLL_ERR): Likewise.
36725         (POLL_PRI): Likewise.
36726         (POLL_HUP): Likewise.
36727         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36728         Likewise.
36729         (ILL_ILLOPN): Likewise.
36730         (ILL_ILLADR): Likewise.
36731         (ILL_ILLTRP): Likewise.
36732         (ILL_PRVOPC): Likewise.
36733         (ILL_PRVREG): Likewise.
36734         (ILL_COPROC): Likewise.
36735         (ILL_BADSTK): Likewise.
36736         (FPE_INTDIV): Likewise.
36737         (FPE_INTOVF): Likewise.
36738         (FPE_FLTDIV): Likewise.
36739         (FPE_FLTOVF): Likewise.
36740         (FPE_FLTUND): Likewise.
36741         (FPE_FLTRES): Likewise.
36742         (FPE_FLTINV): Likewise.
36743         (FPE_FLTSUB): Likewise.
36744         (SEGV_MAPERR): Likewise.
36745         (SEGV_ACCERR): Likewise.
36746         (BUS_ADRALN): Likewise.
36747         (BUS_ADRERR): Likewise.
36748         (BUS_OBJERR): Likewise.
36749         (BUS_MCEERR_AR): Likewise.
36750         (BUS_MCEERR_AO): Likewise.
36751         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36752         (TRAP_TRACE): Likewise.
36753         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36754         __USE_XOPEN2K8].
36755         (CLD_KILLED): Likewise.
36756         (CLD_DUMPED): Likewise.
36757         (CLD_TRAPPED): Likewise.
36758         (CLD_STOPPED): Likewise.
36759         (CLD_CONTINUED): Likewise.
36760         (POLL_IN): Likewise.
36761         (POLL_OUT): Likewise.
36762         (POLL_MSG): Likewise.
36763         (POLL_ERR): Likewise.
36764         (POLL_PRI): Likewise.
36765         (POLL_HUP): Likewise.
36766         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36767         (ILL_ILLOPN): Likewise.
36768         (ILL_ILLADR): Likewise.
36769         (ILL_ILLTRP): Likewise.
36770         (ILL_PRVOPC): Likewise.
36771         (ILL_PRVREG): Likewise.
36772         (ILL_COPROC): Likewise.
36773         (ILL_BADSTK): Likewise.
36774         (FPE_INTDIV): Likewise.
36775         (FPE_INTOVF): Likewise.
36776         (FPE_FLTDIV): Likewise.
36777         (FPE_FLTOVF): Likewise.
36778         (FPE_FLTUND): Likewise.
36779         (FPE_FLTRES): Likewise.
36780         (FPE_FLTINV): Likewise.
36781         (FPE_FLTSUB): Likewise.
36782         (SEGV_MAPERR): Likewise.
36783         (SEGV_ACCERR): Likewise.
36784         (BUS_ADRALN): Likewise.
36785         (BUS_ADRERR): Likewise.
36786         (BUS_OBJERR): Likewise.
36787         (BUS_MCEERR_AR): Likewise.
36788         (BUS_MCEERR_AO): Likewise.
36789         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36790         (TRAP_TRACE): Likewise.
36791         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36792         __USE_XOPEN2K8].
36793         (CLD_KILLED): Likewise.
36794         (CLD_DUMPED): Likewise.
36795         (CLD_TRAPPED): Likewise.
36796         (CLD_STOPPED): Likewise.
36797         (CLD_CONTINUED): Likewise.
36798         (POLL_IN): Likewise.
36799         (POLL_OUT): Likewise.
36800         (POLL_MSG): Likewise.
36801         (POLL_ERR): Likewise.
36802         (POLL_PRI): Likewise.
36803         (POLL_HUP): Likewise.
36804         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36805         Likewise.
36806         (ILL_ILLOPN): Likewise.
36807         (ILL_ILLADR): Likewise.
36808         (ILL_ILLTRP): Likewise.
36809         (ILL_PRVOPC): Likewise.
36810         (ILL_PRVREG): Likewise.
36811         (ILL_COPROC): Likewise.
36812         (ILL_BADSTK): Likewise.
36813         (ILL_BADIADDR): Likewise.
36814         (ILL_BREAK): Likewise.
36815         (FPE_INTDIV): Likewise.
36816         (FPE_INTOVF): Likewise.
36817         (FPE_FLTDIV): Likewise.
36818         (FPE_FLTOVF): Likewise.
36819         (FPE_FLTUND): Likewise.
36820         (FPE_FLTRES): Likewise.
36821         (FPE_FLTINV): Likewise.
36822         (FPE_FLTSUB): Likewise.
36823         (FPE_DECOVF): Likewise.
36824         (FPE_DECDIV): Likewise.
36825         (FPE_DECERR): Likewise.
36826         (FPE_INVASC): Likewise.
36827         (FPE_INVDEC): Likewise.
36828         (SEGV_MAPERR): Likewise.
36829         (SEGV_ACCERR): Likewise.
36830         (SEGV_PSTKOVF): Likewise.
36831         (BUS_ADRALN): Likewise.
36832         (BUS_ADRERR): Likewise.
36833         (BUS_OBJERR): Likewise.
36834         (BUS_MCEERR_AR): Likewise.
36835         (BUS_MCEERR_AO): Likewise.
36836         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36837         (TRAP_TRACE): Likewise.
36838         (TRAP_BRANCH): Likewise.
36839         (TRAP_HWBKPT): Likewise.
36840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36841         __USE_XOPEN2K8].
36842         (CLD_KILLED): Likewise.
36843         (CLD_DUMPED): Likewise.
36844         (CLD_TRAPPED): Likewise.
36845         (CLD_STOPPED): Likewise.
36846         (CLD_CONTINUED): Likewise.
36847         (POLL_IN): Likewise.
36848         (POLL_OUT): Likewise.
36849         (POLL_MSG): Likewise.
36850         (POLL_ERR): Likewise.
36851         (POLL_PRI): Likewise.
36852         (POLL_HUP): Likewise.
36853         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36854         (ILL_ILLOPN): Likewise.
36855         (ILL_ILLADR): Likewise.
36856         (ILL_ILLTRP): Likewise.
36857         (ILL_PRVOPC): Likewise.
36858         (ILL_PRVREG): Likewise.
36859         (ILL_COPROC): Likewise.
36860         (ILL_BADSTK): Likewise.
36861         (FPE_INTDIV): Likewise.
36862         (FPE_INTOVF): Likewise.
36863         (FPE_FLTDIV): Likewise.
36864         (FPE_FLTOVF): Likewise.
36865         (FPE_FLTUND): Likewise.
36866         (FPE_FLTRES): Likewise.
36867         (FPE_FLTINV): Likewise.
36868         (FPE_FLTSUB): Likewise.
36869         (SEGV_MAPERR): Likewise.
36870         (SEGV_ACCERR): Likewise.
36871         (BUS_ADRALN): Likewise.
36872         (BUS_ADRERR): Likewise.
36873         (BUS_OBJERR): Likewise.
36874         (BUS_MCEERR_AR): Likewise.
36875         (BUS_MCEERR_AO): Likewise.
36876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36877         (TRAP_TRACE): Likewise.
36878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36879         __USE_XOPEN2K8].
36880         (CLD_KILLED): Likewise.
36881         (CLD_DUMPED): Likewise.
36882         (CLD_TRAPPED): Likewise.
36883         (CLD_STOPPED): Likewise.
36884         (CLD_CONTINUED): Likewise.
36885         (POLL_IN): Likewise.
36886         (POLL_OUT): Likewise.
36887         (POLL_MSG): Likewise.
36888         (POLL_ERR): Likewise.
36889         (POLL_PRI): Likewise.
36890         (POLL_HUP): Likewise.
36891         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36892         (ILL_ILLOPN): Likewise.
36893         (ILL_ILLADR): Likewise.
36894         (ILL_ILLTRP): Likewise.
36895         (ILL_PRVOPC): Likewise.
36896         (ILL_PRVREG): Likewise.
36897         (ILL_COPROC): Likewise.
36898         (ILL_BADSTK): Likewise.
36899         (FPE_INTDIV): Likewise.
36900         (FPE_INTOVF): Likewise.
36901         (FPE_FLTDIV): Likewise.
36902         (FPE_FLTOVF): Likewise.
36903         (FPE_FLTUND): Likewise.
36904         (FPE_FLTRES): Likewise.
36905         (FPE_FLTINV): Likewise.
36906         (FPE_FLTSUB): Likewise.
36907         (SEGV_MAPERR): Likewise.
36908         (SEGV_ACCERR): Likewise.
36909         (BUS_ADRALN): Likewise.
36910         (BUS_ADRERR): Likewise.
36911         (BUS_OBJERR): Likewise.
36912         (BUS_MCEERR_AR): Likewise.
36913         (BUS_MCEERR_AO): Likewise.
36914         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36915         (TRAP_TRACE): Likewise.
36916         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36917         __USE_XOPEN2K8].
36918         (CLD_KILLED): Likewise.
36919         (CLD_DUMPED): Likewise.
36920         (CLD_TRAPPED): Likewise.
36921         (CLD_STOPPED): Likewise.
36922         (CLD_CONTINUED): Likewise.
36923         (POLL_IN): Likewise.
36924         (POLL_OUT): Likewise.
36925         (POLL_MSG): Likewise.
36926         (POLL_ERR): Likewise.
36927         (POLL_PRI): Likewise.
36928         (POLL_HUP): Likewise.
36929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36930         (ILL_ILLOPN): Likewise.
36931         (ILL_ILLADR): Likewise.
36932         (ILL_ILLTRP): Likewise.
36933         (ILL_PRVOPC): Likewise.
36934         (ILL_PRVREG): Likewise.
36935         (ILL_COPROC): Likewise.
36936         (ILL_BADSTK): Likewise.
36937         (FPE_INTDIV): Likewise.
36938         (FPE_INTOVF): Likewise.
36939         (FPE_FLTDIV): Likewise.
36940         (FPE_FLTOVF): Likewise.
36941         (FPE_FLTUND): Likewise.
36942         (FPE_FLTRES): Likewise.
36943         (FPE_FLTINV): Likewise.
36944         (FPE_FLTSUB): Likewise.
36945         (SEGV_MAPERR): Likewise.
36946         (SEGV_ACCERR): Likewise.
36947         (BUS_ADRALN): Likewise.
36948         (BUS_ADRERR): Likewise.
36949         (BUS_OBJERR): Likewise.
36950         (BUS_MCEERR_AR): Likewise.
36951         (BUS_MCEERR_AO): Likewise.
36952         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36953         (TRAP_TRACE): Likewise.
36954         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36955         __USE_XOPEN2K8].
36956         (CLD_KILLED): Likewise.
36957         (CLD_DUMPED): Likewise.
36958         (CLD_TRAPPED): Likewise.
36959         (CLD_STOPPED): Likewise.
36960         (CLD_CONTINUED): Likewise.
36961         (POLL_IN): Likewise.
36962         (POLL_OUT): Likewise.
36963         (POLL_MSG): Likewise.
36964         (POLL_ERR): Likewise.
36965         (POLL_PRI): Likewise.
36966         (POLL_HUP): Likewise.
36967         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36968         (ILL_ILLOPN): Likewise.
36969         (ILL_ILLADR): Likewise.
36970         (ILL_ILLTRP): Likewise.
36971         (ILL_PRVOPC): Likewise.
36972         (ILL_PRVREG): Likewise.
36973         (ILL_COPROC): Likewise.
36974         (ILL_BADSTK): Likewise.
36975         (ILL_DBLFLT): Likewise.
36976         (ILL_HARDWALL): Likewise.
36977         (FPE_INTDIV): Likewise.
36978         (FPE_INTOVF): Likewise.
36979         (FPE_FLTDIV): Likewise.
36980         (FPE_FLTOVF): Likewise.
36981         (FPE_FLTUND): Likewise.
36982         (FPE_FLTRES): Likewise.
36983         (FPE_FLTINV): Likewise.
36984         (FPE_FLTSUB): Likewise.
36985         (SEGV_MAPERR): Likewise.
36986         (SEGV_ACCERR): Likewise.
36987         (BUS_ADRALN): Likewise.
36988         (BUS_ADRERR): Likewise.
36989         (BUS_OBJERR): Likewise.
36990         (BUS_MCEERR_AR): Likewise.
36991         (BUS_MCEERR_AO): Likewise.
36992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36993         (TRAP_TRACE): Likewise.
36994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36995         __USE_XOPEN2K8].
36996         (CLD_KILLED): Likewise.
36997         (CLD_DUMPED): Likewise.
36998         (CLD_TRAPPED): Likewise.
36999         (CLD_STOPPED): Likewise.
37000         (CLD_CONTINUED): Likewise.
37001         (POLL_IN): Likewise.
37002         (POLL_OUT): Likewise.
37003         (POLL_MSG): Likewise.
37004         (POLL_ERR): Likewise.
37005         (POLL_PRI): Likewise.
37006         (POLL_HUP): Likewise.
37007         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37008         (ILL_ILLOPN): Likewise.
37009         (ILL_ILLADR): Likewise.
37010         (ILL_ILLTRP): Likewise.
37011         (ILL_PRVOPC): Likewise.
37012         (ILL_PRVREG): Likewise.
37013         (ILL_COPROC): Likewise.
37014         (ILL_BADSTK): Likewise.
37015         (FPE_INTDIV): Likewise.
37016         (FPE_INTOVF): Likewise.
37017         (FPE_FLTDIV): Likewise.
37018         (FPE_FLTOVF): Likewise.
37019         (FPE_FLTUND): Likewise.
37020         (FPE_FLTRES): Likewise.
37021         (FPE_FLTINV): Likewise.
37022         (FPE_FLTSUB): Likewise.
37023         (SEGV_MAPERR): Likewise.
37024         (SEGV_ACCERR): Likewise.
37025         (BUS_ADRALN): Likewise.
37026         (BUS_ADRERR): Likewise.
37027         (BUS_OBJERR): Likewise.
37028         (BUS_MCEERR_AR): Likewise.
37029         (BUS_MCEERR_AO): Likewise.
37030         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37031         (TRAP_TRACE): Likewise.
37032         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37033         __USE_XOPEN2K8].
37034         (CLD_KILLED): Likewise.
37035         (CLD_DUMPED): Likewise.
37036         (CLD_TRAPPED): Likewise.
37037         (CLD_STOPPED): Likewise.
37038         (CLD_CONTINUED): Likewise.
37039         (POLL_IN): Likewise.
37040         (POLL_OUT): Likewise.
37041         (POLL_MSG): Likewise.
37042         (POLL_ERR): Likewise.
37043         (POLL_PRI): Likewise.
37044         (POLL_HUP): Likewise.
37045         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37046         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37048         [BZ #16670]
37049         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37050         before #include of <time.h>.
37051         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37052         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37053         (test-xfail-UNIX98/sched.h/conform): Likewise.
37055 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37057         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37058         error absence of trapping exception support.
37059         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37061 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37063         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37064         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37065         * timezone/Makefile (testdata): Move definition above include of
37066         Rules.
37067         (test-zones): New variable.
37068         (tests-special): Add zone files.
37069         (build-testdata): Use $(evaluate-test).
37071         * elf/Makefile (tests-special): Rename tests to end with .out.
37072         ($(objpfx)noload-mem): Likewise.
37073         ($(objpfx)tst-leaks1-mem): Likewise.
37074         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37075         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37076         $(objpfx)test-iconvconfig.out.
37077         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37078         set -e inside subshell and redirect output to file.
37079         * iconvdata/Makefile (generated): Rename tests to end with .out.
37080         Correct type.
37081         (tests-special): Rename tests to end with .out.
37082         ($(objpfx)mtrace-tst-loading): Likewise.
37083         * intl/Makefile (generated): Likewise.
37084         (tests-special): Likewise.
37085         ($(objpfx)mtrace-tst-gettext): Likewise.
37086         * misc/Makefile (generated): Likewise.
37087         (tests-special): Likewise.
37088         ($(objpfx)tst-error1-mem): Likewise.
37089         * nptl/Makefile (tests-special): Likewise.
37090         ($(objpfx)tst-stack3-mem): Likewise.
37091         (generated): Likewise.
37092         * posix/Makefile (generated): Likewise.
37093         (tests-special): Likewise.
37094         (xtests-special): Likewise.
37095         ($(objpfx)tst-fnmatch-mem): Likewise.
37096         ($(objpfx)bug-regex2-mem): Likewise.
37097         ($(objpfx)bug-regex14-mem): Likewise.
37098         ($(objpfx)bug-regex21-mem): Likewise.
37099         ($(objpfx)bug-regex31-mem): Likewise.
37100         ($(objpfx)tst-vfork3-mem): Likewise.
37101         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37102         ($(objpfx)tst-pcre-mem): Likewise.
37103         ($(objpfx)tst-boost-mem): Likewise.
37104         ($(objpfx)bug-ga2-mem): Likewise.
37105         ($(objpfx)bug-glob2-mem): Likewise.
37106         * resolv/Makefile (generate): Likewise.
37107         (tests-special): Likewise.
37108         (xtests-special): Likewise.
37109         (generated): Likewise.
37110         ($(objpfx)mtrace-tst-leaks): Likewise.
37111         ($(objpfx)mtrace-tst-leaks2): Likewise.
37113         * scripts/merge-test-results.sh: New file.
37114         * Makefile (tests-special-notdir): New variable.
37115         (tests): Run merge-test-results.sh.
37116         (xtests): Likewise.
37117         * Rules (tests-special-notdir): New variable.
37118         (xtests-special-notdir): Likewise.
37119         (tests): Run merge-test-results.sh
37120         (xtests): Likewise.
37122         * Makeconfig (test-xfail-name): New variable.
37123         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37124         compute variable name for expected failures.
37125         * conform/Makefile (conformtest-headers-data): New variable.
37126         (conformtest-standards): Likewise.
37127         (conformtest-headers-ISO): Likewise.
37128         (conformtest-headers-ISO99): Likewise.
37129         (conformtest-headers-ISO11): Likewise.
37130         (conformtest-headers-POSIX): Likewise.
37131         (conformtest-headers-XPG3): Likewise.
37132         (conformtest-headers-XPG4): Likewise.
37133         (conformtest-headers-UNIX98): Likewise.
37134         (conformtest-headers-XOPEN2K): Likewise.
37135         (conformtest-headers-POSIX2008): Likewise.
37136         (conformtest-headers-XOPEN2K8): Likewise.
37137         (conformtest-header-list-base): Likewise.
37138         (conformtest-header-list-tests): Likewise.
37139         (conformtest-header-base): Likewise.
37140         (conformtest-header-tests): Likewise.
37141         (tests-special): Add $(conformtest-header-list-tests).  If
37142         [$(fast-check) && !$(cross-compiling)], add
37143         $(conformtest-header-tests) instead of
37144         $(objpfx)run-conformtest.out.
37145         (generated): Add $(conformtest-header-list-base).  If
37146         [$(fast-check) && !$(cross-compiling)], add
37147         $(conformtest-header-base).  Remove previous setting.
37148         ($(conformtest-header-list-tests)): New target.
37149         (test-xfail-run-conformtest): Remove variable.
37150         ($(objpfx)run-conformtest.out): Remove target.
37151         (test-xfail-ISO11/complex.h/conform): New variable.
37152         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37153         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37154         (test-xfail-XPG3/varargs.h/conform): Likewise.
37155         (test-xfail-XPG4/varargs.h/conform): Likewise.
37156         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37157         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37158         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37159         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37160         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37161         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37162         (test-xfail-XPG3/ftw.h/conform): Likewise.
37163         (test-xfail-XPG3/grp.h/conform): Likewise.
37164         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37165         (test-xfail-XPG3/limits.h/conform): Likewise.
37166         (test-xfail-XPG3/pwd.h/conform): Likewise.
37167         (test-xfail-XPG3/search.h/conform): Likewise.
37168         (test-xfail-XPG3/signal.h/conform): Likewise.
37169         (test-xfail-XPG3/stdio.h/conform): Likewise.
37170         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37171         (test-xfail-XPG3/string.h/conform): Likewise.
37172         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37173         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37174         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37175         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37176         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37177         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37178         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37179         (test-xfail-XPG3/termios.h/conform): Likewise.
37180         (test-xfail-XPG3/time.h/conform): Likewise.
37181         (test-xfail-XPG3/unistd.h/conform): Likewise.
37182         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37183         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37184         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37185         (test-xfail-XPG4/netdb.h/conform): Likewise.
37186         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37187         (test-xfail-XPG4/signal.h/conform): Likewise.
37188         (test-xfail-XPG4/stdio.h/conform): Likewise.
37189         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37190         (test-xfail-XPG4/stropts.h/conform): Likewise.
37191         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37192         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37193         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37194         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37195         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37196         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37197         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37198         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37199         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37200         (test-xfail-XPG4/termios.h/conform): Likewise.
37201         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37202         (test-xfail-XPG4/unistd.h/conform): Likewise.
37203         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37204         (test-xfail-POSIX/sched.h/conform): Likewise.
37205         (test-xfail-POSIX/signal.h/conform): Likewise.
37206         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37207         (test-xfail-POSIX/tar.h/conform): Likewise.
37208         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37209         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37210         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37211         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37212         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37213         (test-xfail-UNIX98/sched.h/conform): Likewise.
37214         (test-xfail-UNIX98/signal.h/conform): Likewise.
37215         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37216         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37217         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37218         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37219         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37220         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37221         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37222         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37223         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37224         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37225         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37226         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37227         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37228         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37229         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37230         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37231         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37232         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37233         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37234         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37235         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37236         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37237         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37238         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37239         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37240         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37241         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37242         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37243         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37244         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37245         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37246         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37247         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37248         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37249         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37250         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37251         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37252         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37253         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37254         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37255         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37256         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37257         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37258         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37259         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37260         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37261         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37262         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37263         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37264         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37265         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37266         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37267         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37268         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37269         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37270         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37271         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37272         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37273         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37274         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37275         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37276         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37277         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37278         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37279         (conformtest-cc-flags): Likewise.
37280         ($(conformtest-header-tests): New target.
37281         * conform/check-header-lists.sh: New file.
37282         * conform/run-conformtest.sh: Remove.
37284         * conform/conformtest.pl: Allow ' and \ in values given for
37285         constants.
37286         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37287         inclusion.
37288         [POSIX] (sys/types.h): Likewise.
37289         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37290         inclusion.
37291         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37292         inclusion.
37293         * conform/data/signal.h-data (SIGIO): Remove expectation.
37294         [XPG3] (SIGBUS): Do not expect.
37295         [POSIX || XPG3] (SIGPOLL): Likewise.
37296         [POSIX || XPG3] (SIGPROF): Likewise.
37297         [POSIX || XPG3] (SIGSYS): Likewise.
37298         [XPG3] (SIGTRAP): Likewise.
37299         [POSIX || XPG3] (SIGURG): Likewise.
37300         [POSIX || XPG3] (SIGVTALRM): Likewise.
37301         [POSIX || XPG3] (SIGXCPU): Likewise.
37302         [POSIX || XPG3] (SIGXFSZ): Likewise.
37303         [POSIX] (SA_SIGINFO): Expect.
37304         [XPG3] (siginfo_t): Do not expect type or contents.
37305         [POSIX] (si_pid): Do not expect element.
37306         [POSIX] (si_uid): Likewise.
37307         [POSIX] (si_addr): Likewise.
37308         [POSIX] (si_status): Likewise.
37309         [POSIX] (si_band): Likewise.
37310         [XPG4] (si_value): Likewise.
37311         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37312         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37313         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37314         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37315         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37316         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37317         [POSIX || XPG3] (ILL_COPROC): Likewise.
37318         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37319         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37320         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37321         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37322         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37323         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37324         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37325         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37326         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37327         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37328         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37329         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37330         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37331         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37332         [POSIX || XPG3] (CLD_EXITED): Likewise.
37333         [POSIX || XPG3] (CLD_KILLED): Likewise.
37334         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37335         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37336         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37337         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37338         [POSIX || XPG3] (POLL_IN): Likewise.
37339         [POSIX || XPG3] (POLL_OUT): Likewise.
37340         [POSIX || XPG3] (POLL_MSG): Likewise.
37341         [POSIX || XPG3] (POLL_ERR): Likewise.
37342         [POSIX || XPG3] (POLL_PRI): Likewise.
37343         [POSIX || XPG3] (POLL_HUP): Likewise.
37344         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37345         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37346         (SIG*): Do not allow.
37347         [XPG3] (si_*): Likewise.
37348         [XPG3] (SI_*): Likewise.
37349         [XPG3 || XPG4] (sigev_*): Likewise.
37350         [XPG3 || XPG4] (SIGEV_*): Likewise.
37351         [XPG3 || XPG4] (sival_*): Likewise.
37352         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37353         [POSIX || XPG3] (BUS_*): Likewise.
37354         [POSIX || XPG3] (CLD_*): Likewise.
37355         [POSIX || XPG3] (FPE_*): Likewise.
37356         [POSIX || XPG3] (ILL_*): Likewise.
37357         [POSIX || XPG3] (POLL_*): Likewise.
37358         [POSIX || XPG3] (SEGV_*): Likewise.
37359         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37360         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37361         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37362         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37363         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37364         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37365         Specify type and value.
37366         (TVERSLEN): Likewise.
37367         (REGTYPE): Likewise.
37368         (AREGTYPE): Likewise.
37369         (LNKTYPE): Likewise.
37370         (SYMTYPE): Likewise.
37371         (CHRTYPE): Likewise.
37372         (BLKTYPE): Likewise.
37373         (DIRTYPE): Likewise.
37374         (FIFOTYPE): Likewise.
37375         (CONTTYPE): Likewise.
37376         (TSUID): Likewise.
37377         (TSGID): Likewise.
37378         (TSVTX): Likewise.
37379         (TUREAD): Likewise.
37380         (TUWRITE): Likewise.
37381         (TUEXEC): Likewise.
37382         (TGREAD): Likewise.
37383         (TGWRITE): Likewise.
37384         (TGEXEC): Likewise.
37385         (TOREAD): Likewise.
37386         (TOWRITE): Likewise.
37387         (TOEXEC): Likewise.
37388         [POSIX] (TSVTX): Expect constant.
37390 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37392         * Makefile (tests): Change dependencies to ....
37393         (tests-special): ... additions to this variable.
37394         (tests): Depend on $(tests-special).
37395         * Makerules (check-abi-list): New variable.
37396         (check-abi): Depend on $(check-abi-list).
37397         [$(subdir) = elf] (tests-special): Add
37398         $(objpfx)check-abi-libc.out.
37399         [$(build-shared) = yes && subdir] (tests-special): Add
37400         $(check-abi-list).
37401         [$(build-shared) = yes && subdir] (tests): Do not depend on
37402         check-abi.
37403         * Rules (tests): Depend on $(tests-special).
37404         (xtests): Depend on $(xtests-special).
37405         * catgets/Makefile (tests): Change dependencies to ....
37406         (tests-special): ... additions to this variable.
37407         * conform/Makefile (tests): Change dependencies to ....
37408         (tests-special): ... additions to this variable.
37409         * elf/Makefile (tests): Change dependencies to ....
37410         (tests-special): ... additions to this variable.
37411         * grp/Makefile (tests): Change dependencies to ....
37412         (tests-special): ... additions to this variable.
37413         * iconv/Makefile (xtests): Change dependencies to ....
37414         (xtests-special): ... additions to this variable.
37415         * iconvdata/Makefile (tests): Change dependencies to ....
37416         (tests-special): ... additions to this variable.
37417         * intl/Makefile (tests): Change dependencies to ....
37418         (tests-special): ... additions to this variable.  Also add
37419         $(objpfx)tst-gettext.out.
37420         * io/Makefile (tests): Change dependencies to ....
37421         (tests-special): ... additions to this variable.
37422         * libio/Makefile (tests): Change dependencies to ....
37423         (tests-special): ... additions to this variable.
37424         * malloc/Makefile (tests): Change dependencies to ....
37425         (tests-special): ... additions to this variable.
37426         * misc/Makefile (tests): Change dependencies to ....
37427         (tests-special): ... additions to this variable.
37428         * nptl/Makefile (tests): Change dependencies to ....
37429         (tests-special): ... additions to this variable.
37430         * nptl_db/Makefile (tests): Change dependencies to ....
37431         (tests-special): ... additions to this variable.
37432         * posix/Makefile (tests): Change dependencies to ....
37433         (tests-special): ... additions to this variable.
37434         (xtests): Change dependencies to ....
37435         (xtests-special): ... additions to this variable.
37436         * resolv/Makefile (tests): Change dependencies to ....
37437         (tests-special): ... additions to this variable.
37438         (xtests): Change dependencies to ....
37439         (xtests-special): ... additions to this variable.
37440         * stdio-common/Makefile (tests): Change dependencies to ....
37441         (tests-special): ... additions to this variable.
37442         (do-tst-unbputc): Remove target.
37443         (do-tst-printf): Likewise.
37444         * stdlib/Makefile (tests): Change dependencies to ....
37445         (tests-special): ... additions to this variable.
37446         * string/Makefile (tests): Change dependencies to ....
37447         (tests-special): ... additions to this variable.
37448         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37449         (tests-special): ... additions to this variable.
37451         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37452         whole file.
37453         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37454         whole file.
37455         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37456         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37458         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37459         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37460         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37461         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37462         * conform/data/libgen.h-data [XPG3]: Likewise.
37463         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37464         * conform/data/ndbm.h-data [XPG3]: Likewise.
37465         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37466         * conform/data/netdb.h-data [XPG3]: Likewise.
37467         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37468         * conform/data/poll.h-data [XPG3]: Likewise.
37469         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37470         * conform/data/strings.h-data [XPG3]: Likewise.
37471         * conform/data/stropts.h-data [XPG3]: Likewise.
37472         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37473         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37474         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37475         Likewise.
37476         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37477         * conform/data/sys/time.h-data [XPG3]: Likewise.
37478         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37479         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37480         * conform/data/sys/un.h-data [XPG3]: Likewise.
37481         * conform/data/syslog.h-data [XPG3]: Likewise.
37482         * conform/data/ucontext.h-data [XPG3]: Likewise.
37483         * conform/data/utmpx.h-data [XPG3]: Likewise.
37484         * conform/data/varargs.h-data [UNIX98]: Enable file.
37486         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37488         * math/libm-test.inc (struct test_f_f_data): Move expected results
37489         into structure for each rounding mode.
37490         (struct test_ff_f_data): Likewise.
37491         (struct test_ff_f_data_nexttoward): Likewise.
37492         (struct test_fi_f_data): Likewise.
37493         (struct test_fl_f_data): Likewise.
37494         (struct test_if_f_data): Likewise.
37495         (struct test_fff_f_data): Likewise.
37496         (struct test_c_f_data): Likewise.
37497         (struct test_f_f1_data): Likewise.
37498         (struct test_fF_f1_data): Likewise.
37499         (struct test_ffI_f1_data): Likewise.
37500         (struct test_c_c_data): Likewise.
37501         (struct test_cc_c_data): Likewise.
37502         (struct test_f_i_data): Likewise.
37503         (struct test_ff_i_data): Likewise.
37504         (struct test_f_l_data): Likewise.
37505         (struct test_f_L_data): Likewise.
37506         (struct test_fFF_11_data): Likewise.
37507         (RM_): New macro.
37508         (RM_FE_DOWNWARD): Likewise.
37509         (RM_FE_TONEAREST): Likewise.
37510         (RM_FE_TOWARDZERO): Likewise.
37511         (RM_FE_UPWARD): Likewise.
37512         (RUN_TEST_LOOP_f_f): Update references to expected results.
37513         (RUN_TEST_LOOP_2_f): Likewise.
37514         (RUN_TEST_LOOP_fff_f): Likewise.
37515         (RUN_TEST_LOOP_c_f): Likewise.
37516         (RUN_TEST_LOOP_f_f1): Likewise.
37517         (RUN_TEST_LOOP_fF_f1): Likewise.
37518         (RUN_TEST_LOOP_fI_f1): Likewise.
37519         (RUN_TEST_LOOP_ffI_f1): Likewise.
37520         (RUN_TEST_LOOP_c_c): Likewise.
37521         (RUN_TEST_LOOP_cc_c): Likewise.
37522         (RUN_TEST_LOOP_f_i): Likewise.
37523         (RUN_TEST_LOOP_f_i_tg): Likewise.
37524         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37525         (RUN_TEST_LOOP_f_b): Likewise.
37526         (RUN_TEST_LOOP_f_b_tg): Likewise.
37527         (RUN_TEST_LOOP_f_l): Likewise.
37528         (RUN_TEST_LOOP_f_L): Likewise.
37529         (RUN_TEST_LOOP_fFF_11): Likewise.
37530         * math/gen-libm-test.pl (parse_args): Output four copies of
37531         expected results for each test.
37533         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37534         (__ASSUME_UTIMES): Remove.
37535         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37536         (__ASSUME_UTIMES): Likewise.
37538         * math/gen-auto-libm-tests.c: Update comment on output format.
37539         (output_for_one_input_case): Generate before-rounding and
37540         after-rounding information as conditions on output flags not
37541         floating-point format.
37542         * math/auto-libm-test-out: Regenerated.
37543         * math/gen-libm-test.pl (cond_value): New function.
37544         (or_cond_value): Use cond_value.
37545         (generate_testfile): Handle conditional exceptions.
37547 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37549         * math/libm-test.inc (max_valid_error): New variable.
37550         (init_max_error): Take new argument specifying whether function
37551         results are exactly determined.  Set max_valid_error and bound
37552         other variables for errors based on this argument.
37553         (set_max_error): Do not record results above max_valid_error.
37554         (check_float_internal): Only accept errors of up to 0.5ulps if
37555         also at most max_valid_error.
37556         (START): Take new argument EXACT and pass it to init_max_error.
37557         (acos_test): Update call to START.
37558         (acos_test_tonearest): Likewise.
37559         (acos_test_towardzero): Likewise.
37560         (acos_test_downward): Likewise.
37561         (acos_test_upward): Likewise.
37562         (acosh_test): Likewise.
37563         (asin_test): Likewise.
37564         (asin_test_tonearest): Likewise.
37565         (asin_test_towardzero): Likewise.
37566         (asin_test_downward): Likewise.
37567         (asin_test_upward): Likewise.
37568         (asinh_test): Likewise.
37569         (atan_test): Likewise.
37570         (atanh_test): Likewise.
37571         (atan2_test): Likewise.
37572         (cabs_test): Likewise.
37573         (cacos_test): Likewise.
37574         (cacosh_test): Likewise.
37575         (carg_test): Likewise.
37576         (casin_test): Likewise.
37577         (casinh_test): Likewise.
37578         (catan_test): Likewise.
37579         (catanh_test): Likewise.
37580         (cbrt_test): Likewise.
37581         (ccos_test): Likewise.
37582         (ccosh_test): Likewise.
37583         (ceil_test): Likewise.
37584         (cexp_test): Likewise.
37585         (cimag_test): Likewise.
37586         (clog_test): Likewise.
37587         (clog10_test): Likewise.
37588         (conj_test): Likewise.
37589         (copysign_test): Likewise.
37590         (cos_test): Likewise.
37591         (cos_test_tonearest): Likewise.
37592         (cos_test_towardzero): Likewise.
37593         (cos_test_downward): Likewise.
37594         (cos_test_upward): Likewise.
37595         (cosh_test): Likewise.
37596         (cosh_test_tonearest): Likewise.
37597         (cosh_test_towardzero): Likewise.
37598         (cosh_test_downward): Likewise.
37599         (cosh_test_upward): Likewise.
37600         (cpow_test): Likewise.
37601         (cproj_test): Likewise.
37602         (creal_test): Likewise.
37603         (csin_test): Likewise.
37604         (csinh_test): Likewise.
37605         (csqrt_test): Likewise.
37606         (ctan_test): Likewise.
37607         (ctan_test_tonearest): Likewise.
37608         (ctan_test_towardzero): Likewise.
37609         (ctan_test_downward): Likewise.
37610         (ctan_test_upward): Likewise.
37611         (ctanh_test): Likewise.
37612         (ctanh_test_tonearest): Likewise.
37613         (ctanh_test_towardzero): Likewise.
37614         (ctanh_test_downward): Likewise.
37615         (ctanh_test_upward): Likewise.
37616         (erf_test): Likewise.
37617         (erfc_test): Likewise.
37618         (exp_test): Likewise.
37619         (exp_test_tonearest): Likewise.
37620         (exp_test_towardzero): Likewise.
37621         (exp_test_downward): Likewise.
37622         (exp_test_upward): Likewise.
37623         (exp10_test): Likewise.
37624         (exp10_test_tonearest): Likewise.
37625         (exp10_test_towardzero): Likewise.
37626         (exp10_test_downward): Likewise.
37627         (exp10_test_upward): Likewise.
37628         (pow10_test): Likewise.
37629         (exp2_test): Likewise.
37630         (expm1_test): Likewise.
37631         (expm1_test_tonearest): Likewise.
37632         (expm1_test_towardzero): Likewise.
37633         (expm1_test_downward): Likewise.
37634         (expm1_test_upward): Likewise.
37635         (fabs_test): Likewise.
37636         (fdim_test): Likewise.
37637         (floor_test): Likewise.
37638         (fma_test): Likewise.
37639         (fma_test_towardzero): Likewise.
37640         (fma_test_downward): Likewise.
37641         (fma_test_upward): Likewise.
37642         (fmax_test): Likewise.
37643         (fmin_test): Likewise.
37644         (fmod_test): Likewise.
37645         (fpclassify_test): Likewise.
37646         (frexp_test): Likewise.
37647         (hypot_test): Likewise.
37648         (ilogb_test): Likewise.
37649         (isfinite_test): Likewise.
37650         (finite_test): Likewise.
37651         (isgreater_test): Likewise.
37652         (isgreaterequal_test): Likewise.
37653         (isinf_test): Likewise.
37654         (isless_test): Likewise.
37655         (islessequal_test): Likewise.
37656         (islessgreater_test): Likewise.
37657         (isnan_test): Likewise.
37658         (isnormal_test): Likewise.
37659         (issignaling_test): Likewise.
37660         (isunordered_test): Likewise.
37661         (j0_test): Likewise.
37662         (j1_test): Likewise.
37663         (jn_test): Likewise.
37664         (ldexp_test): Likewise.
37665         (lgamma_test): Likewise.
37666         (gamma_test): Likewise.
37667         (lrint_test): Likewise.
37668         (lrint_test_tonearest): Likewise.
37669         (lrint_test_towardzero): Likewise.
37670         (lrint_test_downward): Likewise.
37671         (lrint_test_upward): Likewise.
37672         (llrint_test): Likewise.
37673         (llrint_test_tonearest): Likewise.
37674         (llrint_test_towardzero): Likewise.
37675         (llrint_test_downward): Likewise.
37676         (llrint_test_upward): Likewise.
37677         (log_test): Likewise.
37678         (log10_test): Likewise.
37679         (log1p_test): Likewise.
37680         (log2_test): Likewise.
37681         (logb_test): Likewise.
37682         (logb_test_downward): Likewise.
37683         (lround_test): Likewise.
37684         (llround_test): Likewise.
37685         (modf_test): Likewise.
37686         (nearbyint_test): Likewise.
37687         (nextafter_test): Likewise.
37688         (nexttoward_test): Likewise.
37689         (pow_test): Likewise.
37690         (pow_test_tonearest): Likewise.
37691         (pow_test_towardzero): Likewise.
37692         (pow_test_downward): Likewise.
37693         (pow_test_upward): Likewise.
37694         (remainder_test): Likewise.
37695         (drem_test): Likewise.
37696         (remainder_test_tonearest): Likewise.
37697         (drem_test_tonearest): Likewise.
37698         (remainder_test_towardzero): Likewise.
37699         (drem_test_towardzero): Likewise.
37700         (remainder_test_downward): Likewise.
37701         (drem_test_downward): Likewise.
37702         (remainder_test_upward): Likewise.
37703         (drem_test_upward): Likewise.
37704         (remquo_test): Likewise.
37705         (rint_test): Likewise.
37706         (rint_test_tonearest): Likewise.
37707         (rint_test_towardzero): Likewise.
37708         (rint_test_downward): Likewise.
37709         (rint_test_upward): Likewise.
37710         (round_test): Likewise.
37711         (scalb_test): Likewise.
37712         (scalbn_test): Likewise.
37713         (scalbln_test): Likewise.
37714         (signbit_test): Likewise.
37715         (sin_test): Likewise.
37716         (sin_test_tonearest): Likewise.
37717         (sin_test_towardzero): Likewise.
37718         (sin_test_downward): Likewise.
37719         (sin_test_upward): Likewise.
37720         (sincos_test): Likewise.
37721         (sinh_test): Likewise.
37722         (sinh_test_tonearest): Likewise.
37723         (sinh_test_towardzero): Likewise.
37724         (sinh_test_downward): Likewise.
37725         (sinh_test_upward): Likewise.
37726         (sqrt_test): Likewise.
37727         (sqrt_test_tonearest): Likewise.
37728         (sqrt_test_towardzero): Likewise.
37729         (sqrt_test_downward): Likewise.
37730         (sqrt_test_upward): Likewise.
37731         (tan_test): Likewise.
37732         (tan_test_tonearest): Likewise.
37733         (tan_test_towardzero): Likewise.
37734         (tan_test_downward): Likewise.
37735         (tan_test_upward): Likewise.
37736         (tanh_test): Likewise.
37737         (tgamma_test): Likewise.
37738         (trunc_test): Likewise.
37739         (y0_test): Likewise.
37740         (y1_test): Likewise.
37741         (yn_test): Likewise.
37742         (significand_test): Likewise.
37744         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37745         individual tests in comment.
37746         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37747         (prev_max_error): New variable.
37748         (prev_real_max_error): Likewise.
37749         (prev_imag_max_error): Likewise.
37750         (compare_ulp_data): Don't refer to test names in comment.
37751         (find_test_ulps): Remove function.
37752         (find_function_ulps): Likewise.
37753         (find_complex_function_ulps): Likewise.
37754         (init_max_error): Take function name as argument.  Look up ulps
37755         for that function.
37756         (print_ulps): Remove function.
37757         (print_max_error): Use prev_max_error instead of calling
37758         find_function_ulps.
37759         (print_complex_max_error): Use prev_real_max_error and
37760         prev_imag_max_error instead of calling find_complex_function_ulps.
37761         (check_float_internal): Take max_ulp parameter instead of calling
37762         find_test_ulps.  Don't call print_ulps.
37763         (check_float): Update call to check_float_internal.
37764         (check_complex): Update calls to check_float_internal.
37765         (START): Pass argument to init_max_error.
37766         * math/gen-libm-test.pl (%results): Don't include "kind"
37767         information.
37768         (parse_ulps): Don't handle ulps of individual tests.
37769         (print_ulps_file): Likewise.
37770         (output_ulps): Likewise.
37771         * math/README.libm-test: Update.
37772         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37773         individual tests.
37774         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37775         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37776         * sysdeps/arm/libm-test-ulps: Likewise.
37777         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37778         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37779         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37780         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37781         * sysdeps/microblaze/libm-test-ulps: Likewise.
37782         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37783         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37785         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37786         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37787         * sysdeps/sh/libm-test-ulps: Likewise.
37788         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37789         * sysdeps/tile/libm-test-ulps: Likewise.
37790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37792 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37794         * math/libm-test.inc (print_complex_max_error): Check separately
37795         whether real and imaginary errors are within allowed range and
37796         pass 0 to print_complex_function_ulps instead of value within
37797         allowed range.
37799 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37801         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37802         formatting.
37803         (get_handles_fopen): Likewise.
37804         (do_write_test): Likewise.
37806         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37808         * libio/fileops.c (do_ftell): Use cached offset when
37809         available.
37810         * libio/iofwide.c (do_ftell_wide): Likewise.
37811         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37812         _IO_file_attach.
37813         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37815         [BZ #16532]
37816         * libio/libioP.h (get_file_offset): New function.
37817         * libio/fileops.c (get_file_offset): Likewise.
37818         (do_ftell): Likewise.
37819         (_IO_new_file_seekoff): Split out ftell logic.
37820         * libio/wfileops.c (do_ftell_wide): Likewise.
37821         (_IO_wfile_seekoff): Split out ftell logic.
37822         * libio/tst-ftell-active-handler.c: New test case.
37823         * libio/Makefile (tests): Add it.
37825 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37827         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37828         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37830 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37832         [BZ #16639]
37833         * nscd/connections.c (nscd_init): Call do_exit.
37834         (start_threads): Call do_exit and notify_parent.
37835         (begin_drop_privileges): Call do_exit.
37836         (finish_drop_privileges): Likewise.
37837         * nscd/selinux.c (preserve_capabilities): Likewise.
37838         (install_real_capabilities): Likewise.
37839         (nscd_selinux_enabled): Likewise.
37840         (avc_create_thread): Likewise.
37841         (avc_alloc_lock): Likewise.
37842         (nscd_avc_init): Likewise.
37843         * nscd/nscd.c (parent_fd): New static variable.
37844         (main): Create a pipe between parent and child processes.
37845         Skip closing parent_fd.
37846         (monitor_child): New function.
37847         (do_exit): Likewise.
37848         (notify_parent): Likewise.
37849         * nscd/nscd.h (notify_parent): Likewise.
37850         (do_exit): Likewise.
37852 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37854         * malloc/malloc.c (__libc_calloc): Revert last change.
37856 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37860 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37862         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37864         implementation.
37865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37866         (__libc_ifunc_impl_list): Likewise.
37867         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37868         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37869         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37870         * string/strrchr.c: Define STRRCHR.
37872 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37874         * benchtest/bench-strtok.c (simple_strtok): Delete.
37875         (strtok_string): Use as benchmark.
37876         * string/strtok (STRTOK): New macro.
37878 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37880         * manual/threads.texi: Add header and standard comments to all
37881         functions.
37883         * elf/dl-lookup.c (check_match): New function.
37884         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37885         (do_lookup_x): Remove nested function check_match. Use non-nested
37886         function check_match.
37888 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37890         * csu/Makefile (generated, before-compile): Use += rather than =.
37891         * catgets/Makefile (generated, generated-dirs): Likewise.
37892         * debug/Makefile (generated): Likewise.
37893         * dlfcn/Makefile (generated): Likewise.
37894         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37895         * iconvdata/Makefile (before-compile, generated): Likewise.
37896         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37897         * libio/Makefile (generated): Likewise.
37898         * malloc/Makefile (generated): Likewise.
37899         * manual/Makefile (generated, generated-dirs): Likewise.
37900         * misc/Makefile (generated): Likewise.
37901         * posix/Makefile (generated): Likewise.
37902         * resolv/Makefile (generated): Likewise.
37903         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37904         * timezone/Makefile (generated, generated-dirs): Likewise.
37906         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37908 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37911         power8 implementation.
37912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37913         file: POWER8 llround ifunc implementation.
37914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37915         (__lllround): Add POWER8 implementation.
37916         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37917         POWER8 llround implementation.
37919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37920         power8 implementation.
37921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37922         file: POWER8 llrint ifunc implementation.
37923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37924         Add POWER8 implementation.
37925         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37926         POWER8 llrint implementation.
37928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37929         power8 implementation.
37930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37931         file: POWER8 finite ifunc implementation.
37932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37933         Add POWER8 implementation.
37934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37935         Likewise.
37936         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37937         POWER8 finite implementation.
37938         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37941         power8 implementation.
37942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37943         file: POWER8 isinf ifunc implementation.
37944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37945         POWER8 implementation.
37946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37947         Likewise.
37948         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37949         isinf implementation.
37950         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37952         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37953         (INIT_ARCH): Add hwcap2 initialization.
37954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37955         power8 implementation.
37956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37957         file: POWER8 isnan ifunc implementation.
37958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37959         POWER8 implementation.
37960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37961         Likewise.
37962         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37963         isnan implementation.
37964         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37966 2014-02-27  Joey Ye  <joey.ye@arm.com>
37968         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37969         (_FP_NANFRAC_Q): Set to zero.
37971 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37973         [BZ #16623]
37974         * math/auto-libm-test-in: New test inputs.
37975         * math/auto-libm-test-out: Regenerate.
37976         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37977         and DA.
37978         (__cos): Likewise.
37979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37981 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37983         * scripts/evaluate-test.sh: Take new argument indicating whether
37984         failure is expected.
37985         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37986         indicating whether failure is expected.
37987         * conform/Makefile (test-xfail-run-conformtest): New variable.
37988         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37989         level.
37990         * posix/Makefile (test-xfail-annexc): New variable.
37991         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37993 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37995         * argp/Makefile: Include Makeconfig immediately after defining
37996         subdir.
37997         * assert/Makefile: Likewise.
37998         * benchtests/Makefile: Likewise.
37999         * catgets/Makefile: Likewise.
38000         * conform/Makefile: Likewise.
38001         * crypt/Makefile: Likewise.
38002         * csu/Makefile: Likewise.
38003         (all): Remove target.
38004         * ctype/Makefile: Include Makeconfig immediately after defining
38005         subdir.
38006         * debug/Makefile: Likewise.
38007         * dirent/Makefile: Likewise.
38008         * dlfcn/Makefile: Likewise.
38009         * gmon/Makefile: Likewise.
38010         * gnulib/Makefile: Likewise.
38011         * grp/Makefile: Likewise.
38012         * gshadow/Makefile: Likewise.
38013         * hesiod/Makefile: Likewise.
38014         * hurd/Makefile: Likewise.
38015         (all): Remove target.
38016         * iconvdata/Makefile: Include Makeconfig immediately after
38017         defining subdir.
38018         * inet/Makefile: Likewise.
38019         * intl/Makefile: Likewise.
38020         * io/Makefile: Likewise.
38021         * libio/Makefile: Likewise.
38022         (all): Remove target.
38023         * locale/Makefile: Include Makeconfig immediately after defining
38024         subdir.
38025         * login/Makefile: Likewise.
38026         * mach/Makefile: Likewise.
38027         (all): Remove target.
38028         * malloc/Makefile: Include Makeconfig immediately after defining
38029         subdir.
38030         (all): Remove target.
38031         * manual/Makefile: Include Makeconfig immediately after defining
38032         subdir.
38033         * math/Makefile: Likewise.
38034         * misc/Makefile: Likewise.
38035         * nis/Makefile: Likewise.
38036         * nss/Makefile: Likewise.
38037         * po/Makefile: Likewise.
38038         (all): Remove target.
38039         * posix/Makefile: Include Makeconfig immediately after defining
38040         subdir.
38041         * pwd/Makefile: Likewise.
38042         * resolv/Makefile: Likewise.
38043         * resource/Makefile: Likewise.
38044         * rt/Makefile: Likewise.
38045         * setjmp/Makefile: Likewise.
38046         * shadow/Makefile: Likewise.
38047         * signal/Makefile: Likewise.
38048         * socket/Makefile: Likewise.
38049         * soft-fp/Makefile: Likewise.
38050         * stdio-common/Makefile: Likewise.
38051         * stdlib/Makefile: Likewise.
38052         * streams/Makefile: Likewise.
38053         * string/Makefile: Likewise.
38054         * sunrpc/Makefile: Likewise.
38055         (all): Remove target.
38056         * sysvipc/Makefile: Include Makeconfig immediately after defining
38057         subdir.
38058         * termios/Makefile: Likewise.
38059         * time/Makefile: Likewise.
38060         * timezone/Makefile: Likewise.
38061         (all): Remove target.
38062         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38063         subdir.
38064         * wctype/Makefile: Likewise.
38066 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38068         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38069         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38070         (libc_feholdexcept_setround_mips): Ditto.
38071         (libc_feholdsetround): New.
38072         (libc_feholdsetroundf): New.
38073         (libc_feholdsetroundl): New.
38074         (libc_feupdateenv_test_mips): New.
38075         (libc_feupdateenv_test): New.
38076         (libc_feupdateenv_testf): New.
38077         (libc_feupdateenv_testl): New.
38078         (libc_feresetround): New.
38079         (libc_feresetroundf): New.
38080         (libc_feresetroundl): New.
38081         (libc_fetestexcept_mips): New.
38082         (libc_fetestexcept): New.
38083         (libc_fetestexceptf): New.
38084         (libc_fetestexceptl): New.
38085         (HAVE_RM_CTX): New.
38086         (libc_feholdexcept_setround_mips_ctx): New.
38087         (libc_feholdexcept_setround_ctx): New.
38088         (libc_feholdexcept_setroundf_ctx): New.
38089         (libc_feholdexcept_setroundl_ctx): New.
38090         (libc_fesetenv_mips_ctx): New.
38091         (libc_fesetenv_ctx): New.
38092         (libc_fesetenv_ctxf): New.
38093         (libc_fesetenv_ctxl): New.
38094         (libc_feupdateenv_mips_ctx): New.
38095         (libc_feupdateenv_ctx): New.
38096         (libc_feupdateenvf_ctx): New.
38097         (libc_feupdateenvl_ctx): New.
38098         (libc_feholdsetround_mips_ctx): New.
38099         (libc_feholdsetround_ctx): New.
38100         (libc_feholdsetroundf_ctx): New.
38101         (libc_feholdsetroundl_ctx): New.
38102         (libc_feresetround_mips_ctx): New.
38103         (libc_feresetround_ctx): New.
38104         (libc_feresetroundf_ctx): New.
38105         (libc_feresetroundl_ctx): New.
38107 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38109         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38111         * manual/ipc.texi: New file.
38112         * manual/Makefile (chapters): Add ipc.
38113         * manual/job.texi: Add "Inter-Process Communication" to next.
38114         * manual/process.texi: Add "Inter-Process Communication" to prev.
38116 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38120 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38122         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38124         * manual/arith.texi: Fix spaces after sentences.
38125         * manual/charset.texi: Likewise.
38126         * manual/errno.texi: Likewise.
38127         * manual/install.texi: Likewise.
38128         * manual/llio.texi: Likewise.
38129         * manual/locale.texi: Likewise.
38130         * manual/maint.texi: Likewise.
38131         * manual/math.texi: Likewise.
38132         * manual/memory.texi: Likewise.
38133         * manual/message.texi: Likewise.
38134         * manual/probes.texi: Likewise.
38135         * manual/resource.texi: Likewise.
38136         * manual/signal.texi: Likewise.
38137         * manual/socket.texi: Likewise.
38138         * manual/stdio.texi: Likewise.
38139         * manual/string.texi: Likewise.
38140         * manual/time.texi: Likewise.
38141         * manual/users.texi: Likewise.
38143 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38145         [BZ #16632]
38146         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38147         _DEFAULT_SOURCE is defined.
38149 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38150             Carlos O'Donell  <carlos@redhat.com>
38152         [BZ #16613]
38153         * elf/dl-tls.c (_dl_count_modids): New function.
38154         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38155         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38156         audit library and increment generation counter.
38157         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38158         * elf/tst-audit9.c: New file.
38159         * elf/tst-auditmod9a.c: New file.
38160         * elf/tst-auditmod9b.c: New file.
38161         * elf/Makefile: Add rules to build and run tst-audit9.
38163 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38165         [BZ #15347]
38166         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38168 2014-02-25  Will Newton  <will.newton@linaro.org>
38170         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38171         (__longjmp): Restore sp and lr before restoring callee
38172         saved registers.  Add longjmp and longjmp_target
38173         SystemTap probe point.
38174         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38175         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38176         Define to zero to match jmpbuf layout.
38177         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38178         (__sigsetjmp): Save sp and lr before saving callee
38179         saved registers.  Add setjmp SystemTap probe point.
38181 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38183         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38185 2014-02-24  Andreas Schwab  <schwab@suse.de>
38187         [BZ #15804]
38188         * elf/pldd.c (wait_for_ptrace_stop): New function.
38189         (main): Call it after attaching.
38191 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38193         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38194         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38195         Versions files is now verboten.
38196         * hurd/Versions (libc: GLIBC_2.0):
38197         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38198         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38199         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38200         * mach/Versions: Likewise.
38202         * csu/Versions: Remove unused %include.
38203         * resolv/Versions: Likewise.
38205 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38207         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38208         ($(objpfx)check-local-headers.out): Likewise.
38209         ($(objpfx)begin-end-check.out): Likewise.
38210         * Makerules (check-abi-%.out): Likewise.
38211         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38212         ($(objpfx)test2.cat): Likewise.
38213         ($(objpfx)de/libc.cat): Likewise.
38214         ($(objpfx)test-gencat.out): Likewise.
38215         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38216         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38217         ($(objpfx)noload-mem): Likewise.
38218         ($(objpfx)tst-pathopt.out): Likewise.
38219         ($(objpfx)tst-rtld-load-self.out): Likewise.
38220         ($(objpfx)tst-array1-cmp.out): Likewise.
38221         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38222         ($(objpfx)tst-array2-cmp.out): Likewise.
38223         ($(objpfx)tst-array3-cmp.out): Likewise.
38224         ($(objpfx)tst-array4-cmp.out): Likewise.
38225         ($(objpfx)tst-array5-cmp.out): Likewise.
38226         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38227         ($(objpfx)check-textrel.out): Likewise.
38228         ($(objpfx)check-execstack.out): Likewise.
38229         ($(objpfx)check-localplt.out): Likewise.
38230         ($(objpfx)order2-cmp.out): Likewise.
38231         ($(objpfx)tst-leaks1-mem): Likewise.
38232         ($(objpfx)tst-leaks1-static-mem): Likewise.
38233         ($(objpfx)tst-initorder-cmp.out): Likewise.
38234         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38235         ($(objpfx)tst-unused-dep.out): Likewise.
38236         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38237         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38238         * iconv/Makefile (test-iconvconfig): Likewise.
38239         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38240         ($(objpfx)iconv-test.out): Likewise.
38241         ($(objpfx)tst-tables.out): Likewise.
38242         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38243         ($(objpfx)tst-gettext.out): Likewise.
38244         ($(objpfx)tst-translit.out): Likewise.
38245         ($(objpfx)tst-gettext2.out): Likewise.
38246         ($(objpfx)tst-gettext4.out): Likewise.
38247         ($(objpfx)tst-gettext6.out): Likewise.
38248         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38249         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38250         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38251         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38252         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38253         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38254         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38255         ($(objpfx)wordexp-tst.out): Likewise.
38256         ($(objpfx)annexc.out): Likewise.
38257         ($(objpfx)tst-fnmatch-mem): Likewise.
38258         ($(objpfx)bug-regex2-mem): Likewise.
38259         ($(objpfx)bug-regex14-mem): Likewise.
38260         ($(objpfx)bug-regex21-mem): Likewise.
38261         ($(objpfx)bug-regex31-mem): Likewise.
38262         ($(objpfx)tst-vfork3-mem): Likewise.
38263         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38264         ($(objpfx)tst-pcre-mem): Likewise.
38265         ($(objpfx)tst-boost-mem): Likewise.
38266         ($(objpfx)tst-getconf.out): Likewise.
38267         ($(objpfx)bug-ga2-mem): Likewise.
38268         ($(objpfx)bug-glob2-mem): Likewise.
38269         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38270         ($(objpfx)mtrace-tst-leaks2): Likewise.
38271         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38272         ($(objpfx)tst-printf.out): Likewise.
38273         ($(objpfx)tst-setvbuf1.out): Likewise.
38274         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38275         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38276         ($(objpfx)tst-fmtmsg.out): Likewise.
38277         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38278         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38280         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38281         * bits/sigaction.h [__USE_MISC]: Likewise.
38282         * bits/waitstatus.h: Update #endif comments.
38283         * ctype/ctype.h: Likewise.
38284         * dirent/dirent.h: Likewise.
38285         [__USE_MISC]: Remove redundant conditionals.
38286         * grp/grp.h: Update #endif comments.
38287         [__USE_GNU]: Remove redundant conditionals.
38288         [__USE_MISC]: Likewise.
38289         * inet/netinet/in.h [__USE_GNU]: Likewise.
38290         * io/sys/stat.h [__USE_MISC]: Likewise.
38291         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38292         * libio/bits/stdio.h: Update #endif comments.
38293         [__USE_MISC]: Remove redundant conditionals.
38294         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38295         * libio/stdio.h: Update #endif comments.
38296         [__USE_MISC]: Remove redundant conditionals.
38297         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38298         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38299         * math/math.h: Update #else and #endif comments.
38300         [__USE_MISC]: Remove redundant conditionals.
38301         * misc/sys/uio.h: Update #endif comments.
38302         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38303         * posix/glob.h [__USE_MISC]: Likewise.
38304         * posix/sys/types.h: Update #endif comments.
38305         [__USE_MISC]: Remove redundant conditionals.
38306         * posix/sys/wait.h: Update #endif comments.
38307         [__USE_MISC]: Remove redundant conditionals.
38308         * posix/unistd.h: Update #endif comments.
38309         [__USE_MISC]: Remove redundant conditionals.
38310         * pwd/pwd.h [__USE_GNU]: Likewise.
38311         [__USE_MISC]: Likewise.
38312         * resolv/netdb.h [__USE_GNU]: Likewise.
38313         * signal/signal.h: Update #endif comments.
38314         [__USE_MISC]: Remove redundant conditionals.
38315         * stdlib/stdlib.h: Update #else and #endif comments.
38316         [__USE_MISC]: Remove redundant conditionals.
38317         [__USE_GNU]: Likewise.
38318         * string/bits/string2.h [__USE_MISC]: Likewise.
38319         * string/string.h: Update #endif comments.
38320         [__USE_MISC]: Remove redundant conditionals.
38321         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38322         Likewise.
38323         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38324         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38325         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38326         Likewise.
38327         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38328         Likewise.
38329         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38330         comments.
38331         [__USE_MISC]: Remove redundant conditionals.
38332         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38333         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38334         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38335         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38336         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38337         Likewise.
38338         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38339         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38340         Likewise.
38341         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38342         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38343         Likewise.
38344         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38345         Likewise.
38346         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38347         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38348         Likewise.
38349         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38350         Likewise.
38351         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38352         * sysdeps/x86/bits/string.h: Update #endif comments.
38353         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38354         conditionals.
38355         * time/sys/time.h: Update #endif comments.
38356         * time/time.h: Likewise.
38357         [__USE_MISC]: Remove redundant conditionals.
38359 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38361         [BZ #16600]
38362         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38364 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38366         * Versions.def (librt): Add GLIBC_2.17.
38368 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38370         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38371         synonym for _SYS_AUXV_H to allow direct inclusion.
38372         * sysdeps/sparc/bits/hwcap.h: Likewise.
38373         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38374         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38375         * sysdeps/sparc/sysdep.h: Likewise.
38377 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38379         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38381 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38383         * benchtests/bench-strrchr.c: Print length instead of position.
38385 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38387         [BZ #16611]
38388         * sysdeps/unix/sysv/linux/kernel-features.h
38389         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38390         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38391         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38392         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38393         Likewise.
38394         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38395         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38396         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38397         (__ASSUME_SENDMMSG): Define instead of using previous
38398         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38399         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38400         (__ASSUME_SENDMMSG_SYSCALL): Define.
38401         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38402         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38403         Likewise.
38404         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38405         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38406         Likewise.
38407         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38408         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38409         Likewise.
38410         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38411         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38412         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38413         [__ASSUME_SENDMMSG]: Change conditionals to
38414         [__ASSUME_SENDMMSG_SOCKETCALL].
38415         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38416         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38417         Define.
38418         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38419         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38420         Likewise.
38421         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38422         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38423         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38424         [!__ASSUME_SENDMMSG]: Change conditional to
38425         [!__ASSUME_SENDMMSG_SOCKETCALL].
38426         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38427         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38428         Define.
38430         [BZ #16610]
38431         * sysdeps/unix/sysv/linux/kernel-features.h
38432         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38433         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38434         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38435         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38436         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38437         [__i386__ || __sparc__]
38438         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38439         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38440         (__ASSUME_RECVMMSG): Define instead of using previous
38441         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38443         (__ASSUME_RECVMMSG_SYSCALL): Define.
38444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38446         Likewise.
38447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38448         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38449         Likewise.
38450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38452         Likewise.
38453         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38454         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38455         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38456         [__ASSUME_RECVMMSG]: Change condition to
38457         [__ASSUME_RECVMMSG_SOCKETCALL].
38458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38460         Define.
38461         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38462         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38463         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38464         Likewise.
38465         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38466         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38467         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38468         [!__ASSUME_RECVMMSG]: Change condition to
38469         [!__ASSUME_RECVMMSG_SOCKETCALL].
38470         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38471         (__ASSUME_RECVMMSG_SYSCALL): Define.
38473         [BZ #16609]
38474         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38475         __powerpc__ || __s390__ || __sh__ || __sparc__]
38476         (__ASSUME_SOCKETCALL): Define.
38477         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38478         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38479         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38480         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38481         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38482         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38483         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38484         (__ASSUME_ACCEPT4): Define instead of using previous
38485         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38486         __powerpc__ || __sparc__ || __s390__)] condition.
38487         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38488         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38489         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38490         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38491         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38492         [!__ASSUME_ACCEPT4]: Change condition to
38493         [!__ASSUME_ACCEPT4_SOCKETCALL].
38494         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38495         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38496         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38497         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38498         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38499         __ASSUME_ACCEPT4_SYSCALL.
38500         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38501         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38502         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38503         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38504         __ASSUME_ACCEPT4_SYSCALL.
38505         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38506         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38507         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38508         [__ASSUME_ACCEPT4]: Change condition to
38509         [__ASSUME_ACCEPT4_SOCKETCALL].
38510         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38511         (__ASSUME_SOCKETCALL): Define.
38512         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38514         (__ASSUME_SOCKETCALL): Define.
38515         (__ASSUME_ACCEPT4): Remove.
38516         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38517         Define.
38518         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38519         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38520         Likewise.
38521         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38522         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38524         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38525         macro.
38526         (HWCAP_ARM_LPAE): Likewise.
38527         (HWCAP_ARM_EVTSTRM): Likewise.
38528         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38529         Add vpfd32, lpae and evtstrm.
38530         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38531         Increase to 22.
38533 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38535         * math/auto-libm-test-in: Add tests of clog10.
38536         * math/auto-libm-test-out: Regenerated.
38537         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38538         * sysdeps/i386/fpu/libm-test-ulps: Update.
38539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38541 2014-02-18  Andreas Schwab  <schwab@suse.de>
38543         [BZ #16574]
38544         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38545         Store non-zero if the second buffer was newly allocated.
38546         (send_dg): Likewise.
38547         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38548         to send_vc and send_dg.
38549         (res_nsend): Pass NULL for ansp2_malloced.
38550         * resolv/res_query.c (__libc_res_nquery): Add parameter
38551         answerp2_malloced and pass it down to __libc_res_nsend.
38552         (res_nquery): Pass additional NULL to __libc_res_nquery.
38553         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38554         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38555         second answer buffer if answerp2_malloced was set.
38556         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38557         (__libc_res_nquerydomain): Add parameter
38558         answerp2_malloced and pass it down to __libc_res_nquery.
38559         (res_nquerydomain): Pass additional NULL to
38560         __libc_res_nquerydomain.
38561         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38562         additional NULL to __libc_res_nsend and __libc_res_nquery.
38563         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38564         additional NULL to __libc_res_nsearch.
38565         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38566         parameter of __libc_res_nsearch to check for separately allocated
38567         second buffer.
38568         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38569         __libc_res_nquery.
38570         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38571         additional NULL to __libc_res_nquery.
38572         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38573         __libc_res_nsearch.
38574         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38575         * include/resolv.h: Update prototypes of __libc_res_nquery,
38576         __libc_res_nsearch, __libc_res_nsend.
38578 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38580         * math/auto-libm-test-in: Add tests of fma.
38581         * math/auto-libm-test-out: Regenerated.
38582         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38583         (fma_towardzero_test_data): Likewise.
38584         (fma_downward_test_data): Likewise.
38585         (fma_upward_test_data): Likewise.
38586         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38587         mpc_mode.
38588         (rounding_modes): Add values for new field.
38589         (func_calc_method): Add value mpfr_fff_f.
38590         (func_calc_desc): Add mpfr_fff_f union field.
38591         (test_function): Add field exact_args.
38592         (FUNC): Add macro argument EXACT_ARGS.
38593         (FUNC_mpfr_f_f): Update call to FUNC.
38594         (FUNC_mpfr_f_f): Likewise.
38595         (FUNC_mpfr_ff_f): Likewise.
38596         (FUNC_mpfr_if_f): Likewise.
38597         (FUNC_mpc_c_f): Likewise.
38598         (FUNC_mpc_c_c): Likewise.
38599         (test_functions): Add fma.  Update calls to FUNC.
38600         (handle_input_arg): Add argument exact_args.
38601         (add_test): Update call to handle_input_arg.
38602         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38603         (output_for_one_input_case): Update call to calc_generic_results.
38604         Recalculate exact zero results in each rounding mode.
38606         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38607         non-negative before setting low bit.
38608         * math/auto-libm-test-in: Mark one asin test possibly having
38609         spurious underflow.
38610         * math/auto-libm-test-out: Regenerated.
38611         * sysdeps/i386/fpu/libm-test-ulps: Update.
38612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38614 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38616         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38617         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38618         ports/sysdeps/unix/sysv/linux/microblaze.
38619         * README: Add missing listing for microblaze*-*-linux-gnu.
38621 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38623         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38624         duplicate code
38626 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38628         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38629         * sysdeps/unix/sysv/linux/ia64: Move directory from
38630         ports/sysdeps/unix/sysv/linux/ia64.
38631         * README: Update listing for ia64-*-linux-gnu.
38633 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38634             Joseph Myers  <joseph@codesourcery.com>
38636         * Makeconfig (test-name): New variable.
38637         (evaluate-test): Likewise.
38638         * Makerules (do-test-clean): Remove .test-result files.
38639         (common-mostlyclean): Likewise.
38640         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38641         * scripts/evaluate-test.sh: New file.
38643 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38645         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38646         separate $(objpfx)tst-fopenloc-cmp.out and
38647         $(objpfx)tst-fopenloc-mem.out targets.
38648         (tests): Update dependencies.
38649         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38650         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38651         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38652         (tst-rxspencer-no-utf8-ARGS): New variable.
38653         (tst-rxspencer-no-utf8-ENV): Likewise.
38654         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38655         instead of $(objpfx)tst-rxspencer-mem.
38656         ($(objpfx)tst-rxspencer-mem): Change target to
38657         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38658         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38659         * posix/tst-rxspencer-no-utf8.c: New file.
38661         * elf/Makefile ($(objpfx)order.out): Remove rule.
38662         [$(run-built-tests) = yes] (tests): Depend on
38663         $(objpfx)order-cmp.out.
38664         ($(objpfx)order-cmp.out): New rule.
38665         [$(run-built-tests) = yes] (tests): Depend on
38666         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38667         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38668         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38669         $(objpfx)tst-array5-static-cmp.out.
38670         ($(objpfx)tst-array1.out): Remove rule.
38671         ($(objpfx)tst-array1-cmp.out): New rule.
38672         ($(objpfx)tst-array1-static.out): Remove rule.
38673         ($(objpfx)tst-array1-static-cmp.out): New rule.
38674         ($(objpfx)tst-array2.out): Remove rule.
38675         ($(objpfx)tst-array2-cmp.out): New rule.
38676         ($(objpfx)tst-array3.out): Remove rule.
38677         ($(objpfx)tst-array3-cmp.out): New rule.
38678         ($(objpfx)tst-array4.out): Remove rule.
38679         ($(objpfx)tst-array4-cmp.out): New rule.
38680         ($(objpfx)tst-array5.out): Remove rule.
38681         ($(objpfx)tst-array5-cmp.out): New rule.
38682         ($(objpfx)tst-array5-static.out): Remove rule.
38683         ($(objpfx)tst-array5-static-cmp.out): New rule.
38684         [$(run-built-tests) = yes] (tests): Depend on
38685         $(objpfx)order2-cmp.out.
38686         ($(objpfx)order2.out): Remove rule.
38687         ($(objpfx)order2-cmp.out): New rule.
38688         ($(objpfx)tst-initorder.out): Remove rule.
38689         [$(run-built-tests) = yes] (tests): Depend on
38690         $(objpfx)tst-initorder-cmp.out.
38691         ($(objpfx)tst-initorder-cmp.out): New rule.
38692         ($(objpfx)tst-initorder2.out): Remove rule.
38693         [$(run-built-tests) = yes] (tests): Depend on
38694         $(objpfx)tst-initorder2-cmp.out.
38695         ($(objpfx)tst-initorder2-cmp.out): New rule.
38696         [$(run-built-tests) = yes] (tests): Depend on
38697         $(objpfx)tst-unused-dep-cmp.out.
38698         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38699         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38700         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38701         on $(objpfx)tst-setvbuf1-cmp.out.
38702         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38703         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38704         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38705         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38706         ($(objpfx)tst-svc.out): Remove rule.
38707         ($(objpfx)tst-svc-cmp.out): New rule.
38709 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38711         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38712         * ctype/ctype.h [__USE_MISC]: Likewise.
38713         * dirent/dirent.h [__USE_MISC]: Likewise.
38714         * grp/grp.h [__USE_MISC]: Likewise.
38715         * io/fcntl.h [__USE_MISC]: Likewise.
38716         * io/sys/stat.h [__USE_MISC]: Likewise.
38717         * libio/stdio.h [__USE_MISC]: Likewise.
38718         * posix/unistd.h [__USE_MISC]: Likewise.
38719         * pwd/pwd.h [__USE_MISC]: Likewise.
38720         * stdlib.h [__USE_MISC]: Likewise.
38721         * string/bits/string2.h [__USE_MISC]: Likewise.
38722         * string/string.h [__USE_MISC]: Likewise.
38723         * time/time.h [__USE_MISC]: Likewise.
38725 2014-02-13  Andreas Schwab  <schwab@suse.de>
38727         [BZ #16574]
38728         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38729         second answer buffer if it was separately allocated.
38731 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38733         * sysdeps/mips/math-tests.h: Include <features.h>.
38734         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38735         (ROUNDING_TESTS_long_double): Do not define.
38736         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38737         (EXCEPTION_TESTS_long_double): Likewise.
38738         * sysdeps/mips/mips64/libm-test-ulps: Update.
38740         * include/features.h (__USE_BSD): Remove macro definitions.
38741         (__USE_SVID): Likewise.
38742         (_BSD_SOURCE): Likewise.
38743         (_SVID_SOURCE): Likewise.
38744         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38745         from definition of _DEFAULT_SOURCE.
38746         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38747         [_DEFAULT_SOURCE].
38748         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38749         * bits/mman.h [__USE_BSD]: Likewise.
38750         * bits/termios.h [__USE_BSD]: Likewise.
38751         * bits/waitstatus.h [__USE_BSD]: Likewise.
38752         * ctype/ctype.h [__USE_SVID]: Likewise.
38753         * dirent/dirent.h [__USE_BSD]: Likewise.
38754         * grp/grp.h [__USE_SVID]: Likewise.
38755         [__USE_BSD]: Likewise.
38756         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38757         * io/fcntl.h [__USE_BSD]: Likewise.
38758         * io/ftw.h [__USE_BSD]: Likewise.
38759         * io/sys/stat.h [__USE_BSD]: Likewise.
38760         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38761         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38762         * libio/stdio.h [__USE_SVID]: Likewise.
38763         [__USE_BSD]: Likewise.
38764         * math/math.h [__USE_SVID]: Likewise.
38765         [__USE_BSD]: Likewise.
38766         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38767         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38768         * misc/search.h [__USE_SVID]: Likewise.
38769         * misc/sys/mman.h [__USE_BSD]: Likewise.
38770         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38771         * misc/sys/uio.h [__USE_BSD]: Likewise.
38772         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38773         * posix/glob.h [__USE_BSD]: Likewise.
38774         * posix/regex.h [__USE_BSD]: Likewise.
38775         * posix/sys/types.h [__USE_BSD]: Likewise.
38776         [__USE_SVID]: Likewise.
38777         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38778         * posix/sys/wait.h [__USE_BSD]: Likewise.
38779         [__USE_SVID]: Likewise.
38780         * posix/unistd.h [__USE_BSD]: Likewise.
38781         [__USE_SVID]: Likewise.
38782         * pwd/pwd.h [__USE_SVID]: Likewise.
38783         * resolv/netdb.h [__USE_BSD]: Likewise.
38784         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38785         * signal/signal.h [__USE_BSD]: Likewise.
38786         [__USE_SVID]: Likewise.
38787         * socket/sys/socket.h [__USE_BSD]: Likewise.
38788         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38789         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38790         [__USE_SVID]: Likewise.
38791         * string/bits/string2.h [__USE_BSD]: Likewise.
38792         [__USE_SVID]: Likewise.
38793         * string/bits/string3.h [__USE_BSD]: Likewise.
38794         * string/endian.h [__USE_BSD]: Likewise.
38795         * string/string.h [__USE_SVID]: Likewise.
38796         [__USE_BSD]: Likewise.
38797         * string/strings.h [__USE_BSD]: Likewise.
38798         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38799         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38800         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38801         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38802         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38803         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38804         Likewise.
38805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38806         Likewise.
38807         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38808         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38809         Likewise.
38810         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38811         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38812         Likewise.
38813         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38814         Likewise.
38815         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38816         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38817         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38818         Likewise.
38819         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38820         Likewise.
38821         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38822         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38823         * termios/termios.h [__USE_BSD]: Likewise.
38824         * time/sys/time.h [__USE_BSD]: Likewise.
38825         * time/time.h [__USE_BSD]: Likewise.
38826         [__USE_SVID]: Likewise.
38828         * Makefile (subdir_targets): Remove subdir_lint.out.
38830         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38831         (do-tst-printf): Likewise.
38832         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38833         $(objpfx)tst-printf.out.
38835         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38837         * Makerules (check-abi-%): Change target to
38838         $(objpfx)check-abi-%.out.
38839         (check-abi target): Update dependencies.
38840         (check-abi-pattern variable): Redirect output of diff to $@.
38841         (check-abi variable): Likewise.
38842         * elf/Makefile (check-abi): Update dependencies.
38844         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38845         unused.
38846         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38847         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38848         subnormal range.
38849         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38850         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38851         value has largest subnormal exponent.
38852         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38853         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38854         * sysdeps/aarch64/soft-fp/sfp-machine.h
38855         (_FP_TININESS_AFTER_ROUNDING): New macro.
38856         * sysdeps/alpha/soft-fp/sfp-machine.h
38857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38858         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38859         Likewise.
38860         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38861         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38862         * sysdeps/mips/soft-fp/sfp-machine.h
38863         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38864         * sysdeps/powerpc/soft-fp/sfp-machine.h
38865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38866         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38867         Likewise.
38868         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38870         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38872         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38873         Likewise.
38875 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38877         [BZ #16545]
38878         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38879         model 1.
38881 2014-02-12  Richard Henderson  <rth@redhat.com>
38883         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38884         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38885         * sysdeps/unix/sysv/linux/alpha: Move directory from
38886         ports/sysdeps/unix/sysv/linux/alpha.
38887         * README: Update listing for alpha-*-linux-gnu.
38889 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38891         * include/features.h: Update comment documenting feature test
38892         macros.
38893         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38894         _DEFAULT_SOURCE.
38895         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38896         (_SVID_SOURCE): Likewise.
38897         (_DEFAULT_SOURCE): Update description of default features.
38898         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38899         with _GNU_SOURCE.
38900         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38901         (S_ISVTX): Likewise.
38902         * manual/math.texi (Mathematical Constants): Likewise.
38903         * manual/signal.texi (Interrupted Primitives): Likewise.
38904         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38905         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38906         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38907         Don't refer to _SVID_SOURCE in warning text.
38909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38911         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38912         already defined.
38913         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38914         * sysdeps/mips/dl-lookup.c: Remove.
38915         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38917 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38919         [BZ #16447]
38920         * math/auto-libm-test-in: Add testcase for expl.
38921         * math/auto-libm-test-out: Regenerate.
38922         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38923         calculation of unsafe.
38924         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38926 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38928         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38929         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38930         ports/sysdeps/unix/sysv/linux/aarch64.
38931         * README: Update listing for aarch64*-*-linux-gnu.
38933 2014-02-11  Will Newton  <will.newton@linaro.org>
38935         * manual/probes.texi (Mathematical Function Probes): Use
38936         "triggered" instead of "hit".
38938         * manual/probes.texi (Internal Probes): Add documentation
38939         of setjmp, longjmp and longjmp_target probes.
38941         * include/stap-probe.h: Add comment about probe argument
38942         format.
38944         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38945         definition.  (tr_where, tr_freehook, tr_mallochook,
38946         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38948 2014-02-11  David S. Miller  <davem@davemloft.net>
38950         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38951         processing int_tests.
38953 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38955         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38956         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38957         * sysdeps/unix/sysv/linux/mips: Move directory from
38958         ports/sysdeps/unix/sysv/linux/mips.
38959         * README: Update listing for mips-*-linux-gnu and
38960         mips64-*-linux-gnu.
38962 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38964         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38965         * sysdeps/unix/sysv/linux/m68k: Move directory from
38966         ports/sysdeps/unix/sysv/linux/m68k.
38967         * README: Update listing for m68k-*-linux-gnu.
38969 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38971         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38972         * sysdeps/unix/sysv/linux/generic: Move directory from
38973         ports/sysdeps/unix/sysv/linux/generic.
38974         * sysdeps/unix/sysv/linux/tile: Move directory from
38975         ports/sysdeps/unix/sysv/linux/tile.
38976         * README: Update listing for tile*-*-linux-gnu.
38978 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38980         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38981         __builtin_expect.
38982         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38983         * catgets/open_catalog.c (__open_catalog): Likewise.
38984         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38985         * debug/confstr_chk.c: Likewise.
38986         * debug/fread_chk.c (__fread_chk): Likewise.
38987         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38988         * debug/getgroups_chk.c: Likewise.
38989         * debug/mbsnrtowcs_chk.c: Likewise.
38990         * debug/mbsrtowcs_chk.c: Likewise.
38991         * debug/mbstowcs_chk.c: Likewise.
38992         * debug/memcpy_chk.c: Likewise.
38993         * debug/memmove_chk.c: Likewise.
38994         * debug/mempcpy_chk.c: Likewise.
38995         * debug/memset_chk.c: Likewise.
38996         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38997         * debug/strcat_chk.c (__strcat_chk): Likewise.
38998         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38999         * debug/strncat_chk.c (__strncat_chk): Likewise.
39000         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39001         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39002         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39003         * debug/wcpncpy_chk.c: Likewise.
39004         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39005         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39006         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39007         * debug/wcsncpy_chk.c: Likewise.
39008         * debug/wcsnrtombs_chk.c: Likewise.
39009         * debug/wcsrtombs_chk.c: Likewise.
39010         * debug/wcstombs_chk.c: Likewise.
39011         * debug/wmemcpy_chk.c: Likewise.
39012         * debug/wmemmove_chk.c: Likewise.
39013         * debug/wmempcpy_chk.c: Likewise.
39014         * debug/wmemset_chk.c: Likewise.
39015         * dirent/scandirat.c (SCANDIRAT): Likewise.
39016         * dlfcn/dladdr1.c (dladdr1): Likewise.
39017         * dlfcn/dladdr.c (dladdr): Likewise.
39018         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39019         * dlfcn/dlerror.c (__dlerror): Likewise.
39020         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39021         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39022         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39023         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39024         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39025         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39026         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39027         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39028         Likewise.
39029         * elf/dl-conflict.c: Likewise.
39030         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39031         * elf/dl-dst.h: Likewise.
39032         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39033         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39034         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39035         * elf/dl-init.c (call_init, _dl_init): Likewise.
39036         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39037         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39038         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39039         Likewise.
39040         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39041         Likewise.
39042         * elf/dl-minimal.c (__libc_memalign): Likewise.
39043         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39044         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39045         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39046         * elf/dl-sym.c (do_sym): Likewise.
39047         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39048         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39049         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39050         * elf/dl-writev.h (_dl_writev): Likewise.
39051         * elf/ldconfig.c (search_dir): Likewise.
39052         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39053         (dl_main): Likewise.
39054         * elf/setup-vdso.h (setup_vdso): Likewise.
39055         * grp/compat-initgroups.c (compat_call): Likewise.
39056         * grp/fgetgrent.c (fgetgrent): Likewise.
39057         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39058         * grp/putgrent.c (putgrent): Likewise.
39059         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39060         Likewise.
39061         * hurd/hurdinit.c: Likewise.
39062         * iconvdata/8bit-gap.c (struct): Likewise.
39063         * iconvdata/ansi_x3.110.c : Likewise.
39064         * iconvdata/big5.c : Likewise.
39065         * iconvdata/big5hkscs.c : Likewise.
39066         * iconvdata/cp1255.c: Likewise.
39067         * iconvdata/cp1258.c : Likewise.
39068         * iconvdata/cp932.c : Likewise.
39069         * iconvdata/euc-cn.c: Likewise.
39070         * iconvdata/euc-jisx0213.c : Likewise.
39071         * iconvdata/euc-jp.c: Likewise.
39072         * iconvdata/euc-jp-ms.c : Likewise.
39073         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39074         * iconvdata/gb18030.c : Likewise.
39075         * iconvdata/gbbig5.c (const): Likewise.
39076         * iconvdata/gbgbk.c: Likewise.
39077         * iconvdata/gbk.c : Likewise.
39078         * iconvdata/ibm1364.c : Likewise.
39079         * iconvdata/ibm930.c : Likewise.
39080         * iconvdata/ibm932.c: Likewise.
39081         * iconvdata/ibm933.c : Likewise.
39082         * iconvdata/ibm935.c : Likewise.
39083         * iconvdata/ibm937.c : Likewise.
39084         * iconvdata/ibm939.c : Likewise.
39085         * iconvdata/ibm943.c: Likewise.
39086         * iconvdata/iso_11548-1.c: Likewise.
39087         * iconvdata/iso-2022-cn.c : Likewise.
39088         * iconvdata/iso-2022-cn-ext.c : Likewise.
39089         * iconvdata/iso-2022-jp-3.c: Likewise.
39090         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39091         * iconvdata/iso-2022-kr.c : Likewise.
39092         * iconvdata/iso646.c (gconv_end): Likewise.
39093         * iconvdata/iso_6937-2.c : Likewise.
39094         * iconvdata/iso_6937.c : Likewise.
39095         * iconvdata/iso8859-1.c: Likewise.
39096         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39097         * iconvdata/shift_jisx0213.c : Likewise.
39098         * iconvdata/sjis.c : Likewise.
39099         * iconvdata/t.61.c : Likewise.
39100         * iconvdata/tcvn5712-1.c : Likewise.
39101         * iconvdata/tscii.c: Likewise.
39102         * iconvdata/uhc.c : Likewise.
39103         * iconvdata/unicode.c (gconv_end): Likewise.
39104         * iconvdata/utf-16.c (gconv_end): Likewise.
39105         * iconvdata/utf-32.c (gconv_end): Likewise.
39106         * iconvdata/utf-7.c (base64): Likewise.
39107         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39108         * iconv/gconv_close.c (__gconv_close): Likewise.
39109         * iconv/gconv_open.c (__gconv_open): Likewise.
39110         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39111         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39112         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39113         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39114         (ucs4le_internal_loop_single): Likewise.
39115         * iconv/iconv.c (iconv): Likewise.
39116         * iconv/iconv_close.c: Likewise.
39117         * iconv/loop.c (SINGLE): Likewise.
39118         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39119         * include/atomic.h: Likewise.
39120         * inet/inet6_option.c (option_alloc): Likewise.
39121         * intl/bindtextdom.c (set_binding_values): Likewise.
39122         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39123         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39124         * intl/localealias.c (read_alias_file): Likewise.
39125         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39126         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39127         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39128         * libio/fmemopen.c (fmemopen): Likewise.
39129         * libio/iofgets.c (_IO_fgets): Likewise.
39130         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39131         * libio/iofgetws.c (fgetws): Likewise.
39132         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39133         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39134         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39135         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39136         * locale/findlocale.c (_nl_find_locale): Likewise.
39137         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39138         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39139         Likewise.
39140         * locale/setlocale.c (setlocale): Likewise.
39141         * login/programs/pt_chown.c (main): Likewise.
39142         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39143         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39144         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39145         (mmap, mmap64, mremap, munmap): Likewise.
39146         * math/e_exp2l.c: Likewise.
39147         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39148         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39149         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39150         * math/s_catan.c (__catan): Likewise.
39151         * math/s_catanf.c (__catanf): Likewise.
39152         * math/s_catanh.c (__catanh): Likewise.
39153         * math/s_catanhf.c (__catanhf): Likewise.
39154         * math/s_catanhl.c (__catanhl): Likewise.
39155         * math/s_catanl.c (__catanl): Likewise.
39156         * math/s_ccosh.c (__ccosh): Likewise.
39157         * math/s_ccoshf.c (__ccoshf): Likewise.
39158         * math/s_ccoshl.c (__ccoshl): Likewise.
39159         * math/s_cexp.c (__cexp): Likewise.
39160         * math/s_cexpf.c (__cexpf): Likewise.
39161         * math/s_cexpl.c (__cexpl): Likewise.
39162         * math/s_clog10.c (__clog10): Likewise.
39163         * math/s_clog10f.c (__clog10f): Likewise.
39164         * math/s_clog10l.c (__clog10l): Likewise.
39165         * math/s_clog.c (__clog): Likewise.
39166         * math/s_clogf.c (__clogf): Likewise.
39167         * math/s_clogl.c (__clogl): Likewise.
39168         * math/s_csin.c (__csin): Likewise.
39169         * math/s_csinf.c (__csinf): Likewise.
39170         * math/s_csinh.c (__csinh): Likewise.
39171         * math/s_csinhf.c (__csinhf): Likewise.
39172         * math/s_csinhl.c (__csinhl): Likewise.
39173         * math/s_csinl.c (__csinl): Likewise.
39174         * math/s_csqrt.c (__csqrt): Likewise.
39175         * math/s_csqrtf.c (__csqrtf): Likewise.
39176         * math/s_csqrtl.c (__csqrtl): Likewise.
39177         * math/s_ctan.c (__ctan): Likewise.
39178         * math/s_ctanf.c (__ctanf): Likewise.
39179         * math/s_ctanh.c (__ctanh): Likewise.
39180         * math/s_ctanhf.c (__ctanhf): Likewise.
39181         * math/s_ctanhl.c (__ctanhl): Likewise.
39182         * math/s_ctanl.c (__ctanl): Likewise.
39183         * math/w_pow.c: Likewise.
39184         * math/w_powf.c: Likewise.
39185         * math/w_powl.c: Likewise.
39186         * math/w_scalb.c (sysv_scalb): Likewise.
39187         * math/w_scalbf.c (sysv_scalbf): Likewise.
39188         * math/w_scalbl.c (sysv_scalbl): Likewise.
39189         * misc/error.c (error_tail): Likewise.
39190         * misc/pselect.c (__pselect): Likewise.
39191         * nis/nis_callback.c (__nis_create_callback): Likewise.
39192         * nis/nis_call.c (__nisfind_server): Likewise.
39193         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39194         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39195         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39196         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39197         * nis/nis_lookup.c (nis_lookup): Likewise.
39198         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39199         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39200         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39201         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39202         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39203         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39204         * nis/nss_compat/compat-initgroups.c (add_group)
39205         (internal_getgrent_r): Likewise.
39206         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39207         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39208         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39209         (internal_getspnam_r): Likewise.
39210         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39211         (_nss_nis_getaliasbyname_r): Likewise.
39212         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39213         (_nss_nis_getntohost_r): Likewise.
39214         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39215         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39216         (_nss_nis_getgrgid_r): Likewise.
39217         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39218         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39219         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39220         (_nss_nis_gethostbyname4_r): Likewise.
39221         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39222         (initgroups_netid): Likewise.
39223         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39224         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39225         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39226         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39227         (_nss_nis_getprotobynumber_r): Likewise.
39228         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39229         (_nss_nis_getsecretkey): Likewise.
39230         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39231         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39232         (_nss_nis_getpwuid_r): Likewise.
39233         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39234         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39235         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39236         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39237         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39238         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39239         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39240         Likewise.
39241         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39242         (_nss_nisplus_getntohost_r): Likewise.
39243         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39244         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39245         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39246         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39247         Likewise.
39248         * nis/nss_nisplus/nisplus-initgroups.c
39249         (_nss_nisplus_initgroups_dyn): Likewise.
39250         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39251         (_nss_nisplus_getnetbyaddr_r): Likewise.
39252         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39253         (_nss_nisplus_getprotobynumber_r): Likewise.
39254         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39255         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39256         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39257         Likewise.
39258         * nis/nss_nisplus/nisplus-service.c
39259         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39260         (_nss_nisplus_getservbyport_r): Likewise.
39261         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39262         (_nss_nisplus_getspnam_r): Likewise.
39263         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39264         Likewise.
39265         * nscd/aicache.c (addhstaiX): Likewise.
39266         * nscd/cache.c (cache_search, prune_cache): Likewise.
39267         * nscd/connections.c (register_traced_file, send_ro_fd)
39268         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39269         (main_loop_epoll): Likewise.
39270         * nscd/grpcache.c (addgrbyX): Likewise.
39271         * nscd/hstcache.c (addhstbyX): Likewise.
39272         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39273         * nscd/mem.c (gc, mempool_alloc): Likewise.
39274         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39275         (addinnetgrX): Likewise.
39276         * nscd/nscd-client.h (__nscd_acquire_maplock)
39277         (__nscd_drop_map_ref): Likewise.
39278         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39279         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39280         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39281         Likewise.
39282         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39283         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39284         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39285         (__nscd_get_map_ref): Likewise.
39286         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39287         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39288         Likewise.
39289         * nscd/pwdcache.c (addpwbyX): Likewise.
39290         * nscd/selinux.c (preserve_capabilities): Likewise.
39291         * nscd/servicescache.c (addservbyX): Likewise.
39292         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39293         * posix/fnmatch.c (fnmatch): Likewise.
39294         * posix/getopt.c (_getopt_internal_r): Likewise.
39295         * posix/glob.c (glob, glob_in_dir): Likewise.
39296         * posix/wordexp.c (exec_comm_child): Likewise.
39297         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39298         (getanswer_r, gaih_getanswer_slice): Likewise.
39299         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39300         * resolv/res_init.c: Likewise.
39301         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39302         * resolv/res_query.c (__libc_res_nquery): Likewise.
39303         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39304         Likewise.
39305         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39306         * stdio-common/perror.c (perror): Likewise.
39307         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39308         * stdio-common/tmpnam.c (tmpnam): Likewise.
39309         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39310         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39311         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39312         Likewise.
39313         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39314         * stdlib/putenv.c (putenv): Likewise.
39315         * stdlib/setenv.c (__add_to_environ): Likewise.
39316         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39317         * stdlib/strtol_l.c (INTERNAL): Likewise.
39318         * string/memmem.c (memmem): Likewise.
39319         * string/strerror.c (strerror): Likewise.
39320         * string/strnlen.c (__strnlen): Likewise.
39321         * string/test-memmem.c (simple_memmem): Likewise.
39322         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39323         * sunrpc/pm_getport.c (__get_socket): Likewise.
39324         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39325         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39326         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39327         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39328         Likewise.
39329         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39330         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39331         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39332         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39333         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39334         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39335         Likewise.
39336         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39337         Likewise.
39338         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39339         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39340         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39341         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39342         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39344         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39345         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39346         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39347         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39348         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39349         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39350         Likewise.
39351         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39352         Likewise.
39353         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39354         Likewise.
39355         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39356         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39357         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39358         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39359         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39360         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39361         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39364         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39365         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39366         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39367         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39368         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39369         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39370         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39371         Likewise.
39372         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39373         Likewise.
39374         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39375         Likewise.
39376         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39377         Likewise.
39378         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39380         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39381         Likewise.
39382         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39383         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39384         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39385         * sysdeps/posix/sleep.c: Likewise.
39386         * sysdeps/posix/tempname.c: Likewise.
39387         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39388         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39389         Likewise.
39390         * sysdeps/powerpc/powerpc32/dl-machine.h
39391         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39392         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39393         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39394         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39395         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39396         Likewise.
39397         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39398         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39399         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39400         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39401         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39402         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39403         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39404         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39405         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39406         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39408         (elf_machine_lazy_rel): Likewise.
39409         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39411         (elf_machine_lazy_rel): Likewise.
39412         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39413         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39414         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39415         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39416         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39417         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39418         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39419         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39420         Likewise.
39421         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39422         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39423         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39424         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39425         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39426         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39427         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39428         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39429         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39430         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39431         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39432         Likewise.
39433         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39434         (__posix_fallocate64_l64): Likewise.
39435         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39436         (posix_fallocate): Likewise.
39437         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39438         Likewise.
39439         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39440         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39441         (getifaddrs_internal): Likewise.
39442         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39443         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39444         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39445         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39446         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39447         (__posix_fallocate64_l64): Likewise.
39448         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39449         Likewise.
39450         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39451         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39452         (__get_clockfreq): Likewise.
39453         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39454         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39455         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39456         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39457         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39458         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39459         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39460         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39461         Likewise.
39462         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39463         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39464         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39465         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39466         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39467         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39468         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39469         Likewise.
39470         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39471         (posix_fallocate): Likewise.
39472         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39473         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39474         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39475         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39476         (elf_machine_rela, elf_machine_rela_relative)
39477         (elf_machine_lazy_rel): Likewise.
39478         * time/asctime.c (asctime_internal): Likewise.
39479         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39480         * time/tzset.c (__tzset_parse_tz): Likewise.
39481         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39482         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39483         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39484         * wcsmbs/wcsmbsload.h: Likewise.
39486         [BZ #15894]
39487         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39489         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39490         (arena_get2): Remove THREAD_STATS conditionals.
39491         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39492         (__malloc_stats, int): Likewise.
39494 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39496         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39497         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39499         * manual/setjmp.texi: Fix typos/grammar errors.
39501         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39502         Only return early when n is <= 0.  Delete unused return statement.
39504         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39505         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39506         * debug/tst-longjmp_chk3.c: New file.
39508         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39509         (test_main): Replace code with set_fortify_handler call.
39510         * debug/test-strcpy_chk.c: Likewise.
39511         * debug/tst-chk1.c: Likewise.
39512         * debug/tst-longjmp_chk.c: Likewise.
39513         * test-skeleton.c: Include fcntl.h & paths.h
39514         (set_fortify_handler): Define.
39516         * debug/tst-longjmp_chk.c: Add header comment and include
39517         ../test-skeleton.c.
39518         (do_test): Mark static.
39519         (TEST_FUNCTION): Define.
39521         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39522         (IP_PMTUDISC_INTERFACE): Likewise.
39523         (IP_MULTICAST_IF): Likewise.
39524         (IP_MULTICAST_TTL): Likewise.
39525         (IP_MULTICAST_LOOP): Likewise.
39526         (IP_ADD_MEMBERSHIP): Likewise.
39527         (IP_DROP_MEMBERSHIP): Likewise.
39528         (IP_UNBLOCK_SOURCE): Likewise.
39529         (IP_BLOCK_SOURCE): Likewise.
39530         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39531         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39532         (IP_MSFILTER): Likewise.
39533         (MCAST_JOIN_GROUP): Likewise.
39534         (MCAST_BLOCK_SOURCE): Likewise.
39535         (MCAST_UNBLOCK_SOURCE): Likewise.
39536         (MCAST_LEAVE_GROUP): Likewise.
39537         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39538         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39539         (MCAST_MSFILTER): Likewise.
39540         (IP_MULTICAST_ALL): Likewise.
39541         (IP_UNICAST_IF): Likewise.
39543         * timezone/Makefile: Delete $(have-ksh) check.
39544         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39545         * timezone/tzselect.ksh: Add +x mode bits.
39547         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39548         (ANON_INODE_FS_MAGIC): Likewise.
39549         (BDEVFS_MAGIC): Likewise.
39550         (BINFMTFS_MAGIC): Likewise.
39551         (BTRFS_TEST_MAGIC): Likewise.
39552         (CRAMFS_MAGIC_WEND): Likewise.
39553         (DEBUGFS_MAGIC): Likewise.
39554         (ECRYPTFS_SUPER_MAGIC): Likewise.
39555         (EXT3_SUPER_MAGIC): Likewise.
39556         (EXT4_SUPER_MAGIC): Likewise.
39557         (FUTEXFS_SUPER_MAGIC): Likewise.
39558         (HOSTFS_SUPER_MAGIC): Likewise.
39559         (HUGETLBFS_MAGIC): Likewise.
39560         (MINIX3_SUPER_MAGIC): Likewise.
39561         (MTD_INODE_FS_MAGIC): Likewise.
39562         (NILFS_SUPER_MAGIC): Likewise.
39563         (OPENPROM_SUPER_MAGIC): Likewise.
39564         (PIPEFS_MAGIC): Likewise.
39565         (PSTOREFS_MAGIC): Likewise.
39566         (QNX6_SUPER_MAGIC): Likewise.
39567         (RAMFS_MAGIC): Likewise.
39568         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39569         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39570         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39571         (SECURITYFS_MAGIC): Likewise.
39572         (SELINUX_MAGIC): Likewise.
39573         (SMACK_MAGIC): Likewise.
39574         (SOCKFS_MAGIC): Likewise.
39575         (SQUASHFS_MAGIC): Likewise.
39576         (STACK_END_MAGIC): Likewise.
39577         (TMPFS_MAGIC): Likewise.
39578         (USBDEVICE_SUPER_MAGIC): Likewise.
39579         (V9FS_MAGIC): Likewise.
39580         (XENFS_SUPER_MAGIC): Likewise.
39581         (CRAMFS_MAGIC): Fix typo in comment.
39582         (EXT2_SUPER_MAGIC): Update comment.
39583         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39585 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39587         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39588         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39589         * sysdeps/unix/sysv/linux/arm: Move directory from
39590         ports/sysdeps/unix/sysv/linux/arm.
39591         * README: Update listing for arm-*-linux-gnueabi.
39593         * README: Remove mention of am33.
39595 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39597         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39598         than the comma operator, to avoid "rhs of comma has no effect"
39599         compiler warnings.
39600         (__sigfillset, __sigandset, __sigorset): Likewise.
39601         * include/signal.h (__sigemptyset): Likewise.
39602         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39604 2014-02-07  Allan McRae  <allan@archlinux.org>
39606         * version.h (RELEASE): Set to "development".
39607         (VERSION): Set to "2.19.90"
39608         * NEWS: Add 2.20 section.
39610 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39612         [BZ #16529]
39613         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39615 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39617         * manual/contrib.texi: Update entry for Carlos O'Donell,
39618         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39620 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39622         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39624         * sysdeps/unix/sysv/linux/kernel-features.h
39625         [__LINUX_KERNEL_VERSION >= 0x020621]
39626         (__ASSUME_PROC_PID_TASK_COMM): Define.
39628 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39630         [BZ #16398]
39631         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39632         conversion when destination buffer does not have enough space.
39633         * libio/tst-ftell-partial-wide.c: New test case.
39634         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39636         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39637         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39638         Leonard and Allan McRae.
39640 2014-02-04  David S. Miller  <davem@davemloft.net>
39642         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39643         32-bit.
39645 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39648         New file
39649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39650         New file
39651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39652         New file.
39653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39654         New file.
39655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39656         New file.
39657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39658         New file.
39659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39660         New file.
39661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39662         New file.
39663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39664         New file.
39665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39666         New file.
39667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39668         New file.
39669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39670         New file.
39671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39672         New file.
39674 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39676         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39677         * shlib-versions: Likewise.
39679 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39680             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39682         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39683         (abilist-pattern): New variable, set to %-le.abilist.
39685         * Makerules (abilist-pattern): New variable.
39686         (vpath): Use $(abilist-pattern) in place of %.abilist.
39687         (check-abi-% pattern rule): Likewise.
39688         (check-abi, update-abi): Likewise.
39690 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39694 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39696         * manual/startup.texi: Add next, previous, and top entries for
39697         the `Program Arguments' and `Environment Variables' nodes.
39699 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39701         * manual/macros.texi: Add comments before MTASC-safety macros.
39703         * manual/users.texi: Document MTASC-safety properties.
39705         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39706         (pthread_getspecific, pthread_setspecific): Format with
39707         @deftypefun, and add @safety note.
39708         * manual/signal.texi: Move comments that analyze the above
39709         functions to their home place.
39711 2014-02-03  Allan McRae  <allan@archlinux.org>
39713         * po/sl.po: Update Slovenian translation from translation project.
39715 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39717         * manual/time.texi (timegm): Add missing blank after @c.
39718         Reported by Joseph Myers <joseph@codesourcery.com>.
39720 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39722         * manual/check-safety.sh: New.
39723         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39725         * manual/terminal.texi: Document MTASC-safety properties.
39727         * manual/filesys.texi: Document MTASC-safety properties.
39729         * manual/errno.texi: Document MTASC-safety properties.
39731         * manual/intro.texi: Document safety identifiers and
39732         conditionals.
39734         * manual/string.texi (wcstok): Fix prototype.
39735         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39737         * manual/time.texi: Document MTASC-safety properties.
39739         * manual/string.texi: Document MTASC-safety properties.
39741         * manual/threads.texi: Document MTASC-safety properties.
39743         * manual/stdio.texi: Document MTASC-safety properties.
39745         * manual/syslog.texi: Document MTASC-safety properties.
39747         * manual/sysinfo.texi: Document MTASC-safety properties.
39749         * manual/startup.texi: Document MTASC-safety properties.
39751         * manual/socket.texi: Document MTASC-safety properties.
39753         * manual/signal.texi: Document MTASC-safety properties.
39755 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39757         * manual/setjmp.texi: Document MTASC-safety properties.
39759         * manual/search.texi: Document MTASC-safety properties.
39761         * manual/resource.texi: Document MTASC-safety properties.
39763         * manual/process.texi: Document MTASC-safety properties.
39765         * manual/platform.texi: Document MTASC-safety properties.
39767         * manual/pipe.texi: Document MTASC-safety properties.
39769         * manual/pattern.texi: Document MTASC-safety properties.
39771         * manual/message.texi: Document MTASC-safety properties.
39773         [BZ #12751]
39774         * manual/memory.texi: Document MTASC-safety properties.
39776         * manual/math.texi: Document MTASC-safety properties.
39778         * manual/locale.texi: Document MTASC-safety properties.
39780         * manual/llio.texi: Document MTASC-safety properties.
39782         * manual/libdl.texi: New.
39784         * manual/lang.texi: Document MTASC-safety properties.
39786         * manual/job.texi: Document MTASC-safety properties.
39788         * manual/getopt.texi: Document MTASC-safety properties.
39790         * manual/ctype.texi: Document MTASC-safety properties.
39792 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39794         [BZ #16046]
39795         * csu/libc-tls.c (static_map): Remove variable.
39796         (__libc_setup_tls): Use main executable's link map for TLS data.
39797         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39798         casing for LM_ID_BASE and GL(dl_nns).
39799         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39800         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39801         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39802         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39803         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39804         member.
39805         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39806         l_phnum members.
39808 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39810         * manual/debug.texi: Document MTASC-safety properties.
39812 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39814         [BZ #16510]
39815         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39816         of __x86_64__ when disabling x87 inline functions.
39818 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39820         * manual/charset.texi: Document MTASC-safety properties.
39822         * manual/crypt.texi: Document MTASC-safety properties.
39824         * manual/conf.texi: Document MTASC-safety properties.
39826         * manual/arith.texi: Document MTASC-safety properties.
39828         * manual/argp.texi: Document MTASC-safety properties.
39830         * manual/macros.texi: Introduce macros to document multi
39831         thread, asynchronous signal and asynchronous cancellation
39832         safety properties.
39833         * manual/intro.texi: Introduce the properties themselves.
39835 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39837         * sysdeps/sh/sh4/Makefile: New file.
39839 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39841         * math/gen-libm-test.pl ($srcdir): New variable.
39842         ($auto_input): Use it.
39844 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39846         [BZ #16506]
39847         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39848         access beyond array bounds when parsing netgroups file.
39850         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39851         the old buffer before realloc.
39853 2014-01-27  Allan McRae  <allan@archlinux.org>
39855         * po/fr.po: Update French translation from translation project.
39857 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39859         * sysdeps/sh/libm-test-ulps: Regenerate.
39861 2014-01-24  David S. Miller  <davem@davemloft.net>
39863         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39865 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39867         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39868         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39870 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39872         [BZ #16474]
39873         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39874         string pointers after reallocation.
39876 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39878         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39879         __SH4A__ instead of __SH_FPU_ANY__.
39881 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39883         * sysdeps/sh/fpu_control.h: New file.
39884         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39885         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39886         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39887         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39888         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39889         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39890         * sysdeps/sh/sys/ucontext.h: Remove.
39891         * sysdeps/sh/sys: Remove directory.
39893 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39895         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39896         s390/sys/ucontext.h.
39897         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39898         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39900 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39902         [BZ #15605]
39903         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39905 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39907         [BZ#16431]
39908         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39909         Adjust the vDSO correctly for internal calls.
39910         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39912 2014-01-20  Allan McRae  <allan@archlinux.org>
39914         * po/ca.po: Update Catalan translation from translation project.
39916 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39918         * sysdeps/s390/sotruss-lib.c: New file.
39920 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39922         [BZ#16430]
39923         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39924         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39925         local calls issues by not having a PLT stub required for IFUNC calls.
39926         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39928 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39930         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39931         * math/test-fpucw-static.c: Likewise.
39933 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39935         [BZ #16453]
39936         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39938 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39940         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39941         implementation for powerpc.
39943 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39945         [BZ #14782]
39946         * sysdeps/posix/system.c (__libc_system): Do not enable
39947         asynchronous cancellation.
39949 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39951         [BZ #16427]
39952         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39953         handling only for numbers special also in the IEEE case.
39955 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39957         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39959 2014-01-11  Allan McRae  <allan@archlinux.org>
39961         * po/bg.po: Update Bulgarian translation from translation project.
39963         * po/de.po: Update German translation from translation project.
39965 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39967         * sysdeps/generic/gcc-compat.h: New file.
39969 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39971         * benchtests/asin-inputs: Correct slow inputs.
39972         * benchtests/acos-inputs: Likewise.
39974 2014-01-10  Allan McRae  <allan@archlinux.org>
39976         * po:sv.po: Update Swedish translation from translation project.
39978         * po/vi.po: Update Vietnamese translation from translation project.
39980         * po/eo.po: Update Esperanto translation from translation project.
39982         * po/cs.po: Update Czech translation from translation project.
39984         * po/nl.po: Update Dutch translation from translation project.
39986         * po/pl.po: Update Polish translation from translation project.
39988         * po/ru.po: Update Russian translation from translation project.
39990         * po/uk.po: Update Ukrainian translation from translation project.
39992 2014-01-08  Brooks Moses  <bmoses@google.com>
39994         * elf/dl-load.c: Fix comment typo.
39996 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39998         * po/header.pot: Rename to...
39999         * po/pot.header: ... this.
40000         * po/Makefile: Use pot.header.
40002 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40003             Maxim Kuvyrkov  <maxim@kugelworks.com>
40005         [BZ #16394]
40006         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40007         SRC and DEST against LEN.
40009 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40011         [BZ #16414]
40012         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40013         implementation.
40014         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40016 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40020 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40022         [BZ #16408]
40023         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40024         for large positive arguments.
40026 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40028         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40030         * math/auto-libm-test-in: Mark various tests with
40031         xfail-rounding:ldbl-128ibm.
40032         * math/auto-libm-test-out: Regenerated.
40034         [BZ #16407]
40035         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40036         Increase overflow threshold.
40038 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40040         [BZ #14286]
40041         * stdio-common/vfprintf.c: Check for integer overflow.
40043 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40045         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40046         the first argument and return value of __tls_get_addr_internal.
40048 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40050         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40051         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40053 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40055         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40056         * sysdeps/s390/rtld-global-offsets.sym: New file.
40057         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40058         GLIBC_2.19 symbol.
40059         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40060         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40062         ... this.
40063         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40064         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40065         ... this.
40066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40067         Regenerate.
40068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40069         Regenerate.
40070         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40071         halfs of GPRs for high_gprs contexts.
40072         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40073         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40074         field.
40075         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40076         uc_flags field.
40077         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40078         64 bit versions:
40079         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40080         for high GPRs (uc_high_gprs) and for future extensions
40081         (__reserved).
40082         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40083         for future extensions (__reserved).
40084         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40085         64 bit versions:
40086         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40087         SC_HIGHGPRS offset definition.
40088         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40089         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40091         * Versions.def: Add GLIBC_2.19 for libpthread.
40092         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40093         siglongjmp for libpthread with GLIBC_2.19 symver.
40094         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40095         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40096         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40097         * sysdeps/s390/__longjmp.c: New file.
40098         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40099         * sysdeps/s390/longjmp.c: New file.
40100         * sysdeps/s390/setjmp.S: New file.
40101         * sysdeps/s390/sigjmp.S: New file.
40102         * sysdeps/s390/v1-longjmp.c: New file.
40103         * sysdeps/s390/v1-setjmp.h: New file.
40104         * sysdeps/s390/v1-sigjmp.c: New file.
40105         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40106         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40107         GLIBC_2.19 version.
40108         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40109         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40110         versioned symbols for ____longjmp_chk.
40111         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40112         Likewise.
40113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40114         Regenerate.
40115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40116         Regenerate.
40117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40118         Regenerate.
40119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40120         Regenerate.
40121         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40122         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40123         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40124         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40125         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40126         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40127         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40128         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40129         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40130         * sysdeps/s390/rtld-__longjmp.c: New file.
40131         * sysdeps/s390/rtld-setjmp.S: New file.
40133 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40135         [BZ #16400]
40136         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40137         Return -__logl (x) for small positive arguments without evaluating
40138         a polynomial.
40140 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40142         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40143         Rename to ...
40144         (__ptrace_peeksiginfo_args): ... this.
40145         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40146         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40147         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40149 2014-01-06  Allan McRae  <allan@archlinux.org>
40151         * inet/netinet/in.h: Fix typo in comment.
40153 2014-01-05  Andreas Jaeger  <aj@suse.de>
40155         * sysdeps/i386/fpu/libm-test-ulps: Update.
40157 2014-01-05  Allan McRae  <allan@archlinux.org>
40159         * po/libc.pot: Regenerated.
40161         * malloc/memusagestat.c: Fix gettext call formatting.
40163 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40165         * nscd/nscd.c: Improve usage() output.
40167 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40169         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40170         * sysdeps/unix/sysv/linux/configure: Regenerated.
40171         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40172         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40174 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40176         [BZ #16390]
40177         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40178         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40180 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40182         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40183         extra tokens at end of #undef directive.
40184         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40185         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40186         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40188 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40190         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40192         * math/auto-libm-test-in: Mark various tests with
40193         xfail-rounding:ldbl-128ibm.
40194         * math/auto-libm-test-out: Regenerated.
40196 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40198         [BZ #16386]
40199         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40200         numbers with subnormal high part when calculating exponent.
40202         [BZ #16385]
40203         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40204         fabs.
40206         [BZ #16384]
40207         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40208         M_LN2l.
40209         (__ieee754_acoshl): Use __log1pl not __log1p.
40211 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40213         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40214         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40215         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40216         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40217         (reused_arena, arena_get2): Convert to GNU style.
40218         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40219         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40220         (memalign_check, __malloc_set_state): Likewise.
40221         * malloc/mallocbug.c (main): Likewise.
40222         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40223         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40224         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40225         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40226         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40227         (__posix_memalign, malloc_info): Likewise.
40228         * malloc/malloc.h: Likewise.
40229         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40230         (mallochook, memalignhook, reallochook, mabort): Likewise.
40231         * malloc/mcheck.h: Likewise.
40232         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40233         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40234         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40235         * malloc/morecore.c (__default_morecore): Likewise.
40236         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40237         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40238         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40239         (print_and_abort): Likewise.
40240         * malloc/obstack.h: Likewise.
40241         * malloc/set-freeres.c (__libc_freeres): Likewise.
40242         * malloc/tst-mallocstate.c (main): Likewise.
40243         * malloc/tst-mtrace.c (main): Likewise.
40244         * malloc/tst-realloc.c (do_test): Likewise.
40246 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40248         [BZ #16366]
40249         * nscd/netgroupcache.c (do_notfound): New function.
40250         (addgetnetgrentX): Use it.
40252         [BZ # 16365]
40253         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40254         NSS_STATUS_NOTFOUND.
40256 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40258         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40261 2014-01-01  Allan McRae  <allan@archlinux.org>
40263         * scripts/update-copyrights: Update configure input file suffix.
40265         * NEWS: Update copyright year.
40266         * catgets/gencat.c: Likewise.
40267         * csu/version.c: Likewise.
40268         * debug/catchsegv.sh: Likewise.
40269         * debug/pcprofiledump.c: Likewise.
40270         * debug/xtrace.sh: Likewise.
40271         * elf/ldconfig.c: Likewise.
40272         * elf/ldd.bash.in: Likewise.
40273         * elf/pldd.c: Likewise.
40274         * elf/sotruss.ksh: Likewise.
40275         * elf/sprof.c: Likewise.
40276         * iconv/iconv_prog.c: Likewise.
40277         * iconv/iconvconfig.c: Likewise.
40278         * locale/programs/locale.c: Likewise.
40279         * locale/programs/localedef.c: Likewise.
40280         * login/programs/pt_chown.c: Likewise.
40281         * malloc/memusage.sh: Likewise.
40282         * malloc/memusagestat.c: Likewise.
40283         * malloc/mtrace.pl: Likewise.
40284         * manual/libc.texinfo: Likewise.
40285         * nscd/nscd.c: Likewise.
40286         * nss/getent.c: Likewise.
40287         * nss/makedb.c: Likewise.
40288         * posix/getconf.c: Likewise.
40289         * scripts/test-installation.pl: Likewise.
40291         * All files with FSF copyright notices: Update copyright dates
40292         using scripts/update-copyrights.
40293         * intl/plural.c: Regenerated.
40294         * locale/programs/charmap-kw.h: Likewise.
40295         * locale/programs/locfile-kw.h: Likewise.
40297 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40299         * sysdeps/unix/sysv/linux/configure: Regenerated.
40300         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40301         the linux/fanotify.h header.
40302         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40303         HAVE_LINUX_FANOTIFY_H is defined.
40305 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40307         * benchtests/cos-inputs: New inputs.
40308         * benchtests/sin-inputs: Likewise.
40310         * benchtests/atan-inputs: New inputs. Fix name of multiple
40311         precision fallback inputs.
40313         * benchtests/atanh-inputs: New inputs.
40314         * benchtests/tanh-inputs: Likewise.
40316         * benchtests/acosh-inputs: New inputs.
40317         * benchtests/asinh-inputs: Likewise.
40319         * benchtests/cosh-inputs: New inputs.
40320         * benchtests/sinh-inputs: Likewise.
40322         * benchtests/acos-inputs: Add more inputs.
40323         * benchtests/asin-inputs: Likewise.
40325 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40327         [BZ #16375]
40328         * manual/arith.texi: Fix spelling.
40329         * manual/charset.texi: Likewise.
40330         * manual/errno.texi: Likewise.
40331         * manual/filesys.texi: Likewise.
40332         * manual/lang.texi: Likewise.
40333         * manual/llio.texi: Likewise.
40334         * manual/locale.texi: Likewise.
40335         * manual/message.texi: Likewise.
40336         * manual/resource.texi: Likewise.
40337         * manual/search.texi: Likewise.
40338         * manual/setjmp.texi: Likewise.
40339         * manual/stdio.texi: Likewise.
40340         * manual/string.texi: Likewise.
40341         * manual/sysinfo.texi: Likewise.
40342         * manual/time.texi: Likewise.
40344 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40346         * po/sl.po: New file.
40348 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40350         * .gitignore: Add core/.gdbinit/.gdb_history.
40352 2013-12-27  Allan McRae  <allan@archlinux.org>
40354         [BZ #16369]
40355         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40356         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40358 2013-12-24  Brooks Moses  <bmoses@google.com>
40360         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40361         all compilers that claim C++98 compliance, not just GCC.
40362         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40363         Likewise.
40365 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40367         * NEWS: Restore accidentally deleted bug-fix entries.
40369 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40370             Ondřej Bílka  <neleai@seznam.cz>
40372         [BZ #15073]
40373         * malloc/malloc.c (_int_free): Perform sanity check only if we
40374         have_lock.
40376 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40378         [BZ #12986]
40379         * manual/stdio.texi (String Input Conversions): Clarify that character
40380         classes are not supported.
40382 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40386 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40388         [BZ #16337]
40389         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40390         Calculate results for small negative arguments directly rather
40391         than using reflection formula with special underflow handling.
40393         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40394         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40395         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40396         (fchflags): Likewise.
40397         (revoke): Likewise.
40398         (setlogin): Likewise.
40399         (sigaltstack): Likewise.
40400         (wait4): Likewise.
40401         (sigblock): Remove.
40402         (sigsetmask): Likewise.
40403         (wait3): Likewise.
40404         (waitpid): Likewise.
40405         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40406         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40407         file.
40408         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40409         * sysdeps/unix/bsd/Makefile: ... here.
40410         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40411         * sysdeps/unix/bsd/Versions: ... here.
40412         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40413         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40414         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40415         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40416         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40417         * sysdeps/unix/bsd/sigblock.c: ... here.
40418         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40419         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40420         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40421         * sysdeps/unix/bsd/sigvec.c: ... here.
40422         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40423         * sysdeps/unix/bsd/tcdrain.c: ... here.
40424         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40425         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40426         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40427         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40428         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40429         * sysdeps/unix/bsd/wait.c: ... here.
40430         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40431         * sysdeps/unix/bsd/wait3.c: ... here.
40432         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40433         * sysdeps/unix/bsd/waitpid.c: ... here.
40435 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40437         [BZ #16356]
40438         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40439         round-to-nearest for [!USE_AS_EXPM1L].
40440         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40441         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40442         more tests of exp and exp10.  Expect some exp10 tests to miss
40443         exceptions or fail in directed rounding modes.
40444         * math/auto-libm-test-out: Regenerated.
40445         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40446         (exp10_test_tonearest): New function.
40447         (exp10_towardzero_test_data): New array.
40448         (exp10_test_towardzero): New function.
40449         (exp10_downward_test_data): New array.
40450         (exp10_test_downward): New function.
40451         (exp10_upward_test_data): New array.
40452         (exp10_test_upward): New function.
40453         (main): Call the new functions.
40454         * sysdeps/i386/fpu/libm-test-ulps: Update.
40455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40457 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40459         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40460         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40461         * math/auto-libm-test-out: Regenerated.
40462         * math/libm-test.inc (acosh_test_data): Add more tests.
40463         (atanh_test_data): Likewise.
40464         (ceil_test_data): Likewise.
40465         (copysign_test_data): Likewise.
40466         * sysdeps/i386/fpu/libm-test-ulps: Update.
40467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40469         * timezone/checktab.awk: Update from tzcode 2013i.
40470         * timezone/private.h: Likewise.
40471         * timezone/scheck.c: Likewise.
40472         * timezone/tzfile.h: Likewise.
40473         * timezone/tzselect.ksh: Likewise.
40474         * timezone/zdump.c: Likewise.
40475         * timezone/zic.c: Likewise.
40477         * math/auto-libm-test-in: Add tests of cpow.
40478         * math/auto-libm-test-out: Regenerated.
40479         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40480         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40481         mpc_cc_c.
40482         (func_calc_desc): Add mpc_cc_c union field.
40483         (test_functions): Add cpow.
40484         (special_fill_2pi): New function.
40485         (special_real_inputs): Add 2pi.
40486         (calc_generic_results): Handle mpc_cc_c.
40487         * sysdeps/i386/fpu/libm-test-ulps: Update.
40488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40490         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40491         csqrt, ctan and ctanh.
40492         * math/auto-libm-test-out: Regenerated.
40493         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40494         (TEST_COND_x86): Likewise.
40495         (ccos_test_data): Use AUTO_TESTS_c_c.
40496         (ccosh_test_data): Likewise.
40497         (cexp_test_data): Likewise.
40498         (clog_test_data): Likewise.
40499         (csqrt_test_data): Likewise.
40500         (ctan_test_data): Likewise.
40501         (ctan_tonearest_test_data): Likewise.
40502         (ctan_towardzero_test_data): Likewise.
40503         (ctan_downward_test_data): Likewise.
40504         (ctan_upward_test_data): Likewise.
40505         (ctanh_test_data): Likewise.
40506         (ctanh_tonearest_test_data): Likewise.
40507         (ctanh_towardzero_test_data): Likewise.
40508         (ctanh_downward_test_data): Likewise.
40509         (ctanh_upward_test_data): Likewise.
40510         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40511         mpc_c_c.
40512         (func_calc_desc): Add mpc_c_c union field.
40513         (FUNC_mpc_c_c): New macro.
40514         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40515         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40516         ctanh.
40517         (special_fill_min_subnorm_p120): New function.
40518         (special_real_inputs): Add min_subnorm_p120.
40519         (calc_generic_results): Handle mpc_c_c.
40520         * sysdeps/i386/fpu/libm-test-ulps: Update.
40521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40523 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40525         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40526         (do_sin_slow): New functions.
40527         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40528         (cslow2, csloww1, csloww2): Use the new functions.
40530         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40531         Use M to change sign of result instead of X.  Assume X is
40532         positive.
40533         (csloww1): Likewise.
40534         (__sin): Adjust.
40535         (__cos): Adjust.
40537         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40538         arguments A and DA.
40539         (__sin): Adjust.
40540         (__cos): Likewise.
40542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40543         (__cos): Likewise.
40544         (sloww1): Don't adjust sign of DX.
40545         (csloww1): Likewise.
40546         (sloww2): Use X directly and don't adjust sign of DX.
40547         (csloww2): Likewise.
40549 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40551         * math/auto-libm-test-in: Add tests of cabs and carg.
40552         * math/auto-libm-test-out: Regenerated.
40553         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40554         (carg_test_data): Likewise.
40555         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40556         mpc_c_f.
40557         (func_calc_desc): Add mpc_c_f union field.
40558         (test_functions): Add cabs and carg.
40559         (calc_generic_results): Handle mpc_c_f.
40561         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40562         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40563         as a macro and a compat symbol.
40564         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40565         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40566         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40567         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40568         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40569         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40570         not use .hidden.
40571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40572         Likewise.
40573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40574         Likewise.
40575         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40576         Likewise.
40577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40578         Likewise.
40579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40580         Likewise.
40581         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40582         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40583         from GLIBC_2.3.2.
40585 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40589 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40591         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40592         trailing whitespace removed.
40593         * scripts/config.guess: Update to version 2013-11-29.
40594         * scripts/config.sub: Update to version 2013-10-01.
40596         * math/auto-libm-test-in: Add tests of sincos.
40597         * math/auto-libm-test-out: Regenerated.
40598         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40599         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40600         mpfr_f_11.
40601         (func_calc_desc): Add mpfr_f_11 union field.
40602         (test_functions): Add sincos.
40603         (calc_generic_results): Handle mpfr_f_11.
40604         * sysdeps/i386/fpu/libm-test-ulps: Update.
40605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40607 2013-12-19  Andreas Schwab  <schwab@suse.de>
40609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40610         CALL_MCOUNT.
40611         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40612         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40613         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40615 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40617         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40618         * sysdeps/i386/fpu/libm-test-ulps: Update.
40619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40621         [BZ #16293]
40622         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40623         round-to-nearest mode when using frndint.
40624         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40625         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40626         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40627         Likewise.
40628         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40629         sinh test to fail.
40630         * math/auto-libm-test-out: Regenerated.
40631         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40632         (TEST_COND_x86): Likewise.
40633         (expm1_tonearest_test_data): New array.
40634         (expm1_test_tonearest): New function.
40635         (expm1_towardzero_test_data): New array.
40636         (expm1_test_towardzero): New function.
40637         (expm1_downward_test_data): New array.
40638         (expm1_test_downward): New function.
40639         (expm1_upward_test_data): New array.
40640         (expm1_test_upward): New function.
40641         (main): Run the new test functions.
40642         * sysdeps/i386/fpu/libm-test-ulps: Update.
40643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40645         * include/features.h: Update comment documenting feature test
40646         macros.  Mention _DEFAULT_SOURCE in comment.
40647         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40648         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40649         _BSD_SOURCE and _SVID_SOURCE.
40650         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40651         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40652         !_SVID_SOURCE]: Likewise.
40653         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40654         (__USE_POSIX_IMPLICITLY): Define.
40655         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40656         (_POSIX_SOURCE): Undefine and redefine.
40657         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40658         (_POSIX_C_SOURCE): Likewise.
40659         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40660         (Feature Test Macros): Update documentation of default features.
40662 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40664         * benchtests/Makefile: Add bench-strtok.
40665         * benchtests/bench-strtok.c: New file: strtok benchtest.
40667 2013-12-19  Allan McRae  <allan@archlinux.org>
40669         * manual/install.texi: Suppress menu for plain text output.
40670         * INSTALL: Regenerated.
40672 2013-12-18  Brooks Moses  <bmoses@google.com>
40674         [BZ #15846]
40675         * misc/getauxval.c: Include errno.h.
40676         (__getauxval): Set errno to ENOENT if the requested type is not
40677         found.
40678         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40679         don't declare with __attribute_const__.
40680         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40681         * manual/startup.texi: Document that getauxval sets errno.
40683 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40685         * math/auto-libm-test-in: Add tests of jn and yn.
40686         * math/auto-libm-test-out: Regenerated.
40687         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40688         (yn_test_data): Likewise.
40689         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40690         mpfr_if_f.
40691         (func_calc_desc): Add mpfr_if_f union field.
40692         (FUNC_mpfr_if_f): New macro.
40693         (test_functions): Add jn and yn.
40694         (calc_generic_results): Assert type of second input for
40695         mpfr_ff_f.  Handle mpfr_if_f.
40696         (output_for_one_input_case): Disable all checking for arguments
40697         fitting floating-point types in case of an integer argument.
40698         * sysdeps/i386/fpu/libm-test-ulps: Update.
40699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40702         Don't expect fegetround reference in libm.so.
40704 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40706         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40707         $(config-cflags-nofma).
40709 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40711         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40712         * math/auto-libm-test-out: Regenerated.
40714         [BZ #16338]
40715         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40716         to determine exponent and adjust argument to have exponent of -1.
40717         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40718         log2.
40719         * math/auto-libm-test-out: Regenerated.
40720         * sysdeps/i386/fpu/libm-test-ulps: Update.
40721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40723 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40725         * manual/probes.texi: Remove cases when per-thread arenas are
40726         disabled.
40728 2013-12-18  Andreas Schwab  <schwab@suse.de>
40730         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40731         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40732         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40733         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40734         * sysdeps/i386/i686/multiarch/Makefile: Update.
40735         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40737 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40739         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40740         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40742 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40744         [BZ #15968]
40745         Support TZ transition times < 00:00:00.
40746         This is needed for version-3 tz-format files; it supports time
40747         stamps past 2037 for America/Godthab (the only entry in the tz
40748         database for which this change is relevant).
40749         * manual/time.texi (TZ Variable): Document transition times
40750         from -167:59:59 through -00:00:01.
40751         * time/tzset.c (tz_rule): Time of day is now signed.
40752         (__tzset_parse_tz): Parse negative time of day.
40754         Document TZ transition times >= 25:00:00.
40755         * manual/time.texi (TZ Variable): Document transition times from
40756         25:00:00 through 167:59:59.  These are already supported, and this
40757         support will help with version-3 tz-format files.
40759         * manual/time.texi (TZ Variable): Modernize North America example
40760         to reflect current (i.e., 2007-and-later) daylight saving rules.
40762         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40764 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40766         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40767         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40768         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40769         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40770         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40771         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40772         * sysdeps/unix/bsd/clock.c: Likewise.
40773         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40774         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40775         * sysdeps/unix/bsd/init-posix.c: Likewise.
40776         * sysdeps/unix/bsd/poll.c: Likewise.
40777         * sysdeps/unix/bsd/ptsname.c: Likewise.
40778         * sysdeps/unix/bsd/seekdir.c: Likewise.
40779         * sysdeps/unix/bsd/setegid.c: Likewise.
40780         * sysdeps/unix/bsd/seteuid.c: Likewise.
40781         * sysdeps/unix/bsd/setgid.c: Likewise.
40782         * sysdeps/unix/bsd/setrgid.c: Likewise.
40783         * sysdeps/unix/bsd/setruid.c: Likewise.
40784         * sysdeps/unix/bsd/setsid.c: Likewise.
40785         * sysdeps/unix/bsd/setuid.c: Likewise.
40786         * sysdeps/unix/bsd/sigaction.c: Likewise.
40787         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40788         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40789         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40790         * sysdeps/unix/bsd/telldir.c: Likewise.
40791         * sysdeps/unix/bsd/times.c: Likewise.
40792         * sysdeps/unix/bsd/usleep.c: Likewise.
40794         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40795         ($(objpfx)libbsd-compat.a): Remove rule.
40797         * include/features.h (__FAVOR_BSD): Do not define.
40798         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40799         features conflicting with POSIX.
40800         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40801         (_BSD_SOURCE): Remove description of not being a subset of other
40802         feature test macros.
40803         * manual/job.texi (getpgrp): Do not document BSD version.
40804         (getpgid): Do not document by reference to BSD getpgrp.
40805         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40806         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40807         * signal/signal.h [__FAVOR_BSD]: Likewise.
40808         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40809         instead of making contents conditional on [__FAVOR_BSD].
40810         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40812 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40816 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40818         [BZ #16314]
40819         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40820         values below 2**-450, not 2**-500.
40821         * math/auto-libm-test-in: Don't allow spurious underflow from
40822         hypot.
40823         * math/auto-libm-test-out: Regenerated.
40825         [BZ #16316]
40826         [BZ #16330]
40827         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40828         values of ha and hb and sort them after adjusting subnormal
40829         arguments.
40830         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40831         Likewise.
40832         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40833         values of ea and eb and sort them after adjusting subnormal
40834         arguments.
40835         * math/auto-libm-test-in: Do not expect some hypot tests of
40836         subnormals to fail.  Add more hypot tests.
40837         * math/auto-libm-test-out: Regenerated.
40839 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40841         [BZ #13304]
40842         * sysdeps/sh/s_fma.c: New file.
40843         * sysdeps/sh/s_fmaf.c: New file.
40844         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40845         version.
40846         * sysdeps/sh/Implies: Add sh/soft-fp.
40848 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40850         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40851         level of indirection to members `objname', `errstring', `malloced'.
40852         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40853         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40854         it as the __longjmp argument (just pass 1 instead).
40855         (_dl_catch_error): Initialize C with argument pointers and address of
40856         volatile local ERRCODE rather than copying values out of C at return.
40858 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40860         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40861         * math/auto-libm-test-out: Regenerated.
40862         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40863         (hypot_test_data): Likewise.
40864         (pow_test_data): Likewise.
40865         (pow_tonearest_test_data): Likewise.
40866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40867         mpfr_ff_f.
40868         (func_calc_desc): Add mpfr_ff_f union field.
40869         (FUNC_mpfr_ff_f): New macro.
40870         (test_functions): Add atan2, hypot and pow.
40871         (special_fill_min): New function.
40872         (special_fill_minus_min): Likewise.
40873         (special_fill_min_subnorm): Likewise.
40874         (special_fill_minus_min_subnorm): Likewise.
40875         (special_real_inputs): Add min, -min, min_subnorm and
40876         -min_subnorm.
40877         (calc_generic_results): Handle mpfr_ff_f.
40878         * sysdeps/i386/fpu/libm-test-ulps: Update.
40879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40881 2013-12-16  Will Newton  <will.newton@linaro.org>
40883         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40884         (Aligned Memory Blocks): Add documentation for aligned_alloc
40885         and suggest it as an alternative to posix_memalign.
40886         (Hooks for Malloc): Document __memalign_hook is also called
40887         for aligned_alloc.  (Summary of Malloc): Add summary for
40888         aligned alloc.  Document __memalign_hook is also called
40889         for aligned_alloc.
40891 2013-12-16  Will Newton  <will.newton@linaro.org>
40893         * manual/memory.texi (Malloc Examples): Clarify default
40894         alignment documentation.  Suggest posix_memalign rather
40895         than memalign or valloc.
40896         (Aligned Memory Blocks): Remove suggestion to use memalign
40897         or valloc.  Remove obsolete comment about BSD.
40898         Document memalign errno values and mark the function obsolete.
40899         Document posix_memalign returned error codes.  Mark valloc
40900         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40901         called for posix_memalign and valloc.
40902         (Summary of Malloc): Add posix_memalign to function summary.
40903         __memalign_hook is also called for posix_memalign and valloc.
40905 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40907         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40908         TAYLOR_SIN.
40909         (__sin): Adjust.
40910         (__cos): Likewise.
40911         (sloww): Use mynumber union.  Expand ternary operator into
40912         if-else statements.
40913         (cslow): use mynumber union.
40915 2013-12-16  Allan McRae  <allan@archlinux.org>
40917         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40918         * configure: Regenerated.
40920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40922         [BZ #14120]
40923         * configure.ac: Added --enable-maintainer-mode. Check for
40924         autoconf when enabled.
40925         * configure: Regenerated.
40927         * nscd/nscd.service: New file.
40928         * nscd/nscd.tmpfiles: New file.
40930 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40932         [BZ #12100]
40933         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40934         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40935         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40936         (strstr): Add __strstr_sse2_unaligned ifunc.
40937         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40938         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40939         (strcasestr): Remove __strcasestr_sse42 ifunc.
40940         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40944 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40946         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40947         * sysdeps/sh/bits/fenv.h: ... here.
40948         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40950 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40952         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40955         hypotf multiarch implementations.
40956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40957         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40959         multiarch hypot for PPC64.
40960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40963         multiarch hypotf for PPC64.
40965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40966         modff multiarch implementations.
40967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40970         multiarch modf for PPC64.
40971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40974         multiarch modff for PPC64.
40976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40977         and logl multiarch implementations.
40978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40981         multiarch logb for PPC64.
40982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40985         multiarch logb for PPC64.
40986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40989         multiarch logb for PPC64.
40991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40992         isinff multiarch implementation.
40993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40994         file.
40995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40997         multiarch isinf for PPC64.
40998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40999         file.
41000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41001         multiarch isinff for PPC64.
41003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41004         finitef multiarch implementation.
41005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41006         file.
41007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41009         multiarch finite for PPC64.
41010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41011         file.
41012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41013         multiarch finitef for PPC64.
41015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41016         lrint multiarch implementation.
41017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41018         file.
41019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41021         multiarch llrint for PPC64.
41022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41023         multiarch lrint for PPC64.
41025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41026         copysignf multiarch implementation.
41027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41028         file.
41029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41030         file.
41031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41032         multiarch copysign for PPC64.
41033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41034         multiarch copysignf for PPC64.
41036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41037         multiarch implementation.
41038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41039         file.
41040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41041         file.
41042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41043         file.
41044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41045         file.
41046         multiarch llround for PPC64.
41047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41048         multiarch trunc for PPC64.
41049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41050         multiarch truncf for PPC64.
41052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41053         multiarch implementation.
41054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41055         file.
41056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41057         file.
41058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41059         file.
41060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41061         file.
41062         multiarch llround for PPC64.
41063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41064         multiarch round for PPC64.
41065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41066         multiarch roundf for PPC64.
41068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41069         multiarch implementation.
41070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41071         file.
41072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41073         file.
41074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41075         file.
41076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41077         file.
41078         multiarch llround for PPC64.
41079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41080         multiarch floor for PPC64.
41081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41082         multiarch floorf for PPC64.
41084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41085         multiarch implementation.
41086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41087         file.
41088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41089         file.
41090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41091         file.
41092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41093         file.
41094         multiarch llround for PPC64.
41095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41096         multiarch ceil for PPC64.
41097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41098         multiarch ceilf for PPC64.
41100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41101         multiarch implementation.
41102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41103         file.
41104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41105         file.
41106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41107         file.
41108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41109         multiarch llround for PPC64.
41110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41111         multiarch lround for PPC64.
41113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41114         multiarch implementation.
41115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41118         file.
41119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41122         multiarch isnan for PPC64.
41123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41124         multiarch isnanf for PPC64.
41126         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41127         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41128         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41129         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41130         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41133         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41134         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41135         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41139         multiarch implementations.
41140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41141         (__libc_ifunc_impl_list): Likewise.
41142         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41143         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41145         multiarch stpcpy for PPC64.
41147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41148         multiarch implementations.
41149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41150         (__libc_ifunc_impl_list): Likewise.
41151         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41152         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41153         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41154         multiarch strcpy for PPC64.
41156         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41157         redefine function name.
41158         (_wordcopy_fwd_dest_aligned): Likewise.
41159         (_wordcopy_bwd_aligned): Likewise.
41160         (_wordcopy_bwd_dest_aligned): Likewise.
41161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41162         multiarch implementations.
41163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41164         (__libc_ifunc_impl_list): Likewise.
41165         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41166         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41168         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41169         multiarch wcscpy for PPC64.
41171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41172         multiarch implementations.
41173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41174         (__libc_ifunc_impl_list): Likewise.
41175         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41176         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41177         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41178         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41179         multiarch wcscpy for PPC64.
41181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41182         multiarch implementations.
41183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41184         (__libc_ifunc_impl_list): Likewise.
41185         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41186         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41187         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41188         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41189         multiarch wcsrchr for PPC64.
41191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41192         multiarch implementations.
41193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41194         (__libc_ifunc_impl_list): Likewise.
41195         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41196         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41197         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41198         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41199         multiarch wcschr for PPC64.
41201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41202         multiarch implementations.
41203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41204         (__libc_ifunc_impl_list): Likewise.
41205         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41206         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41207         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41208         multiarch strchrnul for PPC64.
41210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41211         implementations.
41212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41213         (__libc_ifunc_impl_list): Likewise.
41214         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41215         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41216         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41217         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41218         strchr for PPC64.
41220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41221         implementations.
41222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41223         (__libc_ifunc_impl_list): Likewise.
41224         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41225         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41226         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41227         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41228         strncmp for PPC64.
41230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41231         multiarch implementations.
41232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41233         (__libc_ifunc_impl_list): Likewise.
41234         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41235         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41236         strncasecmp for PPC64.
41237         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41238         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41239         multiarch strncasecmp_l for PPC64.
41241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41242         multiarch implementations.
41243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41244         (__libc_ifunc_impl_list): Likewise.
41245         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41246         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41247         multiarch strcasecmp for PPC64.
41248         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41249         file.
41250         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41251         multiarch strcasecmp_l for PPC64.
41253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41254         implementations.
41255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41256         (__libc_ifunc_impl_list): Likewise.
41257         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41258         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41259         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41260         strnlen for PPC64.
41262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41263         implementations.
41264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41265         (__libc_ifunc_impl_list): Likewise.
41266         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41267         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41268         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41269         strlen for PPC64.
41271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41272         implementations.
41273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41274         (__libc_ifunc_impl_list): Likewise.
41275         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41276         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41277         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41278         rawmemrchr for PPC64.
41280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41281         implementation.
41282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41283         (__libc_ifunc_impl_list): Likewise.
41284         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41285         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41286         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41287         memrchr for PPC64.
41289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41290         implementation.
41291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41292         (__libc_ifunc_impl_list): Likewise.
41293         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41294         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41295         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41296         memchr for PPC64.
41298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41299         implementation.
41300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41301         (__libc_ifunc_impl_list): Likewise.
41302         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41303         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41304         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41305         mempcpy for PPC64.
41307         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41308         avoid cretion of __bzero symbol.
41309         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41310         Likewise.
41311         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41312         Likewise.
41313         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41314         Likewise.
41315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41316         multiarch implementations.
41317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41318         (__libc_ifunc_impl_list): Likewise.
41319         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41320         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41321         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41322         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41323         bzero for PPC32.
41324         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41325         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41326         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41327         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41328         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41329         memset for PPC64.
41330         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41332         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41334         implementations.
41335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41336         (__libc_ifunc_impl_list): Likewise.
41337         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41338         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41339         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41340         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41341         memcmp for PPC64.
41343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41344         multiarch for POWER/PPC64.
41345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41346         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41347         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41348         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41349         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41353         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41354         memcpy for PPC64.
41356         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41357         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41358         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41359         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41360         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41361         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41362         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41363         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41364         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41365         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41366         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41367         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41368         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41369         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41370         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41379 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41381         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41383 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41385         * benchtests/Makefile (bench): Add exp2 and log2.
41386         (LDLIBS-bench-exp2): Add -lm.
41387         (LDLIBS-bench-log2): Likewise.
41388         * benchtests/exp2-inputs: New inputs file.
41389         * benchtests/log2-inputs: New inputs file.
41390         * benchtests/log-inputs: Add new inputs.
41391         * benchtests/tan-inputs: Likewise.
41393 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41395         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41396         definition...
41397         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41398         (csloww2): ... from here.
41400         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41401         instead of structures.
41402         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41403         (POLYNOMIAL): Likewise.
41404         (TAYLOR_SLOW): Likewise.
41405         (__sin): Likewise.
41406         (__cos): Likewise.
41407         (slow1): Likewise.
41408         (slow2): Likewise.
41409         (sloww): Likewise.
41410         (sloww1); Likewise.
41411         (sloww2): Likewise.
41412         (bsloww1): Likewise.
41413         (bsloww2): Likewise.
41414         (cslow2): Likewise.
41415         (csloww): Likewise.
41416         (csloww1): Likewise.
41417         (csloww2): Likewise.
41419 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41421         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41422         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41423         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41424         * malloc/hooks.c (realloc_check): Likewise.
41426         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41427         * malloc/arena.c: Remove PER_THREAD conditional.
41428         [!PER_THREAD]: Remove code.
41429         (ptmalloc_unlock_all2): Likewise.
41430         (ptmalloc_init): Likewise.
41431         (_int_new_arena): Likewise.
41432         (arena_get2): Likewise.
41433         * malloc/hooks.c (__malloc_get_state): Likewise.
41434         (__malloc_set_state): Likewise.
41435         * malloc/malloc.c: Likewise.
41436         (struct malloc_state): Likewise.
41437         (struct malloc_par): Likewise.
41438         (__libc_realloc): Likewise.
41439         (__libc_mallopt): Likewise.
41441 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41443         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41445 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41447         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41448         macro to a function.  Check for zero perturb_byte.
41449         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41451         * malloc/malloc.c: (force_reg): Remove.
41452         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41453         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41454         force_reg by atomic_forced_read.
41455         * malloc/arena.c (ptmalloc_init): Likewise.
41456         * malloc/hooks.c (top_check): Likewise.
41458 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41462 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41466 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41468         * math/auto-libm-test-in: Add tests of lgamma.
41469         * math/auto-libm-test-out: Regenerated.
41470         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41471         (M_LOG_2_SQRT_PIl): Likewise.
41472         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41474         mpfr_f_f1.
41475         (func_calc_desc): Add mpfr_f_f1 union field.
41476         (ARGS1): New macro.
41477         (ARGS2): Likewise.
41478         (ARGS3): Likewise.
41479         (ARGS4): Likewise.
41480         (RET1): Likewise.
41481         (RET2): Likewise.
41482         (CALC): Likewise.
41483         (FUNC): Likewise.
41484         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41485         (test_functions): Add lgamma.
41486         (calc_generic_results): Handle mpfr_f_f1.
41487         * sysdeps/i386/fpu/libm-test-ulps: Update.
41488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41490 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41492         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41493         __mpn_add_n for PowerPC64/POWER7.
41494         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41495         __mpn_sub_n for PowerPC64/POWER7.
41497         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41498         __mpn_addmul_1 for PowerPC64.
41499         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41500         __mpn_submul_1 for PowerPC64.
41501         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41502         for PowerPC64.
41503         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41504         for PowerPC64.
41506 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41508         [BZ #15089]
41509         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41511 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41513         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41515         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41516         add multiarch folders.
41517         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41518         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41519         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41520         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41521         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41522         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41523         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41524         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41525         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41526         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41527         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41536         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41538         New file.
41539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41540         New file.
41541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41542         multiarch __ieee754_hypot for PowerPC32.
41543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41544         New file.
41545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41546         New file.
41547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41548         multiarch __ieee754_hypotf for PowerPC32.
41550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41551         long_double_symbol only if __logbl is defined.
41552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41553         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41555         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41556         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41557         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41558         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41559         path for implementation.
41560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41561         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41563         logb, and logbl multiarch implementations for PowerPC32.
41564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41565         file.
41566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41567         file.
41568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41569         multiarch logb for PowerPC32.
41570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41571         file.
41572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41573         file.
41574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41575         multiarch logbf for PowerPC32.
41576         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41578         file.
41579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41580         multiarch logbl implementation for PowerPC32.
41582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41583         and modff multiarch implementations.
41584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41585         New file.
41586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41587         New file.
41588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41589         multiarch modf for PowerPC32.
41590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41591         New file.
41592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41593         New file.
41594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41595         multiarch modff for PowerPC32.
41597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41598         and lrintf multiarch implementations.
41599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41600         New file.
41601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41602         New file.
41603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41604         multiarch lrint for PowerPC32.
41605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41606         file: multiarch lrintf for PowerPC32.
41608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41609         and lroundf multiarch implementations.
41610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41611         New file.
41612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41613         New file.
41614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41615         New file.
41616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41617         multiarch lround for PowerPC32.
41618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41619         file: multiarch lroundf for PowerPC32.
41621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41622         copysign and copysignf multiarch implementations.
41623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41624         New file.
41625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41626         New file.
41627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41628         file: multiarch copysign for PowerPC32.
41629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41630         file: multiarch copysignf for PowerPC32.
41632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41633         and truncf multiarch implementations.
41634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41635         New file.
41636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41637         file.
41638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41639         multiarch trunc for PowerPC32.
41640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41641         New file.
41642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41643         New file.
41644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41645         multiarch truncf for PowerPC32.
41647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41648         and roundf multiarch implementations.
41649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41650         New file.
41651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41652         file.
41653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41654         multiarch round for PowerPC32.
41655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41656         New file.
41657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41658         New file.
41659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41660         multiarch roundf for PowerPC32.
41662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41663         and floorf multiarch implementations.
41664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41665         New file.
41666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41667         file.
41668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41669         multiarch floor for PowerPC32.
41670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41671         New file.
41672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41673         New file.
41674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41675         multiarch floorf for PowerPC32.
41677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41678         and ceilf multiarch implementations.
41679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41680         New file.
41681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41682         file.
41683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41684         multiarch ceil for PowerPC32.
41685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41686         New file.
41687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41688         file.
41689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41690         multiarch ceilf for PowerPC32.
41692         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41693         is defined.
41694         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41695         FINITEF is defined.
41696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41697         and finitef multiarch implementations.
41698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41699         New file.
41700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41701         file.
41702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41703         multiarch finite for PowerPC32.
41704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41705         New file.
41706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41707         file: multiarch finitef for PowerPC32.
41709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41710         and isinff multiarch implementations.
41711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41712         file.
41713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41714         file.
41715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41716         multiarch isinf for PowerPC32.
41717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41718         New file.
41719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41720         multiarch isinff for PowerPC32.
41722         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41723         alias when __isnan is defined.
41724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41725         and isnanf multiarch implementations.
41726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41727         file.
41728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41729         file.
41730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41731         file.
41732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41733         file.
41734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41735         multiarch isnan for PowerPC32.
41736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41737         New file.
41738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41739         New file.
41740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41741         multiarch isnanf for PowerPC32.
41743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41744         and sqrtf multiarch implementations.
41745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41746         file.
41747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41748         file.
41749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41750         multiarch sqrt for PowerPC32.
41751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41752         file.
41753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41754         file.
41755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41756         multiarch sqrtf for PowerPC32.
41758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41759         and llroundf multiarch implementations.
41760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41761         New file.
41762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41763         New file.
41764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41765         New file.
41766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41767         file: multiarch llround for PowerPC32.
41768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41769         file: multiarch llroundf for PowerPC32.
41771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41772         multiarch PowerPC32 fpu implementations.
41773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41774         New file.
41775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41776         New file.
41777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41778         multiarch llrint for PowerPC32.
41779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41780         New file.
41781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41782         New file.
41783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41784         file.
41786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41789         file.
41790         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41791         file.
41792         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41793         file.
41794         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41795         multiarch wordcopy for PPC32.
41796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41797         wordcopy objects.
41798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41799         (__libc_ifunc_impl_list): Likewise.
41800         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41801         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41802         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41803         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41804         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41805         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41807         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41809         file.
41810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41811         file.
41812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41813         file.
41814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41815         multiarch wcscpy for PPC32.
41816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41817         multiarch objects.
41818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41819         (__libc_ifunc_impl_list): Likewise.
41820         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41821         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41822         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41823         sysdeps/powerpc/power6/wcscpy.c.
41825         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41827         file.
41828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41829         file.
41830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41831         file.
41832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41833         multiarch wcsrchr for PPC32.
41834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41835         multiarch objects.
41836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41837         (__libc_ifunc_impl_list): Likewise.
41838         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41839         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41840         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41841         sysdeps/powerpc/power6/wcsrchr.c.
41843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41844         file.
41845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41846         file.
41847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41849         multiarch wcschr for PPc32.
41850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41851         multiarch objects.
41852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41853         (__libc_ifunc_impl_list): Likewise.
41854         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41855         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41856         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41857         sysdeps/powerpc/power6/wcschr.c.
41859         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41860         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41861         file.
41862         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41863         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41864         file: multiarch strchr for PPC32.
41865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41866         multiarch objects.
41867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41868         (__libc_ifunc_impl_list): Likewise.
41870         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41871         name.
41872         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41873         file.
41874         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41875         file.
41876         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41877         multiarch strchrnul for PPC32.
41878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41879         multiarch objects.
41880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41881         (__libc_ifunc_impl_list): Likewise.
41883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41884         file.
41885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41886         multiarch strncasecmp for PPC32.
41887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41888         file.
41889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41890         multiarch strncasecmp_l for PPC32.
41891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41892         strncasecmp multiarch objects.
41893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41894         (__libc_ifunc_impl_list): Likewise.
41896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41897         file.
41898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41899         multiarch strncasecmp for PPC32.
41900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41901         New file.
41902         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41903         multiarch strcasecmp_l for PPC32.
41904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41905         multiarch objects.
41906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41907         (__libc_ifunc_impl_list): Likewise.
41909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41910         file.
41911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41912         file.
41913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41914         multiarch strncmp for PPC32.
41915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41916         multiarch objects.
41917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41918         (__libc_ifunc_impl_list): Likewise.
41920         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41921         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41922         file.
41923         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41924         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41926         multiarch objects.
41927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41928         (__libc_ifunc_impl_list): Likewise.
41930         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41931         file.
41932         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41933         file.
41934         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41936         multiarch objects.
41937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41938         (__libc_ifunc_impl_list): Likewise.
41940         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41941         file.
41942         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41943         file.
41944         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41945         multiarch rawmemchr for PPC32.
41946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41947         multiarch objects.
41948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41949         (__libc_ifunc_impl_list): Likewise.
41951         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41952         file.
41953         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41954         file.
41955         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41956         file: memrchr multiarch for PPC32.
41957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41958         multiarch objects.
41959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41960         (__libc_ifunc_impl_list): Likewise.
41962         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41963         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41964         file.
41965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41966         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41967         multiarch memchr for PPC32.
41968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41969         multiarch objects.
41970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41971         (__libc_ifunc_impl_list): Likewise.
41973         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41974         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41975         file.
41976         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41977         file.
41978         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41979         file: multiarch mempcpy for PPC32.
41980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41981         multiarch objects.
41982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41983         (__libc_ifunc_impl_list): Likewise.
41985         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41986         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41987         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41988         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41989         multiarch bzero for PPC32.
41990         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41991         file.
41992         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41993         file.
41994         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41995         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41996         file: multiarch memset for PPC32.
41997         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41999         memset multiarch objects.
42000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42001         (__libc_ifunc_impl_list): Likewise.
42003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42004         file.
42005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42006         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42007         memcmp for PPC32.
42008         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42010         multiarch objects.
42011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42012         (__libc_ifunc_impl_list): Likewise.
42014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42017         file.
42018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42019         file.
42020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42021         file.
42022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42023         multiarch memcpy for PPC32.
42024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42025         multiarch objects.
42026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42027         (__libc_ifunc_impl_list): Likewise.
42029         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42030         support multiarch for POWER/PPC32.
42031         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42032         Likewise.
42033         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42035         Implies file to make multiarch folder appers before the fpu and
42036         default folder for power4 configuration.
42038 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42040         * scripts/bench.pl: Append volatile keyword to type.
42042 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42044         * sysdeps/sh/sotruss-lib.c: New file.
42045         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42047 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42051 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42053         [BZ #6810]
42054         * math/w_tgamma.c: Include <errno.h>.
42055         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42056         * math/w_tgammaf.c: Include <errno.h>.
42057         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42058         * math/w_tgammal.c: Include <errno.h>.
42059         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42060         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42061         underflow.  Add more tgamma tests.
42062         * math/auto-libm-test-out: Regenerated.
42063         * sysdeps/i386/fpu/libm-test-ulps: Update.
42064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42066         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42067         sin, sinh, tan, tanh, tgamma, y0 and y1.
42068         * math/auto-libm-test-out: Regenerated.
42069         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42070         (TEST_COND_x86): Likewise.
42071         (M_E2l): Remove macro.
42072         (M_E3l): Likewise.
42073         (M_2_SQRT_PIl): Likewise.
42074         (M_SQRT_PIl): Likewise.
42075         (M_1_DIV_El): Likewise.
42076         (log_test_data): Use AUTO_TESTS_f_f.
42077         (log10_test_data): Likewise.
42078         (log1p_test_data): Likewise.
42079         (log2_test_data): Likewise.
42080         (sin_test_data): Likewise.
42081         (sin_tonearest_test_data): Likewise.
42082         (sin_towardzero_test_data): Likewise.
42083         (sin_downward_test_data): Likewise.
42084         (sin_upward_test_data): Likewise.
42085         (sinh_test_data): Likewise.
42086         (sinh_tonearest_test_data): Likewise.
42087         (sinh_towardzero_test_data): Likewise.
42088         (sinh_downward_test_data): Likewise.
42089         (sinh_upward_test_data): Likewise.
42090         (tan_test_data): Likewise.
42091         (tan_tonearest_test_data): Likewise.
42092         (tan_towardzero_test_data): Likewise.
42093         (tan_downward_test_data): Likewise.
42094         (tan_upward_test_data): Likewise.
42095         (tanh_test_data): Likewise.
42096         (tgamma_test_data): Likewise.
42097         (y0_test_data): Likewise.
42098         (y1_test_data): Likewise.
42099         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42100         (special_real_inputs): Add pi/4.
42101         * sysdeps/i386/fpu/libm-test-ulps: Update.
42102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42104 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42106         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42107         "longjmp_target" static probes.
42108         (__longjmp): Rename to __longjmp_symbol.
42109         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42110         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42111         on which longjmp to generate.
42112         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42113         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42114         probe.
42115         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42116         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42117         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42118         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42119         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42120         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42122         __longjmp_symbol based on which __longjmp to generate.
42123         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42124         probe.
42125         (setjmp): Rename to setjmp_symbol.
42126         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42127         (_setjmp): Rename to _setjmp_symbol.
42128         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42129         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42130         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42131         which setjmp to generate.
42132         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42133         "longjmp_target" static probes.
42135 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42137         * benchtests/README: Add note about output arguments.
42138         * benchtests/bench-sincos.c: Remove file.
42139         * benchtests/sincos-inputs: New file.
42140         * scripts/bench.pl: Identify output arguments and define
42141         static variables for them.
42143         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42145         [BZ #15941]
42146         * Makefile (INSTALL): Add install-plain.texi as the primary
42147         dependency.
42148         * manual/install-plain.texi: New file.
42149         * manual/install.texi: Include node directive only for
42150         non-plaintext output.
42152 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42154         * stdlib/longlong.h: Update from GCC.
42156         [BZ #6807]
42157         [BZ #15901]
42158         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42159         * math/w_j0f.c (y0f): Likewise.
42160         * math/w_j0l.c (__y0l): Likewise.
42161         * math/w_j1.c (y1): Likewise.
42162         * math/w_j1f.c (y1f): Likewise.
42163         * math/w_j1l.c (__y1l): Likewise.
42164         * math/w_jn.c (yn): Likewise.
42165         * math/w_jnf.c (ynf): Likewise.
42166         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42167         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42168         value for Bessel function domain errors outside _SVID_ mode.
42169         Adjust sign of return value for yn (negative integer, 0).
42170         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42171         by zero in return for negative x and set sign appropriately for
42172         negative n.
42173         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42174         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42175         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42176         expectations in error cases.
42177         (y1_test_data): Likewise.
42178         (yn_test_data): Likewise.
42179         * sysdeps/i386/fpu/libm-test-ulps: Update.
42180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42182 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42184         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42185         "64" to "64-v1".  Add "64-v2".
42186         (abi-64-options): Rename to ...
42187         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42188         (abi-64-condition): Rename to ...
42189         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42190         (abi-64-ld-soname): Rename to ...
42191         (abi-64-v1-ld-soname): ... this.
42192         (abi-64-v2-options): Define.
42193         (abi-64-v2-condition): Likewise.
42194         (abi-64-v2-ld-soname): Likewise.
42195         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42196         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42201 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42202             Alan Modra  <amodra@gmail.com>
42204         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42205         New versions for use with the ELFv2 ABI.
42206         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42207         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42208         declaration.
42209         (struct La_ppc64v2_retval): Likewise.
42210         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42211         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42212         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42213         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42214         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42215         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42216         Do not save or restore CR.
42217         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42218         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42219         return values for ELFv2 ABI.  Fix location of FPR return registers.
42220         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42221         updated values for _CALL_ELF == 2.
42222         (La_regs, La_retval, int_retval): Likewise.
42224 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42226         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42227         (FRAME_MIN_SIZE_PARM): Likewise.
42228         (FRAME_BACKCHAIN): Likewise.
42229         (FRAME_CR_SAVE): Likewise.
42230         (FRAME_LR_SAVE): Likewise.
42231         (FRAME_TOC_SAVE): Likewise.
42232         (FRAME_PARM_SAVE): Likewise.
42233         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42234         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42235         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42236         (call_mcount_parm_offset): New macro.
42237         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42238         (PROF): Use symbolic stack frame offsets.
42239         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42240         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42241         Redefine in terms of FRAME_MIN_SIZE.
42242         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42243         (_dl_profile_resolve): Likewise.  Update comment.
42244         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42245         symbols stack frame offsets.
42246         (__sigsetjmp): Likewise.
42247         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42248         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42249         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42250         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42253         (FRAME_BACKCHAIN): Remove.
42254         (FRAME_CR_SAVE): Likewise.
42255         (FRAME_LR_SAVE): Likewise.
42256         (FRAME_COMPILER_DW): Likewise.
42257         (FRAME_LINKER_DW): Likewise.
42258         (FRAME_TOC_SAVE): Likewise.
42259         (FRAME_PARM_SAVE): Likewise.
42260         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42261         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42262         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42264         (CHECK_SP): Use symbolic stack frame offsets.
42265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42266         zone" instead of caller's parameter save area for temp storage.
42267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42268         Likewise.  Also, use symbolic stack frame offsets.
42269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42270         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42271         our own stack frame instead of the caller's.
42272         (__socket): Use symbolic stack frame offsets.
42274 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42275             Alan Modra  <amodra@gmail.com>
42277         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42278         Define.
42279         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42280         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42281         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42282         New function.
42283         (elf_machine_fixup_plt): Call it.
42284         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42285         reloc arguments.
42286         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42287         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42288         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42289         r2 before calling target.
42291 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42292             Alan Modra  <amodra@gmail.com>
42294         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42295         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42296         versions of macros to support ELFv2 ABI.
42297         (LOCALENTRY): New macro.
42298         (ENTRY, EALIGN): Use it.
42299         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42300         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42301         fall through into ENTRY entry point.
42302         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42303         Only define if _CALL_ELF != 2.
42305         (elf_machine_matches_host): Verify ABI version matches.
42306         (RTLD_START): Use LOCALENTRY.
42307         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42308         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42309         (PLT_ENTRY_WORDS): New macro.
42310         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42311         (elf_machine_runtime_setup): Support ELFv2 ABI.
42312         (elf_machine_fixup_plt): Likewise.
42313         (elf_machine_plt_conflict): Likewise.
42314         (resolve_ifunc): Likewise.
42315         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42317         Likewise.
42318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42319         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42321         (makecontext): Support ELFv2 ABI.
42322         * elf/elf.h (EF_PPC64_ABI): Define.
42324 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42326         * sysdeps/powerpc/powerpc64/sysdep.h
42327         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42328         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42329         (ENTRY) [ASSEMBLER]: ... but instead here ...
42330         (EALIGN) [ASSEMBLER]: ... and here.
42331         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42332         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42333         (ENTRY_2) [!ASSEMBLER]: Use it.
42334         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42335         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42336         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42337         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42338         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42340         Use PPC64_LOAD_FUNCPTR.
42342         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42344 2013-12-04  Alan Modra  <amodra@gmail.com>
42346         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42347         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42348         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42349         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42351         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42352         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42353         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42354         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42355         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42356         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42358 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42361         (__makecontext): Fix incorrect CFI when backtracing out of
42362         context created via makecontext.
42363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42364         (__setcontext): Fix incorrect CFI during switch to new context.
42365         (__novec_setcontext): Likewise.
42367 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42369         [BZ #4772]
42370         * time/strptime_l.c (__strptime_internal): Allow modifiers
42371         in strptime.
42372         * time/tst-strptime.c (day_tests): Add testcase.
42374 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42376         * scripts/bench.pl: Skip over blank lines.
42378 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42380         [BZ #926]
42381         * manual/time.texi (Calendar Time): Clarify what timezone functions
42382         use.
42384 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42388 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42390         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42391         implementation.
42392         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42393         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42394         * debug/memset_chk.c (__memset_chk): Likewise.
42395         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42396         * debug/strncpy_chk.c: Likewise.
42398 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42400         [BZ #15268]
42401         [BZ #15425]
42402         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42403         (__ieee754_exp): For possibly underflowing results, check size of
42404         result and force underflow exception if required.
42405         * math/auto-libm-test-in: Add more tests of exp.
42406         * math/auto-libm-test-out: Regenerated.
42407         * sysdeps/i386/fpu/libm-test-ulps: Update.
42408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42410         [BZ #16283]
42411         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42412         * math/w_exp2f.c (__exp2f): Likewise.
42413         * math/w_exp2l.c (__exp2l): Likewise.
42414         * math/auto-libm-test-in: Do not allow missing errno on exp2
42415         underflow.
42416         * math/auto-libm-test-out: Regenerated.
42418 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42420         [BZ #16274]
42421         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42422         handle filename validation.
42423         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42424         (do_open): Delete.
42426 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42428         [BZ #6786]
42429         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42430         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42431         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42432         <float.h>.
42433         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42434         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42435         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42436         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42437         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42438         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42439         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42440         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42441         Add more erfc tests.
42442         * math/auto-libm-test-out: Regenerated.
42443         * sysdeps/i386/fpu/libm-test-ulps: Update.
42444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42446         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42447         exp2, expm1, j0 and j1.
42448         * math/auto-libm-test-out: Regenerated.
42449         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42450         (erfc_test_data): Likewise.
42451         (exp_test_data): Likewise.
42452         (exp_tonearest_test_data): Likewise.
42453         (exp_towardzero_test_data): Likewise.
42454         (exp_downward_test_data): Likewise.
42455         (exp_upward_test_data): Likewise.
42456         (exp10_test_data): Likewise.
42457         (exp2_test_data): Likewise.
42458         (expm1_test_data): Likewise.
42459         (j0_test_data): Likewise.
42460         (j1_test_data): Likewise.
42461         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42462         (input_flag_type): Add flag_xfail_rounding.
42463         (input_flags): Add xfail-rounding.
42464         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42465         (output_for_one_input_case): Handle flag_xfail_rounding.
42466         * sysdeps/i386/fpu/libm-test-ulps: Update.
42467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42469 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42471         [BZ #16289]
42472         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42473         division by 0.
42475 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42477         [BZ #16195]
42478         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42479         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42480         (STAP_PROBE0): New macro.
42481         (STAP_PROBE1): Likewise.
42482         (STAP_PROBE2): Likewise.
42483         (STAP_PROBE3): Likewise.
42484         (STAP_PROBE4): Likewise.
42486 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42488         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42490 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42492         * benchtests/Makefile (bench): Add sqrt.
42493         (LDLIBS-bench-sqrt): New.
42494         * benchtests/sqrt-input: New.
42496 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42498         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42499         (GAIH_EAI): Likewise.
42500         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42501         (gaih_inet): Likewise.
42502         (getaddrinfo): Don't use GAIH_EAI.
42504         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42505         (struct gaih): Remove definition.
42507 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42509         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42510         Use HERRNOP directly.
42512 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42516 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42518         * math/gen-auto-libm-tests.c (test_functions): Add more
42519         single-argument functions.
42520         (special_fill_pi_2): New function.
42521         (special_fill_minus_pi_2): Likewise.
42522         (special_fill_pi_6): Likewise.
42523         (special_fill_minus_pi_6): Likewise.
42524         (special_fill_pi_3): Likewise.
42525         (special_fill_2pi_3): Likewise.
42526         (special_fill_e): Likewise.
42527         (special_fill_1_e): Likewise.
42528         (special_fill_e_minus_1): Likewise.
42529         (special_real_inputs): Add more special inputs.
42530         (output_for_one_input_case): Do not require ERANGE on underflow to
42531         zero if round-to-nearest result does not underflow to zero, unless
42532         exact results required.
42533         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42534         atan, atanh, cbrt, cos and cosh.
42535         * math/auto-libm-test-out: Regenerated.
42536         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42537         (acos_tonearest_test_data): Likewise.
42538         (acos_towardzero_test_data): Likewise.
42539         (acos_downward_test_data): Likewise.
42540         (acos_upward_test_data): Likewise.
42541         (acosh_test_data): Likewise.
42542         (asin_test_data): Likewise.
42543         (asin_tonearest_test_data): Likewise.
42544         (asin_towardzero_test_data): Likewise.
42545         (asin_upward_test_data): Likewise.
42546         (asinh_test_data): Likewise.
42547         (atan_test_data): Likewise.
42548         (atanh_test_data): Likewise.
42549         (cbrt_test_data): Likewise.
42550         (cos_test_data): Likewise.
42551         (cos_tonearest_test_data): Likewise.
42552         (cos_towardzero_test_data): Likewise.
42553         (cos_downward_test_data): Likewise.
42554         (cos_upward_test_data): Likewise.
42555         (cosh_test_data): Likewise.
42556         (cosh_tonearest_test_data): Likewise.
42557         (cosh_towardzero_test_data): Likewise.
42558         (cosh_downward_test_data): Likewise.
42559         (cosh_upward_test_data): Likewise.
42560         * sysdeps/i386/fpu/libm-test-ulps: Update.
42561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42563 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42565         [BZ #6787]
42566         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42567         * math/w_exp10f.c (__exp10f): Likewise.
42568         * math/w_exp10l.c (__exp10l): Likewise.
42569         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42570         errno settings in existing tests.
42572         [BZ #14032]
42573         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42574         precision control set to double precision.
42575         * sysdeps/i386/fpu/w_sqrt.c: New file.
42576         * math/auto-libm-test-in: Add more tests.
42577         * math/auto-libm-test-out: Update.
42579         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42580         (sqrt_test_tonearest): New function.
42581         (sqrt_towardzero_test_data): New variable.
42582         (sqrt_test_towardzero): New function.
42583         (sqrt_downward_test_data): New variable.
42584         (sqrt_test_downward): New function.
42585         (sqrt_upward_test_data): New variable.
42586         (sqrt_test_upward): New function.
42587         (main): Call the new functions.
42589         * math/gen-auto-libm-tests.c: New file.
42590         * math/auto-libm-test-in: Likewise.
42591         * math/auto-libm-test-out: New generated file.
42592         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42593         variables.
42594         (%beautify): Add generated representations of zero.
42595         (top level): Set $auto_input and call parse_auto_input.
42596         (beautify): Remove trailing "f" from hex float constants.
42597         (parse_args): Handle XFAIL_TEST.
42598         (convert_condition): New function.
42599         (or_value): Likewise.
42600         (or_cond_value): Likewise.
42601         (generate_testfile): Handle AUTO_TESTS_* lines.
42602         (parse_auto_input): New function.
42603         * math/libm-test.inc (XFAIL_TEST): New macro.
42604         (ERRNO_UNCHANGED): Update value.
42605         (ERRNO_EDOM): Likewise.
42606         (ERRNO_ERANGE): Likewise.
42607         (IGNORE_RESULT): Likewise.
42608         (TEST_COND_flt_32): New macro.
42609         (TEST_COND_dbl_64): Likewise.
42610         (TEST_COND_ldbl_96_intel): Likewise.
42611         (TEST_COND_ldbl_96_m68k): Likewise.
42612         (TEST_COND_ldbl_128): Likewise.
42613         (TEST_COND_ldbl_128ibm): Likewise.
42614         (TEST_COND_long32): Likewise.
42615         (TEST_COND_long64): Likewise.
42616         (TEST_COND_before_rounding): Likewise.
42617         (TEST_COND_after_rounding): Likewise.
42618         (enable_test): Handle XFAIL_TEST flag.
42619         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42620         with finite results.
42621         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42622         auto-libm-test-out.
42624 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42625             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42627         [BZ #16214]
42628         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42629         __tls_get_addr_internal instead of __tls_get_offset in order to
42630         avoid GOT pointer dependency.  Make rtld export
42631         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42632         __tls_get_addr since we are a __tls_get_offset platform.
42633         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42634         GOT pointer being set up before.
42635         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42637 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42639         * manual/math.texi (Errors in Math Functions): Document accuracy
42640         goals.
42642         [BZ #15004]
42643         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42644         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42645         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42646         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42647         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42648         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42649         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42650         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42651         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42652         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42653         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42654         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42655         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42656         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42657         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42658         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42660         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42661         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42662         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42663         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42664         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42665         Likewise.
42666         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42667         Likewise.
42668         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42669         Likewise.
42670         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42671         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42672         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42673         atomic-feupdateenv and flt-rounds.
42674         * sysdeps/powerpc/nofpu/Versions (libc): Add
42675         __atomic_feholdexcept, __atomic_feclearexcept,
42676         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42677         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42678         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42679         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42680         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42681         here.
42682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42683         Update.
42685         * manual/arith.texi (FP Exceptions): Document that exceptions may
42686         not be raised when matherr is used.
42687         (Math Error Reporting): Document overflow in directed rounding
42688         modes.  Document that errno may not be set when finite values are
42689         returned on overflow.  Document intent to set errno on underflow
42690         only for underflow to zero.
42692         [BZ #16271]
42693         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42694         round-to-nearest then adjust result for other rounding modes.
42695         * include/fenv.h (fegetround): Use libm_hidden_proto.
42696         * math/fegetround.c (fegetround): Use libm_hidden_def.
42697         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42698         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42699         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42700         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42701         Likewise.
42702         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42703         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42704         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42705         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42707 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42709         [BZ #16077]
42710         * nss/Versions (libnss_files): Add
42711         _nss_files_gethostbyname3_r.
42712         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42713         New function.
42714         (HOST_DB_LOOKUP): Remove macro.
42715         (_nss_files_gethostbyname_r): Implement function without the
42716         HOST_DB_LOOKUP macro.
42717         (_nss_files_gethostbyname2_r): Likewise.
42719 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42721         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42723 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42725         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42726         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42727         warning.
42729 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42731         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42732         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42733         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42734         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42735         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42736         __fe_nomask_env_priv and attribute_hidden.
42737         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42738         (libc_feupdateenv_test_ppc): Likewise.
42739         (libc_feresetround_ppc): Likewise.
42740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42741         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42742         compat_symbol macro.
42743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42744         (__fe_nomask_env): Likewise.
42745         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42747 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42749         * string/Makefile: Remove ifunc tests.
42750         * string/test-string.h: Define TEST_IFUNC.
42751         * string/test-bcopy-ifunc.c: Remove.
42752         * string/test-bzero-ifunc.c: Likewise.
42753         * string/test-memccpy-ifunc.c: Likewise.
42754         * string/test-memchr-ifunc.c: Likewise.
42755         * string/test-memcmp-ifunc.c: Likewise.
42756         * string/test-memcpy-ifunc.c: Likewise.
42757         * string/test-memmem-ifunc.c: Likewise.
42758         * string/test-memmove-ifunc.c: Likewise.
42759         * string/test-mempcpy-ifunc.c: Likewise.
42760         * string/test-memrchr-ifunc.c: Likewise.
42761         * string/test-memset-ifunc.c: Likewise.
42762         * string/test-rawmemchr-ifunc.c: Likewise.
42763         * string/test-stpcpy-ifunc.c: Likewise.
42764         * string/test-stpncpy-ifunc.c: Likewise.
42765         * string/test-strcasecmp-ifunc.c: Likewise.
42766         * string/test-strcasestr-ifunc.c: Likewise.
42767         * string/test-strcat-ifunc.c: Likewise.
42768         * string/test-strchr-ifunc.c: Likewise.
42769         * string/test-strchrnul-ifunc.c: Likewise.
42770         * string/test-strcmp-ifunc.c: Likewise.
42771         * string/test-strcpy-ifunc.c: Likewise.
42772         * string/test-strcspn-ifunc.c: Likewise.
42773         * string/test-strlen-ifunc.c: Likewise.
42774         * string/test-strncasecmp-ifunc.c: Likewise.
42775         * string/test-strncat-ifunc.c: Likewise.
42776         * string/test-strncmp-ifunc.c: Likewise.
42777         * string/test-strncpy-ifunc.c: Likewise.
42778         * string/test-strnlen-ifunc.c: Likewise.
42779         * string/test-strpbrk-ifunc.c: Likewise.
42780         * string/test-strrchr-ifunc.c: Likewise.
42781         * string/test-strspn-ifunc.c: Likewise.
42782         * string/test-strstr-ifunc.c: Likewise.
42784 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42786         * benchtests/Makefile: Remove ifunc tests.
42787         * benchtests/bench-string.h: Define TEST_IFUNC.
42788         * benchtests/bench-bcopy-ifunc.c: Remove.
42789         * benchtests/bench-bzero-ifunc.c: Likewise.
42790         * benchtests/bench-memccpy-ifunc.c: Likewise.
42791         * benchtests/bench-memchr-ifunc.c: Likewise.
42792         * benchtests/bench-memcmp-ifunc.c: Likewise.
42793         * benchtests/bench-memcpy-ifunc.c: Likewise.
42794         * benchtests/bench-memmem-ifunc.c: Likewise.
42795         * benchtests/bench-memmove-ifunc.c: Likewise.
42796         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42797         * benchtests/bench-memrchr-ifunc.c: Likewise.
42798         * benchtests/bench-memset-ifunc.c: Likewise.
42799         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42800         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42801         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42802         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42803         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42804         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42805         * benchtests/bench-strcat-ifunc.c: Likewise.
42806         * benchtests/bench-strchr-ifunc.c: Likewise.
42807         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42808         * benchtests/bench-strcmp-ifunc.c: Likewise.
42809         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42810         * benchtests/bench-strcpy-ifunc.c: Likewise.
42811         * benchtests/bench-strcspn-ifunc.c: Likewise.
42812         * benchtests/bench-strlen-ifunc.c: Likewise.
42813         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42814         * benchtests/bench-strncat-ifunc.c: Likewise.
42815         * benchtests/bench-strncmp-ifunc.c: Likewise.
42816         * benchtests/bench-strncpy-ifunc.c: Likewise.
42817         * benchtests/bench-strnlen-ifunc.c: Likewise.
42818         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42819         * benchtests/bench-strrchr-ifunc.c: Likewise.
42820         * benchtests/bench-strsep-ifunc.c: Likewise.
42821         * benchtests/bench-strspn-ifunc.c: Likewise.
42822         * benchtests/bench-strstr-ifunc.c: Likewise.
42824 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42826         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42828 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42830         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42831         * rt/aio.h: Likewise.
42832         * sysdeps/gnu/bits/utmp.h: Likewise.
42833         * sysdeps/gnu/bits/utmpx.h: Likewise.
42834         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42835         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42836         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42837         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42838         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42839         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42840         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42841         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42842         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42843         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42844         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42845         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42846         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42848         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42849         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42850         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42851         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42852         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42853         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42854         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42855         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42856         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42857         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42858         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42859         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42860         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42861         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42862         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42863         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42864         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42865         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42866         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42867         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42868         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42869         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42870         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42871         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42872         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42873         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42874         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42875         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42877 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42879         [BZ #16245]
42880         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42881         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42883 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42885         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42886         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42887         Likewise.
42889 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42891         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42892         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42893         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42894         (__fesetround): Remove define.
42895         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42896         rounding and exceptions handling.
42897         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42898         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42899         (__fe_nomask_env): Likewise.
42900         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42901         __fegetround instead of fegetround.
42902         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42903         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42905 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42907         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42908         it's there.
42910         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42912 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42914         [BZ #11157]
42915         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42916         (encrypt_r): Likewise.
42917         * malloc/obstack.h (obstack_free): Likewise.
42918         * posix/unistd.h (encrypt): Likewise.
42920 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42922         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42923         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42924         DL_CALL_DT_FINI() that call the functions directly.
42925         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42926         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42927         * elf/dl-fini.c: Likewise.
42929 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42931         * malloc/hooks.c (memalign_check): Add alignment rounding.
42932         * malloc/malloc.c (_mid_memalign): New function.
42933         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42934         Implement by calling _mid_memalign.
42935         * manual/probes.texi (Memory Allocation Probes): Remove
42936         memory_valloc_retry and memory_pvalloc_retry.
42938 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42940         * locale/programs/locarchive.c (open_archive): Add const
42941         qualifier to ARCHIVEFNAME and copy default fname to
42942         DEFAULT_FNAME.
42944         [BZ #15601]
42945         * libio/tst-widetext.input: Rename Oriya to Odia.
42946         * locale/iso-639.def: Likewise.
42948         * manual/probes.texi (Mathematical Function Probes): Add
42949         documentation for sin, cos, asin and acos probes.
42950         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42951         (__sin32): Add slowasin probe.
42952         (__cos32): Add slowacos probe.
42953         (__mpsin): Add slowsin probe.
42954         (__mpcos): Add slowcos probe.
42956 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42958         [BZ #15483]
42959         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42960         thread-local __sim_exceptions_thread and global
42961         __sim_exceptions_global.
42962         (__sim_disabled_exceptions): Change to thread-local
42963         __sim_disabled_exceptions_thread and global
42964         __sim_disabled_exceptions_global.
42965         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42966         and global __sim_round_mode_global.
42967         (__simulate_exceptions): Use thread-local floating-point state and
42968         set global state from it as needed.
42969         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42970         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42971         __sim_round_mode_thread.
42972         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42973         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42974         and global __sim_exceptions_global.
42975         (__sim_disabled_exceptions): Change to thread-local
42976         __sim_disabled_exceptions_thread and global
42977         __sim_disabled_exceptions_global.
42978         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42979         and global __sim_round_mode_global.
42980         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42981         (SIM_SET_GLOBAL): Likewise.
42982         * sysdeps/powerpc/soft-fp/sfp-machine.h
42983         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42984         __sim_round_mode_thread.
42985         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42986         __sim_disabled_exceptions_thread.
42987         (__sim_exceptions): Change to __sim_exceptions_thread.
42988         (__sim_disabled_exceptions): Change to
42989         __sim_disabled_exceptions_thread.
42990         (__sim_round_mode): Change to __sim_round_mode_thread.
42991         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42992         thread-local floating-point state and set global state from it as
42993         needed.
42994         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42995         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42996         (__sim_disabled_exceptions): Remove extern declaration.
42997         (feenableexcept): Use thread-local floating-point state and set
42998         global state from it as needed.
42999         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43000         extern declaration.
43001         (__sim_disabled_exceptions): Likewise.
43002         (__sim_round_mode): Likewise.
43003         (__fegetenv): Use thread-local floating-point state.
43004         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43005         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43006         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43007         floating-point state and set global state from it as needed.
43008         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43009         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43010         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43011         Likewise.
43012         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43013         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43014         Likewise.
43015         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43016         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43017         Use __sim_round_mode_thread.
43018         * math/test-fenv-tls.c: New file.
43019         * math/Makefile (tests): Add test-fenv-tls.
43020         ($(objpfx)test-fenv-tls): Depend on
43021         $(common-objpfx)nptl/libpthread.so.
43023 2013-11-19  Andreas Schwab  <schwab@suse.de>
43025         * locale/programs/locale.c (show_info): Decode wordarray elements.
43026         * locale/categories.def (LC_MONETARY): Add element for
43027         _NL_MONETARY_CRNCYSTR.
43028         * locale/C-monetary.c (conversion_rate): New variable.
43029         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43030         element.
43032 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43034         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43035         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43037 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43039         * elf/Makefile (tst-auxv): New test.
43040         * elf/tst-auxv.c: New
43041         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43043 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43045         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43046         (hidden_proto): Caller changed.
43047         (hidden_tls_proto): New macro.
43048         (libc_hidden_tls_proto): Likewise.
43049         (rtld_hidden_tls_proto): Likewise.
43050         (libm_hidden_tls_proto): Likewise.
43051         (libresolv_hidden_tls_proto): Likewise.
43052         (librt_hidden_tls_proto): Likewise.
43053         (libdl_hidden_tls_proto): Likewise.
43054         (libnss_files_hidden_tls_proto): Likewise.
43055         (libnsl_hidden_tls_proto): Likewise.
43056         (libnss_nisplus_hidden_tls_proto): Likewise.
43057         (libutil_hidden_tls_proto): Likewise.
43059 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43061         [BZ #10253]
43062         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43063         (decompose_rpath): Defer expansion to fillin_rpath.
43064         (_dl_init_paths): Pass linkmap to fillin_rpath.
43066 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43068         * benchtests/Makefile: Add strsep.
43069         * benchtests/bench-strsep.c: New file: strsep benchtest.
43070         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43072 2013-11-18  Andreas Schwab  <schwab@suse.de>
43074         * locale/programs/locale.c (show_info) [case byte]: Check for
43075         '\377' instead of '\177'.
43076         * locale/C-monetary.c (not_available): Always use "\377".
43077         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43078         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43079         detect unavailable sign_posn locale elements.
43080         * locale/localeconv.c (__localeconv): For grouping and
43081         mon_grouping handle "\177" and "\377" like no grouping.
43082         (INT_ELEM): New macro.  Use it to set all numeric members.
43083         * locale/programs/ld-monetary.c (monetary_read)
43084         <tok_mon_grouping>: Normalize single -1 to the empty string.
43085         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43086         Likewise.
43088 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43090         [BZ #16055]
43091         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43092         when we match (nil).
43093         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43095 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43097         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43098         (NO_TEST_INLINE): Update value.
43099         (ERRNO_UNCHANGED): Likewise.
43100         (ERRNO_EDOM): Likewise.
43101         (ERRNO_ERANGE): Likewise.
43102         (IGNORE_RESULT): Likewise.
43103         (check_float_internal): Check signs of NaN results if
43104         TEST_NAN_SIGN used.
43105         (check_complex): Pass TEST_NAN_SIGN flag through to second
43106         check_float_internal call.
43107         (copysign_test_data): Add tests with quiet NaNs as second
43108         argument.  Use TEST_NAN_SIGN.
43109         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43110         TEST_NAN_SIGN.
43111         (signbit_test_data): Add tests of quiet NaN argument.
43112         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43114         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43115         $ignore_result.
43116         (parse_args): Handle function results specified as IGNORE.
43117         * math/libm-test.inc (IGNORE_RESULT): New macro.
43118         (check_float_internal): Do not check numerical result if flag
43119         IGNORE_RESULT set.
43120         (check_complex): Pass through IGNORE_RESULT to second
43121         check_float_internal call.
43122         (check_int): Do not check numerical result if flag IGNORE_RESULT
43123         set.
43124         (check_long): Likewise.
43125         (check_bool): Likewise.
43126         (check_longlong): Likewise.
43127         (lrint_test_data): Add tests of infinite and NaN arguments.
43128         (lrint_tonearest_test_data): Likewise.
43129         (lrint_towardzero_test_data): Likewise.
43130         (lrint_downward_test_data): Likewise.
43131         (lrint_upward_test_data): Likewise.
43132         (llrint_test_data): Likewise.
43133         (llrint_tonearest_test_data): Likewise.
43134         (llrint_towardzero_test_data): Likewise.
43135         (llrint_downward_test_data): Likewise.
43136         (llrint_upward_test_data): Likewise.
43137         (lround_test_data): Likewise.
43138         (llround_test_data): Likewise.
43140         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43141         (ERRNO_UNCHANGED): Update value.
43142         (ERRNO_EDOM): Likewise.
43143         (ERRNO_ERANGE): Likewise.
43144         (NO_TEST_INLINE_FLOAT): New macro.
43145         (NO_TEST_INLINE_DOUBLE): Likewise.
43146         (enable_test): New function.
43147         (RUN_TEST_f_f): Check enable_test before running test.
43148         (RUN_TEST_2_f): Likewise.
43149         (RUN_TEST_fff_f): Likewise.
43150         (RUN_TEST_c_f): Likewise.
43151         (RUN_TEST_f_f1): Likewise.
43152         (RUN_TEST_fF_f1): Likewise.
43153         (RUN_TEST_fI_f1): Likewise.
43154         (RUN_TEST_ffI_f1): Likewise.
43155         (RUN_TEST_c_c): Likewise.
43156         (RUN_TEST_cc_c): Likewise.
43157         (RUN_TEST_f_i): Likewise.
43158         (RUN_TEST_f_i_tg): Likewise.
43159         (RUN_TEST_ff_i_tg): Likewise.
43160         (RUN_TEST_f_b): Likewise.
43161         (RUN_TEST_f_b_tg): Likewise.
43162         (RUN_TEST_f_l): Likewise.
43163         (RUN_TEST_f_L): Likewise.
43164         (RUN_TEST_fFF_11): Likewise.
43165         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43166         conditionals.
43167         (cosh_test_data): Likewise.
43168         (exp_test_data): Likewise.
43169         (expm1_test_data): Likewise.
43170         (hypot_test_data): Likewise.
43171         (pow_test_data): Likewise.
43172         (sinh_test_data): Likewise.
43173         (tanh_test_data): Likewise.
43174         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43175         flags argument.
43177         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43178         tests with quiet NaN input and output.
43179         (acosh_test_data): Likewise.
43180         (asin_test_data): Likewise.
43181         (asinh_test_data): Likewise.
43182         (atan_test_data): Likewise.
43183         (atanh_test_data): Likewise.
43184         (atan2_test_data): Likewise.
43185         (cbrt_test_data): Likewise.
43186         (cos_test_data): Likewise.
43187         (cosh_test_data): Likewise.
43188         (erf_test_data): Likewise.
43189         (erfc_test_data): Likewise.
43190         (exp_test_data): Likewise.
43191         (exp10_test_data): Likewise.
43192         (exp2_test_data): Likewise.
43193         (expm1_test_data): Likewise.
43194         (hypot_test_data): Likewise.
43195         (j0_test_data): Likewise.
43196         (j1_test_data): Likewise.
43197         (jn_test_data): Likewise.
43198         (lgamma_test_data): Likewise.
43199         (log_test_data): Likewise.
43200         (log10_test_data): Likewise.
43201         (log1p_test_data): Likewise.
43202         (log2_test_data): Likewise.
43203         (pow_test_data): Likewise.
43204         (scalb_test_data): Likewise.
43205         (sin_test_data): Likewise.
43206         (sincos_test_data): Likewise.
43207         (sinh_test_data): Likewise.
43208         (tan_test_data): Likewise.
43209         (tanh_test_data): Likewise.
43210         (tgamma_test_data): Likewise.
43211         (y0_test_data): Likewise.
43212         (y1_test_data): Likewise.
43213         (yn_test_data): Likewise.
43215         [BZ #16167]
43216         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43217         argument being NaN and avoid computations with second argument in
43218         that case.
43219         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43220         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43221         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43223 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43225         * locale/iso-639.def: Add Chitwani Tharu (the).
43227 2013-11-14  Andreas Schwab  <schwab@suse.de>
43229         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43230         word instead of empty string.
43232 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43235         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43237         (__fe_nomask_env): Likewise.
43239 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43241         * benchtests/bench-timing.h: Include time.h.
43243 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43245         [BZ #15997]
43246         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43247         to 3.4.0 for x32.
43248         * sysdeps/unix/sysv/linux/configure: Regenerated.
43250 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43252         [BZ #16151]
43253         * stdlib/strtod_l.c (round_and_return): Do not consider
43254         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43255         exponent one less than half the least subnormal exponent.
43256         * stdlib/test-strtod-round-data: Add more tests.
43257         * stdlib/tst-strtod-round.c (tests): Regenerated.
43259 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43261         [BZ #14143]
43262         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43263         (__fe_mask_env): Likewise.
43264         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43265         libm_hidden_proto and add function prototype.
43266         (__fe_mask_env): Add function prototype.
43267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43268         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43270         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43272         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43274 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43276         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43277         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43279 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43281         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43282         of htab_find_slot().
43284 2013-11-11  David S. Miller  <davem@davemloft.net>
43286         [BZ #16150]
43287         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43288         symbol in the non-vis3 case in static builds.
43289         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43290         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43291         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43292         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43294 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43296         [BZ #387]
43297         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43298         it is empty.
43300 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43302         * benchtests/Makefile: Add bench-strtod.
43303         * benchtests/bench-strtod.c: New file: strtod benchtest
43305 2013-11-11  Andreas Schwab  <schwab@suse.de>
43307         [BZ #16153]
43308         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43309         terminating NUL in key length.
43311 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43313         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43314         Add artificial ODP entry for vDSO symbol for PPC64.
43315         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43316         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43318 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43320         [BZ #15374]
43321         * nss/getent.c (services_keys): Recognize services starting with digit.
43323 2013-11-06  David S. Miller  <davem@davemloft.net>
43325         [BZ #15985]
43326         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43327         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43329 2013-11-06  Will Newton  <will.newton@linaro.org>
43331         * manual/memory.texi (Malloc Examples): Remove register
43332         keyword from examples.
43334 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43336         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43338 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43340         [BZ #6981]
43341         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43342         depending on [__GCC_IEC_559 > 0].
43343         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43344         depending on [__GCC_IEC_559_COMPLEX > 0].
43346 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43348         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43349         to iso-639.def.
43351 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43353         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43355 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43357         [BZ #16112]
43358         * malloc/malloc (malloc_info): Do not handle first bin as
43359         special case.
43361 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43363         * locale/iso-639.def: Add Central Nahuatl (nhn).
43365 2013-11-01  Bruno Haible  <bruno@clisp.org>
43367         [BZ #7003]
43368         * manual/math.texi (BSD Random): Specify range upper bound as
43369         in POSIX.
43371 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43373         * locale/iso-639.def: Add Meadow Mari (mhr).
43375 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43377         [BZ #14752], [BZ #15763]
43378         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43379         Validate name.
43380         * rt/tst_shm.c: Add test for escaping directory.
43382 2013-10-31  Andreas Schwab  <schwab@suse.de>
43384         [BZ #15917]
43385         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43386         followed by 'x' as part of digit sequence.
43387         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43389 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43391         [BZ #16037]
43392         * configure.ac: allow GNU Make 4.0 and greater.
43393         * configure: Regenerated.
43395 2013-10-30  Will Newton  <will.newton@linaro.org>
43397         [BZ #16038]
43398         * malloc/hooks.c (memalign_check): Limit alignment to the
43399         maximum representable power of two.
43400         * malloc/malloc.c (__libc_memalign): Likewise.
43401         * malloc/tst-memalign.c (do_test): Add test for very
43402         large alignment values.
43403         * malloc/tst-posix_memalign.c (do_test): Likewise.
43405 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43407         [BZ #11087]
43408         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43409         (munmap_chunk): Likewise.
43410         (mremap_chunk): Likewise.
43412 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43414         [BZ #15799]
43415         * stdlib/div.c (div): Remove obsolete code.
43416         * stdlib/ldiv.c (ldiv): Likewise.
43417         * stdlib/lldiv.c (lldiv): Likewise.
43419 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43421         [BZ #16071]
43422         * nss/nss_files/files-XXX.c (get_contents_ret): New
43423         enumerator.
43424         (get_contents): New function.
43425         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43427 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43429         * configure.in: Moved to ...
43430         * configure.ac: ... here. Change reference to configure.in
43431         to configure.ac.
43432         * sysdeps/arm/preconfigure.ac: ... here.
43433         configure.in to configure.ac.
43434         * sysdeps/gnu/configure.in: Moved to ...
43435         * sysdeps/gnu/configure.ac: ... here.
43436         * sysdeps/i386/configure.in: Moved to ...
43437         * sysdeps/i386/configure.ac: ... here.
43438         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43439         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43440         * sysdeps/mach/configure.in: Moved to ...
43441         * sysdeps/mach/configure.ac: ... here.
43442         * sysdeps/mach/hurd/configure.in: Moved to ...
43443         * sysdeps/mach/hurd/configure.ac: ... here.
43444         * sysdeps/powerpc/configure.in: Moved to ...
43445         * sysdeps/powerpc/configure.ac: ... here.
43446         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43447         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43448         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43449         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43450         * sysdeps/s390/s390-32/configure.in: Moved to ...
43451         * sysdeps/s390/s390-32/configure.ac: ... here.
43452         * sysdeps/s390/s390-64/configure.in: Moved to ...
43453         * sysdeps/s390/s390-64/configure.ac: ... here.
43454         * sysdeps/sh/configure.in: Moved to ...
43455         * sysdeps/sh/configure.ac: ... here.
43456         * sysdeps/sparc/configure.in: Moved to ...
43457         * sysdeps/sparc/configure.ac: ... here.
43458         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43459         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43460         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43461         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43462         * sysdeps/x86_64/configure.in: Moved to ...
43463         * sysdeps/x86_64/configure.ac: ... here.
43464         * sysdeps/x86_64/preconfigure.in: Moved to ...
43465         * sysdeps/x86_64/preconfigure.ac: ... here.
43466         * aclocal.m4: Change reference to configure.in to configure.ac.
43467         * config.h.in: Likewise.
43468         * manual/install.texi: Likewise.
43469         * manual/maint.texi: Likewise.
43470         * Makefile: Likewise.
43471         * malloc/Makefile: Likewise.
43472         * nscd/Makefile: Likewise.
43473         * Makeconfig: Change reference to configure.in and
43474         preconfigure.in to configure.ac and preconfigure.ac
43475         respectively.
43476         * INSTALL: Regenerated.
43477         * configure: Likewise.
43478         * sysdeps/gnu/configure: Likewise.
43479         * sysdeps/i386/configure: Likewise.
43480         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43481         * sysdeps/mach/configure: Likewise.
43482         * sysdeps/mach/hurd/configure: Likewise.
43483         * sysdeps/powerpc/configure: Likewise.
43484         * sysdeps/powerpc/powerpc32/configure: Likewise.
43485         * sysdeps/powerpc/powerpc64/configure: Likewise.
43486         * sysdeps/s390/s390-32/configure: Likewise.
43487         * sysdeps/s390/s390-64/configure: Likewise.
43488         * sysdeps/sh/configure: Likewise.
43489         * sysdeps/sparc/configure: Likewise.
43490         * sysdeps/unix/sysv/linux/configure: Likewise.
43491         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43492         * sysdeps/x86_64/configure: Likewise.
43493         * sysdeps/x86_64/preconfigure: Likewise.
43495 2013-10-29  Andreas Schwab  <schwab@suse.de>
43497         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43499 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43501         * benchtests/pow-inputs: Add new inputs.
43503         * benchtests/exp-inputs: Add new inputs.
43505         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43506         conditional check for return value.
43507         (__cos32): Likewise.
43509 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43511         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43512         to provide a boost for large inputs with word alignment.
43513         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43514         implementation based on optimized PPC64 strcpy.
43515         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43516         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43517         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43518         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43520 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43522         [BZ #2801]
43523         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43525 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43527         [BZ #14876]
43528         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43529         * time/tst-strptime.c (day_tests): Add testcase.
43531 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43533         [BZ #14029]
43534         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43536 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43538         [BZ #16074]
43539         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43540         MAP_FAILED on error.
43542 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43544         [BZ #16072]
43545         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43546         heap for large requests.
43548 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43550         [BZ #9954]
43551         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43552         result if the result has no associated interface.
43553         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43554         interface for all 127.X.Y.Z addresses.
43556 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43558         * locale/iso-639.def: Add Ligurian (lij)
43560 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43562         [BZ #15825]
43563         * sunrpc/rpc_main.c: Document rpcgen -5.
43565 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43567         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43569 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43571         [BZ #10278]
43572         * posix/glob.c: Match only directories when trailing slash is present.
43573         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43574         (main): Add testcase.
43576 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43578         [BZ #15670]
43579         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43581 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43583         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43584         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43585         AUTH_DES and cindex for FIPS 140-2.
43586         (DES Encryption): Add cindex FIPS 46-3.
43588         * locale/locarchive.h (struct locarhandle): Add fname.
43589         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43590         if an optional argument was specified to --list-archive,
43591         otherwise NULL.
43592         * locale/programs/locarchive.c (show_archive_content): Take new
43593         argument fname and pass it via ah.fname to open_archive.
43594         * locale/programs/localedef.h: Update decl.
43595         (open_archive): If AH->fname is non-null, open that file
43596         rather than the default file name, and don't ignore ENOENT.
43597         (create_archive): Set AH.fname to NULL.
43598         (delete_locales_from_archive): Likewise.
43599         (add_locales_to_archive): Likewise.
43600         * locale/programs/locfile.c (write_all_categories): Likewise.
43602 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43603             Aldy Hernandez  <aldyh@redhat.com>
43605         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43606         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43607         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43608         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43609         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43610         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43611         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43613         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43614         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43615         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43616         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43617         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43618         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43619         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43620         Likewise.
43621         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43622         Likewise.
43623         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43624         Likewise.
43625         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43626         Likewise.
43627         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43628         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43629         Likewise.
43630         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43631         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43632         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43633         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43634         Likewise.
43635         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43636         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43637         * sysdeps/powerpc/preconfigure: Likewise.
43638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43639         Likewise.
43640         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43641         Replace contents of file by #include of <fenv_libc.h>.
43642         * sysdeps/powerpc/soft-fp/sfp-machine.h
43643         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43644         and <sys/prctl.h>.
43645         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43651         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43658         Allow copysignl PLT reference to be missing.
43660 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43661             Joseph Myers  <joseph@codesourcery.com
43663         [BZ #15948]
43664         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43665         single character.
43666         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43668 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43670         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43671         * elf/tst-tls1.c: Likewise.
43672         * elf/tst-tls10.h: Likewise.
43673         * elf/tst-tls14.c: Likewise.
43674         * elf/tst-tls2.c: Likewise.
43675         * elf/tst-tls3.c: Likewise.
43676         * elf/tst-tls4.c: Likewise.
43677         * elf/tst-tls5.c: Likewise.
43678         * elf/tst-tls6.c: Likewise.
43679         * elf/tst-tls7.c: Likewise.
43680         * elf/tst-tls8.c: Likewise.
43681         * elf/tst-tls9.c: Likewise.
43682         * elf/tst-tlsmod1.c: Likewise.
43683         * elf/tst-tlsmod13.c: Likewise.
43684         * elf/tst-tlsmod13a.c: Likewise.
43685         * elf/tst-tlsmod14a.c: Likewise.
43686         * elf/tst-tlsmod16a.c: Likewise.
43687         * elf/tst-tlsmod16b.c: Likewise.
43688         * elf/tst-tlsmod2.c: Likewise.
43689         * elf/tst-tlsmod3.c: Likewise.
43690         * elf/tst-tlsmod4.c: Likewise.
43691         * elf/tst-tlsmod5.c: Likewise.
43692         * elf/tst-tlsmod6.c: Likewise.
43694 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43696         [BZ #12486]
43697         * malloc/malloc.c: remove checks for statistics.
43699 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43701         [BZ #15277]
43702         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43703         * inet/tst-network.c: Add testcase.
43705 2013-10-17  Andreas Schwab  <schwab@suse.de>
43707         [BZ #15218]
43708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43709         to determine canonical name.
43711 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43713         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43714         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43715         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43716         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43717         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43718         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43719         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43720         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43721         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43722         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43723         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43724         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43725         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43726         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43727         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43728         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43729         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43730         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43731         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43732         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43733         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43734         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43735         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43736         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43737         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43738         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43739         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43740         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43741         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43742         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43743         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43744         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43745         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43746         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43747         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43748         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43749         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43750         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43751         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43752         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43753         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43754         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43755         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43756         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43757         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43758         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43759         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43760         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43761         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43762         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43763         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43764         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43765         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43766         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43767         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43768         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43769         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43770         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43772 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43774         [BZ #16041]
43775         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43776         make result into a quiet NaN.
43778 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43780         * soft-fp/adddf3.c: Fix horizontal whitespace.
43781         * soft-fp/addsf3.c: Likewise.
43782         * soft-fp/addtf3.c: Likewise.
43783         * soft-fp/divdf3.c: Likewise.
43784         * soft-fp/divsf3.c: Likewise.
43785         * soft-fp/divtf3.c: Likewise.
43786         * soft-fp/double.h: Likewise.
43787         * soft-fp/eqdf2.c: Likewise.
43788         * soft-fp/eqsf2.c: Likewise.
43789         * soft-fp/eqtf2.c: Likewise.
43790         * soft-fp/extenddftf2.c: Likewise.
43791         * soft-fp/extended.h: Likewise.
43792         * soft-fp/extendsfdf2.c: Likewise.
43793         * soft-fp/extendsftf2.c: Likewise.
43794         * soft-fp/extendxftf2.c: Likewise.
43795         * soft-fp/fixdfdi.c: Likewise.
43796         * soft-fp/fixdfsi.c: Likewise.
43797         * soft-fp/fixdfti.c: Likewise.
43798         * soft-fp/fixsfdi.c: Likewise.
43799         * soft-fp/fixsfsi.c: Likewise.
43800         * soft-fp/fixsfti.c: Likewise.
43801         * soft-fp/fixtfdi.c: Likewise.
43802         * soft-fp/fixtfsi.c: Likewise.
43803         * soft-fp/fixtfti.c: Likewise.
43804         * soft-fp/fixunsdfdi.c: Likewise.
43805         * soft-fp/fixunsdfsi.c: Likewise.
43806         * soft-fp/fixunsdfti.c: Likewise.
43807         * soft-fp/fixunssfdi.c: Likewise.
43808         * soft-fp/fixunssfsi.c: Likewise.
43809         * soft-fp/fixunssfti.c: Likewise.
43810         * soft-fp/fixunstfdi.c: Likewise.
43811         * soft-fp/fixunstfsi.c: Likewise.
43812         * soft-fp/fixunstfti.c: Likewise.
43813         * soft-fp/floatdidf.c: Likewise.
43814         * soft-fp/floatdisf.c: Likewise.
43815         * soft-fp/floatditf.c: Likewise.
43816         * soft-fp/floatsidf.c: Likewise.
43817         * soft-fp/floatsisf.c: Likewise.
43818         * soft-fp/floatsitf.c: Likewise.
43819         * soft-fp/floattidf.c: Likewise.
43820         * soft-fp/floattisf.c: Likewise.
43821         * soft-fp/floattitf.c: Likewise.
43822         * soft-fp/floatundidf.c: Likewise.
43823         * soft-fp/floatundisf.c: Likewise.
43824         * soft-fp/floatunditf.c: Likewise.
43825         * soft-fp/floatunsidf.c: Likewise.
43826         * soft-fp/floatunsisf.c: Likewise.
43827         * soft-fp/floatunsitf.c: Likewise.
43828         * soft-fp/floatuntidf.c: Likewise.
43829         * soft-fp/floatuntisf.c: Likewise.
43830         * soft-fp/floatuntitf.c: Likewise.
43831         * soft-fp/fmadf4.c: Likewise.
43832         * soft-fp/fmasf4.c: Likewise.
43833         * soft-fp/fmatf4.c: Likewise.
43834         * soft-fp/gedf2.c: Likewise.
43835         * soft-fp/gesf2.c: Likewise.
43836         * soft-fp/getf2.c: Likewise.
43837         * soft-fp/ledf2.c: Likewise.
43838         * soft-fp/lesf2.c: Likewise.
43839         * soft-fp/letf2.c: Likewise.
43840         * soft-fp/muldf3.c: Likewise.
43841         * soft-fp/mulsf3.c: Likewise.
43842         * soft-fp/multf3.c: Likewise.
43843         * soft-fp/negdf2.c: Likewise.
43844         * soft-fp/negsf2.c: Likewise.
43845         * soft-fp/negtf2.c: Likewise.
43846         * soft-fp/op-1.h: Likewise.
43847         * soft-fp/op-2.h: Likewise.
43848         * soft-fp/op-4.h: Likewise.
43849         * soft-fp/op-8.h: Likewise.
43850         * soft-fp/op-common.h: Likewise.
43851         * soft-fp/quad.h: Likewise.
43852         * soft-fp/single.h: Likewise.
43853         * soft-fp/soft-fp.h: Likewise.
43854         * soft-fp/sqrtdf2.c: Likewise.
43855         * soft-fp/sqrtsf2.c: Likewise.
43856         * soft-fp/sqrttf2.c: Likewise.
43857         * soft-fp/subdf3.c: Likewise.
43858         * soft-fp/subsf3.c: Likewise.
43859         * soft-fp/subtf3.c: Likewise.
43860         * soft-fp/truncdfsf2.c: Likewise.
43861         * soft-fp/trunctfdf2.c: Likewise.
43862         * soft-fp/trunctfsf2.c: Likewise.
43863         * soft-fp/trunctfxf2.c: Likewise.
43864         * soft-fp/unorddf2.c: Likewise.
43865         * soft-fp/unordsf2.c: Likewise.
43866         * soft-fp/unordtf2.c: Likewise.
43868 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43870         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43871         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43873 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43875         * elf/dl-libc.c: Clear initfini list after freeing.
43877 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43879         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43880         * soft-fp/addsf3.c: Likewise.
43881         * soft-fp/addtf3.c: Likewise.
43882         * soft-fp/divdf3.c: Likewise.
43883         * soft-fp/divsf3.c: Likewise.
43884         * soft-fp/divtf3.c: Likewise.
43885         * soft-fp/double.h: Likewise.
43886         * soft-fp/eqdf2.c: Likewise.
43887         * soft-fp/eqsf2.c: Likewise.
43888         * soft-fp/eqtf2.c: Likewise.
43889         * soft-fp/extenddftf2.c: Likewise.
43890         * soft-fp/extended.h: Likewise.
43891         * soft-fp/extendsfdf2.c: Likewise.
43892         * soft-fp/extendsftf2.c: Likewise.
43893         * soft-fp/extendxftf2.c: Likewise.
43894         * soft-fp/fixdfdi.c: Likewise.
43895         * soft-fp/fixdfsi.c: Likewise.
43896         * soft-fp/fixdfti.c: Likewise.
43897         * soft-fp/fixsfdi.c: Likewise.
43898         * soft-fp/fixsfsi.c: Likewise.
43899         * soft-fp/fixsfti.c: Likewise.
43900         * soft-fp/fixtfdi.c: Likewise.
43901         * soft-fp/fixtfsi.c: Likewise.
43902         * soft-fp/fixtfti.c: Likewise.
43903         * soft-fp/fixunsdfdi.c: Likewise.
43904         * soft-fp/fixunsdfsi.c: Likewise.
43905         * soft-fp/fixunsdfti.c: Likewise.
43906         * soft-fp/fixunssfdi.c: Likewise.
43907         * soft-fp/fixunssfsi.c: Likewise.
43908         * soft-fp/fixunssfti.c: Likewise.
43909         * soft-fp/fixunstfdi.c: Likewise.
43910         * soft-fp/fixunstfsi.c: Likewise.
43911         * soft-fp/fixunstfti.c: Likewise.
43912         * soft-fp/floatdidf.c: Likewise.
43913         * soft-fp/floatdisf.c: Likewise.
43914         * soft-fp/floatditf.c: Likewise.
43915         * soft-fp/floatsidf.c: Likewise.
43916         * soft-fp/floatsisf.c: Likewise.
43917         * soft-fp/floatsitf.c: Likewise.
43918         * soft-fp/floattidf.c: Likewise.
43919         * soft-fp/floattisf.c: Likewise.
43920         * soft-fp/floattitf.c: Likewise.
43921         * soft-fp/floatundidf.c: Likewise.
43922         * soft-fp/floatundisf.c: Likewise.
43923         * soft-fp/floatunsidf.c: Likewise.
43924         * soft-fp/floatunsisf.c: Likewise.
43925         * soft-fp/floatuntidf.c: Likewise.
43926         * soft-fp/floatuntisf.c: Likewise.
43927         * soft-fp/floatuntitf.c: Likewise.
43928         * soft-fp/fmadf4.c: Likewise.
43929         * soft-fp/fmasf4.c: Likewise.
43930         * soft-fp/fmatf4.c: Likewise.
43931         * soft-fp/gedf2.c: Likewise.
43932         * soft-fp/gesf2.c: Likewise.
43933         * soft-fp/getf2.c: Likewise.
43934         * soft-fp/ledf2.c: Likewise.
43935         * soft-fp/lesf2.c: Likewise.
43936         * soft-fp/letf2.c: Likewise.
43937         * soft-fp/muldf3.c: Likewise.
43938         * soft-fp/mulsf3.c: Likewise.
43939         * soft-fp/multf3.c: Likewise.
43940         * soft-fp/negdf2.c: Likewise.
43941         * soft-fp/negsf2.c: Likewise.
43942         * soft-fp/negtf2.c: Likewise.
43943         * soft-fp/op-1.h: Likewise.
43944         * soft-fp/op-2.h: Likewise.
43945         * soft-fp/op-4.h: Likewise.
43946         * soft-fp/op-8.h: Likewise.
43947         * soft-fp/op-common.h: Likewise.
43948         * soft-fp/quad.h: Likewise.
43949         * soft-fp/single.h: Likewise.
43950         * soft-fp/soft-fp.h: Likewise.
43951         * soft-fp/sqrtdf2.c: Likewise.
43952         * soft-fp/sqrtsf2.c: Likewise.
43953         * soft-fp/sqrttf2.c: Likewise.
43954         * soft-fp/subdf3.c: Likewise.
43955         * soft-fp/subsf3.c: Likewise.
43956         * soft-fp/subtf3.c: Likewise.
43957         * soft-fp/truncdfsf2.c: Likewise.
43958         * soft-fp/trunctfdf2.c: Likewise.
43959         * soft-fp/trunctfsf2.c: Likewise.
43960         * soft-fp/trunctfxf2.c: Likewise.
43961         * soft-fp/unorddf2.c: Likewise.
43962         * soft-fp/unordsf2.c: Likewise.
43963         * soft-fp/unordtf2.c: Likewise.
43965 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43967         [BZ #15672]
43968         * misc/error.c (error_tail): Fix possible buffer overflow.
43970 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43972         [BZ #13028]
43973         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43974         address.
43976 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43978         [BZ #832]
43979         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43980         testing pipefail option.
43982 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43984         * soft-fp/double.h: Indent preprocessor directives inside #if.
43985         * soft-fp/extended.h: Likewise.
43986         * soft-fp/op-2.h: Likewise.
43987         * soft-fp/op-4.h: Likewise.
43988         * soft-fp/op-common.h: Likewise.
43989         * soft-fp/quad.h: Likewise.
43990         * soft-fp/single.h: Likewise.
43991         * soft-fp/soft-fp.h: Likewise.
43993 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43995         * iconv/iconv_prog.c: Fix typos.
43996         * stdio-common/psiginfo-data.h: Likewise.
43998 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44000         [BZ #15764]
44001         * locale/setlocale.c: Fix typo.
44003 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44005         [BZ #16036]
44006         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44007         signaling NaN arguments.
44008         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44009         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44011         [BZ #14910]
44012         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44013         unordered operands.
44014         * soft-fp/gesf2.c (__gesf2): Likewise.
44015         * soft-fp/getf2.c (__getf2): Likewise.
44016         * soft-fp/ledf2.c (__ledf2): Likewise.
44017         * soft-fp/lesf2.c (__lesf2): Likewise.
44018         * soft-fp/letf2.c (__letf2): Likewise.
44020         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44021         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44022         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44023         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44024         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44025         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44026         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44027         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44028         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44029         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44030         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44031         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44032         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44033         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44034         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44035         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44036         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44037         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44038         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44039         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44040         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44041         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44042         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44043         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44044         * soft-fp/floattidf.c (__floattidf): Likewise.
44045         * soft-fp/floattisf.c (__floattisf): Likewise.
44046         * soft-fp/floattitf.c (__floattitf): Likewise.
44047         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44048         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44049         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44050         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44051         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44052         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44053         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44054         * soft-fp/gesf2.c (__gesf2): Likewise.
44055         * soft-fp/getf2.c (__getf2): Likewise.
44056         * soft-fp/ledf2.c (__ledf2): Likewise.
44057         * soft-fp/lesf2.c (__lesf2): Likewise.
44058         * soft-fp/letf2.c (__letf2): Likewise.
44060         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44061         Undefine and redefine.
44062         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44063         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44064         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44065         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44066         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44067         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44068         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44069         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44070         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44071         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44072         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44073         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44074         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44075         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44076         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44078         [BZ #16032]
44079         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44080         without decrementing exponent if mantissa >= that for the
44081         denominator, not >.
44082         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44083         denominator, not >.  Decrement exponent in < case instead of
44084         incrementing in >= case.
44085         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44086         without decrementing exponent if mantissa >= that for the
44087         denominator, not >.
44089         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44090         computing saturated result for unsigned overflow.
44092 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44093             Jeff Law  <law@redhat.com>
44095         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44096         (atan2Mp): Add systemtap probe marker.
44097         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44098         (__ieee754_log): Add systemtap probe marker.
44099         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44100         (atanMp): Add systemtap probe marker.
44101         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44102         (tanMp): Add systemtap probe marker.
44103         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44104         (__slowexp): Add systemtap probe marker.
44105         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44106         (__slowpow): Add systemtap probe marker.
44107         * manual/probes.texi: Document probes.
44109 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44111         [BZ #15362]
44112         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44113         written.
44114         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44115         written.
44116         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44117         written to buffer but not flushed.
44118         * libio/iofwrite_u.c:  Likewise.
44119         * libio/iopadn.c:  Return bytes returned even if EOF was
44120         encountered.
44121         * libio/iowpadn.c:  Likewise.
44122         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44123         if _IO_padn does not write the whole buffer.
44124         [!COMPILE_WPRINTF] (PAD): Likewise.
44126 2013-10-10  David S. Miller  <davem@davemloft.net>
44128         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44129         directory block.
44131 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44133         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44134         instead of FSF address.
44135         * soft-fp/fixdfti.c: Likewise.
44136         * soft-fp/fixsfti.c: Likewise.
44137         * soft-fp/fixtfti.c: Likewise.
44138         * soft-fp/fixunsdfti.c: Likewise.
44139         * soft-fp/fixunssfti.c: Likewise.
44140         * soft-fp/fixunstfti.c: Likewise.
44141         * soft-fp/floattidf.c: Likewise.
44142         * soft-fp/floattisf.c: Likewise.
44143         * soft-fp/floattitf.c: Likewise.
44144         * soft-fp/floatuntidf.c: Likewise.
44145         * soft-fp/floatuntisf.c: Likewise.
44146         * soft-fp/floatuntitf.c: Likewise.
44147         * soft-fp/trunctfxf2.c: Likewise.
44149         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44150         * soft-fp/fixdfti.c: Likewise.
44151         * soft-fp/fixsfti.c: Likewise.
44152         * soft-fp/fixtfti.c: Likewise.
44153         * soft-fp/fixunsdfti.c: Likewise.
44154         * soft-fp/fixunssfti.c: Likewise.
44155         * soft-fp/fixunstfti.c: Likewise.
44156         * soft-fp/floattidf.c: Likewise.
44157         * soft-fp/floattisf.c: Likewise.
44158         * soft-fp/floattitf.c: Likewise.
44159         * soft-fp/floatuntidf.c: Likewise.
44160         * soft-fp/floatuntisf.c: Likewise.
44161         * soft-fp/floatuntitf.c: Likewise.
44162         * soft-fp/trunctfxf2.c: Likewise.
44164 2013-10-10  David S. Miller  <davem@davemloft.net>
44166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44168 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44170         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44171         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44172         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44173         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44174         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44175         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44176         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44178         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44179         for NaNs before doing comparisons on argument.
44180         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44181         Likewise.
44183 2013-10-10  Will Newton  <will.newton@linaro.org>
44185         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44186         passed to _int_memalign does not overflow.
44188 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44190         * scripts/bench.pl: Add include-sources directive.
44191         * benchtests/README: Update documentation.
44193 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44195         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44196         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44197         instead of FP_INIT_ROUNDMODE.
44198         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44199         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44201         [BZ #16034]
44202         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44203         copy class of input value.
44204         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44205         not handle exceptions.
44206         * soft-fp/negsf2.c (__negsf2): Likewise.
44207         * soft-fp/negtf2.c (__negtf2): Likewise.
44208         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44210 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44212         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44213         semicolon.  From Linux kernel.
44215 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44217         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44219 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44221         [BZ #156]
44222         * manual/socket.texi: Added statement about buffer
44223         for gethostbyname2_r.
44225 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44227         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44228         Use .p2align directive instead, throughout.
44229         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44230         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44231         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44232         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44233         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44234         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44235         * sysdeps/x86_64/strchr.S: Likewise.
44236         * sysdeps/x86_64/strrchr.S: Likewise.
44238 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44240         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44242         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44244         * sysdeps/generic/math_private.h (__mpsin1): Remove
44245         declaration.
44246         (__mpcos1): Likewise.
44247         (__mpsin): New argument __range_reduce.
44248         (__mpcos): Likewise.
44249         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44250         (slow): Use __mpsin and __mpcos.
44251         (slow1): Likewise.
44252         (slow2): Likewise.
44253         (sloww): Likewise.
44254         (sloww1): Likewise.
44255         (sloww2): Likewise.
44256         (bsloww): Likewise.
44257         (bsloww1): Likewise.
44258         (bsloww2): Likewise.
44259         (cslow2): Likewise.
44260         (csloww): Likewise.
44261         (csloww1): Likewise.
44262         (csloww2): Likewise.
44263         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44264         range_reduce.  Merge in __mpsin1.
44265         (__mpcos): Likewise.
44266         (__mpsin1): Remove.
44267         (__mpcos1): Likewise.
44269 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44271         * locale/loadlocale.c (_nl_intern_locale_data): Use
44272         LOCFILE_ALIGNED_P.
44273         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44274         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44275         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44276         obstack data is appropriately aligned.
44277         (obstack_int32_grow_fast): Likewise.
44278         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44279         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44280         (add_locale_uint32_array): Likewise.
44282 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44284         * benchtests/Makefile: Remove ARGLIST and RET variables.
44285         ($(objpfx)bench-%.c): Pass only function name to the script.
44286         * benchtests/README: Update documentation.
44287         * benchtests/acos-inputs: Add new directives.
44288         * benchtests/acosh-inputs: Likewise.
44289         * benchtests/asin-inputs: Likewise.
44290         * benchtests/asinh-inputs: Likewise.
44291         * benchtests/atan-inputs: Likewise.
44292         * benchtests/atanh-inputs: Likewise.
44293         * benchtests/cos-inputs: Likewise.
44294         * benchtests/cosh-inputs: Likewise.
44295         * benchtests/exp-inputs: Likewise.
44296         * benchtests/log-inputs: Likewise.
44297         * benchtests/pow-inputs: Likewise.
44298         * benchtests/rint-inputs: Likewise.
44299         * benchtests/sin-inputs: Likewise.
44300         * benchtests/sinh-inputs: Likewise.
44301         * benchtests/tan-inputs: Likewise.
44302         * benchtests/tanh-inputs: Likewise.
44303         * scripts/bench.pl: Add support for new directives.
44305 2013-10-07  Alan Modra  <amodra@gmail.com>
44307         * README: Fix careless merge.
44309 2013-10-05  Alan Modra  <amodra@gmail.com>
44311         * NEWS: Mention powerpc64le support and bugs fixed.
44312         * README: Both big-endian and little-endian powerpc64 supported.
44314 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44316         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44317         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44318         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44319         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44321 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44323         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44324         match prototype.
44326 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44328         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44329         Move -mhard-float appending from
44330         ports/sysdeps/powerpc/powerpc32/Makefile.
44331         [$(with-fp) = yes] (ASFLAGS): Likewise.
44332         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44333         * sysdeps/powerpc/nofpu: Move directory from
44334         ports/sysdeps/powerpc/nofpu.
44335         * sysdeps/powerpc/soft-fp: Move directory from
44336         ports/sysdeps/powerpc/soft-fp.
44337         * sysdeps/powerpc/powerpc32/405: Move directory from
44338         ports/sysdeps/powerpc/powerpc32/405.
44339         * sysdeps/powerpc/powerpc32/440: Move directory from
44340         ports/sysdeps/powerpc/powerpc32/440.
44341         * sysdeps/powerpc/powerpc32/464: Move directory from
44342         ports/sysdeps/powerpc/powerpc32/464.
44343         * sysdeps/powerpc/powerpc32/476: Move directory from
44344         ports/sysdeps/powerpc/powerpc32/476.
44345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44346         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44352         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44355         * README: Update for powerpc-*-linux-gnu software floating point
44356         support in libc.
44358         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44359         case to powerpc/powerpc32*.
44360         * sysdeps/unix/sysv/linux/configure: Regenerated.
44362         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44363         (_FPU_MASK_OM): Define as 0x04.
44364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44366         0x00c10080.
44367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44368         0x0000003c.
44369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44372         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44373         getcontext_e500.
44374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44375         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44376         setcontext_e500.
44377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44378         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44379         and setcontext_e500.
44381 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44383         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44385 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44387         * manual/threads.texi (Default Thread Attributes): Fix typo.
44389 2013-10-04  Will Newton  <will.newton@linaro.org>
44391         * malloc/Makefile: Add tst-memalign.
44392         * malloc/tst-memalign.c: New file.
44394         * malloc/tst-posix_memalign.c: Add comments.
44395         (do_test): Add comments and call free on all potentially
44396         allocated pointers. Add space after cast.
44398         * malloc/tst-pvalloc.c: Add comments.
44399         (do_test): Add comments and call free on all potentially
44400         allocated pointers. Remove duplicate check for NULL pointer.
44401         Add space after cast.
44403         * malloc/tst-valloc.c: Add comments.
44404         (do_test): Add comments and call free on all potentially
44405         allocated pointers. Remove duplicate check for NULL pointer.
44406         Add space after cast.
44408 2013-10-04  Alan Modra  <amodra@gmail.com>
44410         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44411         Use stdint types in rather than __attribute__((mode())).
44412         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44414 2013-10-04  Alan Modra  <amodra@gmail.com>
44416         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44417         Correct handling of unaligned relocs for little-endian.
44418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44420 2013-10-04  Alan Modra  <amodra@gmail.com>
44422         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44423         * configure: Regenerate.
44424         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44425         * shlib-versions: Likewise.
44427 2013-10-04  Alan Modra  <amodra@gmail.com>
44429         * string/tester.c (test_memrchr): Increment reported test cycle.
44431 2013-10-04  Alan Modra  <amodra@gmail.com>
44433         * string/test-memcpy.c (do_one_test): When reporting errors, print
44434         string address and don't overrun end of string.
44436 2013-10-04  Alan Modra  <amodra@gmail.com>
44438         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44439         insrdi.  Make better use of reg selection to speed exit slightly.
44440         Schedule entry path a little better.  Remove useless "are we done"
44441         checks on entry to main loop.  Handle wrapping around zero address.
44442         Correct main loop count.  Handle single left-over word from main
44443         loop inline rather than by using loop_small.  Remove extra word
44444         case in loop_small caused by wrong loop count.  Add little-endian
44445         support.
44446         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44447         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44448         cache hint.
44449         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44450         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44451         support.  Avoid rlwimi.
44452         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44454 2013-10-04  Alan Modra  <amodra@gmail.com>
44456         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44457         insrdi.  Formatting.
44458         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44459         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44460         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44461         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44462         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44463         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44465 2013-10-04  Alan Modra  <amodra@gmail.com>
44467         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44468         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44469         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44470         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44471         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44472         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44473         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44474         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44475         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44476         use of regs.  Use power7 mtocrf.  Tidy function tails.
44478 2013-10-04  Alan Modra  <amodra@gmail.com>
44480         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44481         Formatting.  Consistently use rXXX register defines or rN defines.
44482         Use early exit labels that avoid restoring unused non-volatile regs.
44483         Make cr field use more consistent with rWORDn compares.  Rename
44484         regs used as shift registers for unaligned loop, using rN defines
44485         for short lifetime/multiple use regs.
44486         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44487         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44488         addi 1,1,64 to pop stack frame.  Simplify return value code.
44489         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44491 2013-10-04  Alan Modra  <amodra@gmail.com>
44493         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44494         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44495         rather than rlwimi.
44496         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44497         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44498         little-endian support.  Correct typos.
44499         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44500         rather than rlwimi.
44501         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44502         in loop and entry code to keep "and." results.
44503         (strchr): Add little-endian support.  Comment.  Move cntlzd
44504         earlier in tail.
44505         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44507 2013-10-04  Alan Modra  <amodra@gmail.com>
44509         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44510         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44511         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44512         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44514 2013-10-04  Alan Modra  <amodra@gmail.com>
44516         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44517         (rTMP): Define as r11.
44518         (strcmp): Add little-endian support.  Optimise tail.
44519         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44520         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44521         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44522         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44523         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44524         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44525         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44527 2013-10-04  Alan Modra  <amodra@gmail.com>
44529         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44530         little-endian support.  Remove unnecessary "are we done" tests.
44531         Handle "s" wrapping around zero and extremely large "size".
44532         Correct main loop count.  Handle single left-over word from main
44533         loop inline rather than by using small_loop.  Correct comments.
44534         Delete "zero" tail, use "end_max" instead.
44535         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44537 2013-10-04  Alan Modra  <amodra@gmail.com>
44539         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44540         support.  Don't branch over align.
44541         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44542         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44543         support.  Rearrange tmp reg use to suit.  Comment.
44544         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44546 2013-10-04  Alan Modra  <amodra@gmail.com>
44548         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44550 2013-10-04  Alan Modra  <amodra@gmail.com>
44552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44553         conditional form of branch and link when obtaining pc.
44554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44556 2013-10-04  Alan Modra  <amodra@gmail.com>
44558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44559         HIWORD/LOWORD.
44560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44563 2013-10-04  Alan Modra  <amodra@gmail.com>
44565         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44566         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44567         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44568         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44569         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44570         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44571         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44572         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44573         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44574         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44576 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44577             Alistair Popple <alistair@ozlabs.au.ibm.com>
44578             Alan Modra <amodra@gmail.com>
44580         [BZ #15723]
44581         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44582         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44583         _dl_hwcap access for little-endian.
44584         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44585         destroy vmx regs when saving unaligned.
44586         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44587         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44588         destroy vmx regs when saving unaligned.
44590 2013-10-04  Alan Modra  <amodra@gmail.com>
44592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44593         Don't use a union to pack hi/low value.
44595 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44597         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44598         for little-endian.
44599         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44600         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44601         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44602         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44603         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44605 2013-10-04  Alan Modra  <amodra@gmail.com>
44607         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44608         constants to usual value for .cst8 section, and remove redundant
44609         high address load.
44610         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44611         constant for 0x1p52.  Load little-endian words of double from
44612         correct stack offsets.
44614 2013-10-04  Alan Modra  <amodra@gmail.com>
44616         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44617         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44618         words of double from correct stack offsets.
44619         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44620         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44621         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44622         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44623         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44624         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44625         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44626         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44627         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44628         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44629         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44630         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44631         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44632         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44633         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44634         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44635         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44637 2013-10-04  Alan Modra  <amodra@gmail.com>
44639         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44640         64-bit int/double union.
44641         (_FPU_SETCW): Likewise.
44642         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44643         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44645 2013-10-04  Alan Modra  <amodra@gmail.com>
44647         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44648         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44650 2013-10-04  Alan Modra  <amodra@gmail.com>
44652         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44653         use vector int constants.
44654         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44656 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44658         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44659         array with long long.
44660         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44661         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44662         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44663         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44664         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44665         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44666         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44667         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44668         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44669         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44670         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44671         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44672         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44674 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44676         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44677         (__signbit): Likewise.  Correct for little-endian.
44678         (__signbitl): Call __signbit.
44679         (lrint): Correct for little-endian.
44680         (lrintf): Call lrint.
44682 2013-10-04  Alan Modra  <amodra@gmail.com>
44684         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44685         union 32-bit int array member with 64-bit int array.
44686         (t515, tm256): Double rather than long double.
44687         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44689 2013-10-04  Alan Modra  <amodra@gmail.com>
44691         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44692         Delete.
44693         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44694         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44695         version of math_ldbl.h.
44697 2013-10-04  Alan Modra  <amodra@gmail.com>
44699         [BZ #15734], [BZ #15735]
44700         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44701         all uses of ieee875 long double macros and unions.  Simplify test
44702         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44703         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44704         normalize after ldbl_extract_mantissa, and don't add hidden bit
44705         already handled.  Don't treat low word of ieee854 mantissa like
44706         low word of IBM long double and mask off bit when testing for
44707         zero.
44708         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44709         all uses of ieee875 long double macros and unions.  Simplify tests
44710         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44711         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44712         two1022, instead use their values.  Recognise that tests for large
44713         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44714         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44715         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44716         test for 0.0L and nan.  Correct negation.
44717         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44718         ieee875 long double macros and unions.  Correct output for large
44719         magnitude x.  Correct absolute value calculation.
44720         (__erfcl): Likewise.
44721         * math/libm-test.inc: Add tests for errors discovered in IBM long
44722         double versions of fmodl, remainderl, erfl and erfcl.
44724 2013-10-04  Alan Modra  <amodra@gmail.com>
44726         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44727         all uses of ieee854 long double macros and unions.  Simplify tests
44728         for long doubles that are fully specified by the high double.
44729         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44730         Likewise.
44731         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44732         Remove dead code too.
44733         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44734         (__ieee754_ynl): Likewise.
44735         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44736         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44738         Remove dead code too.
44739         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44740         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44741         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44742         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44743         Simplify.
44744         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44745         Simplify.
44746         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44747         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44748         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44749         Comment on variable precision.
44750         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44751         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44752         Likewise.
44753         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44754         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44755         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44756         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44757         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44759 2013-10-04  Alan Modra  <amodra@gmail.com>
44761         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44762         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44763         all uses of ieee854 long double macros and unions.
44764         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44765         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44766         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44768         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44769         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44770         Likewise.
44771         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44772         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44773         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44774         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44775         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44777         Simplify sign and nan test too.
44778         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44779         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44780         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44781         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44782         Likewise.
44783         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44784         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44785         Likewise.
44786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44787         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44788         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44789         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44790         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44791         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44793 2013-10-04  Alan Modra  <amodra@gmail.com>
44795         * stdio-common/printf_size.c (__printf_size): Don't use
44796         union ieee854_long_double in fpnum union.
44797         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44798         signbit macro to retrieve sign from long double.
44799         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44800         retrieve sign from long double.
44801         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44802         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44803         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44804         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44805         * math/test-misc.c (main): Don't use union ieee854_long_double.
44807 2013-10-04  Alan Modra  <amodra@gmail.com>
44809         [BZ #15680]
44810         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44811         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44812         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44813         calculation.  Remove unnecessary test for denormal exponent.
44814         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44815         Correct handling of denormals.  Avoid undefined shift behaviour.
44816         Correct normalisation of low mantissa when low double is denormal.
44817         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44818         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44819         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44820         Correct normalisation of low mantissa.  Test for overflow of high
44821         mantissa and normalise.
44822         (ldbl_nearbyint): Use more readable constant for two52.
44823         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44824         (__mpn_construct_long_double): Fix test for overflow of high
44825         mantissa and correct normalisation.  Avoid undefined shift.
44827 2013-10-04  Alan Modra  <amodra@gmail.com>
44829         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44830         (union ibm_extended_long_double): Define as an array of ieee754_double.
44831         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44832         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44833         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44834         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44836         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44837         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44838         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44839         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44840         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44841         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44843 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44845         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44846         page size instead of calling getpagesize.
44848         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44849         (LOCFILE_ALIGN_MASK): Likewise.
44850         (LOCFILE_ALIGN_UP): Likewise.
44851         (LOCFILE_ALIGNED_P): Likewise.
44852         * locale/programs/ld-collate.c (collate_output): Use the new
44853         macros instead of __alignof__ (int32_t).
44854         * locale/weight.h (findidx): Likewise.
44856 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44858         [BZ #431]
44859         * manual/string.texi: Fix strncat and wcsncat.
44861 2013-10-03  Brooks Moses  <bmoses@google.com>
44863         [BZ #15915]
44864         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44865         * Makerules: ...here, and adjust associated comments.
44867 2013-10-02  Will Newton  <will.newton@linaro.org>
44869         * malloc/Makefile: Add tst-pvalloc.
44870         * malloc/tst-pvalloc.c: New file.
44872 2013-10-02  Will Newton  <will.newton@linaro.org>
44874         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44875         improve test coverage.
44877 2013-10-02  Will Newton  <will.newton@linaro.org>
44879         * malloc/Makefile: Add tst-posix_memalign.
44880         * malloc/tst-posix_memalign.c: New file.
44882 2013-10-01  Eric Blake  <eblake@redhat.com>
44884         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44885         Use __THROWNL rather than __THROW on static functions.
44887 2013-09-30  Petr Machata  <pmachata@redhat.com>
44889         * elf/elf.h (R_AARCH64_ABS16): New macro.
44890         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44891         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44892         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44893         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44894         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44895         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44896         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44897         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44898         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44899         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44900         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44901         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44902         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44903         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44904         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44905         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44906         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44907         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44908         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44909         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44910         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44911         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44912         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44913         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44914         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44915         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44916         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44917         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44918         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44919         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44920         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44921         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44922         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44923         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44924         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44925         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44926         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44927         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44928         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44929         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44930         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44931         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44932         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44933         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44934         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44935         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44936         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44937         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44938         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44939         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44940         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44941         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44942         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44943         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44944         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44945         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44946         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44947         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44948         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44949         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44950         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44951         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44952         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44953         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44954         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44955         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44956         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44957         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44958         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44959         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44960         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44961         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44962         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44963         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44964         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44965         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44966         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44967         (R_AARCH64_TLSDESC_LDR): Likewise.
44968         (R_AARCH64_TLSDESC_ADD): Likewise.
44969         (R_AARCH64_TLSDESC_CALL): Likewise.
44971 2013-09-30  Andreas Schwab  <schwab@suse.de>
44973         [BZ #15048]
44974         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44975         the nss database lookup.
44976         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44979 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44981         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44983 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44985         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44986         ${Bash-specific parameter/pattern/string} parameter expansion.
44987         * sysdeps/unix/make-syscalls.sh: Likewise.
44989 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44991         * sysdeps/sh/stackguard-macros.h: New file.
44993 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44997         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44998         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44999         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45000         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45002 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45004         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45005         Fix thread ID register.
45007 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45009         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45010         [POSIX || UNIX98]: Require rather than permitting all symbols from
45011         <time.h>.
45012         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45013         element of struct sched_param.
45014         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45015         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45016         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45017         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45018         constant.
45020 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45022         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45023         argument calculation.
45025 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45027         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45028         Expect macro.
45029         [POSIX] (pthread_attr_t): Do not require type.
45030         [POSIX] (pthread_cond_t): Likewise.
45031         [POSIX] (pthread_condattr_t): Likewise.
45032         [POSIX] (pthread_key_t): Likewise.
45033         [POSIX] (pthread_mutex_t): Likewise.
45034         [POSIX] (pthread_mutexattr_t): Likewise.
45035         [POSIX] (pthread_once_t): Likewise.
45036         [POSIX] (pthread_t): Likewise.
45037         [POSIX-based standards] (pthread_atfork): Expect function.
45039 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45040             Richard Sandiford  <richard@codesourcery.com>
45042         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45043         (swap_endianness_p): New extern variable.
45044         (set_big_endian): New inline function.
45045         (maybe_swap_uint32): Likewise.
45046         (maybe_swap_uint32_array): Likewise.
45047         (maybe_swap_uint32_obstack): Likewise.
45048         * locale/programs/locfile.c: Include <stdbool.h>.
45049         (swap_endianness_p): New variable.
45050         (add_locale_uint32): Call maybe_swap_uint32.
45051         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45052         (write_locale_data): Call maybe_swap_uint32_array.
45053         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45054         maybe_swap_uint32.
45055         (obstack_int32_grow_fast): Likewise.
45056         (output_weightwc): Call maybe_swap_uint32_obstack.
45057         (collate_output): Likewise.
45058         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45059         (OPT_LITTLE_ENDIAN): Likewise.
45060         (options): Add --little-endian and --big-endian options.
45061         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45062         * locale/programs/locarchive.c: Include "locfile.h".
45063         (GET): New macro.
45064         (SET): Likewise.
45065         (INC): Likewise.
45066         (create_archive): Use the new macros to access fields of
45067         structures directly mapped from or written to locale archives.
45068         (oldlocrecentcmp): Likewise.
45069         (enlarge_archive): Likewise.
45070         (insert_name): Likewise.
45071         (add_alias): Likewise.
45072         (add_locale): Likewise.
45073         (delete_locales_from_archive): Likewise.
45074         (show_archive_content): Likewise.
45075         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45076         locale data.
45078 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45080         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45081         http://www.gnu.org/doc/freemanuals.texi.
45082         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45084 2013-09-24  Will Newton  <will.newton@linaro.org>
45086         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45087         macro.
45089 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45091         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45092         unsigned char.
45094 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45096         * manual/threads.texi (POSIX Threads): Fix a typo.
45098 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45100         [BZ #14547]
45101         * string/tst-strcoll-overflow.c: New test case.
45102         * string/Makefile (xtests): Add tst-strcoll-overflow.
45103         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45104         cache if string sizes may cause integer overflow.
45106         [BZ #14547]
45107         * string/strcoll_l.c (coll_seq): New members rule, idx,
45108         save_idx and back_us.
45109         (get_next_seq_nocache): New function.
45110         (do_compare_nocache): New function.
45111         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45112         when malloc fails.
45114 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45116         [BZ #15754]
45117         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45118         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45119         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45121         [BZ #15754]
45122         * elf/Makefile (tests): Add tst-ptrguard1.
45123         (tests-static): Add tst-ptrguard1-static.
45124         (tst-ptrguard1-ARGS): Define.
45125         (tst-ptrguard1-static-ARGS): Define.
45126         * elf/tst-ptrguard1.c: New file.
45127         * elf/tst-ptrguard1-static.c: New file.
45128         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45129         * sysdeps/i386/stackguard-macros.h: Likewise.
45130         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45131         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45132         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45133         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45134         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45135         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45137 2013-09-23  Hector Marco  <hecmargi@upv.es>
45138             Ismael Ripoll  <iripoll@disca.upv.es>
45139             Carlos O'Donell  <carlos@redhat.com>
45141         [BZ #15754]
45142         * sysdeps/generic/stackguard-macros.h: Define
45143         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45144         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45145         Define __pointer_chk_guard_local.
45146         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45147         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45149 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45151         [BZ #15859]
45152         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45154 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45156         * include/string.h (__ffs): Declare as hidden.
45157         * string/ffs.c (__ffs): Define as hidden.
45158         * sysdeps/i386/ffs.c (__ffs): Likewise.
45159         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45160         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45161         * sysdeps/s390/ffs.c (__ffs): Likewise.
45162         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45164 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45166         * NEWS: Mention malloc probes.
45168         * malloc/arena.c (new_heap): New memory_heap_new probe.
45169         (grow_heap): New memory_heap_more probe.
45170         (shrink_heap): New memory_heap_less probe.
45171         (heap_trim): New memory_heap_free probe.
45172         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45173         (systrim): New memory_sbrk_less probe.
45174         * manual/probes.texi: Document them.
45176         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45177         * manual/probes.texi: Document it.
45179         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45180         (__libc_realloc): Add memory_realloc_retry probe.
45181         (__libc_memalign): Add memory_memalign_retry probe.
45182         (__libc_valloc): Add memory_valloc_retry probe.
45183         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45184         (__libc_calloc): Add memory_calloc_retry probe.
45185         * manual/probes.texi: Document them.
45187         * malloc/arena.c (get_free_list): Add probe
45188         memory_arena_reuse_free_list.
45189         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45190         and memory_arena_reuse.
45191         (arena_get2) [!PER_THREAD]: Likewise.
45192         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45193         memory_arena_reuse_realloc.
45194         * manual/probes.texi: Document them.
45196         * malloc/malloc.c (__libc_free): Add
45197         memory_mallopt_free_dyn_thresholds probe.
45198         (__libc_mallopt): Add multiple memory_mallopt probes.
45199         * manual/probes.texi: Document them.
45201         * malloc/malloc.c: Include stap-probe.h.
45202         (__libc_mallopt): Add memory_mallopt probe.
45203         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45204         * manual/probes.texi: New.
45205         * manual/Makefile (chapters): Add probes.
45206         * manual/threads.texi: Set next node.
45208 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45210         [BZ #15963, #13985]
45211         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45212         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45213         Add `Chinese' to `nan' entry name.
45215 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45217         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45218         (POLYNOMIAL): Likewise.
45219         (TAYLOR_SINCOS): Likewise.
45220         (TAYLOR_SLOW): Likewise.
45221         (__sin): Use TAYLOR_SINCOS.
45222         (__cos): Likewise.
45223         (slow): Use TAYLOR_SLOW.
45224         (sloww): Likewise.
45225         (bsloww): Likewise.
45226         (csloww): Likewise.
45228 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45230         * stdlib/strtod_l.c: Fix buffer overrun.
45232 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45234         * benchtests/Makefile (bench): Add sincos.
45235         * benchtests/bench-sincos.c: New file.
45237         * math/libm-test.inc (cos_test_data): New test inputs.
45238         (sin_test_data): Likewise.
45240         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45241         macro.
45242         (__sin): Use it.
45243         (__cos): Likewise.
45244         (slow1): Likewise.
45245         (slow2): Likewise.
45246         (sloww1): Likewise.
45247         (sloww2): Likewise.
45248         (bsloww1): Likewise.
45249         (bsloww2): Likewise.
45250         (cslow2): Likewise.
45251         (csloww1): Likewise.
45252         (csloww2): Likewise.
45254         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45255         function.
45256         (__sin): Use it.
45257         (__cos): Likewise.
45259         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45260         gotos.
45261         (__cos): Likewise.
45263 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45265         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45266         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45267         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45268         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45269         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45270         * elf/cache.c (print_entry): Handle the new cache flags.
45272 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45273             Aldy Hernandez  <aldyh@redhat.com>
45275         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45276         Change condition to [_SOFT_FLOAT].
45277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45289         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45292         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45293         declaration.
45295 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45297         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45298         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45299         (__longjmp): Use LOAD_GP to load saved GPRs.
45300         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45301         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45302         (__sigsetjmp): Use SAVE_GP to save GPRs.
45304         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45305         Do not append -msoft-float.
45306         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45308 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45310         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45312 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45314         [BZ #15966]
45315         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45316         (_FPU_GETCW): Use initial "__" on variable and field names but not
45317         on macro parameter name.
45318         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45319         parentheses around reference to macro parameter.
45321 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45323         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45324         prototype.
45325         (ctype_startup): Use uint32_t in cast and sizeof for
45326         ctype->charnames.
45328 2013-09-11  Jia Liu  <proljc@gmail.com>
45330         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45331         __daddr_t_defined.
45332         [__FreeBSD__]: Likewise.
45334 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45337         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45338         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45339         (strchr): Remove __strchr_sse42 ifunc selection.
45340         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45341         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45343 2013-09-11  Will Newton  <will.newton@linaro.org>
45345         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45346         parameter to RES. Remove hardcoded 1000 value.
45347         * benchtests/bench-skeleton.c (main): Pass RES parameter
45348         to TIMING_INIT and multiply result by 1000.
45350 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45354 2013-09-11  Andreas Schwab  <schwab@suse.de>
45356         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45357         if not defined.
45358         (O_TMPFILE) [__USE_GNU]: Define.
45359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45360         Define.
45362 2013-09-11  Will Newton  <will.newton@linaro.org>
45364         [BZ #15857]
45365         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45366         does not overflow.
45368 2013-09-11  Will Newton  <will.newton@linaro.org>
45370         [BZ #15856]
45371         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45372         does not overflow.
45374 2013-09-11  Will Newton  <will.newton@linaro.org>
45376         [BZ #15855]
45377         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45378         does not overflow.
45380 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45382         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45383         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45384         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45385         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45386         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45388 2013-09-10  Allan McRae  <allan@archlinux.org>
45390         [BZ #15748]
45391         * manual/arith.texi (Parsing of Floats): Clarify
45392         cross-reference.
45394         [BZ #15849]
45395         * manual/install.texi (Running make install): Mention
45396         --enable-pt-chown.
45397         * INSTALL: Regenerated.
45399 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45401         * csu/init-first.c (_init): Remove the !SHARED condition around
45402         FPU control word initialization.
45403         * elf/dl-support.c (_dl_fpu_control): New variable.
45404         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45405         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45406         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45407         * math/test-fpucw-static.c: New file.
45408         * math/test-fpucw-ieee.c: New file.
45409         * math/test-fpucw-ieee-static.c: New file.
45410         * math/Makefile (tests): Add `test-fpucw-ieee' and
45411         `$(tests-static)'.
45412         (tests-static): New variable.
45413         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45414         dependency to...
45415         [($(build-shared),yes)]
45416         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45417         ... this.
45418         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45419         New dependency.
45421 2013-09-09  Allan McRae  <allan@archlinux.org>
45423         [BZ #15939]
45424         * manual/string.texi (Collation Functions): Fix typo in
45425         strcoll example.
45426         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45428         [BZ #15893]
45429         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45431         [BZ #15892]
45432         * libio/memstream.c (open_memstream): Fix memory leak.
45433         * libio/wmemstream.c (open_wmemstream): Likewise.
45435         [BZ #15895]
45436         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45438 2013-09-09  Will Newton  <will.newton@linaro.org>
45440         * malloc/Makefile: Add tst-realloc to tests.
45441         * malloc/tst-realloc.c: New file.
45443 2013-09-09  Allan McRae  <allan@archlinux.org>
45445         [BZ #15844]
45446         * COPYING: Update from GNU website to fix FSF address.
45447         * COPYING.LIB: Likewise.
45449 2013-09-06  David S. Miller  <davem@davemloft.net>
45451         * po/zh_TW.po: Update Chinese (traditional) translation from
45452         translation project.
45454 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45455             Joseph Myers  <joseph@codesourcery.com>
45457         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45458         "localeinfo.h".
45459         (obstack_chunk_alloc): New macro.
45460         (obstack_chunk_free): Likewise.
45461         (record_offset): New function.
45462         (init_locale_data): Likewise.
45463         (align_locale_data): Likewise.
45464         (add_locale_empty): Likewise.
45465         (add_locale_raw_data): Likewise.
45466         (add_locale_raw_obstack): Likewise.
45467         (add_locale_string): Likewise.
45468         (add_locale_wstring): Likewise.
45469         (add_locale_uint32): Likewise.
45470         (add_locale_uint32_array): Likewise.
45471         (add_locale_char): Likewise.
45472         (start_locale_structure): Likewise.
45473         (end_locale_structure): Likewise.
45474         (start_locale_prelude): Likewise.
45475         (end_locale_prelude): Likewise.
45476         (write_locale_data): Take locale_file structure rather than an
45477         iovec.
45478         * locale/programs/locfile.h: Include "obstack.h".
45479         (struct locale_file): Change to store locale file contents instead
45480         of header.
45481         (init_locale_data): New prototype.
45482         (align_locale_data): Likewise.
45483         (add_locale_empty): Likewise.
45484         (add_locale_raw_data): Likewise.
45485         (add_locale_raw_obstack): Likewise.
45486         (add_locale_string): Likewise.
45487         (add_locale_wstring): Likewise.
45488         (add_locale_uint32): Likewise.
45489         (add_locale_uint32_array): Likewise.
45490         (add_locale_char): Likewise.
45491         (start_locale_structure): Likewise.
45492         (end_locale_structure): Likewise.
45493         (start_locale_prelude): Likewise.
45494         (end_locale_prelude): Likewise.
45495         (write_locale_data): Update prototype.
45496         * locale/programs/3level.h (struct TABLE): Remove result field.
45497         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45498         Use new locale_file interface.
45499         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45500         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45501         * locale/programs/ld-address.c (address_output): Use new
45502         locale_file interface.
45503         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45504         NO_ADD_LOCALE.
45505         (collate_finish): Don't call collseq_table_finalize.
45506         (collate_output): Use new locale_file interface.
45507         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45508         in file.
45509         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45510         (TABLE): Move defines earlier in file.
45511         (ELEMENT): Likewise.
45512         (DEFAULT): Likewise.
45513         (wctrans_table_add): Move macro and inline function earlier in
45514         file.
45515         (struct wctype_table): Move type earlier in file.
45516         (add_locale_wctype_table): New static prototype.
45517         (struct locale_ctype_t): Use logical types instead of struct iovec
45518         pointers for members.
45519         (ctype_output): Use new locale_file interface.
45520         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45521         new locale_file interface.
45522         (allocate_arrays): Update for use of new locale_file interface.
45523         * locale/programs/ld-identification.c (identification_output): Use
45524         new locale_file interface.
45525         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45526         * locale/programs/ld-messages.c (messages_output): Likewise.
45527         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45528         * locale/programs/ld-name.c (name_output): Likewise.
45529         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45530         * locale/programs/ld-paper.c (paper_output): Likewise.
45531         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45532         * locale/programs/ld-time.c (time_output): Likewise.
45534 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45536         * benchtests/Makefile: Add memrchr benchmark.
45537         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45538         benchmark as memrchr.
45539         * benchtests/bench-memrchr-ifunc.c: New file.
45540         * benchtests/bench-memrchr.c: New file.
45542 2013-09-06   Will Newton  <will.newton@linaro.org>
45544         * benchtests/Makefile (string-bench): Add memcpy.
45546 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45547             Cong Wang  <amwang@redhat.com>
45549         [BZ #15850]
45550         * sysdeps/unix/sysv/linux/bits/in.h
45551         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45552         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45553         before __USE_KERNEL_IPV6_DEFS uses.
45554         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45555         IPPROTO_BEETPH.
45556         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45557         sockaddr_in6, or ipv6_mreq.
45559 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45561         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45562         memory access for final bytes in some large inputs.
45563         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45565 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45567         * string/test-memrchr.c: New file.
45568         * string/test-memrchr-ifunc.c: New file.
45569         * string/Makefile: Add new memrchr testcase.
45571 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45573         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45574         fanotify_init returns EPERM.
45576 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45578         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45579         errors.
45580         (top level): Treat second token from macro or constant entries for
45581         allowed headers as allowed.
45582         * include/complex.h: Condition internal declarations on
45583         [!_ISOMAC].
45584         * include/fenv.h: Condition include of <stdbool.h> and internal
45585         declarations on [!_ISOMAC].
45587 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45589         [BZ #15923]
45590         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45592 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45594         * configure.in (--enable-versioning): Remove configure option.
45595         (libc_cv_asm_symver_directive): Remove configure test.
45596         (libc_cv_ld_version_script_option): Likewise.
45597         (VERSIONING): Remove variable and AC_SUBST.
45598         (DO_VERSIONING): Remove AC_DEFINE.
45599         * configure: Regenerated.
45600         * config.h.in (DO_VERSIONING): Remove macro.
45601         * Makerules [$(versioning) = yes]: Change conditionals to
45602         [$(build-shared) = yes].
45603         * config.make.in (versioning): Remove variable.
45604         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45605         [$(build-shared) = yes].
45606         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45607         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45608         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45609         [$(build-shared) = yes].
45610         * extra-lib.mk [$(versioning) = yes]: Likewise.
45611         * hurd/Makefile [$(versioning) = yes]: Likewise.
45612         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45613         [SHARED].
45614         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45615         [SHARED].
45616         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45617         [SHARED && !NO_HIDDEN].
45618         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45619         [SHARED].
45620         [SHARED && DO_VERSIONING]: Likewise..
45621         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45622         [$(build-shared) = yes].
45623         * manual/install.texi (--disable-versioning): Remove
45624         documentation.
45625         * INSTALL: Regenerated.
45626         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45627         to [SHARED].
45628         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45629         [$(build-shared) = yes].
45630         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45631         * sysdeps/i386/i686/multiarch/strstr-c.c
45632         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45633         [SHARED && !NO_HIDDEN].
45634         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45635         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45636         * sysdeps/powerpc/powerpc32/dl-machine.c
45637         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45638         * sysdeps/powerpc/powerpc32/sysdep.h
45639         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45640         to [SHARED && PIC && !NO_HIDDEN].
45641         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45642         conditional to [SHARED].
45644 2013-09-04   Will Newton  <will.newton@linaro.org>
45646         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45647         * benchtests/bench-string.h: Include bench-timing.h instead
45648         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45649         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45650         call to HP_TIMING_DIFF_INIT.
45651         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45652         instead of hp-timing.h macros.
45653         * benchtests/bench-memchr.c: Likewise.
45654         * benchtests/bench-memcmp.c: Likewise.
45655         * benchtests/bench-memcpy.c: Likewise.
45656         * benchtests/bench-memmem.c: Likewise.
45657         * benchtests/bench-memmove.c: Likewise.
45658         * benchtests/bench-memset.c: Likewise.
45659         * benchtests/bench-rawmemchr.c: Likewise.
45660         * benchtests/bench-strcasecmp.c: Likewise.
45661         * benchtests/bench-strcasestr.c: Likewise.
45662         * benchtests/bench-strcat.c: Likewise.
45663         * benchtests/bench-strchr.c: Likewise.
45664         * benchtests/bench-strcmp.c: Likewise.
45665         * benchtests/bench-strcpy.c: Likewise.
45666         * benchtests/bench-strcpy_chk.c: Likewise.
45667         * benchtests/bench-strlen.c: Likewise.
45668         * benchtests/bench-strncasecmp.c: Likewise.
45669         * benchtests/bench-strncat.c: Likewise.
45670         * benchtests/bench-strncmp.c: Likewise.
45671         * benchtests/bench-strncpy.c: Likewise.
45672         * benchtests/bench-strnlen.c: Likewise.
45673         * benchtests/bench-strpbrk.c: Likewise.
45674         * benchtests/bench-strrchr.c: Likewise.
45675         * benchtests/bench-strspn.c: Likewise.
45676         * benchtests/bench-strstr.c: Likewise.
45678 2013-09-04  Will Newton  <will.newton@linaro.org>
45680         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45682 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45684         [BZ #15427]
45685         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45686         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45687         * math/libm-test.inc (lgamma_test_data): Add more tests.
45688         * sysdeps/i386/fpu/libm-test-ulps: Update.
45689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45691 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45693         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45695         Add ifunc.
45696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45697         Add strcmp-sse2-unaligned
45698         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45700 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45702         * Versions.def (libc): Add GLIBC_2.19.
45704 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45706         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45707         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45709 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45711         [BZ #14155]
45712         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45713         intermediate calculations in recurrence.
45714         (__ieee754_ynf): Likewise.
45715         * math/libm-test.inc (jn_test_data): Do not allow spurious
45716         underflow exception.  Add more tests.
45717         (yn_test_data): Add more tests.
45718         * sysdeps/i386/fpu/libm-test-ulps: Update.
45719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45721 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45723         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45725 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45727         * csu/init-first.c: Fix then/than typos.
45728         * locale/programs/ld-collate.c: Likewise.
45729         * locale/programs/linereader.h: Likewise.
45730         * manual/charset.texi: Likewise.
45731         * manual/filesys.texi: Likewise.
45732         * manual/stdio.texi: Likewise.
45733         * manual/string.texi: Likewise.
45734         * stdlib/fmtmsg.c: Likewise.
45735         * sysdeps/i386/stpncpy.S: Likewise.
45736         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45737         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45738         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45739         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45741 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45743         * elf/dl-open.c: Fix typos.
45744         * iconvdata/gbbig5.c: Likewise.
45745         * iconvdata/iso-2022-jp.c: Likewise.
45746         * iconv/gconv_int.h: Likewise.
45747         * iconv/loop.c: Likewise.
45748         * nis/rpcsvc/nis.h: Likewise.
45749         * resolv/ns_name.c: Likewise.
45750         * stdio-common/vfscanf.c: Likewise.
45751         * streams/stropts.h: Likewise.
45752         * sunrpc/rpc_thread.c: Likewise.
45753         * sysdeps/i386/strpbrk.S: Likewise.
45754         * sysdeps/ieee754/k_standard.c: Likewise.
45755         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45756         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45757         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45758         * sysdeps/mach/hurd/profil.c: Likewise.
45759         * sysdeps/s390/dl-procinfo.h: Likewise.
45760         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45761         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45762         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45763         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45764         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45766 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45768         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45771 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45773         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45774         aix specific files.
45775         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45776         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45777         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45778         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45779         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45780         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45781         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45782         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45784 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45785             Roland McGrath  <roland@hack.frob.com>
45787         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45788         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45790 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45792         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45793         __executable_start symbol instead of _start.
45795 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45797         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45798         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45799         Move macros to...
45800         * sysdeps/gnu/ldsodefs.h: ... this new file.
45802         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45803         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45804         instead of ELFOSABI_LINUX.
45806         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45807         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45808         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45809         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45810         Likewise.
45811         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45812         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45813         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45814         Likewise.
45815         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45816         (ibm_extended_long_double): Add ieee_nan member.
45817         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45818         (do_test): New function.
45820         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45821         TEST_TRUNC.
45822         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45823         functions, renamed from truncdfsf_test, trunctfsf_test,
45824         trunctfdf_test.
45825         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45826         functions.
45827         (do_test): Run all these.
45829 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45831         * argp/argp-help.c: Fix typos.
45832         * argp/argp-parse.c: Likewise.
45833         * debug/backtracesyms.c: Likewise.
45834         * elf/elf.h: Likewise.
45835         * malloc/malloc.c: Likewise.
45836         * nis/nis_print.c: Likewise.
45837         * resolv/res_comp.c: Likewise.
45838         * stdlib/stdlib.h: Likewise.
45839         * sunrpc/clnt_tcp.c: Likewise.
45840         * sunrpc/clnt_udp.c: Likewise.
45841         * sunrpc/clnt_unix.c: Likewise.
45842         * sysdeps/unix/bsd/ptsname.c: Likewise.
45843         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45844         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45846         Likewise.
45847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45848         Likewise.
45849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45850         Likewise.
45851         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45853 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45855         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45858 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45860         [BZ #15897]
45861         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45862         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45863         ($(objpfx)bug-dl-leaf): New rule.
45864         ($(objpfx)bug-dl-leaf.so): Likewise.
45865         ($(objpfx)bug-dl-leaf.out): Likewise.
45866         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45867         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45868         * dlfcn/bug-dl-leaf.c: New test.
45869         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45870         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45871         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45872         (dlclose): Likewise.
45873         (dlmopen): Likewise.
45875 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45877         * include/netdb.h [!_ISOMAC]:
45878         Don't include <tls.h>.
45879         (h_errno, __libc_h_errno): Move declaration and macros out of
45880         [_LIBC_REENTRANT].
45882         * include/resolv.h [_RESOLV_H_]:
45883         Don't include <tls.h>.
45884         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45885         * resolv/res_libc.c: Don't include <tls.h>.
45886         (_res): Use __attribute__ ((nocommon)) in place of
45887         __attribute__ ((section (".bss"))).
45889         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45890         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45892         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45894         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45895         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45897         * resolv/res_mkquery.c: Include <sys/time.h>.
45899         * inet/ifreq.c: Moved to ...
45900         * sysdeps/unix/ifreq.c: ... here.
45901         * inet/ifreq.c: New file, true stub version.
45903         * socket/sa_len.c: New file.
45904         * socket/Makefile (aux): Add it.
45905         * sysdeps/unix/sysv/linux/Makefile
45906         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45907         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45908         and #include <socket/sa_len.c>.
45909         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45910         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45912         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45913         * bits/socket.h: ... here.
45915         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45916         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45917         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45919 2013-08-27  Andreas Schwab  <schwab@suse.de>
45921         [BZ #15736]
45922         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45923         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45924         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45925         * string/test-strcasecmp.c (test_main): Run tests in several
45926         locales.
45927         * string/test-strncasecmp.c (test_main): Likewise.
45929         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45930         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45931         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45933         (__strncasecmp_ssse3) [PIC]: Likewise.
45935 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45937         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45939         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45940         instead of explicitly declaring xdecrypt.
45941         * nis/nss_nis/nis-publickey.c: Likewise.
45943 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45945         [BZ #15890]
45946         * nscd/aicache.c: Include res_hconf.h.
45947         (addhstaiX): Initialize res_hconf.
45949 2013-08-26  Andreas Schwab  <schwab@suse.de>
45951         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45952         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45954 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45956         * nscd/aicache.c (addhstaiX): Fix indentation.
45958 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45960         * configure.ac: Quote $build_pt_chown test.
45961         * configure: Regenerated.
45963 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45965         [BZ #15532]
45966         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45967         * math/s_cexpf.c (__cexpf): Likewise.
45968         * math/s_cexpl.c (__cexpl): Likewise.
45969         * math/libm-test.inc (cexp_test_data): Correct expected return
45970         value for NaN + i0.  Add another test.
45972 2013-08-22  David S. Miller  <davem@davemloft.net>
45974         * po/ca.po: Update Catalan translation from translation project.
45975         * po/uk.po: Add Ukrainian translations from translation project.
45977 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45979         [BZ #15797]
45980         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45981         is infinite, not alongside NaN test.
45982         * math/s_fdimf.c (__fdimf): Likewise.
45983         * math/s_fdiml.c (__fdiml): Likewise.
45984         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45985         errno is unchanged.
45987 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45989         * argp/argp-help.c: Fix typos.
45990         * crypt/speeds.c: Likewise.
45991         * csu/check_fds.c: Likewise.
45992         * elf/dl-load.c: Likewise.
45993         * elf/dl-open.c: Likewise.
45994         * elf/reldep3.c: Likewise.
45995         * elf/reldep.c: Likewise.
45996         * elf/sprof.c: Likewise.
45997         * iconv/iconv_charmap.c: Likewise.
45998         * iconv/skeleton.c: Likewise.
45999         * iconv/strtab.c: Likewise.
46000         * io/lockf64.c: Likewise.
46001         * libio/libioP.h: Likewise.
46002         * resolv/gai_notify.c: Likewise.
46003         * resolv/ns_name.c: Likewise.
46004         * resolv/ns_samedomain.c: Likewise.
46005         * resolv/res_send.c: Likewise.
46006         * stdlib/random.c: Likewise.
46007         * sunrpc/rpc/xdr.h: Likewise.
46008         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46009         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46010         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46011         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46012         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46013         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46014         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46015         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46016         * sysdeps/mach/hurd/check_fds.c: Likewise.
46017         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46018         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46020         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46021         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46022         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46023         * sysdeps/pthread/aio_notify.c: Likewise.
46024         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46025         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46026         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46027         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46028         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46030 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46032         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46033         version if bit_Slow_SSE4_2 is set.
46034         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46035         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46037 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46039         [BZ #15867]
46040         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46041         trampoline stack frame information.
46042         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46043         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46044         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46045         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46046         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46047         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46048         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46049         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46050         sa_flags value.
46051         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46052         interrupting a syscall and set with option SA_SIGINFO.
46054 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46056         [BZ #15531]
46057         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46058         argument is infinite.
46059         * math/s_cprojf.c (__cprojf): Likewise.
46060         * math/s_cprojl.c (__cprojl): Likewise.
46061         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46062         * math/libm-test.inc (cproj_test_data): Add more tests.
46064         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46066         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46067         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46068         size.  Use __ffs to determine corresponding shift.
46070 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46071             Roland McGrath  <roland@hack.frob.com>
46073         * Makefile (INSTALL): Remove trailing blank lines from output of
46074         makeinfo.
46076 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46078         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46079         Align 32 bit compat elf_greg to 8 bytes.
46081 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46083         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46085 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46087         * string/strcoll_l.c (coll_seq): New structure.
46088         (get_next_seq_cached): New function.
46089         (get_next_seq): New function.
46090         (do_compare): New function.
46091         (STRCOLL): Use GNU style definition.  Simplify implementation
46092         by using get_next_seq, get_next_seq_cached and do_compare.
46094 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46096         [BZ #14699]
46097         CVE-2013-4237
46098         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46099         member.
46100         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46101         member.
46102         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46103         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46104         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46105         conditional.
46106         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46107         GETDENTS_64BIT_ALIGNED.
46108         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46109         * manual/filesys.texi (Reading/Closing Directory): Document
46110         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46111         strongly.
46112         * manual/conf.texi (Limits for Files): Add portability note to
46113         NAME_MAX, PATH_MAX.
46114         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46116 2013-08-13  Andreas Schwab  <schwab@suse.de>
46118         [BZ #15749]
46119         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46120         of fabs.
46121         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46122         LDBL_MAX_EXP >= 16384]: Add tests for it.
46124 2013-08-12  David S. Miller  <davem@davemloft.net>
46126         * version.h (RELEASE): Set to "development".
46127         (VERSION): Set to "2.18.90".
46128         * NEWS: Add 2.19 section.
46130 2013-08-03  David S. Miller  <davem@davemloft.net>
46132         * po/ko.po: Update Korean translation from translation project.
46134 2013-08-01  David S. Miller  <davem@davemloft.net>
46136         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46137         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46138         Bilka.
46140 2013-07-30  David S. Miller  <davem@davemloft.net>
46142         * po/fr.po: Update French translation from translation project.
46144 2013-07-28  David S. Miller  <davem@davemloft.net>
46146         * po/cs.po: Update Czech translation from translation project.
46148         * po/sv.po: Update Swedish translation from translation project.
46150 2013-07-27  David S. Miller  <davem@davemloft.net>
46152         * po/eo.po: Update Esperanto translation from translation project.
46154         * po/vi.po: Update Vietnamese translation from translation project.
46156         * po/de.po: Update German translation from translation project.
46158 2013-07-26  David S. Miller  <davem@davemloft.net>
46160         * po/bg.po: Update Bulgarian translation from translation project.
46162         * po/nl.po: Update Dutch translation from translation project.
46163         * po/pl.po: Update Polish translation from translation project.
46164         * po/ru.po: Update Russian translation from translation project.
46166 2013-07-24  David S. Miller  <davem@davemloft.net>
46168         * po/libc.pot: Update.
46170 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46172         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46173         variable page size.
46174         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46175         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46176         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46178 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46180         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46182 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46183             Andreas Schwab  <schwab@suse.de>
46184             Roland McGrath  <roland@hack.frob.com>
46185             Joseph Myers  <joseph@codesourcery.com>
46186             Carlos O'Donell  <carlos@redhat.com>
46188         [BZ #15755]
46189         * config.h.in: Define HAVE_PT_CHOWN.
46190         * config.make.in (build-pt-chown): New variable.
46191         * configure.in (--enable-pt_chown): New configure option.
46192         * configure: Regenerate.
46193         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46194         build-pt-chown is enabled.
46195         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46196         pt_chown to fix pty ownership.
46197         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46198         CLOSE_ALL_FDS.
46199         * manual/install.texi (Configuring and compiling): Mention
46200         --enable-pt_chown. Add @findex for grantpt.
46201         * INSTALL: Regenerate.
46203 2013-07-20  David S. Miller  <davem@davemloft.net>
46205         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46206         difference between 32-bit and 64-bit.
46208 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46210         [BZ #15711]
46211         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46212         Avoid system header dependency with -ffreestanding.
46213         ($(objpfx)bits/syscall%d): Likewise.
46215 2013-07-13  David S. Miller  <davem@davemloft.net>
46217         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46218         underflows from atanl/atan2l due to bug 15319.
46219         (casinh_test_data): Likewise.
46221 2013-07-07  David S. Miller  <davem@davemloft.net>
46223         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46225 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46227         * sysdeps/i386/fpu/libm-test-ulps: Update.
46228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46230 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46232         * configure.in (--enable-lock-elision): Fix message text.
46233         * INSTALL: Regenerate.
46234         * configure: Regenerate.
46236 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46240 2013-07-03  Andreas Jaeger  <aj@suse.de>
46242         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46243         define.
46244         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46245         (ptrace_peeksiginfo_args): Add.
46246         (__ptrace_peeksiginfo_flags): Add.
46247         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46248         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46251 2013-07-03  Allan McRae  <allan@archlinux.org>
46253         * sysdeps/i386/fpu/libm-test-ulps: Update.
46255 2013-07-02  David S. Miller  <davem@davemloft.net>
46257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46259 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46263 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46265         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46268 2013-07-02  Andi Kleen <ak@linux.intel.com>
46270         * config.h.in (ENABLE_LOCK_ELISION): Add.
46271         * configure.in (--enable-lock-elision): Add option.
46272         * manual/install.texi: Document --enable lock elision.
46273         * configure: Regenerate
46274         * INSTALL: Regenerate.
46276 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46278         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46279         SSE4.2 strcasecmp for libc.a.
46280         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46282 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46284         [BZ #13304]
46285         * soft-fp/op-common.h (_FP_FMA): New macro.
46286         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46287         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46288         (_FP_MUL_MEAT_1_imm): ... here.
46289         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46290         (_FP_MUL_MEAT_1_wide): ... here.
46291         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46292         (_FP_MUL_MEAT_1_hard): ... here.
46293         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46294         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46295         (_FP_MUL_MEAT_2_wide): ... here.
46296         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46297         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46298         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46299         (_FP_MUL_MEAT_2_gmp): ... here.
46300         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46301         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46302         (_FP_MUL_MEAT_4_wide): ... here.
46303         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46304         (_FP_MUL_MEAT_4_gmp): ... here.
46305         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46306         (_FP_WFRACBITS_DW_S): Likewise.
46307         (_FP_WFRACXBITS_DW_S): Likewise.
46308         (_FP_HIGHBIT_DW_S): Likewise.
46309         (FP_FMA_S): Likewise.
46310         (_FP_FRAC_HIGH_DW_S): Likewise.
46311         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46312         (_FP_WFRACBITS_DW_D): Likewise.
46313         (_FP_WFRACXBITS_DW_D): Likewise.
46314         (_FP_HIGHBIT_DW_D): Likewise.
46315         (FP_FMA_D): Likewise.
46316         (_FP_FRAC_HIGH_DW_D): Likewise.
46317         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46318         (_FP_WFRACBITS_DW_E): Likewise.
46319         (_FP_WFRACXBITS_DW_E): Likewise.
46320         (_FP_HIGHBIT_DW_E): Likewise.
46321         (FP_FMA_E): Likewise.
46322         (_FP_FRAC_HIGH_DW_E): Likewise.
46323         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46324         (_FP_WFRACBITS_DW_Q): Likewise.
46325         (_FP_WFRACXBITS_DW_Q): Likewise.
46326         (_FP_HIGHBIT_DW_Q): Likewise.
46327         (FP_FMA_Q): Likewise.
46328         (_FP_FRAC_HIGH_DW_Q): Likewise.
46329         * soft-fp/fmasf4.c: New file.
46330         * soft-fp/fmadf4.c: Likewise.
46331         * soft-fp/fmatf4.c: Likewise.
46333 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46336         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46337         Silvermont.
46338         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46339         macro.
46340         (index_Slow_SSE4_2): Likewise.
46341         (index_Prefer_PMINUB_for_stringop): Likewise.
46342         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46343         bit_Slow_SSE4_2 is set.
46344         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46345         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46347 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46349         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46350         rtld_global._dl_hwcap2.
46351         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46352         POWER8.
46353         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46354         POWER8 feature descriptions defined in _dl_hwcap2.
46355         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46356         string handling for POWER8 feature bits.
46357         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46358         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46359         _dl_powerpc_cap_flags.
46360         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46361         * sysdeps/powerpc/rtld-global-offsets.sym
46362         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46363         _dl_hwcap2 in the rtld_global_ro structure.
46365 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46367         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46368         hardware capabilities in support of AT_HWCAP2.
46369         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46370         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46371         GLRO(dl_hwcap2).
46372         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46373         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46374         explicitly the unknown a_type display mechanism is used.
46375         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46376         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46377         struct member.
46378         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46379         to macro prototype for AT_HWCAP2 support.
46380         * sysdeps/i386/dl-procinfo.h: Likewise.
46381         * sysdeps/s390/dl-procinfo.h: Likewise.
46382         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46383         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46384         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46385         return -1 for unknown a_type display fallback.
46386         * sysdeps/sparc/dl-procinfo.h: Likewise.
46387         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46388         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46390 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46392         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46393         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46395 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46397         [BZ #12492]
46398         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46399         mprotect making __stack_prot writable.
46401 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46402             Joseph Myers  <joseph@codesourcery.com>
46404         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46405         as being properly aligned.
46407 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46409         * dlfcn/modstatic5.c: New file.
46410         * dlfcn/tststatic5.c: New file.
46411         * dlfcn/Makefile (tests): Add tststatic5.
46412         (tests-static): Likewise.
46413         (modules-names): Add modstatic5.
46414         (tststatic5-ENV): New variable.
46415         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46417         [BZ #15022]
46418         * elf/dl-support.c (_dl_main_map): New variable.
46419         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46420         (_dl_nns, _dl_load_adds): Set to 1.
46421         (_dl_initial_searchlist): Refer to _dl_main_map.
46422         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46423         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46424         call to _dl_get_origin.
46425         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46426         around call_map.
46427         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46428         * dlfcn/modstatic3.c: New file.
46429         * dlfcn/tststatic3.c: New file.
46430         * dlfcn/tststatic4.c: New file.
46431         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46432         (tests-static): Likewise.
46433         (modules-names): Add modstatic3.
46434         (tststatic3-ENV, tststatic4-ENV): New variables.
46435         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46436         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46438 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46440         * configure.in (CC): Require GCC version 4.4 or later.
46441         * configure: Regenerated.
46442         * manual/install.texi (Tools for Compilation): Update GCC version
46443         requirement.
46444         * INSTALL: Regenerated.
46446 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46448         [BZ #15674]
46449         * string/test-memcmp.c (check2): New.
46450         (main): Call check2.
46452         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46454 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46456         [BZ #15022]
46457         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46458         over to...
46459         (dl_open_worker) [!SHARED]: ... here.
46461 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46463         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46465 2013-06-25  Richard Henderson  <rth@redhat.com>
46467         * locale/programs/locarchive.c: Include <libc-internal.h>
46469 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46471         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46472         trailing whitespace removed.
46474 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46476         [BZ #10283]
46477         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46478         * locale/programs/locarchive.c: Include libc-mmap.h.
46479         (prepare_address_space): Take two new outputs (the mmap base and len).
46480         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46481         values.
46482         (create_archive): Declare new mmap base and len values for
46483         prepare_address_space, and store the result in ah.
46484         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46485         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46486         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46487         Declare new mmap base and len values for
46488         prepare_address_space, and store the result in new_ah.
46489         (open_archive): Declare new mmap base and len values for
46490         prepare_address_space, and store the result in ah.
46491         (close_archive): If ah->mmap_base is not NULL, use that and
46492         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46493         * sysdeps/generic/libc-mmap.h: New file.
46495 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46497         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46498         (ALIGN_UP): Likewise.
46499         (PTR_ALIGN_DOWN): Likewise.
46500         (PTR_ALIGN_UP): Likewise.
46502 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46504         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46505         entry mapped to PPC_PLATFORM_POWER8.
46506         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46507         POWER8.
46508         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46509         (_dl_string_platform): Add case for exporting platform position for
46510         POWER8.
46511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46512         search path to sysdeps/powerpc/powerpc32/power8 directory.
46513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46514         search path to sysdeps/powerpc/powerpc64/power8 directory.
46515         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46516         power7 directories.
46517         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46518         power7 directories.
46520 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46522         * INSTALL: Regenerate.
46524         * nscd/connections.c (nscd_init): Fix comment.
46526 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46528         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46530         [BZ #15667]
46531         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46532         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46534 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46536         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46537         DL_DST_REQ_STATIC.
46538         (DL_DST_REQ_STATIC): Remove macro.
46540 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46542         [BZ #7006]
46543         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46544         with a shift of 0 bits.
46546 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46548         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46549         $(tststatic-ENV).
46551 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46553         [BZ #15655]
46554         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46556 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46558         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46559         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46560         accepts -fno-tree-loop-distribute-patterns.
46561         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46562         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46563         recursive call.
46564         * string/memset.c (memset): Likewise.
46565         * string/test-memmove.c (simple_memmove): Disable loop transformation
46566         to library calls.
46567         * string/test-memset.c (simple_memset): Likewise.
46568         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46569         * benchtests/bench-memset.c (simple_memset): Likewise.
46570         * configure: Regenerated.
46572 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46574         * math/test-misc.c (main): Ignore fesetround failure when failures
46575         of subsequent rounding tests would be ignored.
46577         [BZ #15654]
46578         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46579         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46580         * math/fegetenv.c (__fegetenv): Return 0.
46581         * math/fegetexcept.c (fegetexcept): Return 0.
46582         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46583         FE_TONEAREST.
46584         * math/feholdexcpt.c (feholdexcept): Return 0.
46585         * math/fesetenv.c (__fesetenv): Return 0.
46586         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46587         argument FE_TONEAREST.
46588         * math/feupdateenv.c (__feupdateenv): Return 0.
46589         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46591 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46593         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46594         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46595         ($(objpfx)rtld-%.os rules): Use them.
46597 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46599         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46600         fields.
46602 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46604         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46605         length of target pattern, then descending length of dependency pattern.
46606         * configure.in (AWK): Require gawk 3.1.2 or newer.
46607         * manual/install.texi (Tools for Compilation): Say that we do.
46608         * configure: Regenerated.
46610         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46611         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46612         * scripts/sysd-rules.awk: ... this new script.
46613         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46614         than a glob-style pattern.
46616 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46618         * math/test-misc.c (main): Do not treat incorrectly rounded
46619         conversions as failure unless ROUNDING_TESTS passes.
46621 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46623         [BZ #15631]
46624         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46625         restore exception state around main square root computation, then
46626         check for inexactness explicitly.
46628         * math/libm-test.inc (fma_test_data): Add another test.
46630 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46632         * manual/threads.texi (Non-POSIX Extensions): New document
46633         node.  Document pthread_getattr_default_np and
46634         pthread_setattr_default_np.
46636         * Versions.def (libpthread): Add GLIBC_2.18.
46637         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46639         Likewise.
46640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46641         Likewise.
46642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46643         Likewise.
46644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46645         Likewise.
46646         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46647         Likewise.
46648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46649         Likewise.
46650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46651         Likewise.
46652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46653         Likewise.
46654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46655         Likewise.
46657 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46660         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46662 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46663             H.J. Lu  <hjl.tools@gmail.com>
46665         [BZ #15627]
46666         * sysdeps/x86_64/rtld-memset.c: Remove file.
46667         * sysdeps/x86_64/rtld-memset.S: New file.
46669 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46671         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46672         (test_in_one_mode): Take arguments for whether the rounding mode
46673         is supported for each floating-point type.
46674         (do_test): Pass new arguments to test_in_one_mode using
46675         ROUNDING_TESTS.
46677 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46679         * posix/tst-waitid.c (do_test): Distinguish different instances of
46680         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46681         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46682         before entering the kernel for waitpid.
46684 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46686         * NEWS: Fix note on clock function precision.  Text by Roland
46687         McGrath.
46689 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46691         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46692         it into place only when and if the sanity check passes.
46694 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46696         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46697         output for whether conversion result is exact.  Take argument
46698         indicating whether type is IBM long double.
46699         (round_for_all): Change need_exact field to ibm_ld.
46700         * stdlib/tst-strtod-round.c (struct exactness): New type.
46701         (struct test): Change bool ld_ok field to struct exactness exact.
46702         (TEST): Update all definitions for change to field.
46703         (tests): Regenerate array contents.
46704         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46705         field value.  Check for IBM long double here.
46706         (do_test): Update calls to test_in_one_mode.
46708 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46710         [BZ #12515]
46711         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46712         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46714 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46716         [BZ #15605]
46717         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46718         generated by the compiler on loop optimizations.
46719         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46720         general definitions.
46722 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46724         * math/bug-nextafter.c: Include <math-tests.h>.
46725         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46726         the relevant type.
46727         * math/bug-nexttoward.c: Include <math-tests.h>.
46728         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46729         the relevant type.
46730         * math/test-misc.c: Include <math-tests.h>.
46731         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46732         the relevant type.
46734 2013-06-12  Andreas Jaeger  <aj@suse.de>
46736         * po/ia.po: Update Interlingua translation from translation
46737         project.
46739 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46741         * include/fenv.h: Include stdbool.h.
46742         (struct rm_ctx): New structure.
46743         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46744         Define macro.
46745         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46746         (SET_RESTORE_ROUNDF): Likewise.
46747         (SET_RESTORE_ROUNDL): Likewise.
46748         (SET_RESTORE_ROUND_NOEX): Likewise.
46749         (SET_RESTORE_ROUND_NOEXF): Likewise.
46750         (SET_RESTORE_ROUND_NOEXL): Likewise.
46751         (SET_RESTORE_ROUND_53BIT): Likewise.
46752         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46753         (libc_feresetround_noexf_ctx): Likewise.
46754         (libc_feresetround_noexl_ctx): Likewise.
46755         (libc_feholdsetround_53bit_ctx): Likewise.
46756         (libc_feresetround_53bit_ctx): Likewise.
46757         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46758         (libc_feholdexcept_setround_sse_ctx): New function.
46759         (libc_fesetenv_sse_ctx): Likewise.
46760         (libc_feupdateenv_sse_ctx): Likewise.
46761         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46762         (libc_feholdexcept_setround_387_ctx): Likewise.
46763         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46764         (libc_feholdsetround_387_prec_ctx): Likewise.
46765         (libc_feholdsetround_387_ctx): Likewise.
46766         (libc_feholdsetround_387_53bit_ctx): Likewise.
46767         (libc_feholdsetround_sse_ctx): Likewise.
46768         (libc_feresetround_sse_ctx): Likewise.
46769         (libc_feresetround_387_ctx): Likewise.
46770         (libc_feupdateenv_387_ctx): Likewise.
46771         (libc_feholdexcept_setroundf_ctx): Define macro.
46772         (libc_fesetenvf_ctx): Likewise.
46773         (libc_feupdateenvf_ctx): Likewise.
46774         (libc_feholdsetroundf_ctx): Likewise.
46775         (libc_feresetroundf_ctx): Likewise.
46776         (libc_feholdexcept_setround_ctx): Likewise.
46777         (libc_fesetenv_ctx): Likewise.
46778         (libc_feupdateenv_ctx): Likewise.
46779         (libc_feholdsetround_ctx): Likewise.
46780         (libc_feresetround_ctx): Likewise.
46781         (libc_feholdexcept_setroundl_ctx): Likewise.
46782         (libc_feupdateenvl_ctx): Likewise.
46783         (libc_feholdsetroundl_ctx): Likewise.
46784         (libc_feresetroundl_ctx): Likewise.
46785         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46786         (libc_feresetround_53bit_ctx): Likewise.
46788 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46790         * locale/iso-639.def: Convert to UTF-8.
46792 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46794         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46795         (EXCEPTION_TESTS_double): Likewise.
46796         (EXCEPTION_TESTS_long_double): Likewise.
46797         (EXCEPTION_TESTS): Likewise.
46798         * math/libm-test.inc (test_exceptions): Only test exceptions if
46799         EXCEPTION_TESTS (FLOAT).
46801 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46803         * benchtests/Makefile (string-bench): Add strcpy_chk and
46804         stpcpy_chk.
46805         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46806         * benchtests/bench-stpcpy_chk.c: New file.
46807         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46808         * benchtests/bench-strcpy_chk.c: New file.
46809         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46810         code.
46811         (do_test): Likewise.
46813 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46815         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46816         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46817         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46818         with tabs where appropriate.
46819         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46820         dl-procinfo.h.
46821         [PPC_PLATFORM_PPC440]: Likewise.
46822         [PPC_PLATFORM_PPC464]: Likewise.
46823         [PPC_PLATFORM_PPC476]: Likewise.
46824         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46825         ppc464, and ppc476 platform strings merging from ports/
46826         dl-procinfo.h.
46828 2013-06-11  Andreas Schwab  <schwab@suse.de>
46830         [BZ #14991]
46831         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46832         (from_ucs4_idx): Regenerate.
46833         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46834         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46835         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46836         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46837         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46838         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46839         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46840         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46841         from FROM_LOOP and TO_LOOP specific macros.
46842         (BODY): Handle combining characters.
46843         * iconvdata/BIG5HKSCS.irreversible: Update.
46844         * iconvdata/BIG5HKSCS.precomposed: New file.
46845         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46846         characters.
46847         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46849 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46851         * include/sys/time.h: Fix indentation and add copyright header.
46853         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46854         (do_test): Likewise.
46855         * string/test-memchr.c (do_one_test): Likewise.
46856         (do_test): Likewise.
46857         * string/test-memcmp.c (do_one_test): Likewise.
46858         (do_test): Likewise.
46859         * string/test-memcpy.c (do_one_test): Likewise.
46860         (do_test): Likewise.
46861         * string/test-memmem.c (do_one_test): Likewise.
46862         (do_test): Likewise.
46863         (do_random_tests): Likewise.
46864         * string/test-memmove.c (do_one_test): Likewise.
46865         (do_test): Likewise.
46866         * string/test-memset.c (do_one_test): Likewise.
46867         (do_test): Likewise.
46868         * string/test-rawmemchr.c (do_one_test): Likewise.
46869         (do_test): Likewise.
46870         * string/test-strcasecmp.c (do_one_test): Likewise.
46871         (do_test): Likewise.
46872         * string/test-strcasestr.c (do_one_test): Likewise.
46873         (do_test): Likewise.
46874         * string/test-strcat.c (do_one_test): Likewise.
46875         (do_test): Likewise.
46876         * string/test-strchr.c (do_one_test): Likewise.
46877         (do_test): Likewise.
46878         * string/test-strcmp.c (do_one_test): Likewise.
46879         (do_test): Likewise.
46880         * string/test-strcpy.c (do_one_test): Likewise.
46881         (do_test): Likewise.
46882         * string/test-string.h: Likewise.
46883         (test_init): Likewise.
46884         * string/test-strlen.c (do_one_test): Likewise.
46885         (do_test): Likewise.
46886         * string/test-strncasecmp.c (do_one_test): Likewise.
46887         (do_test): Likewise.
46888         * string/test-strncat.c (do_one_test): Likewise.
46889         (do_test): Likewise.
46890         * string/test-strncmp.c (do_one_test): Likewise.
46891         (do_test_limit): Likewise.
46892         (do_test): Likewise.
46893         * string/test-strncpy.c (do_one_test): Likewise.
46894         (do_test): Likewise.
46895         * string/test-strnlen.c (do_one_test): Likewise.
46896         (do_test): Likewise.
46897         * string/test-strpbrk.c (do_one_test): Likewise.
46898         (do_test): Likewise.
46899         * string/test-strrchr.c (do_one_test): Likewise.
46900         (do_test): Likewise.
46901         * string/test-strspn.c (do_one_test): Likewise.
46902         (do_test): Likewise.
46903         * string/test-strstr.c (do_one_test): Likewise.
46904         (do_test): Likewise.
46906         * benchtests/Makefile (string-bench): Add string benchmarks.
46907         * benchtests/bench-bcopy-ifunc.c: New file.
46908         * benchtests/bench-bcopy.c: New file.
46909         * benchtests/bench-bzero-ifunc.c: New file.
46910         * benchtests/bench-bzero.c: New file.
46911         * benchtests/bench-memccpy-ifunc.c: New file.
46912         * benchtests/bench-memccpy.c: New file.
46913         * benchtests/bench-memchr-ifunc.c: New file.
46914         * benchtests/bench-memchr.c: New file.
46915         * benchtests/bench-memcmp-ifunc.c: New file.
46916         * benchtests/bench-memcmp.c: New file.
46917         * benchtests/bench-memmem-ifunc.c: New file.
46918         * benchtests/bench-memmem.c: New file.
46919         * benchtests/bench-memmove-ifunc.c: New file.
46920         * benchtests/bench-memmove.c: New file.
46921         * benchtests/bench-mempcpy-ifunc.c: New file.
46922         * benchtests/bench-mempcpy.c: New file.
46923         * benchtests/bench-memset-ifunc.c: New file.
46924         * benchtests/bench-memset.c: New file.
46925         * benchtests/bench-rawmemchr-ifunc.c: New file.
46926         * benchtests/bench-rawmemchr.c: New file.
46927         * benchtests/bench-stpcpy-ifunc.c: New file.
46928         * benchtests/bench-stpcpy.c: New file.
46929         * benchtests/bench-stpncpy-ifunc.c: New file.
46930         * benchtests/bench-stpncpy.c: New file.
46931         * benchtests/bench-strcasecmp-ifunc.c: New file.
46932         * benchtests/bench-strcasecmp.c: New file.
46933         * benchtests/bench-strcasestr-ifunc.c: New file.
46934         * benchtests/bench-strcasestr.c: New file.
46935         * benchtests/bench-strcat-ifunc.c: New file.
46936         * benchtests/bench-strcat.c: New file.
46937         * benchtests/bench-strchr-ifunc.c: New file.
46938         * benchtests/bench-strchr.c: New file.
46939         * benchtests/bench-strchrnul-ifunc.c: New file.
46940         * benchtests/bench-strchrnul.c: New file.
46941         * benchtests/bench-strcmp-ifunc.c: New file.
46942         * benchtests/bench-strcmp.c: New file.
46943         * benchtests/bench-strcpy-ifunc.c: New file.
46944         * benchtests/bench-strcpy.c: New file.
46945         * benchtests/bench-strcspn-ifunc.c: New file.
46946         * benchtests/bench-strcspn.c: New file.
46947         * benchtests/bench-strlen-ifunc.c: New file.
46948         * benchtests/bench-strlen.c: New file.
46949         * benchtests/bench-strncasecmp-ifunc.c: New file.
46950         * benchtests/bench-strncasecmp.c: New file.
46951         * benchtests/bench-strncat-ifunc.c: New file.
46952         * benchtests/bench-strncat.c: New file.
46953         * benchtests/bench-strncmp-ifunc.c: New file.
46954         * benchtests/bench-strncmp.c: New file.
46955         * benchtests/bench-strncpy-ifunc.c: New file.
46956         * benchtests/bench-strncpy.c: New file.
46957         * benchtests/bench-strnlen-ifunc.c: New file.
46958         * benchtests/bench-strnlen.c: New file.
46959         * benchtests/bench-strpbrk-ifunc.c: New file.
46960         * benchtests/bench-strpbrk.c: New file.
46961         * benchtests/bench-strrchr-ifunc.c: New file.
46962         * benchtests/bench-strrchr.c: New file.
46963         * benchtests/bench-strspn-ifunc.c: New file.
46964         * benchtests/bench-strspn.c: New file.
46965         * benchtests/bench-strstr-ifunc.c: New file.
46966         * benchtests/bench-strstr.c: New file.
46968         * benchtests/Makefile: Disable parallel execution of targets.
46969         (string-bench): Add memcpy.
46970         (benchset): New variable to store a list of benchmark sets.
46971         (bench-func): Renamed from bench.
46972         (bench-set): New target.
46973         (bench): Depend on bench-func and bench-set.
46974         * benchtests/README: Add section on benchmark sets.
46975         * benchtests/bench-memcpy-ifunc.c: New file.
46976         * benchtests/bench-memcpy.c: New file.
46977         * benchtests/bench-string.h: New file.
46979 2013-06-11  Andreas Schwab  <schwab@suse.de>
46981         [BZ #15577]
46982         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46983         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46984         values in the triple.
46985         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46986         terminator in the group key.
46988 2013-06-11  Andreas Jaeger  <aj@suse.de>
46990         * po/zh_TW.po: Update Chinese (traditional) translation from
46991         translation project.
46993 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46995         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46996         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46997         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46998         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46999         (clock_getcpuclockid): Likewise.
47000         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47001         Add weak_alias and libc_hidden_def.
47002         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47003         * rt/clock_gettime.c (clock_gettime): Rename to
47004         __clock_gettime.  Add weak_alias and libc_hidden_def.
47005         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47006         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47007         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47008         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47009         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47010         Likewise.
47011         * rt/clock_settime.c (clock_settime): Rename to
47012         __clock_settime.  Add weak_alias and libc_hidden_def.
47013         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47015 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47017         * mach/err_boot.sub: Remove trailing whitespace.
47018         * mach/err_ipc.sub: Likewise.
47019         * mach/err_mach.sub: Likewise.
47021         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47022         (ROUNDING_TESTS_double): Likewise.
47023         (ROUNDING_TESTS_long_double): Likewise.
47024         (ROUNDING_TESTS): Likewise.
47025         * math/libm-test.inc: Include <math-tests.h>.
47026         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47027         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47028         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47029         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47031 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47033         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47034         of assigning.
47036 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47038         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47039         otherwise empty TRANS lines.
47040         * sysdeps/gnu/errlist.c: Regenerated.
47042         * catgets/gencat.c (error_print): Use (void) in function
47043         definition.
47044         * crypt/crypt_util.c (__init_des): Likewise.
47045         * crypt/speeds.c (Stop): Likewise.
47046         (main): Likewise.
47047         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47048         * inet/ruserpass.c (token): Likewise.
47049         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47050         * intl/localealias.c (extend_alias_table): Likewise.
47051         * intl/plural-exp.c (init_germanic_plural): Likewise.
47052         * libio/fcloseall.c (__fcloseall): Likewise.
47053         * libio/genops.c (_IO_flush_all): Likewise.
47054         (_IO_flush_all_linebuffered): Likewise.
47055         (_IO_cleanup): Likewise.
47056         (_IO_iter_begin): Likewise.
47057         (_IO_iter_end): Likewise.
47058         (_IO_list_lock): Likewise.
47059         (_IO_list_unlock): Likewise.
47060         (_IO_list_resetlock): Likewise.
47061         * libio/getchar.c (getchar): Likewise.
47062         * libio/getchar_u.c (getchar_unlocked): Likewise.
47063         * libio/getwchar.c (getwchar): Likewise.
47064         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47065         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47066         * login/getpt.c (__getpt): Likewise.
47067         * login/tst-utmp.c (main): Likewise.
47068         * malloc/hooks.c (__malloc_check_init): Likewise.
47069         * malloc/malloc.c (__malloc_stats): Likewise.
47070         * malloc/mtrace.c (tr_break): Likewise.
47071         (mtrace): Likewise.
47072         (muntrace): Likewise.
47073         * misc/fstab.c (endfsent): Likewise.
47074         * misc/getclktck.c (__getclktck): Likewise.
47075         * misc/getdtsz.c (__getdtablesize): Likewise.
47076         * misc/gethostid.c (gethostid): Likewise.
47077         * misc/getpagesize.c (__getpagesize): Likewise.
47078         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47079         (__get_nprocs): Likewise.
47080         (__get_phys_pages): Likewise.
47081         (__get_avphys_pages): Likewise.
47082         * misc/getttyent.c (getttyent): Likewise.
47083         (setttyent): Likewise.
47084         (endttyent): Likewise.
47085         * misc/getusershell.c (getusershell): Likewise.
47086         (endusershell): Likewise.
47087         (setusershell): Likewise.
47088         (initshells): Likewise.
47089         * misc/hsearch.c (__hdestroy): Likewise.
47090         * misc/sync.c (sync): Likewise.
47091         * misc/syslog.c (closelog_internal): Likewise.
47092         (closelog): Likewise.
47093         * misc/ttyslot.c (ttyslot): Likewise.
47094         * misc/vhangup.c (vhangup): Likewise.
47095         * posix/fork.c (__fork): Likewise.
47096         * posix/getegid.c (__getegid): Likewise.
47097         * posix/geteuid.c (__geteuid): Likewise.
47098         * posix/getgid.c (__getgid): Likewise.
47099         * posix/getpid.c (__getpid): Likewise.
47100         * posix/getppid.c (__getppid): Likewise.
47101         * posix/getuid.c (__getuid): Likewise.
47102         * posix/pause.c (pause): Likewise.
47103         * posix/setpgrp.c (setpgrp): Likewise.
47104         * posix/setsid.c (__setsid): Likewise.
47105         * posix/test-vfork.c (noop): Likewise.
47106         * resolv/gethnamaddr.c (_endhtent): Likewise.
47107         (_gethtent): Likewise.
47108         (ht_endhostent): Likewise.
47109         (gethostent): Likewise.
47110         (dns_service): Likewise.
47111         * stdlib/drand48.c (drand48): Likewise.
47112         * stdlib/lrand48.c (lrand48): Likewise.
47113         * stdlib/mrand48.c (mrand48): Likewise.
47114         * stdlib/rand.c (rand): Likewise.
47115         * stdlib/random.c (__random): Likewise.
47116         * stdlib/setenv.c (clearenv): Likewise.
47117         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47118         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47119         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47120         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47121         (__get_nprocs): Likewise.
47122         (__get_phys_pages): Likewise.
47123         (__get_avphys_pages): Likewise.
47124         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47125         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47126         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47127         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47128         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47129         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47130         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47131         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47132         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47133         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47134         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47135         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47136         * sysdeps/posix/clock.c (clock): Likewise.
47137         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47138         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47139         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47140         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47141         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47142         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47143         (__get_nprocs_conf): Likewise.
47144         (__get_phys_pages): Likewise.
47145         (__get_avphys_pages): Likewise.
47146         * time/clock.c (clock): Likewise.
47147         * time/tzset.c (__tzname_max): Likewise.
47149 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47151         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47152         (__bswap_32): Do not use "register".
47153         * crypt/crypt.c (_ufc_doit_r): Likewise.
47154         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47155         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47156         * gmon/gmon.c (__monstartup): Likewise.
47157         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47158         * hurd/hurdmalloc.c (more_memory): Likewise.
47159         (malloc): Likewise.
47160         (free): Likewise.
47161         (realloc): Likewise.
47162         (malloc_fork_prepare): Likewise.
47163         (malloc_fork_parent): Likewise.
47164         (malloc_fork_child): Likewise.
47165         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47166         (_svcauth_des): Likewise.
47167         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47168         * inet/inet_net.c (inet_network): Likewise.
47169         * inet/inet_netof.c (inet_netof): Likewise.
47170         * inet/rcmd.c (__validuser2_sa): Likewise.
47171         * io/fts.c (fts_open): Likewise.
47172         (fts_load): Likewise.
47173         (fts_close): Likewise.
47174         (fts_read): Likewise.
47175         (fts_children): Likewise.
47176         (fts_build): Likewise.
47177         (fts_stat): Likewise.
47178         (fts_sort): Likewise.
47179         (fts_alloc): Likewise.
47180         (fts_lfree): Likewise.
47181         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47182         (_IO_file_xsgetn): Likewise.
47183         (_IO_file_xsgetn_mmap): Likewise.
47184         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47185         (_IO_cookie_write): Likewise.
47186         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47187         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47188         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47189         * malloc/obstack.c (_obstack_begin): Likewise.
47190         (_obstack_begin_1): Likewise.
47191         (_obstack_newchunk): Likewise.
47192         (_obstack_allocated_p): Likewise.
47193         (obstack_free): Likewise.
47194         (_obstack_memory_used): Likewise.
47195         * misc/getttyent.c (getttynam): Likewise.
47196         (getttyent): Likewise.
47197         (skip): Likewise.
47198         (value): Likewise.
47199         * misc/getusershell.c (initshells): Likewise.
47200         * misc/syslog.c (__vsyslog_chk): Likewise.
47201         * misc/ttyslot.c (ttyslot): Likewise.
47202         * nis/nis_hash.c (__nis_hash): Likewise.
47203         * posix/fnmatch_loop.c (FCT): Likewise.
47204         * posix/getconf.c (print_all): Likewise.
47205         (main): Likewise.
47206         * posix/getopt.c (exchange): Likewise.
47207         * posix/glob.c (globfree): Likewise.
47208         (prefix_array): Likewise.
47209         (__glob_pattern_type): Likewise.
47210         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47211         (NS_GET32): Likewise.
47212         (NS_PUT16): Likewise.
47213         (NS_PUT32): Likewise.
47214         * resolv/gethnamaddr.c (getanswer): Likewise.
47215         (gethostbyname2): Likewise.
47216         (gethostbyaddr): Likewise.
47217         (_gethtent): Likewise.
47218         (_gethtbyname2): Likewise.
47219         (_gethtbyaddr): Likewise.
47220         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47221         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47222         * resolv/res_init.c (__res_vinit): Likewise.
47223         (net_mask): Likewise.
47224         * resolv/res_mkquery.c (outchar): Likewise.
47225         (PRINT): Likewise.
47226         * stdio-common/printf_fp.c (outchar): Likewise.
47227         (PRINT): Likewise.
47228         * stdio-common/printf_fphex.c (outchar): Likewise.
47229         (PRINT): Likewise.
47230         * stdio-common/printf_size.c (outchar): Likewise.
47231         (PRINT): Likewise.
47232         * stdio-common/test_rdwr.c (main): Likewise.
47233         * stdio-common/tfformat.c (matches): Likewise.
47234         * stdio-common/vfprintf.c (outchar): Likewise.
47235         (printf_unknown): Likewise.
47236         (buffered_vfprintf): Likewise.
47237         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47238         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47239         (ReadFile): Likewise.
47240         * stdlib/qsort.c (SWAP): Likewise.
47241         (_quicksort): Likewise.
47242         * stdlib/setenv.c (__add_to_environ): Likewise.
47243         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47244         * stdlib/strtol_l.c (__strtol_l): Likewise.
47245         * stdlib/tst-strtod.c (main): Likewise.
47246         * stdlib/tst-strtol.c (main): Likewise.
47247         * stdlib/tst-strtoll.c (main): Likewise.
47248         * string/bits/string2.h (__strcmp_cc): Likewise.
47249         (__strcmp_cg): Likewise.
47250         (__strcspn_c1): Likewise.
47251         (__strcspn_c2): Likewise.
47252         (__strcspn_c3): Likewise.
47253         (__strspn_c1): Likewise.
47254         (__strspn_c2): Likewise.
47255         (__strspn_c3): Likewise.
47256         (__strsep_1c): Likewise.
47257         (__strsep_2c): Likewise.
47258         (__strsep_3c): Likewise.
47259         * string/memccpy.c (__memccpy): Likewise.
47260         * string/stpcpy.c (__stpcpy): Likewise.
47261         * string/strcmp.c (strcmp): Likewise.
47262         * string/strrchr.c (strrchr): Likewise.
47263         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47264         Likewise.
47265         * sysdeps/mach/hurd/getcwd.c
47266         (_hurd_canonicalize_directory_name_internal): Likewise.
47267         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47268         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47269         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47270         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47271         Likewise, in both definitions.
47272         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47273         definitions.
47274         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47275         64] (__bswap_64): Likewise.
47276         * time/test_time.c (main): Likewise.
47277         * time/tzfile.c (__tzfile_read): Likewise.
47278         (__tzfile_compute): Likewise.
47279         * time/tzset.c (__tzset_parse_tz): Likewise.
47280         (tzset_internal): Likewise.
47281         (compute_change): Likewise.
47282         * wcsmbs/wcscat.c (__wcscat): Likewise.
47283         * wcsmbs/wcschr.c (wcschr): Likewise.
47284         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47285         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47286         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47287         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47288         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47289         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47290         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47291         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47292         * wcsmbs/wmemset.c (wmemset): Likewise.
47294 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47296         * scripts/config.guess: Update to version 2013-05-16.
47297         * scripts/config.sub: Update to version 2013-04-24.
47298         * scripts/install-sh: Update to version 2011-11-20.07.
47299         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47300         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47302 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47304         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47305         * elf/sln.c: Likewise.
47306         * hurd/hurd/ioctl.h: Likewise.
47307         * hurd/hurdmalloc.c: Likewise.
47308         * hurd/xattr.c: Likewise.
47309         * include/shlib-compat.h: Likewise.
47310         * inet/ruserpass.c: Likewise.
47311         * libio/iofgets_u.c: Likewise.
47312         * libio/iofgetws_u.c: Likewise.
47313         * locale/programs/ld-identification.c: Likewise.
47314         * locale/programs/ld-time.c: Likewise.
47315         * mach/msg-destroy.c: Likewise.
47316         * nss/nss_files/files-netgrp.c: Likewise.
47317         * resolv/res_data.c: Likewise.
47318         * soft-fp/op-1.h: Likewise.
47319         * soft-fp/op-2.h: Likewise.
47320         * soft-fp/op-4.h: Likewise.
47321         * soft-fp/op-common.h: Likewise.
47322         * stdio-common/printf_fphex.c: Likewise.
47323         * stdlib/strtod_l.c: Likewise.
47324         * sunrpc/rpc/clnt.h: Likewise.
47325         * sysdeps/generic/framestate.c: Likewise.
47326         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47327         * sysdeps/i386/bsd-setjmp.S: Likewise.
47328         * sysdeps/i386/__longjmp.S: Likewise.
47329         * sysdeps/i386/setjmp.S: Likewise.
47330         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47331         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47332         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47333         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47334         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47335         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47336         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47337         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47338         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47339         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47340         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47341         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47342         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47343         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47344         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47345         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47346         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47347         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47348         * sysdeps/ieee754/support.c: Likewise.
47349         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47350         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47351         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47352         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47353         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47354         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47355         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47356         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47357         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47358         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47359         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47360         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47361         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47362         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47363         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47364         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47365         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47368 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47370         * posix/transbug.c: Remove executable mode.
47372 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47374         * crypt/speeds.c: Remove trailing whitespace.
47375         * dlfcn/default.c: Likewise.
47376         * elf/ifuncdep2.c: Likewise.
47377         * elf/ifuncmain1.c: Likewise.
47378         * elf/ifuncmain1vis.c: Likewise.
47379         * elf/testobj.h: Likewise.
47380         * elf/tst-stackguard1.c: Likewise.
47381         * gmon/sys/gmon.h: Likewise.
47382         * hurd/hurdmsg.c: Likewise.
47383         * hurd/new-fd.c: Likewise.
47384         * hurd/ports-get.c: Likewise.
47385         * iconvdata/ibm1008_420.c: Likewise.
47386         * inet/tst-getni1.c: Likewise.
47387         * inet/tst-getni2.c: Likewise.
47388         * libio/ioungetc.c: Likewise.
47389         * libio/wfiledoalloc.c: Likewise.
47390         * manual/libm-err-tab.pl: Likewise.
47391         * math/w_dremf.c: Likewise.
47392         * misc/ftruncate.c: Likewise.
47393         * posix/bug-glob2.c: Likewise.
47394         * posix/tst-pcre.c: Likewise.
47395         * posix/wait4.c: Likewise.
47396         * resolv/README: Likewise.
47397         * resolv/res_debug.h: Likewise.
47398         * resolv/tst-inet_ntop.c: Likewise.
47399         * setjmp/bug269-setjmp.c: Likewise.
47400         * soft-fp/extended.h: Likewise.
47401         * soft-fp/op-1.h: Likewise.
47402         * soft-fp/op-2.h: Likewise.
47403         * soft-fp/op-4.h: Likewise.
47404         * soft-fp/op-8.h: Likewise.
47405         * soft-fp/testit.c: Likewise.
47406         * stdio-common/bug16.c: Likewise.
47407         * stdlib/random.c: Likewise.
47408         * sunrpc/rpcsvc/rquota.x: Likewise.
47409         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47410         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47411         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47412         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47413         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47414         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47415         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47416         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47417         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47418         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47419         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47420         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47421         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47422         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47423         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47424         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47425         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47426         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47427         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47428         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47429         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47430         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47431         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47432         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47433         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47434         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47435         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47436         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47437         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47438         * sysdeps/ieee754/s_lib_version.c: Likewise.
47439         * sysdeps/mach/hurd/check_fds.c: Likewise.
47440         * sysdeps/mach/hurd/getsockname.c: Likewise.
47441         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47442         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47443         * sysdeps/powerpc/bits/link.h: Likewise.
47444         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47445         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47446         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47447         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47448         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47449         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47450         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47451         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47452         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47453         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47454         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47455         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47456         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47457         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47458         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47459         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47460         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47461         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47462         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47463         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47465         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47467         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47468         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47469         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47470         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47471         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47472         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47473         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47474         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47475         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47477         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47478         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47479         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47480         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47481         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47482         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47483         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47484         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47485         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47486         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47487         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47488         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47489         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47490         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47491         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47492         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47493         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47494         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47495         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47496         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47497         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47498         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47499         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47500         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47501         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47502         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47503         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47504         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47505         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47506         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47507         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47508         * sysdeps/powerpc/sysdep.h: Likewise.
47509         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47510         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47511         * sysdeps/sh/dl-trampoline.S: Likewise.
47512         * sysdeps/sh/memset.S: Likewise.
47513         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47514         * sysdeps/sh/strlen.S: Likewise.
47515         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47516         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47517         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47518         * sysdeps/sparc/sparc32/rem.S: Likewise.
47519         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47520         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47521         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47522         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47523         * sysdeps/sparc/sparc32/urem.S: Likewise.
47524         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47525         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47526         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47527         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47528         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47529         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47530         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47531         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47532         * sysdeps/unix/bsd/times.c: Likewise.
47533         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47534         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47538         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47539         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47540         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47541         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47542         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47543         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47544         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47545         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47546         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47547         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47548         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47549         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47550         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47551         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47552         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47553         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47554         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47555         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47556         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47557         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47558         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47559         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47560         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47561         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47562         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47563         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47564         * sysdeps/x86_64/strcspn.S: Likewise.
47566 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47568         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47569         generated file.  Regenerate properly from gen-translit.pl.
47570         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47571         locale/C-translit.h.
47573 2013-06-05  Andreas Schwab  <schwab@suse.de>
47575         [BZ #15100]
47576         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47577         week as 6 instead of -1.
47578         * time/tst-strptime.c (day_tests): Add test case.
47580 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47582         * sysdeps/generic/math_private.h
47583         (libc_feholdexcept_setround_53bit): Replace with
47584         libc_feholdsetround_53bit.
47585         (libc_feupdateenv_53bit): Replace with
47586         libc_feresetround_53bit.
47587         (SET_RESTORE_ROUND_53BIT): Adjust.
47589 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47591         * string/test-strchrnul.c: Add copyright header.
47593         * posix/tst-getaddrinfo4.c: Increase test timeout.
47595 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47597         [BZ #15536]
47598         * math/libm-test.inc (MAX_EXP): Remove
47599         (MIN_EXP): Define.
47600         (ulp): Use MIN_EXP - MANT_DIG.
47601         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47603 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47605         * po/be.po: Revert last change.
47606         * po/zh_CN.po: Likewise.
47607         * po/header.pot: Likewise.
47609 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47611         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47612         link-libc-deps to empty as target-specific variable.
47613         * Makerules (link-libc-args): New variable.
47614         (libc-for-link): Likewise.
47615         (link-libc-deps): Likewise.
47616         (lib%.so): Depend on $(link-libc-deps).  Link with
47617         $(link-libc-args).
47618         (build-module): Link with $(link-libc-args).
47619         (build-module-asneeded): Likewise.
47620         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47621         list of objects.
47622         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47623         target-specific variable.
47624         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47625         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47626         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47627         libc.
47628         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47629         libc and ld.so.
47630         ($(objpfx)libpcprofile.so): Likewise.
47631         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47632         libc_nonshared.a.
47633         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47634         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47635         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47636         $(link-libc-deps).
47637         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47638         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47639         * login/Makefile ($(objpfx)libutil.so): Likewise.
47640         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47641         * math/Makefile ($(objpfx)libm.so): Likewise.
47642         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47643         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47644         variable instead of depending directly on libc.
47645         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47646         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47647         $(link-libc-deps).
47648         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47649         libc.
47650         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47651         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47652         ($(objpfx)libanl.so): Likewise.
47653         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47654         ld.so.
47655         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47656         $(link-libc-deps).
47657         * sysdeps/i386/fpu/Makefile: Remove file.
47658         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47659         ($(objpfx)libm.so): Remove dependency on ld.so.
47661 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47663         [BZ # 15553]
47664         * nis/yp_xdr.c (XDRMAXNAME): Define.
47665         (XDRMAXRECORD): Define.
47666         (xdr_domainname): Use XDRMAXNAME.
47667         (xdr_mapname): Likewise.
47668         (xdr_peername): Likewise.
47669         (xdr_keydat): Use XDRMAXRECORD.
47670         (xdr_valdat): Likewise.
47672 2013-05-30  Jeff Law  <law@redhat.com>
47674         [BZ #14256]
47675         * manual/errno.texi (ESTALE): Update to account for more than
47676         just NFS file systems.
47677         * sysdeps/gnu/errlist.c: Regenerated.
47679 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47681         [BZ #15465]
47682         * elf/Makefile (tests): Add tst-null-argv.
47683         (modules-names):  Add tst-null-argv-lib.
47684         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47685         (tst-null-argv-ENV): Set environment for tst-null-argv.
47686         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47687         (RTLD_PROGNAME): New macro.
47688         * elf/tst-null-argv.c: New test case.
47689         * elf/tst-null-argv-lib.c: Library for test case.
47690         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47691         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47692         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47693         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47694         * elf/dl-init.c (call_init): Likewise.
47695         (_dl_init): Likewise.
47696         * elf/dl-load.c (print_search_path): Likewise.
47697         (_dl_map_object): Likewise.
47698         * elf/dl-lookup.c (do_lookup_x): Likewise.
47699         (add_dependency): Likewise.
47700         (_dl_lookup_symbol_x): Likewise.
47701         (_dl_debug_bindings): Likewise.
47702         * elf/dl-open.c (_dl_show_scope): Likewise.
47703         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47704         * elf/dl-version.c (match_symbol): Likewise.
47705         (_dl_check_map_versions): Likewise.
47706         * elf/rtld.c (dl_main): Likewise.
47707         (print_unresolved): Use RTLD_PROGNAME.
47708         (print_missing_version): Likewise.
47709         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47710         (elf_machine_rela): Likewise.
47711         * sysdeps/powerpc/powerpc32/dl-machine.c
47712         (__process_machine_rela): Likewise.
47713         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47714         Likewise.
47715         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47716         Likewise.
47717         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47718         Likewise.
47719         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47720         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47721         Likewise.
47722         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47723         Likewise.
47724         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47726 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47728         * po/be.po: Add descriptive title.
47729         * po/zh_CN.po: Likewise.
47730         * po/header.pot: Likewise.
47732 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47734         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47735         error message.
47736         (enlarge_archive): Likewise.
47738 2013-05-28  Ben North  <ben@redfrontdoor.org>
47740         * manual/arith.texi (frexp): It is the magnitude of the return
47741         value which lies in [0.5, 1), not the return value itself.
47743 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47747 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47749         * stdio-common/bug26.c (main): Correct fscanf template.
47751         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47752         declare _dl_skip_args.
47754         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47755         Don't declare.
47757         * manual/platform.texi: Add missing @end deftypefun.
47759 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47761         [BZ #15529]
47762         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47763         bit of mantissa of 2^16382.
47764         * math/libm-test.inc (hypot_test_data): Add more tests.
47766         * math/libm-test.inc: Add drem and pow10 to list of tested
47767         functions.
47768         (pow10_test): New function.
47769         (drem_test): Likewise.
47770         (drem_test_tonearest): Likewise.
47771         (drem_test_towardzero): Likewise.
47772         (drem_test_downward): Likewise.
47773         (drem_test_upward): Likewise.
47774         (main): Call the new functions.
47776         * math/libm-test.inc (finite_test_data): Remove.
47777         (finite_test): Run tests from isfinite_test_data.
47778         (gamma_test_data): Remove.
47779         (gamma_test): Run tests from lgamma_test_data.
47780         * sysdeps/i386/fpu/libm-test-ulps: Update.
47781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47783 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47785         * manual/platform.texi: Add PowerPC PPR function set documentation.
47786         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47787         implementation.
47789 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47791         * math/libm-test.inc (MAX_EXP): Define.
47792         (ULPDIFF): Define.
47793         (ulp): New function.
47794         (check_float_internal): Use ULPDIFF.
47795         (cpow_test): Disable failing test.
47796         (check_ulp): Test ulp() implemetnation.
47797         (main): Call check_ulp before starting tests.
47799 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47801         * math/gen-libm-test.pl (generate_testfile): Do not handle
47802         START_DATA and END_DATA.
47803         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47804         END_DATA.
47805         (acos_tonearest_test_data): Likewise.
47806         (acos_towardzero_test_data): Likewise.
47807         (acos_downward_test_data): Likewise.
47808         (acos_upward_test_data): Likewise.
47809         (acosh_test_data): Likewise.
47810         (asin_test_data): Likewise.
47811         (asin_tonearest_test_data): Likewise.
47812         (asin_towardzero_test_data): Likewise.
47813         (asin_downward_test_data): Likewise.
47814         (asin_upward_test_data): Likewise.
47815         (asinh_test_data): Likewise.
47816         (atan_test_data): Likewise.
47817         (atanh_test_data): Likewise.
47818         (atan2_test_data): Likewise.
47819         (cabs_test_data): Likewise.
47820         (cacos_test_data): Likewise.
47821         (cacosh_test_data): Likewise.
47822         (carg_test_data): Likewise.
47823         (casin_test_data): Likewise.
47824         (casinh_test_data): Likewise.
47825         (catan_test_data): Likewise.
47826         (catanh_test_data): Likewise.
47827         (cbrt_test_data): Likewise.
47828         (ccos_test_data): Likewise.
47829         (ccosh_test_data): Likewise.
47830         (ceil_test_data): Likewise.
47831         (cexp_test_data): Likewise.
47832         (cimag_test_data): Likewise.
47833         (clog_test_data): Likewise.
47834         (clog10_test_data): Likewise.
47835         (conj_test_data): Likewise.
47836         (copysign_test_data): Likewise.
47837         (cos_test_data): Likewise.
47838         (cos_tonearest_test_data): Likewise.
47839         (cos_towardzero_test_data): Likewise.
47840         (cos_downward_test_data): Likewise.
47841         (cos_upward_test_data): Likewise.
47842         (cosh_test_data): Likewise.
47843         (cosh_tonearest_test_data): Likewise.
47844         (cosh_towardzero_test_data): Likewise.
47845         (cosh_downward_test_data): Likewise.
47846         (cosh_upward_test_data): Likewise.
47847         (cpow_test_data): Likewise.
47848         (cproj_test_data): Likewise.
47849         (creal_test_data): Likewise.
47850         (csin_test_data): Likewise.
47851         (csinh_test_data): Likewise.
47852         (csqrt_test_data): Likewise.
47853         (ctan_test_data): Likewise.
47854         (ctan_tonearest_test_data): Likewise.
47855         (ctan_towardzero_test_data): Likewise.
47856         (ctan_downward_test_data): Likewise.
47857         (ctan_upward_test_data): Likewise.
47858         (ctanh_test_data): Likewise.
47859         (ctanh_tonearest_test_data): Likewise.
47860         (ctanh_towardzero_test_data): Likewise.
47861         (ctanh_downward_test_data): Likewise.
47862         (ctanh_upward_test_data): Likewise.
47863         (erf_test_data): Likewise.
47864         (erfc_test_data): Likewise.
47865         (exp_test_data): Likewise.
47866         (exp_tonearest_test_data): Likewise.
47867         (exp_towardzero_test_data): Likewise.
47868         (exp_downward_test_data): Likewise.
47869         (exp_upward_test_data): Likewise.
47870         (exp10_test_data): Likewise.
47871         (exp2_test_data): Likewise.
47872         (expm1_test_data): Likewise.
47873         (fabs_test_data): Likewise.
47874         (fdim_test_data): Likewise.
47875         (finite_test_data): Likewise.
47876         (floor_test_data): Likewise.
47877         (fma_test_data): Likewise.
47878         (fma_towardzero_test_data): Likewise.
47879         (fma_downward_test_data): Likewise.
47880         (fma_upward_test_data): Likewise.
47881         (fmax_test_data): Likewise.
47882         (fmin_test_data): Likewise.
47883         (fmod_test_data): Likewise.
47884         (fpclassify_test_data): Likewise.
47885         (frexp_test_data): Likewise.
47886         (gamma_test_data): Likewise.
47887         (hypot_test_data): Likewise.
47888         (ilogb_test_data): Likewise.
47889         (isfinite_test_data): Likewise.
47890         (isgreater_test_data): Likewise.
47891         (isgreaterequal_test_data): Likewise.
47892         (isinf_test_data): Likewise.
47893         (isless_test_data): Likewise.
47894         (islessequal_test_data): Likewise.
47895         (islessgreater_test_data): Likewise.
47896         (isnan_test_data): Likewise.
47897         (isnormal_test_data): Likewise.
47898         (issignaling_test_data): Likewise.
47899         (isunordered_test_data): Likewise.
47900         (j0_test_data): Likewise.
47901         (j1_test_data): Likewise.
47902         (jn_test_data): Likewise.
47903         (ldexp_test_data): Likewise.
47904         (lgamma_test_data): Likewise.
47905         (lrint_test_data): Likewise.
47906         (lrint_tonearest_test_data): Likewise.
47907         (lrint_towardzero_test_data): Likewise.
47908         (lrint_downward_test_data): Likewise.
47909         (lrint_upward_test_data): Likewise.
47910         (llrint_test_data): Likewise.
47911         (llrint_tonearest_test_data): Likewise.
47912         (llrint_towardzero_test_data): Likewise.
47913         (llrint_downward_test_data): Likewise.
47914         (llrint_upward_test_data): Likewise.
47915         (log_test_data): Likewise.
47916         (log10_test_data): Likewise.
47917         (log1p_test_data): Likewise.
47918         (log2_test_data): Likewise.
47919         (logb_test_data): Likewise.
47920         (logb_downward_test_data): Likewise.
47921         (lround_test_data): Likewise.
47922         (llround_test_data): Likewise.
47923         (modf_test_data): Likewise.
47924         (nearbyint_test_data): Likewise.
47925         (nextafter_test_data): Likewise.
47926         (nexttoward_test_data): Likewise.
47927         (pow_test_data): Likewise.
47928         (pow_tonearest_test_data): Likewise.
47929         (pow_towardzero_test_data): Likewise.
47930         (pow_downward_test_data): Likewise.
47931         (pow_upward_test_data): Likewise.
47932         (remainder_test_data): Likewise.
47933         (remainder_tonearest_test_data): Likewise.
47934         (remainder_towardzero_test_data): Likewise.
47935         (remainder_downward_test_data): Likewise.
47936         (remainder_upward_test_data): Likewise.
47937         (remquo_test_data): Likewise.
47938         (rint_test_data): Likewise.
47939         (rint_tonearest_test_data): Likewise.
47940         (rint_towardzero_test_data): Likewise.
47941         (rint_downward_test_data): Likewise.
47942         (rint_upward_test_data): Likewise.
47943         (round_test_data): Likewise.
47944         (scalb_test_data): Likewise.
47945         (scalbn_test_data): Likewise.
47946         (scalbln_test_data): Likewise.
47947         (signbit_test_data): Likewise.
47948         (sin_test_data): Likewise.
47949         (sin_tonearest_test_data): Likewise.
47950         (sin_towardzero_test_data): Likewise.
47951         (sin_downward_test_data): Likewise.
47952         (sin_upward_test_data): Likewise.
47953         (sincos_test_data): Likewise.
47954         (sinh_test_data): Likewise.
47955         (sinh_tonearest_test_data): Likewise.
47956         (sinh_towardzero_test_data): Likewise.
47957         (sinh_downward_test_data): Likewise.
47958         (sinh_upward_test_data): Likewise.
47959         (sqrt_test_data): Likewise.
47960         (tan_test_data): Likewise.
47961         (tan_tonearest_test_data): Likewise.
47962         (tan_towardzero_test_data): Likewise.
47963         (tan_downward_test_data): Likewise.
47964         (tan_upward_test_data): Likewise.
47965         (tanh_test_data): Likewise.
47966         (tgamma_test_data): Likewise.
47967         (trunc_test_data): Likewise.
47968         (y0_test_data): Likewise.
47969         (y1_test_data): Likewise.
47970         (yn_test_data): Likewise.
47971         (significand_test_data): Likewise.
47973         * math/gen-libm-test.pl (@functions): Remove variable.
47974         (generate_testfile): Don't handle START and END lines.
47975         * math/libm-test.inc (START): New macro.
47976         (END): Likewise.
47977         (END_COMPLEX): Likewise.
47978         (acos_test): Use END macro without arguments.
47979         (acos_test_tonearest): Likewise.
47980         (acos_test_towardzero): Likewise.
47981         (acos_test_downward): Likewise.
47982         (acos_test_upward): Likewise.
47983         (acosh_test): Likewise.
47984         (asin_test): Likewise.
47985         (asin_test_tonearest): Likewise.
47986         (asin_test_towardzero): Likewise.
47987         (asin_test_downward): Likewise.
47988         (asin_test_upward): Likewise.
47989         (asinh_test): Likewise.
47990         (atan_test): Likewise.
47991         (atanh_test): Likewise.
47992         (atan2_test): Likewise.
47993         (cabs_test): Likewise.
47994         (cacos_test): Use END_COMPLEX macro without arguments.
47995         (cacosh_test): Likewise.
47996         (carg_test): Use END macro without arguments.
47997         (casin_test): Use END_COMPLEX macro without arguments.
47998         (casinh_test): Likewise.
47999         (catan_test): Likewise.
48000         (catanh_test): Likewise.
48001         (cbrt_test): Use END macro without arguments.
48002         (ccos_test): Use END_COMPLEX macro without arguments.
48003         (ccosh_test): Likewise.
48004         (ceil_test): Use END macro without arguments.
48005         (cexp_test): Use END_COMPLEX macro without arguments.
48006         (cimag_test): Use END macro without arguments.
48007         (clog_test): Use END_COMPLEX macro without arguments.
48008         (clog10_test): Likewise.
48009         (conj_test): Likewise.
48010         (copysign_test): Use END macro without arguments.
48011         (cos_test): Likewise.
48012         (cos_test_tonearest): Likewise.
48013         (cos_test_towardzero): Likewise.
48014         (cos_test_downward): Likewise.
48015         (cos_test_upward): Likewise.
48016         (cosh_test): Likewise.
48017         (cosh_test_tonearest): Likewise.
48018         (cosh_test_towardzero): Likewise.
48019         (cosh_test_downward): Likewise.
48020         (cosh_test_upward): Likewise.
48021         (cpow_test): Use END_COMPLEX macro without arguments.
48022         (cproj_test): Likewise.
48023         (creal_test): Use END macro without arguments.
48024         (csin_test): Use END_COMPLEX macro without arguments.
48025         (csinh_test): Likewise.
48026         (csqrt_test): Likewise.
48027         (ctan_test): Likewise.
48028         (ctan_test_tonearest): Likewise.
48029         (ctan_test_towardzero): Likewise.
48030         (ctan_test_downward): Likewise.
48031         (ctan_test_upward): Likewise.
48032         (ctanh_test): Likewise.
48033         (ctanh_test_tonearest): Likewise.
48034         (ctanh_test_towardzero): Likewise.
48035         (ctanh_test_downward): Likewise.
48036         (ctanh_test_upward): Likewise.
48037         (erf_test): Use END macro without arguments.
48038         (erfc_test): Likewise.
48039         (exp_test): Likewise.
48040         (exp_test_tonearest): Likewise.
48041         (exp_test_towardzero): Likewise.
48042         (exp_test_downward): Likewise.
48043         (exp_test_upward): Likewise.
48044         (exp10_test): Likewise.
48045         (exp2_test): Likewise.
48046         (expm1_test): Likewise.
48047         (fabs_test): Likewise.
48048         (fdim_test): Likewise.
48049         (finite_test): Likewise.
48050         (floor_test): Likewise.
48051         (fma_test): Likewise.
48052         (fma_test_towardzero): Likewise.
48053         (fma_test_downward): Likewise.
48054         (fma_test_upward): Likewise.
48055         (fmax_test): Likewise.
48056         (fmin_test): Likewise.
48057         (fmod_test): Likewise.
48058         (fpclassify_test): Likewise.
48059         (frexp_test): Likewise.
48060         (gamma_test): Likewise.
48061         (hypot_test): Likewise.
48062         (ilogb_test): Likewise.
48063         (isfinite_test): Likewise.
48064         (isgreater_test): Likewise.
48065         (isgreaterequal_test): Likewise.
48066         (isinf_test): Likewise.
48067         (isless_test): Likewise.
48068         (islessequal_test): Likewise.
48069         (islessgreater_test): Likewise.
48070         (isnan_test): Likewise.
48071         (isnormal_test): Likewise.
48072         (issignaling_test): Likewise.
48073         (isunordered_test): Likewise.
48074         (j0_test): Likewise.
48075         (j1_test): Likewise.
48076         (jn_test): Likewise.
48077         (ldexp_test): Likewise.
48078         (lgamma_test): Likewise.
48079         (lrint_test): Likewise.
48080         (lrint_test_tonearest): Likewise.
48081         (lrint_test_towardzero): Likewise.
48082         (lrint_test_downward): Likewise.
48083         (lrint_test_upward): Likewise.
48084         (llrint_test): Likewise.
48085         (llrint_test_tonearest): Likewise.
48086         (llrint_test_towardzero): Likewise.
48087         (llrint_test_downward): Likewise.
48088         (llrint_test_upward): Likewise.
48089         (log_test): Likewise.
48090         (log10_test): Likewise.
48091         (log1p_test): Likewise.
48092         (log2_test): Likewise.
48093         (logb_test): Likewise.
48094         (logb_test_downward): Likewise.
48095         (lround_test): Likewise.
48096         (llround_test): Likewise.
48097         (modf_test): Likewise.
48098         (nearbyint_test): Likewise.
48099         (nextafter_test): Likewise.
48100         (nexttoward_test): Likewise.
48101         (pow_test): Likewise.
48102         (pow_test_tonearest): Likewise.
48103         (pow_test_towardzero): Likewise.
48104         (pow_test_downward): Likewise.
48105         (pow_test_upward): Likewise.
48106         (remainder_test): Likewise.
48107         (remainder_test_tonearest): Likewise.
48108         (remainder_test_towardzero): Likewise.
48109         (remainder_test_downward): Likewise.
48110         (remainder_test_upward): Likewise.
48111         (remquo_test): Likewise.
48112         (rint_test): Likewise.
48113         (rint_test_tonearest): Likewise.
48114         (rint_test_towardzero): Likewise.
48115         (rint_test_downward): Likewise.
48116         (rint_test_upward): Likewise.
48117         (round_test): Likewise.
48118         (scalb_test): Likewise.
48119         (scalbn_test): Likewise.
48120         (scalbln_test): Likewise.
48121         (signbit_test): Likewise.
48122         (sin_test): Likewise.
48123         (sin_test_tonearest): Likewise.
48124         (sin_test_towardzero): Likewise.
48125         (sin_test_downward): Likewise.
48126         (sin_test_upward): Likewise.
48127         (sincos_test): Likewise.
48128         (sinh_test): Likewise.
48129         (sinh_test_tonearest): Likewise.
48130         (sinh_test_towardzero): Likewise.
48131         (sinh_test_downward): Likewise.
48132         (sinh_test_upward): Likewise.
48133         (sqrt_test): Likewise.
48134         (tan_test): Likewise.
48135         (tan_test_tonearest): Likewise.
48136         (tan_test_towardzero): Likewise.
48137         (tan_test_downward): Likewise.
48138         (tan_test_upward): Likewise.
48139         (tanh_test): Likewise.
48140         (tgamma_test): Likewise.
48141         (trunc_test): Likewise.
48142         (y0_test): Likewise.
48143         (y1_test): Likewise.
48144         (yn_test): Likewise.
48145         (significand_test): Likewise.
48147 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48149         [BZ #15381]
48150         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48152 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48154         [BZ #14894]
48155         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48156         __ppc_mdoio and __ppc_mdoom.
48157         * manual/platform.texi: Document new functions __ppc_yield,
48158         __ppc_mdoio and __ppc_mdoom.
48160 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48162         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48163         (main): Mention "tls" pseudo-hwcap is legacy.
48164         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48166 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48168         * math/gen-libm-test.pl (parse_args): Output only string of
48169         arguments as text for test name, not full call or descriptions of
48170         tests for extra outputs.
48171         (generate_testfile): Do not pass function name to parse_args.
48172         Generate this_func variable from START.
48173         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48174         field to arg_str.
48175         (struct test_ff_f_data): Likewise.
48176         (test_ff_f_data_nexttoward): Likewise.
48177         (struct test_fi_f_data): Likewise.
48178         (struct test_fl_f_data): Likewise.
48179         (struct test_if_f_data): Likewise.
48180         (struct test_fff_f_data): Likewise.
48181         (struct test_c_f_data): Likewise.
48182         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48183         (struct test_fF_f1_data): Likewise.
48184         (struct test_ffI_f1_data): Likewise.
48185         (struct test_c_c_data): Rename test_name field to arg_str.
48186         (struct test_cc_c_data): Likewise.
48187         (struct test_f_i_data): Likewise.
48188         (struct test_ff_i_data): Likewise.
48189         (struct test_f_l_data): Likewise.
48190         (struct test_f_L_data): Likewise.
48191         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48192         and extra2_name.
48193         (COMMON_TEST_SETUP): New macro.
48194         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48195         (COMMON_TEST_CLEANUP): Likewise.
48196         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48197         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48198         macros.
48199         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48200         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48201         macros.
48202         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48203         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48204         cleanup macros.
48205         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48206         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48207         macros.
48208         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48209         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48210         macros.
48211         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48212         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48213         cleanup macros.
48214         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48215         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48216         cleanup macros.
48217         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48218         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48219         cleanup macros.
48220         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48221         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48222         macros.
48223         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48224         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48225         macros.
48226         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48227         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48228         macros.
48229         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48230         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48231         cleanup macros.
48232         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48233         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48234         cleanup macros.
48235         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48236         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48237         macros.
48238         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48239         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48240         cleanup macros.
48241         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48242         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48243         macros.
48244         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48245         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48246         macros.
48247         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48248         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48249         cleanup macros.
48250         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48252 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48254         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48255         to _sifields.sigfault.
48256         (si_addr_lsb): Define new macro.
48257         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48258         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48259         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48261 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48263         [BZ #15441]
48264         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48265         returns -1.
48266         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48267         null return -1.
48268         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48269         loading the domain.
48271 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48273         * math/gen-libm-test.pl (parse_args): Do not include expected
48274         result in test name.
48275         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48276         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48277         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48278         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48279         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48282 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48284         * benchtests/Makefile: Sort function entries.
48286         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48287         tanh, asinh, acosh, atanh.
48288         * benchtests/acos-inputs: New file.
48289         * benchtests/acosh-inputs: New file.
48290         * benchtests/asin-inputs: New file.
48291         * benchtests/asinh-inputs: New file.
48292         * benchtests/atanh-inputs: New file.
48293         * benchtests/cosh-inputs: New file.
48294         * benchtests/log-inputs: New file.
48295         * benchtests/sinh-inputs: New file.
48296         * benchtests/tanh-inputs: New file.
48298 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48300         [BZ #15339]
48301         * posix/tst-getaddrinfo4.c: New test.
48302         * posix/Makefile (tests): Add it.
48304 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48306         [BZ #15339]
48307         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48308         when no services were used.
48309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48310         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48312 2013-05-21  Andreas Schwab  <schwab@suse.de>
48314         [BZ #15014]
48315         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48316         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48317         successful.
48318         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48319         redundant variable declarations and reallocation of buffer when
48320         parsing as IPv6 address.  Always set NSS status when called from
48321         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48322         buffer too small.  Correct computation of needed size.
48323         * nss/Makefile (tests): Add test-digits-dots.
48324         * nss/test-digits-dots.c: New test.
48326 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48328         * benchtests/Makefile: Remove instructions for adding
48329         benchmark tests.
48330         * benchtests/README: New file to explain how to execute and
48331         enhance the benchmark tests.
48333 2013-05-21  Andreas Schwab  <schwab@suse.de>
48335         [BZ #15493]
48336         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48337         * setjmp/tst-sigsetjmp.c: New test.
48339 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48341         * sysdeps/x86_64/memset.S (memset): New implementation.
48342         (__bzero): Likewise.
48343         (__memset_tail): New function.
48345 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48347         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48348         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48349         __memcpy_sse2_unaligned ifunc selection.
48350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48351         Add memcpy-sse2-unaligned.S.
48352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48353         Add: __memcpy_sse2_unaligned.
48355 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48357         [BZ #15490]
48358         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48359         math_force_eval before restoring floating-point envrionment.
48360         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48361         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48362         Likewise.
48363         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48364         <math_private.h>.
48365         (__nearbyintl): Use math_force_eval before restoring
48366         floating-point environment.
48367         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48369         * math/gen-libm-test.pl (special_functions): Remove.
48370         (parse_args): Don't handle TEST_extra.  Handle functions with no
48371         return value.
48372         * math/libm-test.inc (struct test_sincos_data): Replace with
48373         struct test_fFF_11_data.
48374         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48375         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48376         (sincos_test_data): Change element type to struct
48377         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48378         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48379         RUN_TEST_LOOP_sincos.
48380         * math/README.libm-test: Don't mention special handling of
48381         individual functions.
48382         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48383         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48384         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48385         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48386         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48389         * math/gen-libm-test.pl (get_variable): Remove function.
48390         (parse_args): Don't show pointer parameters to call in test
48391         names.  Use "extra output N" in test names for extra outputs
48392         rather than naming variables.
48394 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48396         [BZ #15488]
48397         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48398         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48399         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48400         double tests.
48401         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48402         disable.
48403         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48404         check_long_double.
48406         * math/gen-libm-test.pl (@tests): Remove variable.
48407         ($count): Likewise.
48408         (new_test): Remove function.
48409         (show_exceptions): New function.
48410         (special_functions): Use show_exceptions instead of new_test.
48411         (parse_args): Likewise.
48412         (generate_testfile): Pass only function name in generated call to
48413         print_max_error or print_complex_max_error.
48414         (get_ulps): Do not handle complex tests specially.
48415         (output_test): Rename to ...
48416         (get_all_ulps_for_test): ... this.  Return a string rather than
48417         printing to a file.  Require ulps to be present.
48418         (output_ulps): Generate arrays rather than #defines.
48419         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48420         (struct ulp_data): New type.
48421         (BUILD_COMPLEX_ULP): Remove macro.
48422         (compare_ulp_data): New function.
48423         (find_ulps): Likewise.
48424         (find_test_ulps): Likewise.
48425         (find_function_ulps): Likewise.
48426         (find_complex_function_ulps): Likewise.
48427         (print_max_error): Determine allowed ulps using
48428         find_function_ulps.
48429         (print_complex_max_error): Determine allowed ulps using
48430         find_complex_function_ulps.
48431         (check_float_internal): Determine max ulps using find_test_ulps.
48432         (check_float): Do not take max_ulp parameter.  Update call to
48433         check_float_internal.
48434         (check_complex): Likewise.
48435         (check_int): Do not take max_ulp parameter.
48436         (check_long): Likewise.
48437         (check_bool): Likewise.
48438         (check_longlong): Likewise.
48439         (struct test_f_f_data): Remove max_ulp field.
48440         (struct test_ff_f_data): Likewise.
48441         (struct test_ff_f_data_nexttoward): Likewise.
48442         (struct test_fi_f_data): Likewise.
48443         (struct test_fl_f_data): Likewise.
48444         (struct test_if_f_data): Likewise.
48445         (struct test_fff_f_data): Likewise.
48446         (struct test_c_f_data): Likewise.
48447         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48448         (struct test_fF_f1_data): Likewise.
48449         (struct test_ffI_f1_data): Likewise.
48450         (struct test_c_c_data): Remove max_ulp field.
48451         (struct test_cc_c_data): Likewise.
48452         (struct test_f_i_data): Likewise.
48453         (struct test_ff_i_data): Likewise.
48454         (struct test_f_l_data): Likewise.
48455         (struct test_f_L_data): Likewise.
48456         (struct test_sincos_data): Likewise.
48457         (RUN_TEST_f_f): Do not handle ulps.
48458         (RUN_TEST_LOOP_f_f): Likewise.
48459         (RUN_TEST_2_f): Likewise.
48460         (RUN_TEST_LOOP_2_f): Likewise.
48461         (RUN_TEST_fff_f): Likewise.
48462         (RUN_TEST_LOOP_fff_f): Likewise.
48463         (RUN_TEST_c_f): Likewise.
48464         (RUN_TEST_LOOP_c_f): Likewise.
48465         (RUN_TEST_f_f1): Likewise.
48466         (RUN_TEST_LOOP_f_f1): Likewise.
48467         (RUN_TEST_fF_f1): Likewise.
48468         (RUN_TEST_LOOP_fF_f1): Likewise.
48469         (RUN_TEST_fI_f1): Likewise.
48470         (RUN_TEST_LOOP_fI_f1): Likewise.
48471         (RUN_TEST_ffI_f1): Likewise.
48472         (RUN_TEST_LOOP_ffI_f1): Likewise.
48473         (RUN_TEST_c_c): Likewise.
48474         (RUN_TEST_LOOP_c_c): Likewise.
48475         (RUN_TEST_cc_c): Likewise.
48476         (RUN_TEST_LOOP_cc_c): Likewise.
48477         (RUN_TEST_f_i): Likewise.
48478         (RUN_TEST_LOOP_f_i): Likewise.
48479         (RUN_TEST_f_i_tg): Likewise.
48480         (RUN_TEST_LOOP_f_i_tg): Likewise.
48481         (RUN_TEST_ff_i_tg): Likewise.
48482         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48483         (RUN_TEST_f_b): Likewise.
48484         (RUN_TEST_LOOP_f_b): Likewise.
48485         (RUN_TEST_f_b_tg): Likewise.
48486         (RUN_TEST_LOOP_f_b_tg): Likewise.
48487         (RUN_TEST_f_l): Likewise.
48488         (RUN_TEST_LOOP_f_l): Likewise.
48489         (RUN_TEST_f_L): Likewise.
48490         (RUN_TEST_LOOP_f_L): Likewise.
48491         (RUN_TEST_sincos): Likewise.
48492         (RUN_TEST_LOOP_sincos): Likewise.
48494 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48496         [BZ #15480]
48497         [BZ #15485]
48498         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48499         main case of finite arguments, set rounding mode to FE_TONEAREST
48500         and discard exceptions.
48501         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48502         exceptions.
48503         (remainder_tonearest_test_data): New variable.
48504         (remainder_test_tonearest): New function.
48505         (remainder_towardzero_test_data): New variable.
48506         (remainder_test_towardzero): New function.
48507         (remainder_downward_test_data): New variable.
48508         (remainder_test_downward): New function.
48509         (remainder_upward_test_data): New variable.
48510         (remainder_test_upward): New function.
48511         (main): Call the new test functions.
48513         * math/libm-test.inc (struct test_f_f1_data): Remove field
48514         extra_init.
48515         (struct test_fF_f1_data): Likewise.
48516         (struct test_ffI_f1_data): Likewise.
48517         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48518         based on value of EXTRA_EXPECTED.
48519         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48520         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48521         EXTRA_VAR based on value of EXTRA_EXPECTED.
48522         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48523         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48524         EXTRA_VAR based on value of EXTRA_EXPECTED.
48525         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48526         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48527         EXTRA_VAR based on value of EXTRA_EXPECTED.
48528         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48529         * math/gen-libm-test.pl (parse_args): Don't output initializers
48530         for extra output values.
48532         * math/libm-test.inc (check_int): Expect result to be exactly
48533         equal to expected value and do not handle ulps.
48534         (check_long): Likewise.
48535         (check_longlong): Likewise.
48537         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48538         exceptions.
48539         (cimag_test_data): Likewise.
48540         (conj_test_data): Likewise.
48541         (copysign_test_data): Likewise.
48542         (cproj_test_data): Likewise.
48543         (creal_test_data): Likewise.
48544         (fabs_test_data): Likewise.
48545         (fdim_test_data): Likewise.
48546         (finite_test_data): Likewise.
48547         (floor_test_data): Likewise.
48548         (fmax_test_data): Likewise.
48549         (fmin_test_data): Likewise.
48550         (fmod_test_data): Likewise.
48551         (fpclassify_test_data): Likewise.
48552         (frexp_test_data): Likewise.
48553         (ilogb_test_data): Likewise.
48554         (isfinite_test_data): Likewise.
48555         (isgreater_test_data): Likewise.
48556         (isgreaterequal_test_data): Likewise.
48557         (isinf_test_data): Likewise.
48558         (isless_test_data): Likewise.
48559         (islessequal_test_data): Likewise.
48560         (islessgreater_test_data): Likewise.
48561         (isnan_test_data): Likewise.
48562         (isnormal_test_data): Likewise.
48563         (issignaling_test_data): Likewise.
48564         (isunordered_test_data): Likewise.
48565         (ldexp_test_data): Likewise.
48566         (lrint_test_data): Likewise.
48567         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48568         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48569         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48570         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48571         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48572         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48573         test input.
48574         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48575         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48576         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48577         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48578         that test input.
48579         (lrint_downward_test_data): Test for "inexact" exceptions.
48580         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48581         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48582         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48583         test input.
48584         (lrint_upward_test_data): Test for "inexact" exceptions.
48585         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48586         test input.
48587         (llrint_test_data): Test for "inexact" exceptions.
48588         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48589         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48590         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48591         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48592         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48593         (llrint_downward_test_data): Test for "inexact" exceptions.
48594         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48595         (llrint_upward_test_data): Test for "inexact" exceptions.
48596         (logb_test_data): Likewise.
48597         (logb_downward_test_data): Likewise.
48598         (nextafter_test_data): Likewise.
48599         (nexttoward_test_data): Likewise.
48600         (remainder_test_data): Likewise.
48601         (remquo_test_data): Likewise.
48602         (scalbn_test_data): Likewise.
48603         (scalbln_test_data): Likewise.
48604         (signbit_test_data): Likewise.
48605         (sqrt_test_data): Likewise.
48606         (significand_test_data): Likewise.
48608 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48610         [BZ #15424]
48611         * benchtests/bench-modf.c (struct args): Mark arg0 as
48612         volatile.
48613         * scripts/bench.pl: Mark members of struct args as volatile.
48615 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48617         [BZ # 15497]
48618         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48619         negative infinity on POWER6 or lower.
48620         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48622 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48624         [BZ #15442]
48625         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48626         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48627         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48628         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48629         (_FP_SETQNAN): New macro.
48630         (_FP_SETQNAN_SEMIRAW): Likewise.
48631         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48632         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48633         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48634         (FP_EXTEND): Use _FP_FRAC_SNANP.
48635         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48636         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48637         into account.
48638         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48639         New macro.
48640         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48641         Likewise.
48643 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48645         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48646         with DIVIDE_BY_ZERO_EXCEPTION.
48647         (gamma_test_data): Likewise.
48648         (lgamma_test_data): Likewise.
48649         (log_test_data): Likewise.
48650         (log10_test_data): Likewise.
48651         (log2_test_data): Likewise.
48652         (tgamma_test_data): Likewise.
48654         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48655         (acos_test_tonearest): Likewise.
48656         (acos_test_towardzero): Likewise.
48657         (acos_test_downward): Likewise.
48658         (acos_test_upward): Likewise.
48659         (acosh_test): Likewise.
48660         (asin_test): Likewise.
48661         (asin_test_tonearest): Likewise.
48662         (asin_test_towardzero): Likewise.
48663         (asin_test_downward): Likewise.
48664         (asin_test_upward): Likewise.
48665         (asinh_test): Likewise.
48666         (atan_test): Likewise.
48667         (atanh_test): Likewise.
48668         (atan2_test): Likewise.
48669         (cabs_test): Likewise.
48670         (cacos_test): Likewise.
48671         (cacosh_test): Likewise.
48672         (casin_test): Likewise.
48673         (casinh_test): Likewise.
48674         (catan_test): Likewise.
48675         (catanh_test): Likewise.
48676         (cbrt_test): Likewise.
48677         (ccos_test): Likewise.
48678         (ccosh_test): Likewise.
48679         (cexp_test): Likewise.
48680         (clog_test): Likewise.
48681         (clog10_test): Likewise.
48682         (cos_test): Likewise.
48683         (cos_test_tonearest): Likewise.
48684         (cos_test_towardzero): Likewise.
48685         (cos_test_downward): Likewise.
48686         (cos_test_upward): Likewise.
48687         (cosh_test): Likewise.
48688         (cosh_test_tonearest): Likewise.
48689         (cosh_test_towardzero): Likewise.
48690         (cosh_test_downward): Likewise.
48691         (cosh_test_upward): Likewise.
48692         (cpow_test): Likewise.
48693         (csin_test): Likewise.
48694         (csinh_test): Likewise.
48695         (csqrt_test): Likewise.
48696         (ctan_test): Likewise.
48697         (ctan_test_tonearest): Likewise.
48698         (ctan_test_towardzero): Likewise.
48699         (ctan_test_downward): Likewise.
48700         (ctan_test_upward): Likewise.
48701         (ctanh_test): Likewise.
48702         (ctanh_test_tonearest): Likewise.
48703         (ctanh_test_towardzero): Likewise.
48704         (ctanh_test_downward): Likewise.
48705         (ctanh_test_upward): Likewise.
48706         (erf_test): Likewise.
48707         (erfc_test): Likewise.
48708         (exp_test): Likewise.
48709         (exp_test_tonearest): Likewise.
48710         (exp_test_towardzero): Likewise.
48711         (exp_test_downward): Likewise.
48712         (exp_test_upward): Likewise.
48713         (exp10_test): Likewise.
48714         (exp2_test): Likewise.
48715         (expm1_test): Likewise.
48716         (fmod_test): Likewise.
48717         (gamma_test): Likewise.
48718         (hypot_test): Likewise.
48719         (j0_test): Likewise.
48720         (j1_test): Likewise.
48721         (jn_test): Likewise.
48722         (lgamma_test): Likewise.
48723         (log_test): Likewise.
48724         (log10_test): Likewise.
48725         (log1p_test): Likewise.
48726         (log2_test): Likewise.
48727         (logb_test_downward): Likewise.
48728         (pow_test): Likewise.
48729         (pow_test_tonearest): Likewise.
48730         (pow_test_towardzero): Likewise.
48731         (pow_test_downward): Likewise.
48732         (pow_test_upward): Likewise.
48733         (remainder_test): Likewise.
48734         (remquo_test): Likewise.
48735         (sin_test): Likewise.
48736         (sin_test_tonearest): Likewise.
48737         (sin_test_towardzero): Likewise.
48738         (sin_test_downward): Likewise.
48739         (sin_test_upward): Likewise.
48740         (sincos_test): Likewise.
48741         (sinh_test): Likewise.
48742         (sinh_test_tonearest): Likewise.
48743         (sinh_test_towardzero): Likewise.
48744         (sinh_test_downward): Likewise.
48745         (sinh_test_upward): Likewise.
48746         (sqrt_test): Likewise.
48747         (tan_test): Likewise.
48748         (tan_test_tonearest): Likewise.
48749         (tan_test_towardzero): Likewise.
48750         (tan_test_downward): Likewise.
48751         (tan_test_upward): Likewise.
48752         (tanh_test): Likewise.
48753         (tgamma_test): Likewise.
48754         (y0_test): Likewise.
48755         (y1_test): Likewise.
48756         (yn_test): Likewise.
48758         * math/gen-libm-test.pl (adjust_arg): Remove function.
48759         (special_function): Remove argument $in_func.  Only handle
48760         generating output for tables of tests, not inside functions.
48761         (parse_args): Likewise.
48762         (generate_testfile): Remove variable $in_func.  Update call to
48763         parse_args.
48764         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48765         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48766         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48767         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48768         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48769         (MAX_VALUE_INIT): Rename macro to max_value.
48770         (MIN_VALUE_INIT): Rename macro to min_value.
48771         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48772         (plus_zero): Remove variable.
48773         (minus_zero): Likewise.
48774         (plus_infty): Likewise.
48775         (minus_infty): Likewise.
48776         (qnan_value): Likewise.
48777         (max_value): Likewise.
48778         (min_value): Likewise.
48779         (min_subnorm_value): Likewise.
48781 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48783         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48784         uint64_t or uint32_t usage.
48785         * crypt/sha256-block.c: Likewise.
48786         * crypt/sha256-crypt.c: Likewise.
48787         * crypt/sha256.c: Likewise.
48788         * crypt/sha512-block.c: Likewise.
48789         * crypt/sha512-crypt.c: Likewise.
48790         * crypt/sha512.c: Likewise.
48791         * debug/backtrace-tst.c: Likewise.
48792         * debug/pcprofiledump.c: Likewise.
48793         * elf/cache.c: Likewise.
48794         * elf/dl-cache.c: Likewise.
48795         * elf/dl-misc.c: Likewise.
48796         * elf/dl-profile.c: Likewise.
48797         * elf/dl-support.c: Likewise.
48798         * elf/ldconfig.c: Likewise.
48799         * elf/sprof.c: Likewise.
48800         * iconv/dummy-repertoire.c: Likewise.
48801         * iconv/iconv_charmap.c: Likewise.
48802         * iconv/skeleton.c: Likewise.
48803         * iconvdata/8bit-generic.c: Likewise.
48804         * iconvdata/cp737.h: Likewise.
48805         * iconvdata/cp775.h: Likewise.
48806         * iconvdata/ibm1008.h: Likewise.
48807         * iconvdata/ibm1025.h: Likewise.
48808         * iconvdata/ibm1046.h: Likewise.
48809         * iconvdata/ibm1097.h: Likewise.
48810         * iconvdata/ibm1112.h: Likewise.
48811         * iconvdata/ibm1122.h: Likewise.
48812         * iconvdata/ibm1123.h: Likewise.
48813         * iconvdata/ibm1124.h: Likewise.
48814         * iconvdata/ibm1129.h: Likewise.
48815         * iconvdata/ibm1130.h: Likewise.
48816         * iconvdata/ibm1132.h: Likewise.
48817         * iconvdata/ibm1133.h: Likewise.
48818         * iconvdata/ibm1137.h: Likewise.
48819         * iconvdata/ibm1140.h: Likewise.
48820         * iconvdata/ibm1141.h: Likewise.
48821         * iconvdata/ibm1142.h: Likewise.
48822         * iconvdata/ibm1143.h: Likewise.
48823         * iconvdata/ibm1144.h: Likewise.
48824         * iconvdata/ibm1145.h: Likewise.
48825         * iconvdata/ibm1146.h: Likewise.
48826         * iconvdata/ibm1147.h: Likewise.
48827         * iconvdata/ibm1148.h: Likewise.
48828         * iconvdata/ibm1149.h: Likewise.
48829         * iconvdata/ibm1153.h: Likewise.
48830         * iconvdata/ibm1154.h: Likewise.
48831         * iconvdata/ibm1155.h: Likewise.
48832         * iconvdata/ibm1156.h: Likewise.
48833         * iconvdata/ibm1157.h: Likewise.
48834         * iconvdata/ibm1158.h: Likewise.
48835         * iconvdata/ibm1160.h: Likewise.
48836         * iconvdata/ibm1161.h: Likewise.
48837         * iconvdata/ibm1162.h: Likewise.
48838         * iconvdata/ibm1163.h: Likewise.
48839         * iconvdata/ibm1164.h: Likewise.
48840         * iconvdata/ibm1166.h: Likewise.
48841         * iconvdata/ibm1167.h: Likewise.
48842         * iconvdata/ibm12712.h: Likewise.
48843         * iconvdata/ibm1390.h: Likewise.
48844         * iconvdata/ibm1399.h: Likewise.
48845         * iconvdata/ibm16804.h: Likewise.
48846         * iconvdata/ibm4517.h: Likewise.
48847         * iconvdata/ibm4899.h: Likewise.
48848         * iconvdata/ibm4909.h: Likewise.
48849         * iconvdata/ibm4971.h: Likewise.
48850         * iconvdata/ibm5347.h: Likewise.
48851         * iconvdata/ibm803.h: Likewise.
48852         * iconvdata/ibm856.h: Likewise.
48853         * iconvdata/ibm901.h: Likewise.
48854         * iconvdata/ibm902.h: Likewise.
48855         * iconvdata/ibm9030.h: Likewise.
48856         * iconvdata/ibm9066.h: Likewise.
48857         * iconvdata/ibm921.h: Likewise.
48858         * iconvdata/ibm922.h: Likewise.
48859         * iconvdata/ibm9448.h: Likewise.
48860         * iconvdata/isiri-3342.h: Likewise.
48861         * iconvdata/jis0201.h: Likewise.
48862         * include/link.h: Likewise.
48863         * include/netdb.h: Likewise.
48864         * inet/check_native.c: Likewise.
48865         * inet/check_pf.c: Likewise.
48866         * inet/getipv4sourcefilter.c: Likewise.
48867         * inet/getnameinfo.c: Likewise.
48868         * inet/getsourcefilter.c: Likewise.
48869         * inet/htonl.c: Likewise.
48870         * inet/setipv4sourcefilter.c: Likewise.
48871         * inet/setsourcefilter.c: Likewise.
48872         * inet/test-inet6_opt.c: Likewise.
48873         * inet/tst-network.c: Likewise.
48874         * locale/C-collate.c: Likewise.
48875         * locale/C-ctype.c: Likewise.
48876         * locale/C-time.c: Likewise.
48877         * locale/C-translit.h: Likewise.
48878         * locale/loadarchive.c: Likewise.
48879         * locale/programs/3level.h: Likewise.
48880         * locale/programs/charmap.c: Likewise.
48881         * locale/programs/charmap.h: Likewise.
48882         * locale/programs/ld-address.c: Likewise.
48883         * locale/programs/ld-collate.c: Likewise.
48884         * locale/programs/ld-ctype.c: Likewise.
48885         * locale/programs/ld-identification.c: Likewise.
48886         * locale/programs/ld-measurement.c: Likewise.
48887         * locale/programs/ld-messages.c: Likewise.
48888         * locale/programs/ld-monetary.c: Likewise.
48889         * locale/programs/ld-name.c: Likewise.
48890         * locale/programs/ld-numeric.c: Likewise.
48891         * locale/programs/ld-paper.c: Likewise.
48892         * locale/programs/ld-telephone.c: Likewise.
48893         * locale/programs/ld-time.c: Likewise.
48894         * locale/programs/linereader.c: Likewise.
48895         * locale/programs/locale.c: Likewise.
48896         * locale/programs/locarchive.c: Likewise.
48897         * locale/programs/locfile.h: Likewise.
48898         * locale/programs/repertoire.c: Likewise.
48899         * locale/programs/simple-hash.c: Likewise.
48900         * locale/programs/simple-hash.h: Likewise.
48901         * malloc/memusage.c: Likewise.
48902         * malloc/memusagestat.c: Likewise.
48903         * nis/nis_defaults.c: Likewise.
48904         * nis/nis_hash.c: Likewise.
48905         * nis/nis_print.c: Likewise.
48906         * nis/nis_xdr.c: Likewise.
48907         * nscd/connections.c: Likewise.
48908         * nscd/hstcache.c: Likewise.
48909         * nscd/nscd_gethst_r.c: Likewise.
48910         * nscd/nscd_getserv_r.c: Likewise.
48911         * nscd/nscd_helper.c: Likewise.
48912         * nscd/servicescache.c: Likewise.
48913         * nss/makedb.c: Likewise.
48914         * nss/nss_db/db-XXX.c: Likewise.
48915         * nss/nss_db/db-initgroups.c: Likewise.
48916         * nss/nss_db/db-netgrp.c: Likewise.
48917         * nss/nss_files/files-network.c: Likewise.
48918         * nss/nss_files/files-parse.c: Likewise.
48919         * posix/bug-regex5.c: Likewise.
48920         * posix/fnmatch_loop.c: Likewise.
48921         * posix/regcomp.c: Likewise.
48922         * posix/regexec.c: Likewise.
48923         * posix/tst-rfc3484-2.c: Likewise.
48924         * posix/tst-rfc3484-3.c: Likewise.
48925         * posix/tst-rfc3484.c: Likewise.
48926         * resolv/nss_dns/dns-canon.c: Likewise.
48927         * resolv/nss_dns/dns-network.c: Likewise.
48928         * resolv/res_init.c: Likewise.
48929         * resolv/res_mkquery.c: Likewise.
48930         * resolv/tst-aton.c: Likewise.
48931         * stdlib/cxa_atexit.c: Likewise.
48932         * stdlib/cxa_finalize.c: Likewise.
48933         * stdlib/gen-fpioconst.c: Likewise.
48934         * stdlib/strtol_l.c: Likewise.
48935         * string/tst-endian.c: Likewise.
48936         * sunrpc/auth_des.c: Likewise.
48937         * sunrpc/clnt_udp.c: Likewise.
48938         * sunrpc/rtime.c: Likewise.
48939         * sunrpc/svcauth_des.c: Likewise.
48940         * sunrpc/xdr.c: Likewise.
48941         * sunrpc/xdr_intXX_t.c: Likewise.
48942         * sunrpc/xdr_rec.c: Likewise.
48943         * sysdeps/generic/ldconfig.h: Likewise.
48944         * sysdeps/generic/ldsodefs.h: Likewise.
48945         * sysdeps/generic/memusage.h: Likewise.
48946         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48947         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48948         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48949         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48950         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48951         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48952         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48953         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48954         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48955         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48956         * sysdeps/posix/getaddrinfo.c: Likewise.
48957         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48958         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48959         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48960         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48961         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48962         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48963         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48964         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48965         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48966         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48967         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48968         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48969         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48970         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48971         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48972         * sysdeps/x86_64/dl-tls.h: Likewise.
48973         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48974         * time/alt_digit.c: Likewise.
48975         * time/era.c: Likewise.
48976         * wcsmbs/tst-c16c32-1.c: Likewise.
48978 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48980         * math/libm-test.inc (struct test_sincos_data): New type.
48981         (RUN_TEST_LOOP_sincos): New macro.
48982         (sincos_test_data): New variable.
48983         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48985 2013-05-16  Richard Henderson  <rth@redhat.com>
48987         * math/atest-exp2.c (LIMB64): New macro.
48988         (CONSTSZ): New macro.
48989         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48990         (hexdig): Move ...
48991         (print_mpn_fp): ... to function scope.
48992         (read_mpn_hex): Remove.
48993         (get_log2): Remove.
48994         (exp2_mpn): Use mp_log2.
48995         (main): Use mp_exp1.
48997 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48999         * math/libm-test.inc: Remove comment about not testing "inexact"
49000         exceptions.
49001         (INEXACT_EXCEPTION): New macro.
49002         (NO_INEXACT_EXCEPTION): Likewise.
49003         (INVALID_EXCEPTION_OK): Update value.
49004         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49005         (OVERFLOW_EXCEPTION_OK): Likewise.
49006         (UNDERFLOW_EXCEPTION_OK): Likewise.
49007         (IGNORE_ZERO_INF_SIGN): Likewise.
49008         (ERRNO_UNCHANGED): Likewise.
49009         (ERRNO_EDOM): Likewise.
49010         (ERRNO_ERANGE): Likewise.
49011         (test_exceptions): Handle testing "inexact" exceptions.
49012         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49013         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49014         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49015         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49016         INEXACT_EXCEPTION.
49017         (rint_towardzero_test_data): Likewise.
49018         (rint_downward_test_data): Likewise.
49019         (rint_upward_test_data): Likewise.
49021         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49022         with OVERFLOW_EXCEPTION.
49023         (exp10_test_data): Likewise.
49024         (exp2_test_data): Likewise.
49025         (expm1_test_data): Likewise.
49026         (lgamma_test_data): Likewise.
49027         (pow_test_data): Likewise.
49028         (tgamma_test_data): Likewise.
49029         (yn_test_data): Remove duplicate test of overflow.
49031         * math/libm-test.inc (struct test_cc_c_data): New type.
49032         (RUN_TEST_LOOP_cc_c): New macro.
49033         (cpow_test_data): New variable.
49034         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49036         * math/libm-test.inc (struct test_f_L_data): New type.
49037         (RUN_TEST_LOOP_f_L): New macro.
49038         (llrint_test_data): New variable.
49039         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49040         (llrint_tonearest_test_data): New variable.
49041         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49042         (llrint_towardzero_test_data): New variable.
49043         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49044         (llrint_downward_test_data): New variable.
49045         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49046         (llrint_upward_test_data): New variable.
49047         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49048         (llround_test_data): New variable.
49049         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49051 2013-05-13  Peter Collingbourne  <pcc@google.com>
49053         * math/atest-exp2.c (get_log2): Remove const attribute.
49055 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49057         * math/libm-test.inc (struct test_f_l_data): New type.
49058         (RUN_TEST_LOOP_f_l): New macro.
49059         (lrint_test_data): New variable.
49060         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49061         (lrint_tonearest_test_data): New variable.
49062         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49063         (lrint_towardzero_test_data): New variable.
49064         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49065         (lrint_downward_test_data): New variable.
49066         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49067         (lrint_upward_test_data): New variable.
49068         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49069         (lround_test_data): New variable.
49070         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49072 2013-05-15  Peter Collingbourne  <pcc@google.com>
49074         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49075         (EXTRACT_WORDS64) Use where appropriate.
49076         (INSERT_WORDS64) Likewise.
49078         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49079         constraints with x constraints.
49080         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49082         * malloc/obstack.c (_obstack_compat): Add initializer.
49084 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49086         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49087         si_trapno and add si_addr_lsb to _sifields.sigfault.
49088         (si_trapno): Remove macro.
49089         (si_addr_lsb): Define new macro.
49090         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49092 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49094         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49095         instead of TEST_f_l.
49096         (llrint_test_tonearest): Likewise.
49097         (llrint_test_towardzero): Likewise.
49098         (llrint_test_downward): Likewise.
49099         (llrint_test_upward): Likewise.
49100         (llround_test): Likewise.
49102         * math/libm-test.inc (struct test_f_i_data): Add comment.
49103         (RUN_TEST_LOOP_f_b): New macro.
49104         (RUN_TEST_LOOP_f_b_tg): Likewise.
49105         (finite_test_data): New variable.
49106         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49107         (isfinite_test_data): New variable.
49108         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49109         (isinf_test_data): New variable.
49110         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49111         (isnan_test_data): New variable.
49112         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49113         (isnormal_test_data): New variable.
49114         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49115         (issignaling_test_data): New variable.
49116         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49117         (signbit_test_data): New variable.
49118         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49120         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49121         with INVALID_EXCEPTION.
49122         (acosh_test_data): Likewise.
49123         (asin_test_data): Likewise.
49124         (atanh_test_data): Likewise.
49125         (fmod_test_data): Likewise.
49126         (log_test_data): Likewise.
49127         (log10_test_data): Likewise.
49128         (log2_test_data): Likewise.
49129         (pow_test_data): Likewise.
49130         (sqrt_test_data): Likewise.
49131         (y0_test_data): Likewise.
49132         (y1_test_data): Likewise.
49133         (yn_test_data): Likewise.
49135         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49136         function contents.
49138         * math/libm-test.inc (struct test_ff_i_data): New type.
49139         (RUN_TEST_LOOP_ff_i_tg): New macro.
49140         (isgreater_test_data): New variable.
49141         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49142         (isgreaterequal_test_data): New variable.
49143         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49144         (isless_test_data): New variable.
49145         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49146         (islessequal_test_data): New variable.
49147         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49148         (islessgreater_test_data): New variable.
49149         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49150         (isunordered_test_data): New variable.
49151         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49153 2013-05-14  David S. Miller  <davem@davemloft.net>
49155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49157 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49159         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49161         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49162         extra_test to int.
49163         (struct test_f_i_data): Change type of max_ulp to int.
49165         * math/libm-test.inc (test_ffI_f1_data): New type.
49166         (RUN_TEST_LOOP_ffI_f1): New macro.
49167         (remquo_test_data): New variable.
49168         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49170         * setjmp/tst-setjmp-fp.c: New file.
49171         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49172         (link-libm): New variable.
49173         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49175         * math/libm-test.inc (struct test_f_i_data): New type.
49176         (RUN_TEST_LOOP_f_i): New macro.
49177         (RUN_TEST_LOOP_f_i_tg): Likewise.
49178         (fpclassify_test_data): New variable.
49179         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49180         (ilogb_test_data): New variable.
49181         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49183         * math/libm-test.inc (scalbln_test): Correct function name in END
49184         call.
49186         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49187         (RUN_TEST_LOOP_fI_f1): New macro.
49188         (frexp_test_data): New variable.
49189         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49191         * math/libm-test.inc (struct test_fF_f1_data): New type.
49192         (RUN_TEST_LOOP_fF_f1): New macro.
49193         (modf_test_data): New variable.
49194         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49196         * math/libm-test.inc (struct test_f_f1_data): New type.
49197         (RUN_TEST_LOOP_f_f1): New macro.
49198         (gamma_test_data): New variable.
49199         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49200         (lgamma_test_data): New variable.
49201         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49203 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49205         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49206         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49207         (main): Comment "tls" pseudo-hwcap.
49209 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49211         * math/libm-test.inc (struct test_fl_f_data): New type.
49212         (RUN_TEST_LOOP_fl_f): New variable.
49213         (scalbln_test_data): New variable.
49214         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49216         * math/libm-test.inc (struct test_fi_f_data): New type.
49217         (RUN_TEST_LOOP_fi_f): New macro.
49218         (ldexp_test_data): New variable.
49219         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49220         (scalbn_test_data): New variable.
49221         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49223         * math/libm-test.inc (struct test_c_f_data): New type.
49224         (RUN_TEST_LOOP_c_f): New macro.
49225         (cabs_test_data): New variable.
49226         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49227         (carg_test_data): New variable.
49228         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49229         (cimag_test_data): New variable.
49230         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49231         (creal_test_data): New variable.
49232         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49234         * math/libm-test.inc (struct test_if_f_data): New type.
49235         (RUN_TEST_LOOP_if_f): New macro.
49236         (jn_test_data): New variable.
49237         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49238         (yn_test_data): New variable.
49239         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49241         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49243 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49245         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49246         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49248 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49250         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49251         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49252         (bench-deps): Add bench-timing.h.
49253         * benchtests-bench-skeleton.c: Include bench-timing.h.
49254         (main): Use TIMING_* macros instead of clock_gettime.
49255         * benchtests/bench-timing.h: New file.
49257         [BZ #14582]
49258         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49259         Renamed from _LIB_VERSION.
49260         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49262 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49264         * math/libm-test.inc (struct test_fff_f_data): New type.
49265         (RUN_TEST_LOOP_fff_f): New macro.
49266         (fma_test_data): New variable.
49267         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49268         (fma_towardzero_test_data): New variable.
49269         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49270         (fma_downward_test_data): New variable.
49271         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49272         (fma_upward_test_data): New variable.
49273         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49275         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49276         (struct test_c_c_data): New type.
49277         (RUN_TEST_LOOP_c_c): New macro.
49278         (cacos_test_data): New variable.
49279         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49280         (cacosh_test_data): New variable.
49281         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49282         (casin_test_data): New variable.
49283         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49284         (casinh_test_data): New variable.
49285         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49286         (catan_test_data): New variable.
49287         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49288         (catanh_test_data): New variable.
49289         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49290         (ccos_test_data): New variable.
49291         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49292         (ccosh_test_data): New variable.
49293         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49294         (cexp_test_data): New variable.
49295         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49296         (clog_test_data): New variable.
49297         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49298         (clog10_test_data): New variable.
49299         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49300         (conj_test_data): New variable.
49301         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49302         (cproj_test_data): New variable.
49303         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49304         (csin_test_data): New variable.
49305         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49306         (csinh_test_data): New variable.
49307         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49308         (csqrt_test_data): New variable.
49309         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49310         (ctan_test_data): New variable.
49311         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49312         (ctan_tonearest_test_data): New variable.
49313         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49314         (ctan_towardzero_test_data): New variable.
49315         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49316         (ctan_downward_test_data): New variable.
49317         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49318         (ctan_upward_test_data): New variable.
49319         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49320         (ctanh_test_data): New variable.
49321         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49322         (ctanh_tonearest_test_data): New variable.
49323         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49324         (ctanh_towardzero_test_data): New variable.
49325         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49326         (ctanh_downward_test_data): New variable.
49327         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49328         (ctanh_upward_test_data): New variable.
49329         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49330         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49331         of BUILD_COMPLEX.
49333         * math/libm-test.inc (struct test_ff_f_data): New type.
49334         (struct test_ff_f_data_nexttoward): Likewise.
49335         (RUN_TEST_LOOP_2_f): New macro.
49336         (RUN_TEST_LOOP_ff_f): Likewise.
49337         (atan2_test_data): New variable.
49338         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49339         (copysign_test_data): New variable.
49340         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49341         (fdim_test_data): New variable.
49342         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49343         (fmax_test_data): New variable.
49344         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49345         (fmin_test_data): New variable.
49346         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49347         (fmod_test_data): New variable.
49348         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49349         (hypot_test_data): New variable.
49350         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49351         (nextafter_test_data): New variable.
49352         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49353         (nexttoward_test_data): New variable.
49354         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49355         (pow_test_data): New variable.
49356         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49357         (pow_tonearest_test_data): New variable.
49358         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49359         (pow_towardzero_test_data): New variable.
49360         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49361         (pow_downward_test_data): New variable.
49362         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49363         (pow_upward_test_data): New variable.
49364         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49365         (remainder_test_data): New variable.
49366         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49367         (scalb_test_data): New variable.
49368         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49369         * sysdeps/i386/fpu/libm-test-ulps: Update.
49371 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49373         * math/libm-test.inc (fma_test): Use max_value instead of local
49374         variable fltmax.
49375         (nextafter_test): Likewise.
49377         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49378         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49379         (acos_downward_test_data): New variable.
49380         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49381         (acos_upward_test_data): New variable.
49382         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49383         (acosh_test_data): New variable.
49384         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49385         (asin_test_data): New variable.
49386         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49387         (asin_tonearest_test_data): New variable.
49388         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49389         (asin_towardzero_test_data): New variable.
49390         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49391         (asin_downward_test_data): New variable.
49392         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49393         (asin_upward_test_data): New variable.
49394         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49395         (asinh_test_data): New variable.
49396         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49397         (atan_test_data): New variable.
49398         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49399         (atanh_test_data): New variable.
49400         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49401         (cbrt_test_data): New variable.
49402         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49403         (ceil_test_data): New variable.
49404         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49405         (cos_test_data): New variable.
49406         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49407         (cos_tonearest_test_data): New variable.
49408         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49409         (cos_towardzero_test_data): New variable.
49410         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49411         (cos_downward_test_data): New variable.
49412         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49413         (cos_upward_test_data): New variable.
49414         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49415         (cosh_test_data): New variable.
49416         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49417         (cosh_tonearest_test_data): New variable.
49418         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49419         (cosh_towardzero_test_data): New variable.
49420         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49421         (cosh_downward_test_data): New variable.
49422         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49423         (cosh_upward_test_data): New variable.
49424         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49425         (erf_test_data): New variable.
49426         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49427         (erfc_test_data): New variable.
49428         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49429         (exp_test_data): New variable.
49430         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49431         (exp_tonearest_test_data): New variable.
49432         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49433         (exp_towardzero_test_data): New variable.
49434         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49435         (exp_downward_test_data): New variable.
49436         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49437         (exp_upward_test_data): New variable.
49438         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49439         (exp10_test_data): New variable.
49440         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49441         (exp2_test_data): New variable.
49442         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49443         (expm1_test_data): New variable.
49444         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49445         (fabs_test_data): New variable.
49446         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49447         (floor_test_data): New variable.
49448         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49449         (j0_test_data): New variable.
49450         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49451         (j1_test_data): New variable.
49452         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49453         (log_test_data): New variable.
49454         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49455         (log10_test_data): New variable.
49456         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49457         (log1p_test_data): New variable.
49458         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49459         (log2_test_data): New variable.
49460         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49461         (logb_test_data): New variable.
49462         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49463         (logb_downward_test_data): New variable.
49464         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49465         (nearbyint_test_data): New variable.
49466         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49467         (rint_test_data): New variable.
49468         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49469         (rint_tonearest_test_data): New variable.
49470         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49471         (rint_towardzero_test_data): New variable.
49472         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49473         (rint_downward_test_data): New variable.
49474         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49475         (rint_upward_test_data): New variable.
49476         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49477         (round_test_data): New variable.
49478         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49479         (sin_test_data): New variable.
49480         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49481         (sin_tonearest_test_data): New variable.
49482         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49483         (sin_towardzero_test_data): New variable.
49484         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49485         (sin_downward_test_data): New variable.
49486         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49487         (sin_upward_test_data): New variable.
49488         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49489         (sinh_test_data): New variable.
49490         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49491         (sinh_tonearest_test_data): New variable.
49492         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49493         (sinh_towardzero_test_data): New variable.
49494         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49495         (sinh_downward_test_data): New variable.
49496         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49497         (sinh_upward_test_data): New variable.
49498         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49499         (sqrt_test_data): New variable.
49500         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49501         (tan_test_data): New variable.
49502         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49503         (tan_tonearest_test_data): New variable.
49504         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49505         (tan_towardzero_test_data): New variable.
49506         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49507         (tan_downward_test_data): New variable.
49508         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49509         (tan_upward_test_data): New variable.
49510         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49511         (tanh_test_data): New variable.
49512         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49513         (tgamma_test_data): New variable.
49514         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49515         (trunc_test_data): New variable.
49516         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49517         (y0_test_data): New variable.
49518         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49519         (y1_test_data): New variable.
49520         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49521         (significand_test_data): New variable.
49522         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49524 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49526         [BZ #12387]
49527         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49529 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49531         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49533 2013-05-10  Andreas Jaeger  <aj@suse.de>
49535         [BZ #15448]
49536         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49537         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49539 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49541         * math/gen-libm-test.pl (adjust_arg): New function.
49542         (special_functions): Handle generating output in both functions
49543         and arrays.
49544         (parse_args): Likewise.
49545         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49546         $in_func argument to parse_args.
49547         * math/libm-test.inc (struct test_f_f_data): New type.
49548         (IF_ROUND_INIT_): New macro.
49549         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49550         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49551         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49552         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49553         (ROUND_RESTORE_): Likewise.
49554         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49555         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49556         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49557         (ROUND_RESTORE_FE_UPWARD): Likewise.
49558         (RUN_TEST_LOOP_f_f): New macro.
49559         (acos_test_data): New variable.
49560         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49561         (acos_tonearest_test_data): New variable.
49562         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49564 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49566         * benchtests/bench-skeleton.c (startup): Fix coding style.
49568 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49570         [BZ #6809]
49571         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49572         negative infinity argument.
49573         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49574         negative infinity argument.
49575         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49576         negative infinity argument.
49577         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49578         domain errors.
49580 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49582         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49583         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49584         * iconv/iconv_prog.c (main): Likewise.
49585         * locale/programs/charmap-dir.c (charmap_readdir)
49586         (fopen_uncompressed): Likewise.
49587         * locale/programs/locfile.c (siblings_uncached)
49588         (write_locale_data): Use lstat64 instead of lstat.
49589         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49590         stat.
49592 2013-05-10  Andreas Jaeger  <aj@suse.de>
49594         [BZ #15395]
49595         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49596         localization.
49597         Include <locale.h>.
49599 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49601         * elf/dl-close.c (_dl_close_worker): Add comments.
49603 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49605         [BZ #15359]
49606         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49607         high part of pi/2.
49608         (__ieee754_rem_pio2l): Update comments.
49610         [BZ #15429]
49611         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49612         high part of pi/2.
49613         (__ieee754_rem_pio2l): Update comments.
49615         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49616         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49618         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49619         M_PI_4l.
49621         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49622         (M_PI_34_LOG10El): Likewise.
49623         (M_PI2_LOG10El): Likewise.
49624         (M_PI4_LOG10El): Likewise.
49625         (M_PI_LOG10El): Likewise.
49627 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49631 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49633         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49634         (MINUS_ZERO_INIT): Likewise.
49635         (PLUS_INFTY_INIT): Likewise.
49636         (MINUS_INFTY_INIT): Likewise.
49637         (QNAN_VALUE_INIT): Likewise.
49638         (MAX_VALUE_INIT): Likewise.
49639         (MIN_VALUE_INIT): Likewise.
49640         (MIN_SUBNORM_VALUE_INIT): Likewise.
49641         (plus_zero): Initialize with PLUS_ZERO_INIT.
49642         (minus_zero): Initialize with MINUS_ZERO_INIT.
49643         (plus_infty): Initialize with PLUS_INFTY_INIT.
49644         (minus_infty): Initialize with MINUS_INFTY_INIT.
49645         (qnan_value): Initialize with QNAN_VALUE_INIT.
49646         (max_value): Initialize with MAX_VALUE_INIT.
49647         (min_value): Initialize with MIN_VALUE_INIT.
49648         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49650         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49651         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49652         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49653         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49655         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49656         (RUN_TEST_2_f): Likewise.
49657         (RUN_TEST_ff_f): Likewise.
49658         (RUN_TEST_fi_f): Likewise.
49659         (RUN_TEST_fl_f): Likewise.
49660         (RUN_TEST_fff_f): Likewise.
49661         (RUN_TEST_c_f): Likewise.
49662         (RUN_TEST_f_f1): Likewise.
49663         (RUN_TEST_fF_f1): Likewise.
49664         (RUN_TEST_fI_f1): Likewise.
49665         (RUN_TEST_ffI_f1): Likewise.
49666         (RUN_TEST_c_c): Likewise.
49667         (RUN_TEST_cc_c): Likewise.
49668         (RUN_TEST_f_i): Likewise.
49669         (RUN_TEST_f_i_tg): Likewise.
49670         (RUN_TEST_ff_i_tg): Likewise.
49671         (RUN_TEST_f_b): Likewise.
49672         (RUN_TEST_f_b_tg): Likewise.
49673         (RUN_TEST_f_l): Likewise.
49674         (RUN_TEST_f_L): Likewise.
49675         (RUN_TEST_sincos): Likewise.
49676         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49677         whether to show exceptions.  Do not include ");\n" in return
49678         value.
49679         (special_functions): Output call to RUN_TEST_sincos instead of
49680         check_float calls.  Update calls to new_test.
49681         (parse_args): Output call to single RUN_TEST_* macro instead of
49682         check_* calls and other assignments.  Update calls to new_test.
49684         [BZ #2546]
49685         [BZ #2560]
49686         [BZ #5159]
49687         [BZ #15426]
49688         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49689         input to result for tgamma overflow.
49690         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49691         (gamma_coeff): New variable.
49692         (NCOEFF): New macro.
49693         (gamma_positive): New function.
49694         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49695         underflow here.  Use gamma_positive instead of exp (lgamma) for
49696         other arguments.
49697         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49698         (gamma_coeff): New variable.
49699         (NCOEFF): New macro.
49700         (gammaf_positive): New function.
49701         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49702         underflow here.  Use gamma_positive instead of exp (lgamma) for
49703         other arguments.
49704         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49705         (gamma_coeff): New variable.
49706         (NCOEFF): New macro.
49707         (gammal_positive): New function.
49708         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49709         underflow here.  Use gamma_positive instead of exp (lgamma) for
49710         other arguments.
49711         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49712         (gamma_coeff): New variable.
49713         (NCOEFF): New macro.
49714         (gammal_positive): New function.
49715         (__ieee754_gammal_r): Handle positive infinity, overflow and
49716         underflow here.  Handle NaN the same as positive infinity.  Remove
49717         check x < 0xffffffff for negative integers.  Use gamma_positive
49718         instead of exp (lgamma) for other arguments.
49719         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49720         (gamma_coeff): New variable.
49721         (NCOEFF): New macro.
49722         (gammal_positive): New function.
49723         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49724         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49725         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49726         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49727         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49728         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49729         * sysdeps/generic/math_private.h (__gamma_productf): New
49730         prototype.
49731         (__gamma_product): Likewise.
49732         (__gamma_productl): Likewise.
49733         * math/Makefile (libm-calls): Add gamma_product.
49734         * math/libm-test.inc (tgamma_test): Add more tests.
49735         * sysdeps/i386/fpu/libm-test-ulps: Update.
49736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49738 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49740         * benchtests/bench-skeleton.c (main): Preheat CPU.
49742 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49744         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49746 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49748         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49749         and _dl_skip_args_internal.
49751 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49753         * manual/message.texi (Message Translation): Talk about users.
49754         Message to key mapping impacts design.
49756 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49758         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49760         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49762         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49763         * sysdeps/wordsize-64/glob64.c: ... here.
49765         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49766         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49767         New macros.
49769         * debug/getlogin_r_chk.c: Moved to ...
49770         * login/getlogin_r_chk.c: ... here.
49771         * debug/Makefile (routines): Move getlogin_r_chk to ...
49772         * login/Makefile (routines): ... here.
49773         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49774         * login/Versions (libc: GLIBC_2.4): ... here.
49776         * io/poll.c (__poll): Renamed from poll.
49777         Add libc_hidden_def.
49778         (poll): Define as weak alias.
49780         * debug/ptsname_r_chk.c: Moved to ...
49781         * login/ptsname_r_chk.c: ... here.
49782         * debug/Makefile (routines): Move ptsname_r_chk to ...
49783         * login/Makefile (routines): ... here.
49784         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49785         * login/Versions (libc: GLIBC_2.4): ... here.
49787         * posix/getlogin.c: Moved to ...
49788         * login/getlogin.c: ... here.
49789         * posix/getlogin_r.c: Moved to ...
49790         * login/getlogin_r.c: ... here.
49791         * posix/getlogin_r.c: Moved to ...
49792         * login/getlogin_r.c: ... here.
49793         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49794         * login/Makefile (routines): ... here.
49795         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49796         * login/Versions (libc: GLIBC_2.0): ... here.
49798         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49799         (setrlimit): Define as weak alias.
49801         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49802         Call __ names for open, ftruncate, and close.
49803         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49804         (truncate): Define as weak alias.
49806 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49808         * math/gen-libm-test.pl (parse_args): Initialize x before each
49809         test of frexp, modf and remquo.
49811         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49812         test signgam value.
49814 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49816         [BZ #15418]
49817         [BZ #15419]
49818         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49819         internal tests.
49820         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49822 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49824         * elf/dl-writev.h: New file.
49825         * elf/dl-misc.c: Include it.
49826         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49827         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49829 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49831         * math/libm-test.inc (noXFails): Remove variable.
49832         (noXPasses): Likewise.
49833         (BUILD_COMPLEX_INT): Remove macro.
49834         (print_screen): Remove xfail argument.
49835         (print_screen_max_error): Likewise.
49836         (update_stats): Likewise.
49837         (print_max_error): Likewise.  Update calls to other affected
49838         functions.
49839         (print_complex_max_error): Likewise.
49840         (test_single_exception): Update calls to print_screen.
49841         (test_single_errno): Likewise.
49842         (check_float_internal): Remove xfail argument.  Update calls to
49843         other affected functions.
49844         (check_float): Likewise.
49845         (check_complex): Likewise.
49846         (check_int): Likewise.
49847         (check_long): Likewise.
49848         (check_bool): Likewise.
49849         (check_longlong): Likewise.
49850         (main): Don't print noXFails and noXPasses.
49851         * math/gen-libm-test.pl (top level): Don't mention expected
49852         failure handling in comment.
49853         (new_test): Don't handle expected failures.
49854         (parse_args): Don't mention expected failure handling in comment.
49855         (generate_testfile): Don't handle expected failures.
49856         (parse_ulps): Likewise.
49857         (print_ulps_file): Likewise.
49858         (get_failure): Remove function.
49859         (output_test): Don't handle expected failures.
49860         * make/README.libm-test: Don't mention expected failure handling.
49862         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49863         (minus_zero): Likewise.
49864         (plus_infty): Likewise.
49865         (minus_infty): Likewise.
49866         (qnan_value): Likewise.
49867         (max_value): Likewise.
49868         (min_value): Likewise.
49869         (min_subnorm_value): Likewise.
49870         (initialize): Do not initialize those variables dynamically.
49872 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49874         * io/open.c (__open_2): Moved to ...
49875         * io/open_2.c: ... this new file.
49876         * io/open64.c (__open64_2): Moved to ...
49877         * io/open64_2.c: ... this new file.
49878         * io/openat.c (__openat_2): Moved to ...
49879         * io/openat_2.c: ... this new file.
49880         * io/openat64.c (__openat64_2): Moved to ...
49881         * io/openat64_2.c: ... this new file.
49882         * io/Makefile (routines): Add them.
49883         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49884         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49885         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49886         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49887         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49888         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49889         (__openat64): Add hidden_ver.
49890         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49891         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49893         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49894         Separately conditionalize setting of GLRO(dl_sysinfo) so
49895         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49896         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49898 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49900         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49901         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49902         definition.
49903         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49904         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49905         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49906         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49907         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49909 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49911         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49912         test signgam value.
49914         * math/libm-test.inc (hypot_test): Do not use
49915         IGNORE_ZERO_INF_SIGN.
49917 2013-05-03  Andreas Jaeger  <aj@suse.de>
49919         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49920         Linux 3.9.
49921         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49922         (PF_MAX): Adjust for VSOCK change.
49924 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49928 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49930         [BZ #15264]
49931         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49932         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49933         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49935 2013-05-02  David S. Miller  <davem@davemloft.net>
49937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49939 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49941         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49943 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49945         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49947 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49949         [BZ #14952]
49950         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49951         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49952         Use __attribute__ ((__gnu_inline__)).
49953         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49954         Don't use __attribute__ ((__gnu_inline__)).
49956 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49958         [BZ #15423]
49959         * math/s_catan.c (__catan): Handle small real or imaginary part of
49960         input specially to avoid spurious underflow.
49961         * math/s_catanf.c (__catanf): Likewise.
49962         * math/s_catanh.c (__catanh): Likewise.
49963         * math/s_catanhf.c (__catanhf): Likewise.
49964         * math/s_catanhl.c (__catanhl): Likewise.
49965         * math/s_catanl.c (__catanl): Likewise.
49966         * math/libm-test.inc (catan_test): Add more tests.
49967         (catanh_test): Likewise.
49968         * sysdeps/i386/fpu/libm-test-ulps: Update.
49969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49971 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49975 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49977         [BZ #15416]
49978         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49979         accurately for denominator in atan2.
49980         * math/s_catanf.c (__catanf): Likewise.
49981         * math/s_catanh.c (__catanh): Likewise.
49982         * math/s_catanhf.c (__catanhf): Likewise.
49983         * math/s_catanhl.c (__catanhl): Likewise.
49984         * math/s_catanl.c (__catanl): Likewise.
49985         * math/libm-test.inc (catan_test): Add more tests.
49986         (catanh_test): Likewise.
49987         * sysdeps/i386/fpu/libm-test-ulps: Update.
49988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49990 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49992         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49994         * benchtests/Makefile (bench): Remove slow benchmarks.
49995         * benchtests/atan-inputs: Add slow benchmark inputs.
49996         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49997         (BENCH_FUNC): Accept variant offset.
49998         (VARIANT): Define.
49999         * benchtests/bench-skeleton.c (main): Run benchmark for each
50000         variant.
50001         * benchtests/cos-inputs: Add slow benchmark inputs.
50002         * benchtests/exp-inputs: Likewise.
50003         * benchtests/pow-inputs: Likewise.
50004         * benchtests/sin-inputs: Likewise.
50005         * benchtests/slowatan-inputs: Remove.
50006         * benchtests/slowatan.c: Remove.
50007         * benchtests/slowcos-inputs: Remove.
50008         * benchtests/slowcos.c: Remove.
50009         * benchtests/slowexp-inputs: Remove.
50010         * benchtests/slowexp.c: Remove.
50011         * benchtests/slowpow-inputs: Remove.
50012         * benchtests/slowpow.c: Remove.
50013         * benchtests/slowsin-inputs: Remove.
50014         * benchtests/slowsin.c: Remove.
50015         * benchtests/slowtan-inputs: Remove.
50016         * benchtests/slowtan.c: Remove.
50017         * benchtests/tan-inputs: Add slow benchmark inputs.
50018         * scripts/bench.pl: Parse comments and directives.
50020         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50021         in CPPFLAGS.
50022         ($(objpfx)bench-%.c): Remove *-ITER.
50023         * benchtests/bench-modf.c: Remove definition of ITER.
50024         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50025         (main): Loop for DURATION seconds instead of fixed number of
50026         iterations.
50027         * scripts/bench.pl: Don't expect iterations in parameters.
50029 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50031         * io/fchdir.c (__fchdir): Renamed from fchdir.
50032         (fchdir): Define as weak alias.
50034 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50036         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50037         (ERRNO_EDOM): Likewise.
50038         (ERRNO_ERANGE): Likewise.
50039         (noErrnoTests): New variable.
50040         (init_max_error): Set errno to 0.
50041         (test_single_errno): New function.
50042         (test_errno): Likewise.
50043         (check_float_internal): Call test_errno.  Set errno to 0.
50044         (check_complex): Refer to errno tests in comment.
50045         (check_int): Call test_errno.  Set errno to 0.
50046         (check_long): Likewise.
50047         (check_bool): Likewise.
50048         (check_longlong): Likewise.
50049         (cos_test): Use ERRNO_* flags for errno tests instead of
50050         check_int.
50051         (expm1_test): Likewise.
50052         (fmod_test): Likewise.
50053         (ilogb_test): Likewise.
50054         (lgamma_test): Likewise.
50055         (pow_test): Likewise.
50056         (remainder_test): Likewise.
50057         (sin_test): Likewise.
50058         (tan_test): Likewise.
50059         (yn_test): Likewise.
50060         (initialize): Set errno to 0.
50061         (main): Print number of errno tests.
50062         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50064 2013-04-29  Andreas Jaeger  <aj@suse.de>
50066         [BZ #15084]
50067         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50068         and RES_USEVC.
50070         [BZ #15085]
50071         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50072         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50073         unimplemented.
50075         [BZ #15380]
50076         * stdlib/random.c (__initstate): Return NULL if
50077         __initstate fails.
50079         [BZ #15086]
50080         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50081         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50082         RES_SNGLKUPREOP.
50084 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50088 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50090         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50091         of individual tests.
50092         (casin_test): Likewise.
50093         (casinh_test): Likewise.
50095 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50097         [BZ #15409]
50098         * math/s_catan.c (__catan): Handle arguments with large real or
50099         imaginary part separately without squaring.
50100         * math/s_catanf.c (__catanf): Likewise.
50101         * math/s_catanh.c (__catanh): Likewise.
50102         * math/s_catanhf.c (__catanhf): Likewise.
50103         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50104         and redefine.
50105         (__catanhl): Handle arguments with large real or imaginary part
50106         separately without squaring.
50107         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50108         and redefine.
50109         (__catanl): Handle arguments with large real or imaginary part
50110         separately without squaring.
50111         * math/libm-test.inc (catan_test): Add more tests.
50112         (catanh_test): Likewise.
50113         * sysdeps/i386/fpu/libm-test-ulps: Update.
50114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50116 2013-04-27  Andreas Jaeger  <aj@suse.de>
50118         [BZ #15007]
50119         * stdlib/stdlib.h: Update guards for qecvt.
50120         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50121         <stdlib.h>.
50123 2013-04-27  Allan McRae  <allan@archlinux.org>
50125         * sysdeps/i386/fpu/libm-test-ulps: Update.
50127 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50129         [BZ #15406]
50130         * math/s_catan.c: Include <float.h>.
50131         (__catan): Ensure underflow exception occurs for underflowed
50132         result.
50133         * math/s_catanf.c: Include <float.h>.
50134         (__catanf): Ensure underflow exception occurs for underflowed
50135         result.
50136         * math/s_catanh.c: Include <float.h>.
50137         (__catanh): Ensure underflow exception occurs for underflowed
50138         result.
50139         * math/s_catanhf.c: Include <float.h>.
50140         (__catanhf): Ensure underflow exception occurs for underflowed
50141         result.
50142         * math/s_catanhl.c: Include <float.h>.
50143         (__catanhl): Ensure underflow exception occurs for underflowed
50144         result.
50145         * math/s_catanl.c: Include <float.h>.
50146         (__catanl): Ensure underflow exception occurs for underflowed
50147         result.
50148         * math/libm-test.inc (catan_test): Add more tests.
50149         (catanh_test): Likewise.
50151         [BZ #15405]
50152         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50153         underflowed result.
50154         * math/s_ccoshf.c (__ccoshf): Likewise.
50155         * math/s_ccoshl.c (__ccoshl): Likewise.
50156         * math/s_csin.c (__csin): Likewise.
50157         * math/s_csinf.c (__csinf): Likewise.
50158         * math/s_csinh.c (__csinh): Likewise.
50159         * math/s_csinhf.c (__csinhf): Likewise.
50160         * math/s_csinhl.c (__csinhl): Likewise.
50161         * math/s_csinl.c (__csinl): Likewise.
50162         * math/libm-test.inc (ccos_test): Add more tests.
50163         (ccosh_test): Likewise.
50164         (csin_test): Likewise.
50165         (csinh_test): Likewise.
50167 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50169         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50170         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50171         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50172         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50173         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50174         powerpc/power5+/fpu folders.
50175         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50178 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50182 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50184         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50185         additions to variable.
50186         [$(config-machine) = x86_64] (modules-names): Likewise.
50187         ($(objpfx)tst-audit3): Remove dependency.
50188         ($(objpfx)tst-audit3.out): Likewise.
50189         ($(objpfx)tst-audit4): Likewise.
50190         ($(objpfx)tst-audit4.out): Likewise.
50191         ($(objpfx)tst-audit5): Likewise.
50192         ($(objpfx)tst-audit5.out): Likewise.
50193         ($(objpfx)tst-audit6): Likewise.
50194         ($(objpfx)tst-audit6.out): Likewise.
50195         ($(objpfx)tst-audit7): Likewise.
50196         ($(objpfx)tst-audit7.out): Likewise.
50197         (tst-audit3-ENV): Remove variable.
50198         (tst-audit4-ENV): Likewise.
50199         (tst-audit5-ENV): Likewise.
50200         (tst-audit6-ENV): Likewise.
50201         (tst-audit7-ENV): Likewise.
50202         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50203         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50204         addition to variable.
50205         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50206         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50207         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50210         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50211         tst-audit3, tst-audit4 and tst-audit5.
50212         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50213         tst-audit6 and tst-audit7.
50214         [$(subdir) = elf] (modules-names): Add audit modules for those
50215         tests.
50216         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50217         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50218         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50219         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50220         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50221         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50222         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50223         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50224         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50225         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50226         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50227         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50228         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50229         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50230         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50231         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50232         Likewise.
50233         [$(subdir) = elf && $(config-cflags-avx) = yes]
50234         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50235         [$(subdir) = elf && $(config-cflags-avx) = yes]
50236         (CFLAGS-tst-auditmod4a.c): Likewise.
50237         [$(subdir) = elf && $(config-cflags-avx) = yes]
50238         (CFLAGS-tst-auditmod4b.c): Likewise.
50239         [$(subdir) = elf && $(config-cflags-avx) = yes]
50240         (CFLAGS-tst-auditmod6b.c): Likewise.
50241         [$(subdir) = elf && $(config-cflags-avx) = yes]
50242         (CFLAGS-tst-auditmod6c.c): Likewise.
50243         [$(subdir) = elf && $(config-cflags-avx) = yes]
50244         (CFLAGS-tst-auditmod7b.c): Likewise.
50245         * elf/tst-audit3.c: Move to ...
50246         * sysdeps/x86_64/tst-audit3.c: ... here.
50247         * elf/tst-audit4.c: Move to ...
50248         * sysdeps/x86_64/tst-audit4.c: ... here.
50249         * elf/tst-audit5.c: Move to ...
50250         * sysdeps/x86_64/tst-audit5.c: ... here.
50251         * elf/tst-audit6.c: Move to ...
50252         * sysdeps/x86_64/tst-audit6.c: ... here.
50253         * elf/tst-audit7.c: Move to ...
50254         * sysdeps/x86_64/tst-audit7.c: ... here.
50255         * elf/tst-auditmod3a.c: Move to ...
50256         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50257         * elf/tst-auditmod3b.c: Move to ...
50258         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50259         * elf/tst-auditmod4a.c: Move to ...
50260         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50261         * elf/tst-auditmod4b.c: Move to ...
50262         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50263         * elf/tst-auditmod5a.c: Move to ...
50264         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50265         * elf/tst-auditmod5b.c: Move to ...
50266         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50267         * elf/tst-auditmod6a.c: Move to ...
50268         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50269         * elf/tst-auditmod6b.c: Move to ...
50270         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50271         * elf/tst-auditmod6c.c: Move to ...
50272         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50273         * elf/tst-auditmod7a.c: Move to ...
50274         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50275         * elf/tst-auditmod7b.c: Move to ...
50276         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50278 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50280         [BZ #15366]
50281         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50282         define unconditionally.
50283         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50284         define unconditionally.
50285         (INT8_C, INT16_C, etc.): Likewise.
50287 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50289         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50290         __ehdr_start with hidden visibility.
50292         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50294 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50296         * math/libm-test.inc (cos_test): Use accurate hex constants.
50297         (sincost_test): Likewise.
50299 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50301         * math/libm-test.inc (catan_test): Add more tests.
50302         (catanh_test): Likewise.
50304         * math/s_catanf.c (__catanf): Use suffixed floating-point
50305         constants.
50306         * math/s_catanhf.c (__catanhf): Likewise.
50307         * math/s_catanhl.c (__catanhl): Likewise.
50308         * math/s_catanl.c (__catanl): Likewise.
50310         [BZ #15394]
50311         * math/s_catan.c (__catan): Calculate imaginary part of result
50312         with log1p not log unless computing log of number close to 0.
50313         * math/s_catanf.c (__catanf): Likewise.
50314         * math/s_catanl.c (__catanl): Likewise.
50315         * math/s_catanh.c (__catanh): Calculate real part of result with
50316         log1p not log unless computing log of number close to 0.
50317         * math/s_catanhf.c (__catanhf): Likewise.
50318         * math/s_catanhl.c (__catanhl): Likewise.
50319         * math/libm-test.inc (catan_test): Add more tests.
50320         (catanh_test): Likewise.
50321         * sysdeps/i386/fpu/libm-test-ulps: Update.
50322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50324 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50326         * benchtests/Makefile: Mention files in which fast and slow
50327         paths of math functions are implemented.
50329 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50331         * sysdeps/posix/timespec_get.c: New file.
50333 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50335         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50336         POWER.
50337         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50338         for POWER.
50339         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50340         powerpc/power5/fpu folders.
50341         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50342         * benchtests/Makefile: Add modf testcase.
50343         * benchtests/bench-modf.c: New file: Benchmark test for mo
50345 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50347         [BZ #14888]
50348         * time/Makefile (tests): Add tst-strptime-whitespace.
50349         * time/strptime_l.c (get_number): Use ISSPACE.
50350         (__strptime_internal): Likewise.
50351         * time/tst-strptime-whitespace.c: New test case.
50353 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50355         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50356         member.
50357         (_nss_files_init): Set it here.
50359 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50361         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50362         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50363         unsigned.
50365 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50367         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50369 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50371         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50372         size just once.
50374 2013-04-21  David S. Miller  <davem@davemloft.net>
50376         * po/ru.po: Update Russion translation from translation project.
50378 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50380         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50381         and setfsgid.
50383 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50385         * configure.in: Remove i386 configure warning. Remove i386 case.
50386         * configure: Regenerate.
50387         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50388         Add example to error message.
50389         * sysdeps/i386/configure: Regenerate.
50391 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50393         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50394         slowtan.
50395         * benchtests/cos-inputs: New file.
50396         * benchtests/slowcos-inputs: New file.
50397         * benchtests/slowcos.c: New file.
50398         * benchtests/slowtan-inputs: New file.
50399         * benchtests/slowtan.c: New file.
50400         * benchtests/tan-inputs: New file.
50402 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50404         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50405         considered kosher.
50407 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50409         * benchtests/Makefile: Include cppflags-iterator.mk to add
50410         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50412         * Makefile.in (bench-clean): New target.
50413         * benchtests/Makefile (bench-clean): Likewise.
50415 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50417         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50419 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50421         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50423 2013-04-15  Andreas Schwab  <schwab@suse.de>
50425         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50426         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50427         * nscd/pwdcache.c (cache_addpw): Likewise.
50428         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50429         more than recsize.
50431 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50433         * benchtests/Makefile (bench): Write all output to
50434         bench-out.tmp together.
50436 2013-04-15  Andreas Schwab  <schwab@suse.de>
50438         * nscd/nscd.c (main): Don't fork again after closing files.
50440 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50442         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50444         * benchtests/Rules (bench-deps): Collect dependencies into a
50445         single variable.  Add Makefile to dependencies.
50446         ($(objpfx)bench-%.c): Depend on bench-deps.
50448 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50449             Xavier Roche  <roche+kml2@exalead.com>
50451         [BZ #15361]
50452         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50453         just that it's a file descriptor.
50454         * manual/llio.texi (Synchronizing AIO Operations): Update description
50455         for EBADF error from aio_fsync.
50457 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50459         * Rules (bench): Move target definition...
50460         * benchtests/Makefile: ... here.
50462 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50464         * math/libm-test.inc (cos_test): Fix PI/2 test.
50465         (sincos_test): Likewise.
50466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50467         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50469 2013-04-11  Andreas Schwab  <schwab@suse.de>
50471         [BZ #13988]
50472         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50473         accept exponent character only when digits were seen.
50474         * stdio-common/Makefile (tests): Add bug26.
50475         * stdio-common/bug26.c: New file.
50477         [BZ #14293]
50478         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50479         non-freeable.
50481 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50483         * Makeconfig (rtld-prefix): Define built linker prefix.
50484         * Rules (run-bench): Use it.
50485         * math/Makefile (run-regen-ulps): Likewise.
50487         * Rules (bench): Remove eval.
50489 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50490             Roland McGrath  <roland@hack.frob.com>
50491             Ondrej Bilka  <neleai@seznam.cz>
50493         [BZ #15346]
50494         * time/getdate.c: Include ctype.h and alloca.h.
50495         (__getdate_r): Trim leading and trailing spaces of input.
50496         * time/tst-getdate.c (tests): Add tests with leading and
50497         trailing spaces.
50499 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50501         [BZ #14280]
50502         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50503         when computing value.
50505 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50507         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50508         Use testrun.sh to run libm tests.
50510         [BZ #15309]
50511         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50513 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50515         [BZ #15264]
50516         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50518 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50520         * Makefile.in (regen-ulps): New target.
50521         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50522         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50523         [ifneq (no,$(PERL)] (regen-ulps): New target.
50524         [ifeq (no,$(PERL)] (regen-ulps): New target.
50525         * math/libm-test.inc (ulps_file_name): Define.
50526         (output_dir): New variable.
50527         (options): Add "output-dir" option.
50528         (parse_opt): Handle 'o' case.
50529         (main): If output_dir is non-NULL use it as a prefix
50530         otherwise use "".
50531         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50533 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50535         [BZ #10060, #10062]
50536         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50537         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50538         fail configure if __sync_val_compare_and_swap is not inlined.
50539         * sysdeps/i386/configure: Regenerate.
50540         * configure.in: Build for i686 when configured for i386.
50541         * configure: Regenerate.
50542         * README: Remove i386 reference.
50544 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50546         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50547         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50549 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50551         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50552         (lmsnanval): New variables.
50553         (F): Add conversion tests.
50554         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50555         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50557         * stdio-common/tstdiomisc.c (F): Properly collect individual
50558         tests' results.
50560         [BZ #14686, #15336]
50561         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50562         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50563         Instead, use input NaN values or generate a qNaN by arithmetic
50564         operation.  Also fix bugs to comply with the standard.
50565         * math/libm-test.inc (remainder_test): Add more tests.
50567         [BZ #15335, #15342]
50568         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50569         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50570         input NaN values or generate a qNaN by arithmetic operation.
50572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50573         unreachable code.
50575         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50576         definitions.
50578 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50580         [BZ #14478]
50581         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50582         underflowed result.
50583         * math/s_cexpf.c (__cexpf): Likewise.
50584         * math/s_cexpl.c (__cexpl): Likewise.
50585         * math/libm-test.inc (cexp_test): Add more tests.
50587 2013-04-03  Andreas Schwab  <schwab@suse.de>
50589         [BZ #15330]
50590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50591         order arrays from heap if bigger than alloca cutoff.
50593 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50595         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50596         (SNAN_TESTS_double): Refer to GCC PR56831.
50597         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50598         GCC PR56828.
50600 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50602         * Rules (bench): Move bench.out after the run is complete.
50604         * Rules (bench): Echo currently running benchmark.
50606         * benchtests/Makefile (bench): Add atan and slowatan.
50607         * benchtests/atan-inputs: New file.
50608         * benchtests/slowatan-inputs: New file.
50609         * benchtests/slowatan.c: New file.
50611         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50612         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50613         its value.
50615         [BZ #15305]
50616         * sysdeps/unix/sysv/linux/kernel-features.h
50617         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50618         __ASSUME_XFS_RESTRICTED_CHOWN.
50619         * sysdeps/unix/sysv/linux/pathconf.c
50620         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50621         Save and restore errno.
50623 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50625         [BZ #15327]
50626         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50627         arguments using __kernel_casinh.
50628         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50629         arguments using __kernel_casinhf.
50630         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50631         arguments using __kernel_casinhl.
50632         * math/libm-test.inc (cacosh_test): Add more tests.
50633         * sysdeps/i386/fpu/libm-test-ulps: Update.
50634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50636 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50638         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50641         * bench/Makefile (bench): Add sin and slowsin.
50642         * benchtests/sin-inputs: New file.
50643         * benchtests/slowsin-inputs: New file.
50644         * benchtests/slowsin.c: New file.
50646         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50647         (bench): Add slowexp and slowpow.
50648         (exp-ITER): Increase iterations.
50649         (pow-ITER): Likewise.
50650         * benchtests/exp-inputs: Change input.
50651         * benchtests/pow-inputs: Likewise.
50652         * benchtests/slowexp-inputs: New file.
50653         * benchtests/slowexp.c: New file.
50654         * benchtests/slowpow-inputs: New file.
50655         * benchtests/slowpow.c: New file.
50657 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50659         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50660         instructions.
50661         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50662         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50663         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50664         * benchtests/Makefile: Add rint benchtest.
50665         * benchtests/rint-inputs: Input for rint benchtest.
50667 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50669         * Versions.def (libm): Add GLIBC_2.18.
50670         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50671         hidden libm prototypes.
50672         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50673         * math/Makefile (libm-calls): Add s_issignaling.
50674         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50675         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50676         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50677         declaration.
50678         * math/math.h [__USE_GNU] (issignaling): New macro.
50679         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50680         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50681         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50682         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50683         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50684         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50685         * manual/arith.texi (issignaling): New section.
50686         * manual/libm-err-tab.pl (@all_functions): Update comment.
50687         * math/gen-libm-test.pl (parse_args): Apply special handling for
50688         issignaling.
50689         * math/libm-test.inc (print_float, issignaling_test): New
50690         functions.
50691         (check_float_internal): Add issignaling checks.
50692         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50693         default definition.
50694         * sysdeps/powerpc/math-tests.h: New file.
50695         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50696         tests.
50697         * math/test-snan.c (TEST_FUNC): Likewise.
50699 2013-03-30  David S. Miller  <davem@davemloft.net>
50701         * po/de.po: Update from translation team.
50703 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50705         [BZ #10357]
50706         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50707         imaginary part less than 1.0 and real part less than 0.5
50708         specially.
50709         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50710         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50711         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50712         (cacos_test): Add more tests.
50713         (casin_test): Likewise.
50714         (casinh_test): Likewise.
50715         * sysdeps/i386/fpu/libm-test-ulps: Update.
50716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50718 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50720         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50721         ONE with its value.
50723         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50724         (__pow_mp): Replace ONE and MONE with their values.
50725         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50726         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50727         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50728         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50729         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50730         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50732         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50734         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50735         (__pow_mp): Replace ZERO and MZERO with their values.
50736         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50737         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50738         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50740         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50741         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50742         (__sqr): Likewise.
50744         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50746         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50748 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50750         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50751         Declare with __attribute__ ((weak)).
50752         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50753         Call __call_tls_dtors only if it's not NULL.
50755 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50757         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50758         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50759         magic __ehdr_start linker symbol if it's defined.
50760         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50761         them up here if it was already done.
50763         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50764         (_dl_aux_init): Use const in cast when setting it.
50765         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50766         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50767         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50769         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50770         Declare them here.
50771         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50772         * csu/libc-tls.c: Nor here.
50773         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50775         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50776         (__libc_message): Never call vsyslog.
50778 2013-03-28  Alan Modra  <amodra@gmail.com>
50780         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50781         Define as empty.
50782         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50783         Likewise.
50785 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50787         [BZ #15214]
50788         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50789         underflow.
50790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50792 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50794         [BZ #15304]
50795         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50796         Don't add gid passed as argument.
50798         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50800 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50802         [BZ #15307]
50803         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50804         imaginary part between 1.0 and 1.5 and real part less than 0.5
50805         specially.
50806         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50807         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50808         * math/libm-test.inc (cacos_test): Add more tests.
50809         (casin_test): Likewise.
50810         (casinh_test): Likewise.
50811         * sysdeps/i386/fpu/libm-test-ulps: Update.
50812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50814 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50816         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50817         constants.
50818         (norm): Likewise.
50819         (denorm): Likewise.
50820         (__dbl_mp): Likewise.
50821         (add_magnitudes): Likewise.
50822         (sub_magnitudes): Likewise.
50823         (__add): Likewise.
50824         (__sub): Likewise.
50825         (__mul): Likewise.
50826         (__sqr): Likewise.
50827         (__inv): Likewise.
50828         (__dvd): Likewise.
50830         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50831         commented code.
50832         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50833         (__dubcos): Likewise.
50834         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50835         (__ieee754_acos): Likewise.
50836         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50837         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50838         (__exp1): Likewise.
50839         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50840         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50841         (log1): Likewise.
50842         (my_log2): Likewise.
50843         (checkint): Likewise.
50844         * sysdeps/ieee754/dbl-64/e_remainder.c
50845         (__ieee754_remainder): Likewise.
50846         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50848         (bsloww): Likewise.
50849         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50851         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50852         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50853         MANTISSA_STORE_T to store computations on mantissa.  Use
50854         macros for rounding and division.
50855         (denorm): Likewise.
50856         (__dbl_mp): Likewise.
50857         (add_magnitudes): Likewise.
50858         (sub_magnitudes): Likewise.
50859         (__mul): Likewise.
50860         (__sqr): Likewise.
50861         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50862         powers of two in terms of TWOPOW macro.
50863         (mp_no): Make type of mantissa as MANTISSA_T.
50864         [!RADIXI]: Define RADIXI.
50865         [!TWO52]: Define TWO52.
50866         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50868 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50870         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50871         llroundl symbol when building for PPC32.
50873 2013-03-24  Mark H Weaver  <mhw@netris.org>
50875         * manual/arith.texi (Normalization Functions): Fix prototypes for
50876         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50878 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50880         [BZ #13889]
50881         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50882         high value to check if expl overflow.
50883         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50884         to check for underflow and overflow.
50885         * math/libm-test.inc: Add exp test.
50887 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50889         [BZ #11120]
50890         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50891         with NOT_IN_libc.
50893 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50895         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50896         symbol.
50898 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50900         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50901         wrap blocks consisting of several statements.
50903         * sysdeps/generic/math-tests.h: New file.
50904         * sysdeps/i386/fpu/math-tests.h: Likewise.
50905         * math/test-snan.c: Include it.
50906         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50908 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50910         [BZ #15285]
50911         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50912         (__ieee754_j0l): Do not improve calculations using cos of twice
50913         input for inputs above LDBL_MAX / 2.0L.
50914         (__ieee754_y0l): Likewise.
50915         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50916         (__ieee754_j1l): Do not improve calculations using cos of twice
50917         input for inputs above LDBL_MAX / 2.0L.
50918         (__ieee754_y1l): Likewise.
50919         * math/libm-test.inc (j0_test): Add another test.
50920         (j1_test): Likewise.
50921         (y0_test): Likewise.
50922         (y1_test): Likewise.
50923         * sysdeps/i386/fpu/libm-test-ulps: Update.
50925 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50927         * Rules ($(objpfx)bench-%.c): Include code from a C source
50928         file.
50930 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50932         [BZ #15287]
50933         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50934         imaginary part 1.0 and real part less than 0.5 specially.
50935         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50936         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50937         * math/libm-test.inc (cacos_test): Add more tests.
50938         (casin_test): Likewise.
50939         (casinh_test): Likewise.
50940         * sysdeps/i386/fpu/libm-test-ulps: Update.
50941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50943 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50945         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50946         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50948 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50950         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50951         * config.make.in (config-cflags-sse4): Remove variable.
50952         (config-cflags-avx): Likewise.
50953         (config-cflags-sse2avx): Likewise.
50954         (config-cflags-novzeroupper): Likewise.
50955         (config-asflags-i686): Likewise.
50956         (have-mfma4): Likewise.
50957         (have-as-vis3): Likewise.
50958         (MIG): Likewise.
50959         * configure.in (MIG): Do not AC_SUBST.
50960         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50961         (libc_cv_cc_sse4): Do not AC_SUBST.
50962         (libc_cv_cc_avx): Likewise.
50963         (libc_cv_cc_sse2avx): Likewise.
50964         (libc_cv_cc_novzeroupper): Likewise.
50965         (libc_cv_cc_fma4): Likewise.
50966         (libc_cv_as_i686): Likewise.
50967         (libc_cv_sparc_as_vis3): Likewise.
50968         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50969         LIBC_CONFIG_VAR.
50970         (config-asflags-i686): Likewise.
50971         (config-cflags-avx): Likewise.
50972         (config-cflags-sse2avx): Likewise.
50973         (have-mfma4): Likewise.
50974         (config-cflags-novzeroupper): Likewise.
50975         * sysdeps/mach/configure.in (MIG): Likewise.
50976         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50977         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50978         LIBC_CONFIG_VAR.
50979         (config-cflags-avx): Likewise.
50980         (config-cflags-sse2avx): Likewise.
50981         (have-mfma4): Likewise.
50982         (config-cflags-novzeroupper): Likewise.
50983         * configure: Regenerated.
50984         * sysdeps/i386/configure: Likewise.
50985         * sysdeps/mach/configure: Likewise.
50986         * sysdeps/sparc/configure: Likewise.
50987         * sysdeps/x86_64/configure: Likewise.
50989 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50991         [BZ #14812]
50992         * locale/programs/localedef.c (options): Put N_ translation marker
50993         on argument names, not just descriptions.
50995 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50997         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50999 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51001         [BZ #14176]
51002         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51004 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51006         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51007         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51008         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51009         [!BEFORE_ABORT] (before_abort): New function.
51010         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51011         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51012         (writev_for_fatal): New function.
51013         (WRITEV_FOR_FATAL): New macro; call that.
51014         (backtrace_and_maps): New function.
51015         (BEFORE_ABORT): New macro; call that.
51016         (struct str_list): Type removed.
51017         (__libc_message, __libc_fatal): Functions removed.
51018         Include <sysdeps/posix/libc_fatal.c> instead.
51020 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51022         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51023         constants.
51024         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51025         double constants.
51027 2013-03-19  Andreas Schwab  <schwab@suse.de>
51029         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51030         * sysdeps/gnu/configure: Regenerate.
51032         * configure.in: Substitute libc_cv_rtlddir.
51033         * configure: Regenerate.
51034         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51035         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51036         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51037         * elf/Makefile (install-others, CFLAGS-interp.c)
51038         (ldso_install, common-ldd-rewrite): Likewise.
51039         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51040         $(inst_slibdir)/$(rtld-installed-name).
51041         * scripts/rellns-sh: Add -p option.
51042         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51043         for source.
51045 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51047         * manual/nptl.texi: Renamed to ...
51048         * manual/threads.texi: ... this.
51049         * manual/Makefile (chapters): Update.
51051 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51053         [BZ #14812]
51054         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51055         on argument names, not just descriptions.
51056         * malloc/memusagestat.c (options): Likewise.
51057         * nss/getent.c (options): Likewise.
51059 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51061         [BZ #14812]
51062         * iconv/iconv_prog.c (options): Put N_ translation marker
51063         on argument names, not just descriptions.
51064         * iconv/iconvconfig.c (options): Likewise.
51066 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51068         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51069         implementation which is faster on all x86_64 architectures.
51070         Tested on AMD, Intel Nehalem, SNB, IVB.
51071         * sysdeps/x86_64/strnlen.S: Likewise.
51073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51074         Remove all multiarch strlen and strnlen versions.
51075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51076         Remove strlen and strnlen related parts.
51078         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51079         Inline strlen part.
51080         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51082         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51083         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51084         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51085         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51086         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51087         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51089 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51091         * manual/memory.texi (Malloc Tunable Parameters):
51092         Sort parameters alphabetically. Add comments for missing entries.
51094 2013-03-17  David S. Miller  <davem@davemloft.net>
51096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51098 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51100         [BZ #15283]
51101         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51102         for arguments at most half maximum finite value.
51103         * math/libm-test.inc (j0_test): Add more tests.
51104         (j1_test): Likewise.
51105         (y0_test): Likewise.
51106         (y1_test): Likewise.
51107         * sysdeps/i386/fpu/libm-test-ulps: Update.
51108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51110         [BZ #14155]
51111         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51112         1 / x and functions P and Q for arguments above 0x1p256L.
51113         (__ieee754_y0l): Likewise.
51114         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51115         (__ieee754_y1l): Likewise.
51116         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51117         (j1_test): Likewise.
51118         (y0_test): Likewise.
51119         (y1_test): Likewise.
51121 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51123         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51124         variable.
51126 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51128         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51129         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51130         zero since it's initialized to EXEC_PAGESIZE.
51132         * sysdeps/unix/sysv/linux/ldsodefs.h
51133         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51134         * sysdeps/generic/ldsodefs.h: ... here.
51136 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51138         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51140         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51141         math/test-snan.c.
51142         * math/test-snan.c: Renamed from
51143         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51144         * math/Makefile (tests): Add test-snan.
51145         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51146         test-powerpc-snan.
51148         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51149         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51150         functions.
51151         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51152         __builtin_nan family of functions.
51153         * math/libm-test.inc (initialize): Initialize qnan_value with
51154         __builtin_nan family of functions.
51155         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51156         Remove variables.
51157         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51158         Remove functions.
51159         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51160         storage class.  Initialize qNaN_var and sNaN_var with
51161         __builtin_nan and __builtin_nans families of functions,
51162         respectively.
51164         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51165         (sqrt_test): Remove duplicate test with qNaN input.
51166         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51167         (round_test, signbit_test, significand_test): Note missing +/-Inf
51168         as well as qNaN tests.
51170         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51171         qNaN_var.  Fix a few strings, too.
51172         * math/libm-test.inc (nan_value): Rename to qnan_value.
51173         * math/gen-libm-test.pl (%beautify): Adjust to that.
51174         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51175         * math/test-misc.c (main): Likewise.
51176         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51177         to __qnan_bytes, and __qnan_union, respectively.
51178         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51179         Likewise.
51180         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51181         and lqnanval, respectively.
51182         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51183         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51184         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51185         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51187         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51188         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51189         doubles.
51191         * math/test-misc.c (main): Fix copy'n'pastos.
51192         * misc/tst-efgcvt.c (special): Likewise.
51194         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51195         Remove declarations.
51197 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51199         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51200         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51201         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51202         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51204 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51206         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51207         macro to return vdso values correctly in IFUNC implementations.
51208         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51209         Optimization by using IFUNC.
51211 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51212             Richard Henderson  <rth@redhat.com>
51213             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51215         * Makefile.in (bench): New target.
51216         * NEWS: Mention the benchmark framework.
51217         * Rules (bench): Likewise.
51218         (binaries-bench): Generate binaries for functions to
51219         benchmark.
51220         * benchtests/Makefile: New makefile for benchmark tests.
51221         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51222         programs.
51223         * benchtests/exp-inputs: New input file for EXP function.
51224         * benchtests/pow-inputs: New input file for POW function.
51225         * scripts/bench.pl: New script to generate source files for
51226         benchmark programs.
51228 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51230         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51231         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51232         computations on mantissa.  Use macros for rounding and
51233         division.
51234         (denorm): Likewise.
51235         (__dbl_mp): Likewise.
51236         (add_magnitudes): Likewise.
51237         (sub_magnitudes): Likewise.
51238         (__mul): Likewise.
51239         (__sqr): Likewise.
51240         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51241         powers of two in terms of TWOPOW macro.
51242         (mp_no): Make type of mantissa as MANTISSA_T.
51243         [!RADIXI]: Define RADIXI.
51244         [!TWO52]: Define TWO52.
51245         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51247         * manual/nptl.texi (cindex): Modify threads to pthreads.
51249 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51251         * sysdeps/x86_64/preconfigure: Regenerated.
51253 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51255         [BZ #14155]
51256         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51257         0x1p28 and above.
51258         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51259         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51260         0x1p28 and above.
51261         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51262         * math/libm-test.inc (j0_test): Do not allow one spurious
51263         underflow exception.
51264         (y1_test): Likewise.
51266 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51268         * manual/Makefile (chapters): Add nptl.
51269         * manual/debug.texi (Debugging Support): Add link to Threads
51270         chapter.
51271         * manual/nptl.texi: New file.
51273         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51275 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51277         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51278         for non-NULL pointer before the memory validity test. Pointed
51279         out by Holger Brunck <holger.brunck@keymile.com>.
51281 2013-03-13  Andreas Schwab  <schwab@suse.de>
51283         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51284         instead of .os.
51286 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51288         * timezone/zic.c: Update from tzcode 2013b.
51290 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51292         * manual/install.texi (Configuring and compiling):
51293         Mention i686 and i586.
51294         * INSTALL: Regenerate.
51296 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51298         * sysdeps/init_array/elf-init.c: New file.
51299         * csu/elf-init.c
51300         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51301         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51303         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51304         __gmon_start__ as global, but as static with a .preinit_array pointer.
51305         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51306         * sysdeps/init_array/crti.S: New file, empty except for comments.
51307         * sysdeps/init_array/crtn.S: Likewise.
51309 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51311         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51312         definining bcopy.
51313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51314         Remove Prefer_SSE_for_memop.
51315         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51316         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51317         HAS_PREFER_SSE_FOR_MEMOP.
51318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51319         memset-x86-64.
51320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51321         Remove bzero, memset ifunc support.
51322         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51323         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51324         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51325         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51327 2013-03-11  Andreas Schwab  <schwab@suse.de>
51329         [BZ #15234]
51330         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51331         by SHLIB_COMPAT.
51332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51333         (GLIBC_2.16): Remove pthread_atfork.
51335 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51337         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51338         (ptestcases.h): Likewise.
51340 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51342         * Makeconfig ($(common-objpfx)config.status): Depend on
51343         sysdeps/*/preconfigure{,.in} too.
51345 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51347         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51348         (__free_hook): Use void * instead of __malloc_ptr_t.
51349         (__malloc_hook): Likewise.
51350         (__realloc_hook): Likewise.
51351         (__memalign_hook): Likewise.
51352         (__after_morecore_hook): Likewise.
51353         * malloc/arena.c (save_malloc_hook): Likewise.
51354         (save_free_hook): Likewise.
51355         * malloc/hooks.c (malloc_hook_ini): Likewise.
51356         (realloc_hook_ini): Likewise.
51357         (memalign_hook_ini): Likewise.
51358         * malloc/malloc.c (malloc_hook_ini): Likewise.
51359         (realloc_hook_ini): Likewise.
51360         (memalign_hook_ini): Likewise.
51361         (__free_hook): Likewise.
51362         (__malloc_hook): Likewise.
51363         (__realloc_hook): Likewise.
51364         (__memalign_hook): Likewise.
51365         (__libc_malloc): Likewise.
51366         (__libc_free): Likewise.
51367         (__libc_realloc): Likewise.
51368         (__libc_memalign): Likewise.
51369         (__libc_valloc): Likewise.
51370         (__libc_pvalloc): Likewise.
51371         (__libc_calloc): Likewise.
51372         (__posix_memalign): Likewise.
51373         * malloc/morecore.c (__sbrk): Likewise.
51374         (__default_morecore): Likewise.
51376         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51378         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51379         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51380         __malloc_ptrdiff_t.
51382         * malloc/malloc.h (__malloc_size_t): Remove macro.
51383         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51384         __malloc_size_t.
51385         (old_memalign_hook): Likewise.
51386         (old_realloc_hook): Likewise.
51387         (struct hdr): Likewise.
51388         (flood): Likewise.
51389         (mallochook): Likewise.
51390         (memalignhook): Likewise.
51391         (reallochook): Likewise.
51392         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51393         (tr_old_realloc_hook): Likewise.
51394         (tr_old_memalign_hook): Likewise.
51395         (tr_mallochook): Likewise.
51396         (tr_reallochook): Likewise.
51397         (tr_memalignhook): Likewise.
51399 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51401         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51402         default_ldbl_pack and using as default implementation.
51403         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51404         implementation.
51405         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51406         redundant definition.
51407         (ldbl_insert_mantissa): Likewise.
51408         (ldbl_canonicalize): Likewise.
51409         (ldbl_nearbyint): Likewise.
51410         (ldbl_pack): Rename to ldbl_pack_ppc.
51411         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51412         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51413         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51415 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51418         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51419         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51420         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51422         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51423         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51424         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51426 2013-03-07  Andreas Jaeger  <aj@suse.de>
51428         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51429         bits/mman-linux.h.
51431 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51433         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51434         Include mpa.h and declare __MPEXP.
51435         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51436         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51437         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51438         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51439         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51440         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51441         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51443         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51444         (__slowpow): Use long double EXPL and LOGL functions to
51445         compute POW.
51446         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51447         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51448         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51449         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51450         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51451         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51454         intermediate variable to calculate exponent.
51455         (__sqr): Likewise.
51456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51457         Likewise.
51458         (__sqr): Likewise.
51460         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51461         [!NO__SQR]: Define __sqr.
51462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51463         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51464         sysdeps/ieee754/dbl-64/mpa.c.
51465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51467         [BZ #12723]
51468         * posix/Makefile (tests): Add tst-pathconf.
51469         * posix/tst-pathconf.c: New test case.
51470         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51471         _PC_PIPE_BUF.
51472         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51474 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51476         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51478 2013-03-06  Andreas Jaeger  <aj@suse.de>
51480         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51481         definition via __MAP_ANONYMOUS.
51483         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51484         it's not part of Linux headers.
51486         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51487         (MAP_HUGE_MASK): Define.
51489         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51490         Define.
51491         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51492         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51493         Define.
51494         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51495         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51496         Define.
51497         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51498         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51499         Define.
51500         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51502         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51503         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51504         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51505         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51506         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51507         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51509         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51510         Handle f2fs.
51512         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51513         Handle f2fs and efivarfs.
51515         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51516         f2fs.
51518         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51519         (EFIVARFS_MAGIC): Add.
51520         (F2FS_LINK_MAX): Add.
51522 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51524         * stdio-common/vfprintf.c: Replace __builtin_expect with
51525         __glibc_unlikely.
51527 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51529         [BZ #13550]
51530         * sysdeps/generic/bp-sym.h: Remove file.
51531         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51532         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51533         <bp-sym.h> and <bp-asm.h>.
51534         (__longjmp): Don't use BP_SYM.
51535         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51536         and <bp-asm.h>.
51537         (memcpy): Don't use BP_SYM.
51538         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51539         <bp-sym.h> and <bp-asm.h>.
51540         (memcpy): Don't use BP_SYM.
51541         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51542         <bp-asm.h>.
51543         (memcpy): Don't use BP_SYM.
51544         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51545         <bp-asm.h>.
51546         (memset): Don't use BP_SYM.
51547         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51548         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51549         (__bzero): Don't use BP_SYM.
51550         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51551         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51552         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51553         <bp-sym.h> and <bp-asm.h>.
51554         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51555         pointers.
51556         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51557         <bp-sym.h> and <bp-asm.h>.
51558         (memcpy): Don't use BP_SYM.
51559         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51560         <bp-sym.h> and <bp-asm.h>.
51561         (memset): Don't use BP_SYM.
51562         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51563         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51564         (__bzero): Don't use BP_SYM.
51565         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51566         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51567         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51568         <bp-sym.h> and <bp-asm.h>.
51569         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51570         pointers.
51571         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51572         <bp-sym.h> and <bp-asm.h>.
51573         (memcpy): Don't use BP_SYM.
51574         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51575         <bp-sym.h> and <bp-asm.h>.
51576         (memset): Don't use BP_SYM.
51577         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51578         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51579         (__bzero): Don't use BP_SYM.
51580         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51581         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51582         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51583         <bp-sym.h> and <bp-asm.h>.
51584         (__memchr): Don't use BP_SYM.
51585         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51586         <bp-sym.h> and <bp-asm.h>.
51587         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51588         pointers.
51589         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51590         <bp-sym.h> and <bp-asm.h>.
51591         (memcpy): Don't use BP_SYM.
51592         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51593         <bp-sym.h> and <bp-asm.h>.
51594         (__mempcpy): Don't use BP_SYM.
51595         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51596         <bp-sym.h> and <bp-asm.h>.
51597         (__memrchr): Don't use BP_SYM.
51598         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51599         <bp-sym.h> and <bp-asm.h>.
51600         (memset): Don't use BP_SYM.
51601         (__bzero): Likewise.
51602         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51603         <bp-sym.h> and <bp-asm.h>.
51604         (__rawmemchr): Don't use BP_SYM.
51605         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51606         <bp-sym.h> and <bp-asm.h>.
51607         (__STRCMP): Don't use BP_SYM.
51608         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51609         <bp-sym.h> and <bp-asm.h>.
51610         (strchr): Don't use BP_SYM.
51611         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51612         <bp-sym.h> and <bp-asm.h>.
51613         (__strchrnul): Don't use BP_SYM.
51614         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51615         <bp-sym.h> and <bp-asm.h>.
51616         (strlen): Don't use BP_SYM.
51617         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51618         <bp-sym.h> and <bp-asm.h>.
51619         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51620         pointers.
51621         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51622         <bp-sym.h> and <bp-asm.h>.
51623         (__strnlen): Don't use BP_SYM.
51624         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51625         <bp-sym.h> and <bp-asm.h>.
51626         (__GI__setjmp): Don't use BP_SYM.
51627         (_setjmp): Likewise.
51628         (__sigsetjmp): Likewise.
51629         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51630         (L(start_addresses)): Don't use BP_SYM.
51631         (_start): Likewise.
51632         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51633         <bp-asm.h>.
51634         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51635         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51636         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51637         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51638         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51639         <bp-asm.h>.
51640         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51641         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51642         about bounded pointers.
51643         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51644         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51645         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51646         <bp-asm.h>.
51647         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51648         about bounded pointers.  Remove GKM FIXME comments.
51649         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51650         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51651         <bp-asm.h>.
51652         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51653         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51654         Remove GKM FIXME comments.
51655         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51656         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51657         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51658         <bp-asm.h>.
51659         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51660         about bounded pointers.  Remove GKM FIXME comment.
51661         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51662         and <bp-asm.h>.
51663         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51664         pointers.
51665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51666         <bp-sym.h> and <bp-asm.h>.
51667         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51669         <bp-sym.h> and <bp-asm.h>.
51670         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51671         comment.
51673 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51675         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51676         call free(NULL).
51678 2013-03-05  David S. Miller  <davem@davemloft.net>
51680         * po/es.po: Update from translation team.
51682 2013-03-05  Andreas Jaeger  <aj@suse.de>
51684         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51685         <bits/mman-linux.h>.
51686         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51687         is fine.
51688         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51689         <bits/mman-linux.h> to end of file.
51690         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51691         is fine.
51692         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51693         <bits/mman-linux.h> to end of file.
51694         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51695         is fine.
51696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51697         <bits/mman-linux.h> to end of file.
51699         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51700         (MCL_CURRENT, MCL_FUTURE): Define here.
51702 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51704         [BZ #15232]
51705         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51706         attribute_hidden.
51707         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51709 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51711         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51712         fourth parameter needed for rt_sigprocmask syscall.
51713         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51714         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51715         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51716         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51717         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51718         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51720 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51722         [BZ #13550]
51723         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51724         comment about bounded pointers.
51725         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51726         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51728 2013-03-04  Andreas Jaeger  <aj@suse.de>
51730         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51731         common definitions.
51733         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51734         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51735         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51736         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51737         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51738         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51740 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51742         [BZ #15055]
51743         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51744         __ieee754_sqrl instead of __sqrl.
51746 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51748         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51749         * sysdeps/powerpc/fpu_control.h: ... here.
51750         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51751         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51752         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51753         * sysdeps/powerpc/bits/mathinline.h: ... here.
51755 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51757         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51758         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51759         to just [NEED_DL_SYSINFO_DSO].
51760         * elf/dl-support.c: Likewise.
51761         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51762         * elf/rtld.c (dl_main): Likewise.
51763         * elf/setup-vdso.h (setup_vdso): Likewise.
51764         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51765         * sysdeps/unix/sysv/linux/dl-sysdep.c
51766         (_dl_discover_osversion): Likewise.
51768 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51770         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51771         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51773 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51775         * NEWS: Mention libm performance improvements and non-x86 PI
51776         futex support.
51778         * csu/libc-start.c (__pthread_initialize_minimal): Change
51779         function arguments.
51780         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51782 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51784         [BZ #13550]
51785         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51786         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51787         <bp-sym.h> and <bp-asm.h>.
51788         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51789         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51790         and <bp-asm.h>.
51791         (memcpy): Don't use BP_SYM.
51792         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51793         <bp-asm.h>.
51794         (__mpn_add_n): Don't use BP_SYM.
51795         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51796         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51797         and <bp-asm.h>.
51798         (__mpn_addmul_1): Don't use BP_SYM.
51799         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51800         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51801         <bp-sym.h>.
51802         (_setjmp): Don't use BP_SYM.
51803         (__novmx_setjmp): Likewise.
51804         (__GI__setjmp): Likewise.
51805         (__vmx_setjmp): Likewise.
51806         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51807         <bp-sym.h>.
51808         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51809         (__bzero): Don't use BP_SYM.
51810         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51811         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51812         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51813         <bp-sym.h> and <bp-asm.h>.
51814         (memcpy): Don't use BP_SYM.
51815         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51816         <bp-sym.h> and <bp-asm.h>.
51817         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51818         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51819         <bp-sym.h> and <bp-asm.h>.
51820         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51821         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51822         <bp-asm.h>.
51823         (__mpn_lshift): Don't use BP_SYM.
51824         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51825         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51826         <bp-asm.h>.
51827         (memset): Don't use BP_SYM.
51828         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51829         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51830         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51831         <bp-asm.h>.
51832         (__mpn_mul_1): Don't use BP_SYM.
51833         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51834         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51835         <bp-sym.h> and <bp-asm.h>.
51836         (memcmp): Don't use BP_SYM.
51837         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51838         <bp-sym.h> and <bp-asm.h>.
51839         (memcpy): Don't use BP_SYM.
51840         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51841         <bp-sym.h> and <bp-asm.h>.
51842         (memset): Don't use BP_SYM.
51843         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51844         <bp-sym.h> and <bp-asm.h>.
51845         (strncmp): Don't use BP_SYM.
51846         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51847         <bp-sym.h> and <bp-asm.h>.
51848         (memcpy): Don't use BP_SYM.
51849         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51850         <bp-sym.h> and <bp-asm.h>.
51851         (memset): Don't use BP_SYM.
51852         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51853         <bp-sym.h> and <bp-asm.h>.
51854         (__memchr): Don't use BP_SYM.
51855         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51856         <bp-sym.h> and <bp-asm.h>.
51857         (memcmp): Don't use BP_SYM.
51858         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51859         <bp-sym.h> and <bp-asm.h>.
51860         (memcpy): Don't use BP_SYM.
51861         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51862         <bp-sym.h> and <bp-asm.h>.
51863         (__mempcpy): Don't use BP_SYM.
51864         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51865         <bp-sym.h> and <bp-asm.h>.
51866         (__memrchr): Don't use BP_SYM.
51867         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51868         <bp-sym.h> and <bp-asm.h>.
51869         (memset): Don't use BP_SYM.
51870         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51871         <bp-sym.h> and <bp-asm.h>.
51872         (__rawmemchr): Don't use BP_SYM.
51873         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51874         <bp-sym.h> and <bp-asm.h>.
51875         (__STRCMP): Don't use BP_SYM.
51876         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51877         <bp-sym.h> and <bp-asm.h>.
51878         (strchr): Don't use BP_SYM.
51879         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51880         <bp-sym.h> and <bp-asm.h>.
51881         (__strchrnul): Don't use BP_SYM.
51882         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51883         <bp-sym.h> and <bp-asm.h>.
51884         (strlen): Don't use BP_SYM.
51885         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51886         <bp-sym.h> and <bp-asm.h>.
51887         (strncmp): Don't use BP_SYM.
51888         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51889         <bp-sym.h> and <bp-asm.h>.
51890         (__strnlen): Don't use BP_SYM.
51891         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51892         <bp-asm.h>.
51893         (__mpn_rshift): Don't use BP_SYM.
51894         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51895         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51896         <bp-sym.h> and <bp-asm.h>.
51897         (__sigsetjmp): Don't use BP_SYM.
51898         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51899         (L(start_addresses)): Don't use BP_SYM.
51900         (_start): Likewise.
51901         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51902         <bp-asm.h>.
51903         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51904         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51905         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51906         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51907         <bp-asm.h>.
51908         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51909         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51910         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51911         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51912         <bp-asm.h>.
51913         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51914         comments.
51915         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51916         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51917         <bp-asm.h>.
51918         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51919         FIXME comments.
51920         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51921         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51922         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51923         <bp-asm.h>.
51924         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51925         comment.
51926         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51927         and <bp-asm.h>.
51928         (strncmp): Don't use BP_SYM,
51929         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51930         <bp-asm.h>.
51931         (__mpn_sub_n): Don't use BP_SYM.
51932         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51933         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51934         and <bp-asm.h>.
51935         (__mpn_submul_1): Don't use BP_SYM.
51936         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51938         <bp-sym.h> and <bp-asm.h>.
51939         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51941         <bp-sym.h> and <bp-asm.h>.
51942         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51943         comment.
51945 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51948         Use ZK to minimize writes to Z.
51949         (sub_magnitudes): Simplify code a bit.
51950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51951         Use ZK to minimize writes to Z.
51952         (sub_magnitudes): Simplify code a bit.
51954 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51956         * csu/gmon-start.c: Add special exception to license text.
51958 2013-02-27  Richard Henderson  <rth@redhat.com>
51960         * scripts/config.guess: Update from config.git.
51961         * scripts/config.sub: Likewise.
51963 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51965         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51967         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51969         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51971         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51973         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51975 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51977         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51978         [$(build-shared = yes].
51980 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51982         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51983         (__mul): Reduce iterations for calculating mantissa.
51985         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51986         MPTWO.
51987         (__mpranred): Likewise.
51989         [BZ #15160]
51990         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51991         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51993 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51995         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51996         Define __attribute__.
51998 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52000         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52001         unused.
52002         * posix/regex_internal.h (__attribute): Remove.
52003         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52004         (re_string_context_at): Likewise.
52005         (bitset_not): Use __attribute__ and mark function as possibly
52006         unused.
52007         (bitset_merge): Likewise.
52008         (bitset_mask): Likewise.
52009         (re_string_char_size_at): Likewise.
52010         (re_string_wchar_at): Likewise.
52011         (re_string_elem_size_at): Likewise.
52013 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52015         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52016         code.
52017         (cc32): Likewise.
52019         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52020         (__acr): Likewise.
52021         (__cpy): Likewise.
52022         (norm): Likewise.
52023         (denorm): Likewise.
52024         (__dbl_mp): Likewise.
52025         (add_magnitudes): Likewise.
52026         (sub_magnitudes): Likewise.
52027         (__mul): Likewise.
52028         (__inv): Likewise.
52030         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52031         style.
52033         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52034         style.
52036         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52037         code.
52039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52040         up changes with default code.
52041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52042         Likewise.
52044 2013-02-24  Allan McRae  <allan@archlinux.org>
52046         * manual/socket.texi (The Internet Namespace): Order menu items
52047         to match that in the file.
52049         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52050         node listing of the info page menu.
52052 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52054         [BZ #13550]
52055         * sysdeps/i386/bp-asm.h: Remove file.
52056         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52057         (PARMS): Do not use macros from bp-asm.h.
52058         (S1): Likewise.
52059         (S2): Likewise.
52060         (SIZE): Likewise.
52061         (__mpn_add_n): Do not use BP_SYM
52062         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52063         "bp-asm.h".
52064         (PARMS): Do not use macros from bp-asm.h.
52065         (S1): Likewise.
52066         (SIZE): Likewise.
52067         (__mpn_addmul_1): Do not use BP_SYM
52068         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52069         "bp-asm.h".
52070         (PARMS): Do not use macros from bp-asm.h.
52071         (SIGMSK): Likewise.
52072         (_setjmp): Likewise.  Do not use BP_SYM.
52073         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52074         "bp-asm.h".
52075         (PARMS): Do not use macros from bp-asm.h.
52076         (SIGMSK): Likewise.
52077         (setjmp): Likewise.  Do not use BP_SYM.
52078         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52079         "bp-asm.h".
52080         (PARMS): Do not use macros from bp-asm.h.
52081         (__frexp): Do not use BP_SYM.
52082         (frexp): Likewise.
52083         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52084         "bp-asm.h".
52085         (PARMS): Do not use macros from bp-asm.h.
52086         (__frexpf): Do not use BP_SYM.
52087         (frexpf): Likewise.
52088         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52089         "bp-asm.h".
52090         (PARMS): Do not use macros from bp-asm.h.
52091         (__frexpl): Do not use BP_SYM.
52092         (frexpl): Likewise.
52093         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52094         "bp-asm.h".
52095         (PARMS): Do not use macros from bp-asm.h.
52096         (__remquo): Do not use BP_SYM.
52097         (remquo): Likewise.
52098         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52099         "bp-asm.h".
52100         (PARMS): Do not use macros from bp-asm.h.
52101         (__remquof): Do not use BP_SYM.
52102         (remquof): Likewise.
52103         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52104         "bp-asm.h".
52105         (PARMS): Do not use macros from bp-asm.h.
52106         (__remquol): Do not use BP_SYM.
52107         (remquol): Likewise.
52108         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52109         "bp-asm.h".
52110         (PARMS): Do not use macros from bp-asm.h.
52111         (DEST): Likewise.
52112         (SRC): Likewise.
52113         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52114         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52115         "bp-asm.h".
52116         (PARMS): Do not use macros from bp-asm.h.
52117         (strlen): Do not use BP_SYM.
52118         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52119         "bp-asm.h".
52120         (PARMS): Do not use macros from bp-asm.h.
52121         (S1): Likewise.
52122         (S2): Likewise.
52123         (SIZE): Likewise.
52124         (__mpn_add_n): Do not use BP_SYM.
52125         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52126         "bp-asm.h".
52127         (PARMS): Do not use macros from bp-asm.h.
52128         (S1): Likewise.
52129         (SIZE): Likewise.
52130         (__mpn_addmul_1): Do not use BP_SYM.
52131         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52132         weak_alias.
52133         (bzero): Likewise.
52134         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52135         "bp-asm.h".
52136         (PARMS): Do not use macros from bp-asm.h.
52137         (S): Likewise.
52138         (SIZE): Likewise.
52139         (__mpn_lshift): Do not use BP_SYM.
52140         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52141         "bp-asm.h".
52142         (PARMS): Do not use macros from bp-asm.h.
52143         (DEST): Likewise.
52144         (SRC): Likewise.
52145         (LEN): Likewise.
52146         (memcpy): Likewise.  Do not use BP_SYM.
52147         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52148         libc_hidden_def and weak_alias.
52149         (mempcpy): Do not use BP_SYM in weak_alias.
52150         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52151         "bp-asm.h".
52152         (PARMS): Do not use macros from bp-asm.h.
52153         (DEST): Likewise.
52154         (LEN): Likewise.
52155         [!BZERO_P] (CHR): Likewise.
52156         (memset): Likewise.  Do not use BP_SYM.
52157         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52158         "bp-asm.h".
52159         (PARMS): Do not use macros from bp-asm.h.
52160         (S1): Likewise.
52161         (SIZE): Likewise.
52162         (__mpn_mul_1): Do not use BP_SYM.
52163         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52164         "bp-asm.h".
52165         (PARMS): Do not use macros from bp-asm.h.
52166         (S): Likewise.
52167         (SIZE): Likewise.
52168         (__mpn_rshift): Do not use BP_SYM.
52169         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52170         "bp-asm.h".
52171         (PARMS): Do not use macros from bp-asm.h.
52172         (STR): Likewise.
52173         (CHR): Likewise.
52174         (strchr): Likewise.  Do not use BP_SYM.
52175         (index): Do not use BP_SYM in weak_alias.
52176         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52177         "bp-asm.h".
52178         (PARMS): Do not use macros from bp-asm.h.
52179         (DEST): Likewise.
52180         (SRC): Likewise.
52181         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52182         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52183         "bp-asm.h".
52184         (PARMS): Do not use macros from bp-asm.h.
52185         (strlen): Do not use BP_SYM.
52186         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52187         "bp-asm.h".
52188         (PARMS): Do not use macros from bp-asm.h.
52189         (S1): Likewise.
52190         (S2): Likewise.
52191         (SIZE): Likewise.
52192         (__mpn_sub_n): Do not use BP_SYM.
52193         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52194         "bp-asm.h".
52195         (PARMS): Do not use macros from bp-asm.h.
52196         (S1): Likewise.
52197         (SIZE): Likewise.
52198         (__mpn_submul_1): Do not use BP_SYM.
52199         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52200         "bp-asm.h".
52201         (PARMS): Do not use macros from bp-asm.h.
52202         (S1): Likewise.
52203         (S2): Likewise.
52204         (SIZE): Likewise.
52205         (__mpn_add_n): Do not use BP_SYM.
52206         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52207         weak_alias.
52208         (bzero): Likewise.
52209         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52210         "bp-asm.h".
52211         (PARMS): Do not use macros from bp-asm.h.
52212         (BLK2): Likewise.
52213         (LEN): Likewise.
52214         (memcmp): Do not use BP_SYM.
52215         (bcmp): Do not use BP_SYM in weak_alias.
52216         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52217         "bp-asm.h".
52218         (PARMS): Do not use macros from bp-asm.h.
52219         (DEST): Likewise.
52220         (SRC): Likewise.
52221         (LEN): Likewise.
52222         (memcpy): Likewise.  Do not use BP_SYM.
52223         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52224         "bp-asm.h".
52225         (PARMS): Do not use macros from bp-asm.h.
52226         (DEST): Likewise.
52227         (SRC): Likewise.
52228         (LEN): Likewise.
52229         (memmove): Likewise.  Do not use BP_SYM.
52230         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52231         "bp-asm.h".
52232         (PARMS): Do not use macros from bp-asm.h.
52233         (DEST): Likewise.
52234         (SRC): Likewise.
52235         (LEN): Likewise.
52236         (__mempcpy): Likewise.  Do not use BP_SYM.
52237         (mempcpy): Do not use BP_SYM in weak_alias.
52238         * sysdeps/i386/i686/memset.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         (LEN): Likewise.
52243         [!BZERO_P] (CHR): Likewise.
52244         (memset): Likewise.  Do not use BP_SYM.
52245         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52246         "bp-asm.h".
52247         (PARMS): Do not use macros from bp-asm.h.
52248         (STR2): Likewise.
52249         (strcmp): Do not use BP_SYM.
52250         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52251         "bp-asm.h".
52252         (PARMS): Do not use macros from bp-asm.h.
52253         (STR): Likewise.
52254         (DELIM): Likewise.
52255         [USE_AS_STRTOK_R] (SAVE): Likewise.
52256         (FUNCTION): Likewise.  Do not use BP_SYM.
52257         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52258         aliases.
52259         (strtok_r): Likewise.
52260         (__GI___strtok_r): Likewise.
52261         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52262         (PARMS): Do not use macros from bp-asm.h.
52263         (S): Likewise.
52264         (SIZE): Likewise.
52265         (__mpn_lshift): Do not use BP_SYM.
52266         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52267         (PARMS): Do not use macros from bp-asm.h.
52268         (STR): Likewise.
52269         (CHR): Likewise.
52270         (__memchr): Do not use BP_SYM.
52271         (memchr): Do not use BP_SYM in weak_alias.
52272         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52273         (PARMS): Do not use macros from bp-asm.h.
52274         (BLK2): Likewise.
52275         (LEN): Likewise.
52276         (memcmp): Do not use BP_SYM.
52277         (bcmp): Do not use BP_SYM in weak_alias.
52278         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52279         (PARMS): Do not use macros from bp-asm.h.
52280         (S1): Likewise.
52281         (SIZE): Likewise.
52282         (__mpn_mul_1): Do not use BP_SYM.
52283         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52284         "bp-asm.h".
52285         (PARMS): Do not use macros from bp-asm.h.
52286         (STR): Likewise.
52287         (CHR): Likewise.
52288         (__rawmemchr): Do not use BP_SYM.
52289         (rawmemchr): Do not use BP_SYM in weak_alias.
52290         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52291         (PARMS): Do not use macros from bp-asm.h.
52292         (S): Likewise.
52293         (SIZE): Likewise.
52294         (__mpn_rshift): Do not use BP_SYM.
52295         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52296         (PARMS): Do not use macros from bp-asm.h.
52297         (SIGMSK): Likewise.
52298         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52299         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52300         (_start): Do not use BP_SYM.
52301         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52302         (PARMS): Do not use macros from bp-asm.h.
52303         (DEST): Likewise.
52304         (SRC): Likewise.
52305         (__stpcpy): Likewise.  Do not use BP_SYM.
52306         (stpcpy): Do not use BP_SYM in weak_alias.
52307         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52308         "bp-asm.h".
52309         (PARMS): Do not use macros from bp-asm.h.
52310         (DEST): Likewise.
52311         (SRC): Likewise.
52312         (LEN): Likewise.
52313         (__stpncpy): Likewise.  Do not use BP_SYM.
52314         (stpncpy): Do not use BP_SYM in weak_alias.
52315         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52316         (PARMS): Do not use macros from bp-asm.h.
52317         (STR): Likewise.
52318         (CHR): Likewise.
52319         (strchr): Likewise.  Do not use BP_SYM.
52320         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52321         "bp-asm.h".
52322         (PARMS): Do not use macros from bp-asm.h.
52323         (STR): Likewise.
52324         (CHR): Likewise.
52325         (__strchrnul): Likewise.  Do not use BP_SYM.
52326         (strchrnul): Do not use BP_SYM in weak_alias.
52327         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52328         "bp-asm.h".
52329         (PARMS): Do not use macros from bp-asm.h.
52330         (STOP): Likewise.
52331         (strcspn): Do not use BP_SYM.
52332         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52333         "bp-asm.h".
52334         (PARMS): Do not use macros from bp-asm.h.
52335         (STR): Likewise.
52336         (STOP): Likewise.
52337         (strpbrk): Likewise.  Do not use BP_SYM.
52338         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52339         "bp-asm.h".
52340         (PARMS): Do not use macros from bp-asm.h.
52341         (STR): Likewise.
52342         (CHR): Likewise.
52343         (strrchr): Likewise.  Do not use BP_SYM.
52344         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52345         (PARMS): Do not use macros from bp-asm.h.
52346         (SKIP): Likewise.
52347         (strspn): Do not use BP_SYM.
52348         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52349         (PARMS): Do not use macros from bp-asm.h.
52350         (STR): Likewise.
52351         (DELIM): Likewise.
52352         (SAVE): Likewise.
52353         (FUNCTION): Likewise.  Do not use BP_SYM.
52354         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52355         aliases.
52356         (strtok_r): Likewise.
52357         (__GI___strtok_r): Likewise.
52358         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52359         (PARMS): Do not use macros from bp-asm.h.
52360         (S1): Likewise.
52361         (S2): Likewise.
52362         (SIZE): Likewise.
52363         (__mpn_sub_n): Do not use BP_SYM.
52364         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52365         "bp-asm.h".
52366         (PARMS): Do not use macros from bp-asm.h.
52367         (S1): Likewise.
52368         (SIZE): Likewise.
52369         (__mpn_submul_1): Do not use BP_SYM.
52370         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52371         <bp-sym.h>.
52372         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52373         and <bp-asm.h>.
52374         (PARMS): Do not use macros from bp-asm.h.
52375         (FLAGS): Likewise.
52376         (PTID): Likewise.
52377         (TLS): Likewise.
52378         (CTID): Likewise.
52379         (__clone): Do not use BP_SYM.
52380         (clone): Do not use BP_SYM in weak_alias.
52381         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52382         and <bp-asm.h>.
52383         (PARMS): Do not use macros from bp-asm.h.
52384         (LEN): Likewise.
52385         (__mmap64): Do not use BP_SYM.
52386         (mmap64): Do not use BP_SYM in weak_alias.
52387         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52388         <bp-sym.h> and <bp-asm.h>.
52389         (PARMS): Do not use macros from bp-asm.h.
52390         (__posix_fadvise64_l64): Do not use BP_SYM.
52391         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52392         (PARMS): Do not use macros from bp-asm.h.
52393         (NSOPS): Likewise.
52394         (semtimedop): Do not use BP_SYM.
52395         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52396         and <bp-asm.h>.
52398 2013-02-21  Allan McRae  <allan@archlinux.org>
52400         * manual/message.texi (Charset conversion in gettext):
52401         Move @end statement to beginning of line.
52403 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52406         static.
52407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52408         Likewise.
52410         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52411         (denorm): Likewise.
52412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52415 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52417         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52418         tail-call to the resolved function if pltexit isn't needed.
52420 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52423         or Y being zero as being unlikely.
52424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52425         Likewise.
52427 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52429         * manual/nss.texi (System Databases and Name Service Switch):
52430         Remove frobnicate @pxref.
52432 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52434         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52435         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52437 2013-02-20  Petr Machata  <pmachata@redhat.com>
52439         * elf/elf.h (R_ARM_TARGET1): New macro.
52440         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52441         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52442         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52443         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52444         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52445         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52446         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52447         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52448         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52449         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52450         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52451         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52452         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52453         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52454         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52455         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52456         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52457         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52458         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52459         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52460         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52461         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52462         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52463         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52464         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52465         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52466         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52467         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52468         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52469         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52470         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52471         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52472         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52473         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52474         (R_ARM_THM_GOT_BREL12): Likewise.
52475         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52476         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52477         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52478         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52479         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52480         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52481         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52482         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52483         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52485 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52487         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52488         __attribute_used__ to __attribute__ ((unused)).
52490 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52492         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52493         powerpc mpa.c.
52494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52495         comment formatting.
52496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52498 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52500         [BZ #13550]
52501         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52502         Remove macro.
52503         (ENTER): Remove both macro definitions.
52504         (LEAVE): Likewise.
52505         (CHECK_BOUNDS_LOW): Likewise.
52506         (CHECK_BOUNDS_HIGH): Likewise.
52507         (CHECK_BOUNDS_BOTH): Likewise.
52508         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52509         (RETURN_BOUNDED_POINTER): Likewise.
52510         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52511         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52512         (POP_ERRNO_LOCATION_RETURN): Likewise.
52513         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52514         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52515         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52516         macros.
52517         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52518         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52519         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52520         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52521         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52522         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52523         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52524         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52525         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52526         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52527         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52528         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52529         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52530         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52531         removed macros.
52532         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52533         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52534         macros.
52535         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52536         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52537         * sysdeps/i386/i586/memset.S (memset): Likewise.
52538         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52539         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52540         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52541         macros.
52542         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52543         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52544         Change uses of L(2) to L(out).
52545         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52546         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52547         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52548         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52549         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52550         removed macros.
52551         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52552         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52553         macros.
52554         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52555         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52556         (RETURN): Do not use macro LEAVE.
52557         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52558         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52559         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52560         * sysdeps/i386/i686/memset.S (memset): Likewise.
52561         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52562         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52563         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52564         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52565         Likewise.
52566         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52567         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52568         L(1_2) and L(1_3) into L(1).
52569         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52570         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52571         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52572         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52573         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52574         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52575         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52576         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52577         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52578         macros.
52579         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52580         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52581         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52582         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52583         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52584         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52585         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52586         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52587         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52588         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52589         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52590         * sysdeps/i386/strspn.S (strspn): Likewise.
52591         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52592         conditional code.
52593         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52594         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52595         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52596         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52597         L(1_3) into L(1_1).
52598         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52599         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52600         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52601         macros.
52602         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52604 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52606         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52607         macro.
52609 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52611         * math/atest-exp.c (exp_mpn): Remove ROUND.
52612         * math/atest-exp2.c (exp_mpn): Likewise.
52613         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52615         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52616         * stdlib/tst-tls-atexit-lib.c: Likewise.
52617         * stdlib/tst-tls-atexit.c: Likewise.
52619 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52621         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52622         and __attribute_alloc_size__.
52624 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52626         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52627         __attribute_alloc_size__.
52628         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52629         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52631 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52633         * include/programs/xmalloc.h: New file.
52634         * catgets/gencat.c: Include it.
52635         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52636         * elf/pldd.c: Likewise.
52637         * iconv/iconv_charmap.c: Likewise.
52638         * iconv/iconvconfig.c: Likewise.
52639         * iconv/strtab.c: Likewise.
52640         * locale/programs/locale.c: Likewise.
52641         * locale/programs/localedef.h: Likewise.
52642         * locale/programs/simple-hash.c: Likewise.
52643         * nscd/nscd.h: Likewise.
52644         * nss/makedb.c: Likewise.
52645         * sysdeps/generic/ldconfig.h: Likewise.
52647 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52649         * Versions.def: Add GLIBC_2.18.
52650         * include/link.h (struct link_map): New member l_tls_dtor_count.
52651         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52652         (__call_tls_dtors): Likewise.
52653         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52654         __cxa_thread_atexit_impl.
52655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52656         Likewise.
52657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52658         Likewise.
52659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52660         Likewise.
52661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52662         Likewise.
52663         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52665         Likewise.
52666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52667         Likewise.
52668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52670         Likewise.
52671         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52672         (tests): Add test case tst-tls-atexit.
52673         (modules-names): Add shared library for tst-tls-atexit.
52674         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52675         (GLIBC_PRIVATE): Add __call_tls_dtors.
52676         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52677         for libstdc++.
52678         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52679         * stdlib/tst-tls-atexit.c: New test case.
52680         * stdlib/tst-tls-atexit-lib.c: New test case.
52682         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52684         * elf/Versions (ld): Add _dl_find_dso_for_object.
52685         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52686         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52687         (dl_open_worker): Use _dl_find_dso_for_object.
52688         * elf/dl-sym.c (do_sym): Likewise.
52689         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52691 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52693         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52694         Syntactic changes only.
52695         (_dl_runtime_profile): Do a tail-call to the resolved function.
52697 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52699         [BZ #13550]
52700         * sysdeps/x86_64/bp-asm.h: Remove file.
52701         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52702         <bp-sym.h> and <bp-asm.h>.
52703         (__clone): Do not use BP_SYM.
52704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52705         <bp-sym.h> and <bp-asm.h>.
52706         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52707         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52708         "bp-asm.h".
52709         (_setjmp): Do not use BP_SYM.
52710         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52711         "bp-asm.h".
52712         (setjmp): Do not use BP_SYM.
52713         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52714         libc_hidden_def.
52715         (mempcpy): Do not use BP_SYM in weak_alias.
52716         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52717         "bp-asm.h".
52718         (strchr): Do not use BP_SYM.
52719         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52720         "bp-asm.h".
52721         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52722         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52723         (_start): Do not use BP_SYM.
52724         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52725         "bp-asm.h".
52726         (strcat): Do not use BP_SYM.
52727         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52728         "bp-asm.h".
52729         (STRCMP): Do not use BP_SYM.
52730         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52731         "bp-asm.h".
52732         (STRCPY): Do not use BP_SYM.
52733         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52734         "bp-asm.h".
52735         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52736         "bp-asm.h".
52737         (FUNCTION): Do not use BP_SYM.
52738         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52739         weak_alias.
52740         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52742 2013-02-17  Andreas Jaeger  <aj@suse.de>
52744         * time/Versions: Sort entries.
52745         * string/Versions: Likewise.
52746         * resolv/Versions: Likewise.
52747         * posix/Versions: Likewise.
52748         * iconv/Versions: Likewise.
52749         * elf/Versions: Likewise.
52750         * wcsmbs/Versions: Likewise.
52752 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52754         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52755         loop termination condition.
52757         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52758         variable to calculate EZ.
52759         (__sqr): Likewise.
52761         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52762         the lower precision input.
52764 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52766         [BZ #13550]
52767         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52768         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52769         (run-via-rtld-prefix): Do not handle %-bp tests.
52770         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52771         (all-object-suffixes): Remove .ob.
52772         (bppfx): Remove variable.
52773         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52774         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52775         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52776         [$(build-bounded) = yes] (libtype.ob): Likewise.
52777         * Makerules (elide-routines.ob): Remove variable.
52778         (do-tests-clean): Do not handle *-bp.out.
52779         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52780         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52781         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52782         (tests): Do not include $(tests-bp.out).
52783         (xtests): Do not include $(xtests-bp.out).
52784         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52785         [$(build-bounded) = yes] ($(addprefix
52786         $(objpfx),$(binaries-bounded))): Remove rule.
52787         ($(objpfx)%-bp.out): Remove rule.
52788         * config.make.in (build-bounded): Remove variable.
52789         * crypt/Makefile [$(build-bounded) = yes]
52790         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52791         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52792         append to variable.
52793         [$(build-bounded) = yes] (install-lib): Likewise.
52794         [$(build-bounded) = yes] (generated): Likewise.
52795         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52796         Remove rule.
52797         * intl/Makefile [$(build-bounded) = yes]
52798         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52799         * math/Makefile [$(build-bounded) = yes]
52800         ($(tests:%=$(objpfx)%-bp): Likewise.
52801         * misc/Makefile [$(build-bounded) = yes]
52802         ($(objpfx)tst-tsearch-bp): Likewise.
52803         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52804         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52805         Remove dependency.
52806         * string/Makefile (o-objects.ob): Remove variable.
52807         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52808         (CFLAGS-.ob): Remove variable.
52809         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52810         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52811         both definitions of variable.
52812         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52813         (ASFLAGS-.ob): Remove variable.
52815 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52817         [BZ #13550]
52818         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52819         Remove __BOUNDED_POINTERS__ from condition.
52820         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52821         * string/bits/string2.h [!__NO_STRING_INLINES &&
52822         !__BOUNDED_POINTERS__]: Likewise.
52823         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52824         Likewise.
52825         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52826         Remove conditional code.
52827         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52828         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52829         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52830         condition.
52832         [BZ #13550]
52833         * csu/libc-start.c: Do not include <bp-sym.h>.
52834         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52835         * elf/dl-open.c: Do not include <bp-sym.h>.
52836         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52837         * math/fegetenv.c: Do not include <bp-sym.h>.
52838         (fegetenv): Do not use BP_SYM in versioned symbols.
52839         * nptl/sysdeps/pthread/bits/libc-lockP.h
52840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52841         <bp-sym.h>.
52842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52843         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52845         (__pthread_mutex_destroy): Likewise.
52846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52847         (__pthread_mutex_lock): Likewise.
52848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52849         (__pthread_mutex_trylock): Likewise.
52850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52851         (__pthread_mutex_unlock): Likewise.
52852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52853         (__pthread_mutexattr_init): Likewise.
52854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52855         (__pthread_mutexattr_destroy): Likewise.
52856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52857         (__pthread_mutexattr_settype): Likewise.
52858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52859         (__pthread_rwlock_init): Likewise.
52860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52861         (__pthread_rwlock_destroy): Likewise.
52862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52863         (__pthread_rwlock_rdlock): Likewise.
52864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52865         (__pthread_rwlock_tryrdlock): Likewise.
52866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52867         (__pthread_rwlock_wrlock): Likewise.
52868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52869         (__pthread_rwlock_trywrlock): Likewise.
52870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52871         (__pthread_rwlock_unlock): Likewise.
52872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52873         (__pthread_key_create): Likewise.
52874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52875         (__pthread_setspecific): Likewise.
52876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52877         (__pthread_getspecific): Likewise.
52878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52879         Likewise.
52880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52881         (_pthread_cleanup_push_defer): Likewise.
52882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52883         (_pthread_cleanup_pop_restore): Likewise.
52884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52885         (pthread_setcancelstate): Likewise.
52886         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52887         <bp-sym.h>.
52888         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52889         (memchr): Do not use BP_SYM in weak_alias.
52890         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52891         (fegetenv): Do not use BP_SYM in versioned symbols.
52892         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52893         (fesetenv): Do not use BP_SYM in versioned symbols.
52894         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52895         (feupdateenv): Do not use BP_SYM in versioned symbols.
52896         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52897         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52898         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52899         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52900         (open64): Do not use BP_SYM in weak_alias.
52901         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52902         (fegetenv): Do not use BP_SYM in versioned symbols.
52903         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52904         (fesetenv): Do not use BP_SYM in versioned symbols.
52905         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52906         (feupdateenv): Do not use BP_SYM in versioned symbols.
52907         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52908         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52909         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52910         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52911         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52912         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52913         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52914         <bp-sym.h>.
52915         (__libc_start_main): Do not use BP_SYM.
52917 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52920         redundant return line.
52921         (norm): Likewise.
52922         (denorm): Likewise.
52923         (dbl_mp): Likewise.
52924         (sub_magnitudes): Likewise.
52925         (__add): Likewise.
52926         (__sub): Likewise.
52927         (__mul): Likewise.
52928         (__inv): Likewise.
52929         (__dvd): Likewise.
52930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52931         (norm): Likewise.
52932         (denorm): Likewise.
52933         (dbl_mp): Likewise.
52934         (sub_magnitudes): Likewise.
52935         (__add): Likewise.
52936         (__sub): Likewise.
52937         (__mul): Likewise.
52938         (__inv): Likewise.
52939         (__dvd): Likewise.
52941         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52942         instead of __mul.
52943         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52944         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52945         (cc32): Likewise.
52947         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52948         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52949         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52950         of __mul for squares.
52951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52952         function
52953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52954         Likewise.
52955         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52956         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52958 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52960         [BZ #13550]
52961         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52962         code.
52963         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52964         prototype or function definition.  Rename ubp_* variables and
52965         parameters.  Remove argv definitions conditional on
52966         [__BOUNDED_POINTERS__].
52967         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52968         * elf/dl-runtime.c (_dl_fixup): Likewise.
52969         * include/set-hooks.h (RUN_HOOK): Likewise.
52970         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52971         definition.
52972         * string/strcpy.c (strcpy): Do not use __unbounded.
52973         * sysdeps/generic/frame.h (struct layout): Likewise.
52974         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52975         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52976         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52977         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52978         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52979         (__backtrace): Likewise.
52980         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52981         use __ptrvalue.
52982         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52983         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52984         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52985         Likewise.
52986         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52987         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52988         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52989         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52990         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52991         Do not use __unbounded.
52992         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52993         Rename __unboundedrlimits parameter to rlimits in prototype.
52994         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52995         Do not use __unbounded.
52996         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52997         not use __ptrvalue.
52998         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52999         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53000         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53001         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53002         __ptrvalue or __unbounded.
53003         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53004         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53005         use __unbounded.
53006         (__new_msgctl): Do not use __ptrvalue.
53007         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53008         __unbounded.
53009         (__libc_msgrcv): Do not use __ptrvalue.
53010         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53011         startup_info): Do not use __unbounded.
53012         (__libc_start_main): Likewise.  Rename ubp_* variables and
53013         parameters.  Remove argv definitions conditional on
53014         [__BOUNDED_POINTERS__].
53015         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53016         __ptrvalue.
53017         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53018         use __unbounded.
53019         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53020         or __ptrvalue.
53021         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53022         use __unbounded.
53023         (__new_shmctl): Do not use __ptrvalue.
53024         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53025         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53026         Likewise.
53027         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53028         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53029         (__libc_sigaction): Likewise.
53030         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53031         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53032         Likewise.
53033         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53035 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53037         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53039         * string/mempcpy.c: Implement by calling memcpy.
53041 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53046         evaluation.
53048         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53049         values in the mantissa.
53051         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53052         minimize writes to Z.
53053         (sub_magnitudes): Simplify code a bit.
53055 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53057         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53058         from the message.  The linker prefixes all warnings with that already.
53060 2013-02-12  Andreas Schwab  <schwab@suse.de>
53062         [BZ #15078]
53063         * posix/regexec.c (extend_buffers): Add parameter min_len.
53064         (check_matching): Pass minimum needed length.
53065         (clean_state_log_if_needed): Likewise.
53066         (get_subexp): Likewise.
53067         * posix/Makefile (tests): Add bug-regex34.
53068         (bug-regex34-ENV): Define.
53069         * posix/bug-regex34.c: New file.
53071         [BZ #11561]
53072         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53073         elements compare against the byte sequence of it, not its name.
53074         * posix/Makefile (tests): Add bug-regex35.
53075         (bug-regex35-ENV): Define.
53076         * posix/bug-regex35.c: New file.
53078 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53080         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53081         comment.
53082         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53083         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53084         (CHECK_EOL): Add undef.
53086 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53088         * bits/stdlib-bsearch.h: New file.
53089         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53090         * stdlib/stdlib.h: Likewise.
53092 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53094         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53095         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53096         declaration.
53097         * manual/search.texi (Array Search Function): Add missing const in
53098         lfind prototype.
53099         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53100         declaration to use rlim_t.
53101         (Basic Scheduling Functions): Remove erroneous const from
53102         sched_getparam prototype.  Remove erroneous * from
53103         sched_get_priority_max and sched_get_priority_min prototypes.
53104         (Resource Usage): Fix summary @comment on vtimes to refer to
53105         sys/vtimes.h rather than vtimes.h.
53106         Add missing *s in vtimes prototype.
53107         (Limits on Resources): Fix ulimit prototype to return long int.
53108         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53109         prototypes to use long int rather than double.
53110         (BSD Random): Fix initstate and setstate to use char *, not void *.
53111         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53112         prototype to make second argument 'struct aiocb64 *const[]'.
53113         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53114         (Status of AIO Operations): Remove erroneous const in aio_return and
53115         aio_return64 prototypes.
53116         (Synchronizing I/O): Fix sync prototype to return void.
53117         * manual/startup.texi (Suboptions): Remove an erroneous const in
53118         getsubopt prototype.
53119         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53120         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53121         use size_t rather than int.
53122         (Scanning All Users): Likewise for getpwent_r.
53123         (Setting Groups): Add missing const to setgroups prototype.
53124         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53125         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53126         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53127         'const void *' rather than 'const char *'.
53128         (Host Address Functions): Likewise for inet_ntop.
53129         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53130         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53131         ssize_t for return value.
53132         (Sending Data): Likewise for send, sendto, sendmsg.
53133         (Socket Option Functions): Add a missing const in setsockopt prototype.
53134         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53135         use wchar_t for the argument.
53136         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53137         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53138         take no arguments.
53139         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53140         double/float/long double for second argument.
53141         Fix return types of significand, significandf, significandl.
53142         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53143         argument in fchmod prototype.
53144         (File Owner): Use uid_t and gid_t in fchown prototype.
53145         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53146         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53147         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53148         use 'const struct dirent **' as argument types to CMP function pointer
53149         argument.
53150         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53151         (File Times): Fix summary magic @comment for struct utimbuf and utime
53152         to refer to utime.h, not time.h.
53153         * manual/string.texi (Argz Functions): Add missing const in
53154         argz_extract and argz_next prototypes.
53155         (Finding Tokens in a String): Likewise for basename.
53156         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53157         (Copying and Concatenation): Fix typo in wmemmove prototype.
53158         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53159         (Signal Stack): Remove erroneous const in sigstack prototype.
53160         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53161         prototype.
53162         (Simple Calendar Time): Likewise for stime.
53163         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53164         prototype.
53165         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53166         say sys/sysctl.h instead.
53167         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53168         and vsyslog prototypes.
53170 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53172         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53173         Remove.
53175 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53177         * misc/sys/mman.h: Fix typo in mremap comment.
53179 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53181         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53182         the '\0' terminator.
53184 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53186         [BZ #13550]
53187         * debug/segfault.c: Don't include <bp-checks.h>.
53188         * sysdeps/generic/bp-checks.h: Remove file.
53189         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53190         (__GETDENTS): Don't use CHECK_N.
53191         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53192         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53193         (__getgroups): Don't use CHECK_N.
53194         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53195         (setgroups): Don't use CHECK_N.
53196         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53197         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53198         (__libc_msgrcv): Don't use CHECK_N.
53199         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53200         (__libc_msgsnd): Don't use CHECK_N.
53201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53202         <bp-checks.h>.
53203         (__libc_pread): Don't use CHECK_N.
53204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53205         include <bp-checks.h>.
53206         (__libc_pread64): Don't use CHECK_N.
53207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53208         include <bp-checks.h>.
53209         (__libc_pwrite): Don't use CHECK_N.
53210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53211         include <bp-checks.h>.
53212         (__libc_pwrite64): Don't use CHECK_N.
53213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53214         <bp-checks.h>.
53215         (__libc_pread): Don't use CHECK_N.
53216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53217         include <bp-checks.h>.
53218         (__libc_pread64): Don't use CHECK_N.
53219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53220         include <bp-checks.h>.
53221         (__libc_pwrite): Don't use CHECK_N.
53222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53223         include <bp-checks.h>.
53224         (__libc_pwrite64): Don't use CHECK_N.
53225         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53226         (do_pread): Don't use CHECK_N.
53227         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53228         (do_pread64): Don't use CHECK_N.
53229         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53230         (do_pwrite): Don't use CHECK_N.
53231         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53232         (do_pwrite64): Don't use CHECK_N.
53233         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53234         (__libc_readv): Don't use CHECK_N.
53235         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53236         (semop): Don't use CHECK_N.
53237         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53238         <bp-checks.h>.
53239         (semtimedop): Don't use CHECK_N.
53240         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53241         (__libc_pread): Don't use CHECK_N.
53242         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53243         <bp-checks.h>.
53244         (__libc_pread64): Don't use CHECK_N.
53245         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53246         <bp-checks.h>.
53247         (__libc_pwrite): Don't use CHECK_N.
53248         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53249         <bp-checks.h>.
53250         (__libc_pwrite64): Don't use CHECK_N.
53251         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53252         <bp-checks.h>.
53253         (__libc_msgrcv): Don't use CHECK_N.
53254         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53255         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53256         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53257         (__libc_writev): Don't use CHECK_N.
53259 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53261         * string/strcpy.c: Removed unused variable.
53263         * Makeconfig (+sysdep-includes): Define with := rather than =.
53264         Use an existing include/ subdir of each sysdeps dir before it.
53266 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53268         * nscd/connection.c (register_traced_file): Comment function.
53269         [HAVE_INOTIFY] (union __inev): Define.
53270         [HAVE_INOTIFY] (inotify_check_files): New function.
53271         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53272         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53273         clear_db_cache.
53274         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53276 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53278         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53279         loaded if not already and that a failure is permanent.
53281 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53283         [BZ #15006]
53284         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53285         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53287 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53289         [BZ #13550]
53290         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53291         (CHECK_1_NULL_OK): Likewise.
53292         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53293         (__fxstat): Do not use CHECK_1.
53294         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53295         <bp-checks.h>.
53296         (___fxstat64): Do not use CHECK_1.
53297         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53298         <bp-checks.h>.
53299         (__fxstatat): Do not use CHECK_1.
53300         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53301         <bp-checks.h>.
53302         (__fxstatat64): Do not use CHECK_1.
53303         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53304         <bp-checks.h>.
53305         (__fxstat): Do not use CHECK_1.
53306         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53307         <bp-checks.h>.
53308         (__fxstatat): Do not use CHECK_1.
53309         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53310         <bp-checks.h>.
53311         (__getresgid): Do not use CHECK_1.
53312         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53313         <bp-checks.h>.
53314         (__getresuid): Do not use CHECK_1.
53315         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53316         <bp-checks.h>.
53317         (__lxstat): Do not use CHECK_1.
53318         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53319         <bp-checks.h>.
53320         (__old_msgctl): Do not use CHECK_1.
53321         (__new_msgctl): Likewise.
53322         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53323         <bp-checks.h>.
53324         (__new_setrlimit): Do not use CHECK_1.
53325         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53326         <bp-checks.h>.
53327         (__old_shmctl): Do not use CHECK_1.
53328         (__new_shmctl): Likewise.
53329         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53330         <bp-checks.h>.
53331         (__xstat): Do not use CHECK_1.
53332         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53333         (__lxstat): Do not use CHECK_1.
53334         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53335         <bp-checks.h>.
53336         (___lxstat64): Do not use CHECK_1.
53337         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53338         (__old_msgctl): Do not use CHECK_1.
53339         (__new_msgctl): Likewise.
53340         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53341         <bp-checks.h>.
53342         (__gettimeofday): Do not use CHECK_1.
53343         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53344         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53345         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53346         <bp-checks.h>.
53347         (__gettimeofday): Do not use CHECK_1.
53348         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53349         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53350         (__new_shmctl): Do not use CHECK_1.
53351         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53352         <bp-checks.h>.
53353         (do_sigtimedwait): Do not use CHECK_1.
53354         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53355         <bp-checks.h>.
53356         (do_sigwaitinfo): Do not use CHECK_1.
53357         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53358         <bp-checks.h>.
53359         (msgctl): Do not use CHECK_1.
53360         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53361         <bp-checks.h>.
53362         (shmctl): Do not use CHECK_1.
53363         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53364         (ustat): Do not use CHECK_1.
53365         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53366         <bp-checks.h>.
53367         (__fxstat): Do not use CHECK_1.
53368         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53369         <bp-checks.h>.
53370         (__fxstatat): Do not use CHECK_1.
53371         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53372         <bp-checks.h>.
53373         (__lxstat): Do not use CHECK_1.
53374         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53375         <bp-checks.h>.
53376         (__xstat): Do not use CHECK_1.
53377         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53378         (__xstat): Do not use CHECK_1.
53379         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53380         (___xstat64): Do not use CHECK_1.
53382         [BZ #13550]
53383         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53384         definitions.
53385         (CHECK_BOUNDS_HIGH): Likewise.
53386         * string/strcpy.c: Do not include <bp-checks.h>.
53387         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53389 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53391         * nscd/nscd-client.h (__nscd_drop_map_ref):
53392         Add __attribute__ ((unused)).
53393         * nis/nss-nisplus.h (niserr2nss): Likewise.
53395         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53396         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53398         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53399         Remove inline keyword.
53400         * include/rounding-mode.h (round_away): Likewise.
53401         * libio/wfileops.c (adjust_wide_data): Likewise.
53402         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53403         (__m128i_strloadu_tolower): Likewise.
53404         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53405         (__m128i_strloadu_tolower): Likewise.
53406         * time/mktime.c (ydhms_diff): Likewise.
53407         * locale/elem-hash.h (elem_hash): Likewise.
53408         * locale/setlocale.c (setdata): Likewise.
53409         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53410         (re_string_wchar_at): Likewise.
53411         (bitset_not, bitset_merge, bitset_mask): Likewise.
53412         [!(__GNUC__ > 3)] (inline): Remove macro.
53413         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53414         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53415         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53416         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53417         * string/memcmp.c (memcmp_bytes): Likewise.
53418         * locale/programs/locarchive.c (compute_hashval): Likewise.
53419         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53420         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53421         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53422         * nss/getent.c (print_rpc, print_protocols): Likewise.
53423         (print_passwd, print_group, print_aliases): Likewise.
53424         * nis/nss-nisplus.h (niserr2nss): Likewise.
53425         * nscd/connections.c (restart_p): Likewise.
53426         Change return type to bool.
53428 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53430         * Makeconfig (all-Depend-files): Add existing
53431         $(sorted-subdirs:=/Depend) files.
53432         (all-subdirs): Remove nss.
53433         * sysdeps/unix/inet/Subdirs: Add it here instead.
53434         * hesiod/Depend: New file.
53436         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53437         instead of calling alloca.
53439         * io/lseek.c (__lseek): Rename to __libc_lseek.
53440         Define __lseek as an alias.
53442         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53444 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53446         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53447         else clause and remove check for non-standard endianness.
53449 2013-02-04  David S. Miller  <davem@davemloft.net>
53451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53453 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53455         [BZ #13550]
53456         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53457         (__ubp_memchr): Remove prototype.
53458         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53459         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53460         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53461         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53462         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53463         Remove alias.
53464         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53465         (__ubp_memchr): Likewise.
53466         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53467         (__ubp_memchr): Likewise.
53468         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53469         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53470         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53471         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53472         CHECK_STRING.
53473         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53474         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53475         (__getcwd): Do not use CHECK_STRING.
53476         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53477         <bp-checks.h>.
53478         (__real_chown): Do not use CHECK_STRING.
53479         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53480         <bp-checks.h>.
53481         (fchownat): Do not use CHECK_STRING.
53482         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53483         CHECK_STRING.
53484         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53485         <bp-checks.h>.
53486         (__lchown): Do not use CHECK_STRING.
53487         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53488         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53489         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53490         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53492         include <bp-checks.h>.
53493         (truncate64): Do not use CHECK_STRING.
53494         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53495         <bp-checks.h>.
53496         (__real_chown): Do not use CHECK_STRING.
53497         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53498         <bp-checks.h>.
53499         (__lchown): Do not use CHECK_STRING.
53500         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53501         <bp-checks.h>.
53502         (__chown): Do not use CHECK_STRING.
53503         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53504         <bp-checks.h>.
53505         (truncate64): Do not use CHECK_STRING.
53506         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53507         Likewise.
53508         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53509         (__xmknod): Do not use CHECK_STRING.
53510         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53511         <bp-checks.h>.
53512         (__xmknodat): Do not use CHECK_STRING.
53513         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53514         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53516 2013-02-04  Andreas Schwab  <schwab@suse.de>
53518         [BZ #14142]
53519         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53520         * include/netdb.h: Likewise for h_errno.
53521         * elf/tst-stackguard1.c: Include <tls.h>.
53523 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53525         * elf/link.h (struct link_map): Extend the l_addr comment.
53526         * include/link.h (struct link_map): Likewise.
53528 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53530         [BZ #13550]
53531         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53532         (BOUNDED_1): Remove macro.
53533         * debug/backtrace.c: Don't include <bp-checks.h>.
53534         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53535         (__backtrace): Likewise.
53536         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53537         <bp-checks.h>.
53538         (__backtrace): Don't use BOUNDED_1.
53539         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53540         <bp-checks.h>.
53541         (__backtrace): Don't use BOUNDED_1.
53542         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53543         (__backtrace): Don't use BOUNDED_1.
53544         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53545         (shmat): Don't use BOUNDED_N.
53547 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53549         [BZ #13550]
53550         * sysdeps/generic/bp-start.h: Remove file.
53551         * csu/libc-start.c: Don't include <bp-start.h>.
53552         (LIBC_START_MAIN): Set up __environ directly instead of using
53553         INIT_ARGV_and_ENVIRON.
53554         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53555         <bp-start.h>.
53557         [BZ #13550]
53558         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53559         definitions.
53560         (CHECK_FCNTL): Likewise.
53561         (CHECK_N_PAGES): Likewise.
53563         [BZ #13550]
53564         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53565         definitions.
53566         (CHECK_SIGSET_NULL_OK): Likewise.
53567         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53568         <bp-checks.h>.
53569         (sigpending): Don't use CHECK_SIGSET.
53570         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53571         <bp-checks.h>.
53572         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53573         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53574         <bp-checks.h>.
53575         (do_sigsuspend): Don't use CHECK_SIGSET.
53576         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53577         use CHECK_SIGSET.
53578         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53579         (do_sigwait): Don't use CHECK_SIGSET.
53580         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53581         use CHECK_SIGSET.
53582         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53583         include <bp-checks.h>.
53584         (sigpending): Don't use CHECK_SIGSET.
53585         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53586         include <bp-checks.h>.
53587         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53588         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53589         <bp-checks.h>.
53590         (sigpending): Don't use CHECK_SIGSET.
53591         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53592         <bp-checks.h>.
53593         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53595         [BZ #13550]
53596         * sysdeps/generic/bp-semctl.h: Remove file.
53597         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53598         <bp-checks.h> and <bp-semctl.h>.
53599         (__old_semctl): Don't use CHECK_SEMCTL.
53600         (__new_semctl): Likewise.
53601         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53602         and <bp-semctl.h>.
53603         (__old_semctl): Don't use CHECK_SEMCTL.
53604         (__new_semctl): Likewise.
53605         * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
53610         <bp-checks.h> and <bp-semctl.h>.
53611         (semctl): Don't use CHECK_SEMCTL.
53613         [BZ #13550]
53614         * Makerules (elide-bp-thunks): Remove variable.
53615         (elide-routines.oS): Don't use $(elide-bp-thunks).
53616         (elide-routines.os): Likewise.
53617         (elide-routines.o): Likewise.
53618         (elide-routines.op): Likewise.
53619         (elide-routines.og): Likewise.
53620         (objects): Don't use $(bp-thunks).
53621         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53622         include.
53623         (common-generated): Do not add s-proto-bp.d.
53624         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53625         (int): Likewise.
53626         (typ): Likewise.
53627         Do not generate makefile rules for bounded-pointer thunks.
53628         * sysdeps/generic/bp-thunks.h: Remove file.
53629         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53630         * sysdeps/unix/s-proto-bp.S: Likewise.
53632         [BZ #15062]
53633         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53634         parts of result separately when argument is not close to line from
53635         -i to i and one part of argument is small.
53636         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53637         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53638         * math/libm-test.inc (cacos_test): Add more tests.
53639         (casin_test): Likewise.
53640         (casinh_test): Likewise.
53641         * sysdeps/i386/fpu/libm-test-ulps: Update.
53642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53644 2013-01-31  David S. Miller  <davem@davemloft.net>
53646         * po/de.po: Update from translation team.
53648 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53650         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53652 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53654         * configure.in (_AC_PROG_CC_C89): New definition.
53655         * configure: Regenerate.
53657         * configure.in (AC_PROG_CPP): New definition.
53658         * configure: Regenerate.
53660 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53662         * debug/tst-backtrace.h: New file.
53663         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53664         (ret): Remove variable.
53665         (x): Likewise.
53666         (FAIL): Remove macro.
53667         (NO_INLINE): Likewise.
53668         (fn1): Use match function instead of strstr.
53669         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53670         (ret): Remove variable.
53671         (x): Likewise.
53672         (FAIL): Remove macro.
53673         (NO_INLINE): Likewise.
53674         (fn): Use match function instead of strstr.
53675         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53676         (ret): Remove variable.
53677         (x): Likewise.
53678         (FAIL): Remove macro.
53679         (NO_INLINE): Likewise.
53680         (handle_signal): Use match function instead of strstr.
53681         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53682         (ret): Remove variable.
53683         (x): Likewise.
53684         (FAIL): Remove macro.
53685         (NO_INLINE): Likewise.
53686         (handle_signal): Use match function instead of strstr.
53688 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53690         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53692 2013-01-23  David S. Miller  <davem@davemloft.net>
53694         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53695         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53696         argument of CAS if possible.
53697         * sysdeps/sparc/sparc64/bits/atomic.h
53698         (__arch_compare_and_exchange_val_32_acq): Likewise.
53699         (__arch_compare_and_exchange_val_64_acq): Likewise.
53701 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53703         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53704         * sysdeps/posix/ulimit.c: ... this.
53705         Include <limits.h>.
53706         * sysdeps/unix/bsd/ulimit.c: Remove file.
53708 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53710         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53711         (LDFLAGS-tst-array5): Likewise.
53713 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53715         [BZ #15036]
53716         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53717         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53718         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53719         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53721 2013-01-21  David S. Miller  <davem@davemloft.net>
53723         * sysdeps/sparc/backtrace.c: New file.
53724         * sysdeps/sparc/sparc32/backtrace.h: New file.
53725         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53726         * sysdeps/sparc/sparc64/backtrace.h: New file.
53727         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53728         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53729         -funwind-tables.
53731 2013-01-21  Andreas Schwab  <schwab@suse.de>
53733         [BZ #15020]
53734         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53735         closed its stdout.
53737 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53740         "mpa2.h".
53741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53743 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53744             Mark Mitchell  <mark@codesourcery.com>
53745             Tom de Vries  <tom@codesourcery.com>
53746             Paul Pluzhnikov  <ppluzhnikov@google.com>
53748         * debug/tst-backtrace2.c: New file.
53749         * debug/tst-backtrace3.c: Likewise.
53750         * debug/tst-backtrace4.c: Likewise.
53751         * debug/tst-backtrace5.c: Likewise.
53752         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53753         (CFLAGS-tst-backtrace3.c): Likewise.
53754         (CFLAGS-tst-backtrace4.c): Likewise.
53755         (CFLAGS-tst-backtrace5.c): Likewise.
53756         (LDFLAGS-tst-backtrace2): Likewise.
53757         (LDFLAGS-tst-backtrace3): Likewise.
53758         (LDFLAGS-tst-backtrace4): Likewise.
53759         (LDFLAGS-tst-backtrace5): Likewise.
53760         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53761         tst-backtrace4 and tst-backtrace5.
53763 2013-01-18  Anton Blanchard  <anton@samba.org>
53764             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53766         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53767         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53768         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53769         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53771         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53772         "+r" and remove output regs list as redundant.  Add explicit inline
53773         asm to specify register of return val to work around compiler codegen
53774         bug.  Remove (int) cast on return value.  Add return type parameter to
53775         use in macro so that this macro does not truncate return value for
53776         64-bit values.
53777         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53778         pass to INTERNAL_VSYSCALL_NCS.
53779         (INLINE_VSYSCALL): Add 'long int' as return type to
53780         INTERNAL_VSYSCALL_NCS macro invocation.
53781         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53782         INTERNAL_VSYSCALL_NCS macro invocation.
53783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53785 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53787         [BZ #14496]
53788         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53789         Fix application of SIMD FP exception mask.
53791         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53792         mp_no from a power of two.
53793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53794         __mpexp_twomm1.  Use __pow_mp.
53796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53797         multiplication.
53799 2013-01-17  David S. Miller  <davem@davemloft.net>
53801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53803 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53805         [BZ #15023]
53806         * include/complex.h: Condition contents on [!_COMPLEX_H].
53807         (__kernel_casinhf): New prototype.
53808         (__kernel_casinh): Likewise.
53809         (__kernel_casinhl): Likewise.
53810         * math/Makefile (libm_calls): Add k_casinh.
53811         * math/k_casinh.c: New file.
53812         * math/k_casinhf.c: Likewise.
53813         * math/k_casinhl.c: Likewise.
53814         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53815         finite nonzero arguments.
53816         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53817         finite nonzero arguments.
53818         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53819         finite nonzero arguments.
53820         * math/s_casinh.c: Do not include <float.h>.
53821         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53822         * math/s_casinhf.c: Do not include <float.h>.
53823         (__casinhf): Move code for finite nonzero arguments to
53824         k_casinhf.c.
53825         * math/s_casinhl.c: Do not include <float.h>.
53826         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53827         redefine.
53828         (__casinhl): Move code for finite nonzero arguments to
53829         k_casinhl.c.
53830         * math/libm-test.inc (cacos_test): Add more tests.
53831         * sysdeps/i386/fpu/libm-test-ulps: Update.
53832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53834 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53836         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53837         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53838         [!HAVE_MREMAP]: Remove [defined linux] case.
53839         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53841 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53843         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53845 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53847         * elf/elf.h (R_386_SIZE32): New relocation.
53848         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53849         R_386_SIZE32.
53850         (elf_machine_rela): Likewise.
53851         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53852         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53854 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53856         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53857         (FP_FAST_FMA): Do not define.
53858         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53859         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53860         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53861         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53862         !_SOFT_FLOAT]: Likewise.
53863         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53864         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53865         value.
53866         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53867         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53868         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53869         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53870         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53871         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53872         file.
53874 2013-01-16  Andreas Schwab  <schwab@suse.de>
53876         [BZ #14327]
53877         * include/stdlib.h (__mktemp): Add declaration.
53878         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53879         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53881 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53883         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53884         definitions.
53885         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53886         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53887         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53888         definitions here.
53889         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53890         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53891         definitions.
53892         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53893         and ONE.
53894         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53895         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53896         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53897         definitions.
53898         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53899         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53900         definitions.
53901         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53903         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53905 2013-01-15  David S. Miller  <davem@davemloft.net>
53907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53908         trunc{,f} to libm-sysdep_routes.
53909         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53911         file.
53912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53914         file.
53915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53916         file.
53917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53919         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53920         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53921         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53922         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53923         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53924         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53927         nearbyint{,f} to libm-sysdep_routes.
53928         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53930         New file.
53931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53932         file.
53933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53934         New file.
53935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53936         file.
53937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53939         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53940         file.
53941         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53942         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53943         file.
53944         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53945         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53946         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53948         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53949         libc_feholdexcept and libc_fesetenv.
53951 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53953         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53955 2013-01-14  David S. Miller  <davem@davemloft.net>
53957         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53958         (SPARC_ASM_VIS2_IFUNC): Likewise.
53959         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53961         use of 'siam' instruction.
53962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53963         Likewise.
53964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53965         Likewise.
53966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53967         Likewise.
53968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53973         file.
53974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53975         file.
53976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53977         file.
53978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53979         file.
53980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53985         new VIS2 routines.
53986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53989         Likewise.
53990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53995         routines to libm-sysdep_routines.
53996         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53999         fdim/fdimf to libm-sysdep_routines.
54000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54001         file.
54002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54004         file.
54005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54008         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54009         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54010         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54011         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54013 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54015         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54016         to optimize copies.
54018         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54023         local variable MPTWO.
54024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54025         Likewise.
54027 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54029         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54030         GLOB_NOESCAPE.
54032 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54034         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54036 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54038         * manual/pattern.texi (glob_t): Document gl_flags.
54039         (glob64_t): Likewise.
54041 2013-01-11  David S. Miller  <davem@davemloft.net>
54043         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54044         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54045         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54046         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54047         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54048         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54049         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54050         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54051         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54052         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54053         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54054         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54055         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54057         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54058         sparc V9 rather than using V8 code.
54059         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54060         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54062         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54063         Move to...
54064         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54065         Here.
54067 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54069         [BZ #14941]
54070         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54071         not in the main loop.
54072         * configure: Regenerated.
54074 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54076         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54077         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54078         to just #else.
54079         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54080         [!__GLIBC_HAVE_LONG_LONG] case.
54081         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54082         condition to just #else.
54083         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54084         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54085         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54086         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54087         unconditional.
54088         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54089         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54090         #elif condition to just #else.
54091         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54092         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54093         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54094         #elif condition to just #else.
54096 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54098         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54099         (EF_MIPS_ARCH_64): Fix value.
54100         (EF_MIPS_ARCH_32R2): New.
54101         (EF_MIPS_ARCH_64R2): New.
54103 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54105         * Makeconfig (+link-pie-before-libc): New.
54106         (+link-pie-after-libc): Likewise.
54107         (+link-pie-tests): Likewise.
54108         (+link-pie): Rewritten.
54109         (link-before-libc): Remove $(config-LDFLAGS).
54110         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54111         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54112         (config-LDFLAGS): Renamed to ...
54113         (rtld-LDFLAGS): This.
54114         (rtld-tests-LDFLAGS): New macro.
54115         (link-libc-rpath-link): Likewise.
54116         (link-libc-tests-rpath-link): Likewise.
54117         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54118         (link-libc): Prepand $(link-libc-rpath-link).
54119         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54120         (test-program-prefix): New macro.
54121         (test-via-rtld-prefix): Likewise.
54122         (test-program-cmd): Likewise.
54123         (host-test-program-cmd): Likewise.
54124         * Makefile ($(common-objpfx)testrun.sh): Replace
54125         $(run-program-prefix) with $(test-program-prefix).
54126         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54127         $(rtld-LDFLAGS).
54128         ($(common-objpfx)shlib.lds): Likewise.
54129         (build-module-helper): Likewise.
54130         ($(common-objpfx)format.lds): Likewise.
54131         * Rules (binaries-pie-tests): New.
54132         (binaries-pie-notests): Likewise.
54133         (binaries-pie): Rewritten.
54134         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54135         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54136         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54137         (make-test-out): Replace $(host-built-program-cmd) with
54138         $(host-test-program-cmd).
54139         * config.make.in (build-hardcoded-path-in-tests): New variable.
54140         * configure.in (--enable-hardcoded-path-in-tests): New configure
54141         option.
54142         (hardcoded_path_in_tests): New AC_SUBST.
54143         * configure: Regenerated.
54144         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54145         $(built-program-cmd) with $(test-program-cmd).
54146         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54147         (test_program_cmd): This.
54148         * elf/Makefile ($(objpfx)order.out): Run test with
54149         $(test-program-prefix).
54150         ($(objpfx)order2.out): Likewise.
54151         ($(objpfx)tst-initorder.out): Likewise.
54152         ($(objpfx)tst-initorder2.out): Likewise.
54153         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54154         $(test-program-cmd).
54155         ($(objpfx)tst-array1-static.out): Likewise.
54156         ($(objpfx)tst-array2.out): Likewise.
54157         ($(objpfx)tst-array3.out): Likewise.
54158         ($(objpfx)tst-array4.out): Likewise.
54159         ($(objpfx)tst-array5.out): Likewise.
54160         ($(objpfx)tst-array5-static.out): Likewise.
54161         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54162         $(test-program-cmd).
54163         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54164         $(run-program-prefix) with $(test-program-prefix).
54165         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54166         (test_program_prefix): This.
54167         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54168         $(run-program-prefix) with $(test-program-prefix).
54169         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54170         (test_program_prefix): This.
54171         * iconvdata/tst-tables.sh: Likewise.
54172         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54173         $(run-program-prefix) with $(test-program-prefix).
54174         ($(objpfx)tst-translit.out): Likewise.
54175         ($(objpfx)tst-gettext2.out): Likewise.
54176         ($(objpfx)tst-gettext4.out): Likewise.
54177         ($(objpfx)tst-gettext6.out): Likewise.
54178         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54179         (test_program_prefix): This.
54180         * intl/tst-gettext2.sh: Likewise.
54181         * intl/tst-gettext4.sh  Likewise.
54182         * intl/tst-gettext6.sh: Likewise.
54183         * intl/tst-translit.sh: Likewise.
54184         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54185         with $(test-program-cmd).
54186         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54187         $(run-program-prefix) with $(test-program-prefix).
54188         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54189         (test_program_prefix): This.
54190         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54191         $(run-program-prefix) with $(test-program-prefix).
54192         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54193         (test_program_prefix): This.
54194         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54195         * posix/Makefile ($(objpfx)globtest.out): Replace
54196         $(run-via-rtld-prefix) and $(test-wrapper) with
54197         $(test-program-prefix) and $(test-via-rtld-prefix).
54198         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54199         $(test-program-prefix).
54200         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54201         $(host-test-program-cmd).
54202         (tst-spawn-ARGS): Likewise.
54203         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54204         $(test-program-prefix).
54205         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54206         (test_via_rtld_prefix): This.
54207         (test_wrapper): Renamed to ...
54208         (test_program_prefix): This.
54209         (run_program_prefix): Replaced by test_program_prefix.
54210         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54211         (test_program_prefix): This.
54212         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54213         with $(host-test-program-cmd).
54214         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54215         $(run-program-prefix) with $(test-program-prefix).
54216         ($(objpfx)tst-printf.out): Likewise.
54217         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54218         $(test-program-cmd).
54219         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54220         (test_program_prefix): This.
54221         * stdio-common/tst-unbputc.sh: Likewise.
54222         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54223         $(run-program-prefix) with $(test-program-prefix).
54224         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54225         (test_program_prefix): This.
54226         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54227         $(built-program-cmd) with $(test-program-cmd).
54229 2013-01-11  Andreas Jaeger  <aj@suse.de>
54231         [BZ #15003]
54232         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54233         value. Sync with Linux 3.7.
54235 2013-01-10  David S. Miller  <davem@davemloft.net>
54237         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54238         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54239         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54241 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54243         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54244         never set.
54245         * configure: Regenerated.
54247 2013-01-10  David S. Miller  <davem@davemloft.net>
54249         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54250         sparc V9 rather than using V8 code.
54251         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54252         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54254 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54256         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54257         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54258         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54259         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54260         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54261         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54262         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54263         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54264         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54265         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54266         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54267         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54268         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54269         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54270         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54271         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54272         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54273         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54274         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54275         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54276         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54277         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54278         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54279         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54280         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54281         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54282         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54284 2013-01-10  David S. Miller  <davem@davemloft.net>
54286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54288 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54290         * posix/Makefile (tests-static): New variable.
54291         (tests): Add $(tests-static).
54292         (tst-exec-static-ARGS): New variable.
54293         (tst-spawn-static-ARGS): Likewise.
54294         * posix/tst-exec-static.c: New file.
54295         * posix/tst-spawn-static.c: Likewise.
54296         * posix/tst-exec.c: Support run directly.
54297         * posix/tst-spawn.c: Likewise.
54299 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54301         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54302         long.
54303         * math/bits/mathcalls.h (llrint): Likewise.
54304         (llround): Likewise.
54305         * stdlib/stdlib.h (struct drand48_data): Likewise.
54306         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54307         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54308         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54309         Likewise.
54310         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54311         Likewise.
54312         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54313         (elf_greg_t): Likewise.
54314         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54315         (__jmp_buf): Likewise.
54316         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54317         definitions.
54318         (llrint): Likewise, for all definitions.
54319         (llrintl): Likewise.
54321         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54322         Remove [__GNUC__] condition.
54323         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54324         condition to just [__USE_ISOC99].
54325         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54327 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54329         [BZ #14200]
54330         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54331         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54332         defined.
54333         (_POSIX_V6_ILP32_OFF32): Likewise.
54334         (_XBS5_ILP32_OFF32): Likewise.
54335         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54336         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54338 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54340         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54342         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54343         doubles __mpexp_twomm1.  Adjust usage.
54344         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54345         Remove.
54347 2013-01-10  Andreas Schwab  <schwab@suse.de>
54349         [BZ #14964]
54350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54351         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54353 2013-01-09  David S. Miller  <davem@davemloft.net>
54355         [BZ #15003]
54356         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54357         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54358         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54359         (TCP_FASTOPEN): Define.
54360         (tcp_repair_opt): New structure.
54361         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54362         enum values.
54363         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54364         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54365         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54366         (tcp_cookie_transactions): New structure.
54368 2013-01-09  Anton Blanchard  <anton@samba.org>
54370         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54371         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54372         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54373         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54375 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54377         * include/features.h (__USE_ANSI): Remove.
54379 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54381         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54383         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54385 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54387         * sysdeps/s390/fpu/libm-test-ulps: Update.
54389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54391         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54392         (__acr): Likewise.
54393         (__cpy): Likewise.
54394         (norm): Likewise.
54395         (denorm): Likewise.
54396         (__mp_dbl): Likewise.
54397         (__dbl_mp): Likewise.
54398         (add_magnitudes): Likewise.
54399         (sub_magnitudes): Likewise.
54400         (__add): Likewise.
54401         (__sub): Likewise.
54402         (__mul): Likewise.
54403         (__inv): Likewise.
54404         (__dvd): Likewise.
54405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54406         (__acr): Likewise.
54407         (__cpy): Likewise.
54408         (norm): Likewise.
54409         (denorm): Likewise.
54410         (__mp_dbl): Likewise.
54411         (__dbl_mp): Likewise.
54412         (add_magnitudes): Likewise.
54413         (sub_magnitudes): Likewise.
54414         (__add): Likewise.
54415         (__sub): Likewise.
54416         (__mul): Likewise.
54417         (__inv): Likewise.
54418         (__dvd): Likewise.
54419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54420         (__acr): Likewise.
54421         (__cpy): Likewise.
54422         (norm): Likewise.
54423         (denorm): Likewise.
54424         (__mp_dbl): Likewise.
54425         (__dbl_mp): Likewise.
54426         (add_magnitudes): Likewise.
54427         (sub_magnitudes): Likewise.
54428         (__add): Likewise.
54429         (__sub): Likewise.
54430         (__mul): Likewise.
54431         (__inv): Likewise.
54432         (__dvd): Likewise.
54434 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54436         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54437         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54438         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54439         2 && __USE_EXTERN_INLINES]: Likewise.
54441 2013-01-08  Andreas Jaeger  <aj@suse.de>
54443         [BZ# 14985]
54444         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54445         Remove.
54446         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54447         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54449 2013-01-07  Anton Blanchard  <anton@samba.org>
54451         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54452         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54453         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54454         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54455         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54456         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54457         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54458         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54460         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54461         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54462         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54463         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54464         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54465         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54466         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54468         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54469         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54471         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54472         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54473         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54474         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54475         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54476         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54477         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54478         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54479         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54480         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54481         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54483         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54484         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54485         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54486         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54487         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54488         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54489         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54491         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54492         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54493         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54495 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54497         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54498         (__MALLOC_PMT): Likewise.
54499         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54500         [__GNUC__], only on [_LIBC].
54501         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54502         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54503         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54504         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54505         forward declaration.
54506         (realloc_hook_ini): Likewise.
54507         (memalign_hook_ini): Likewise.
54508         (__libc_memalign): Do not use __MALLOC_PMT in variable
54509         declaration.
54510         (__libc_valloc): Likewise.
54511         (__libc_pvalloc): Likewise.
54512         (__libc_calloc): Likewise.
54513         (__posix_memalign): Likewise.
54515         [BZ #14996]
54516         * math/s_casinh.c: Include <float.h>.
54517         (__casinh): Do not do computation with squaring and square root
54518         for large arguments.
54519         * math/s_casinhf.c: Include <float.h>.
54520         (__casinhf): Do not do computation with squaring and square root
54521         for large arguments.
54522         * math/s_casinhl.c: Include <float.h>.
54523         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54524         (__casinhl): Do not do computation with squaring and square root
54525         for large arguments.
54526         * math/libm-test.inc (casin_test): Add more tests.
54527         (casinh_test): Likewise.
54528         * sysdeps/i386/fpu/libm-test-ulps: Update.
54529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54531 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54533         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54534         (__x86_64_raw_data_cache_size): Likewise.
54535         (__x86_64_data_cache_size_half): Likewise.
54536         (__x86_64_raw_data_cache_size_half): Likewise.
54537         (__x86_64_shared_cache_size): Likewise.
54538         (__x86_64_raw_shared_cache_size): Likewise.
54539         (__x86_64_shared_cache_size_half): Likewise.
54540         (__x86_64_raw_shared_cache_size_half): Likewise.
54541         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54542         to ...
54543         (__x86_data_cache_size): This.
54544         (__x86_64_raw_data_cache_size): Renamed to ...
54545         (__x86_raw_data_cache_size): This.
54546         (__x86_64_data_cache_size_half): Renamed to ...
54547         (__x86_data_cache_size_half): This.
54548         (__x86_64_raw_data_cache_size_half): Renamed to ...
54549         (__x86_raw_data_cache_size_half): This.
54550         (__x86_64_shared_cache_size): Renamed to ...
54551         (__x86_shared_cache_size): This.
54552         (__x86_64_raw_shared_cache_size): Renamed to ...
54553         (__x86_raw_shared_cache_size): This.
54554         (__x86_64_shared_cache_size_half): Renamed to ...
54555         (__x86_shared_cache_size_half): This.
54556         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54557         (__x86_raw_shared_cache_size_half): This.
54558         * sysdeps/x86_64/memcpy.S: Updated.
54559         * sysdeps/x86_64/memset.S: Likewise.
54560         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54561         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54562         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54564 2013-01-04  David S. Miller  <davem@davemloft.net>
54566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54568 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54570         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54571         1 to avoid redefinition warning.
54572         (__USE_GNU): Don't define.
54573         (init_signaling_nan): Protoize.
54575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54577 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54579         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54581         (__cpymn): Likewise.
54582         (norm): Remove commented code.
54583         (denorm): Likewise.
54584         (__mp_dbl): Likewise.
54585         (__inv): Likewise.
54586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54587         (__cpymn): Likewise.
54588         (norm): Remove commented code.
54589         (denorm): Likewise.
54590         (__mp_dbl): Likewise.
54591         (__inv): Likewise.
54593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54594         mp_no value for 1.0 and 2.0.
54595         (norm): Use RADIXI instead of radixi.d.
54596         (denorm): Likewise.
54597         (__mul): Use 0.0 instead of zero.d.
54598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54599         mp_no value for 1.0 and 2.0.
54600         (norm): Use RADIXI instead of radixi.d.
54601         (denorm): Likewise.
54602         (__mul): Use 0.0 instead of zero.d.
54604 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54606         [BZ #14994]
54607         * math/s_casinh.c (__casinh): Reduce finite argument to first
54608         quadrant then set signs of results at the end.
54609         * math/s_casinhf.c (__casinhf): Likewise.
54610         * math/s_casinhl.c (__casinhl): Likewise.
54611         * math/libm-test.inc (casin_test): Add more tests.
54612         (casinh_test): Likewise.
54613         * sysdeps/i386/fpu/libm-test-ulps: Update.
54614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54616 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54618         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54620         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54622         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54623         declarations.
54624         (denorm): Likewise.
54625         (__mp_dbl): Likewise.
54626         (__inv): Likewise.
54628         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54629         and adjust the header comment.
54631         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54632         variable name from declaration.
54634 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54637         Initialize COMMON_CPUID_INDEX_7 element.
54638         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54639         (CPUID_RTM): Likewise.
54640         (HAS_RTM): Likewise.
54641         (COMMON_CPUID_INDEX_7): New enum.
54643 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54645         [BZ #14981]
54646         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54647         size is zero, record memory as freed.
54649 2013-01-03  Andreas Jaeger  <aj@suse.de>
54651         * po/ia.po: Add new Interlingua translation.
54653 2012-01-03  Allan McRae  <allan@archlinux.org>
54655         * locale/programs/localedef.c: Fix description of '--posix' flag.
54657 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54659         * NEWS: Update dates in second copyright notice.
54660         * README: Update copyright dates in example.
54661         * manual/libc.texinfo: Update copyright dates.
54662         * scripts/test-installation.pl: Update copyright date in --version
54663         output.
54665         * hurd/ctty-input.c: Fix copyright notice formatting.
54666         * hurd/ctty-output.c: Likewise.
54667         * hurd/dtable.c: Likewise.
54668         * hurd/hurd-raise.c: Likewise.
54669         * hurd/hurdprio.c: Likewise.
54670         * hurd/msgportdemux.c: Likewise.
54671         * misc/sys/file.h: Likewise.
54672         * misc/sys/ioctl.h: Likewise.
54673         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54674         * sysdeps/mach/hurd/chdir.c: Likewise.
54675         * sysdeps/mach/hurd/fchdir.c: Likewise.
54676         * sysdeps/mach/hurd/rename.c: Likewise.
54677         * sysdeps/mach/hurd/rmdir.c: Likewise.
54678         * sysdeps/mach/hurd/seekdir.c: Likewise.
54679         * sysdeps/mach/hurd/setsid.c: Likewise.
54680         * sysdeps/posix/wait3.c: Likewise.
54682         * All files with FSF copyright notices: Update copyright dates
54683         using scripts/update-copyrights.
54684         * intl/plural.c: Regenerated.
54685         * locale/programs/charmap-kw.h: Likewise.
54686         * locale/programs/locfile-kw.h: Likewise.
54688 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54690         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54691         four values.
54693         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54694         calculation loop and add branch prediction.
54696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54697         check access beyond bounds of m1np.
54699         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54700         MPTWO.
54701         (__inv): Remove local variable MPTWO to use the global
54702         constant.
54703         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54704         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54705         variable MPTWO.
54706         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54707         MP3HALFS static const.
54709 2013-01-01  David S. Miller  <davem@davemloft.net>
54711         * po/ca.po: Update from translation team.
54713 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54715         * scripts/update-copyrights: New file.
54716         * Makeconfig: Reformat copyright notice.
54717         * ctype/ctype.h: Likewise.
54718         * debug/swprintf_chk.c: Likewise.
54719         * elf/dl-cache.c: Likewise.
54720         * elf/dl-debug.c: Likewise.
54721         * elf/dl-object.c: Likewise.
54722         * grp/initgroups.c: Likewise.
54723         * hurd/Makefile: Likewise.
54724         * hurd/hurd/signal.h: Likewise.
54725         * hurd/hurdfault.c: Likewise.
54726         * hurd/hurdioctl.c: Likewise.
54727         * hurd/hurdlookup.c: Likewise.
54728         * hurd/intr-msg.c: Likewise.
54729         * iconv/gconv_open.c: Likewise.
54730         * libio/swprintf.c: Likewise.
54731         * locale/lc-ctype.c: Likewise.
54732         * locale/nl_langinfo.c: Likewise.
54733         * mach/Machrules: Likewise.
54734         * mach/Makefile: Likewise.
54735         * malloc/obstack.h: Likewise.
54736         * manual/Makefile: Likewise.
54737         * manual/tsort.awk: Likewise.
54738         * misc/bits/stab.def: Likewise.
54739         * nis/nis_print_group_entry.c: Likewise.
54740         * nis/nis_table.c: Likewise.
54741         * nis/nss_compat/compat-pwd.c: Likewise.
54742         * nis/nss_compat/compat-spwd.c: Likewise.
54743         * po/Makefile: Likewise.
54744         * posix/fnmatch.c: Likewise.
54745         * posix/regex.h: Likewise.
54746         * resolv/Makefile: Likewise.
54747         * resolv/nss_dns/dns-network.c: Likewise.
54748         * resolv/res_hconf.c: Likewise.
54749         * scripts/gen-sorted.awk: Likewise.
54750         * soft-fp/soft-fp.h: Likewise.
54751         * stdio-common/printf.h: Likewise.
54752         * stdlib/monetary.h: Likewise.
54753         * stdlib/random.c: Likewise.
54754         * stdlib/random_r.c: Likewise.
54755         * sysdeps/generic/Makefile: Likewise.
54756         * sysdeps/gnu/Makefile: Likewise.
54757         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54761         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54764         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54765         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54767         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54768         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54769         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54770         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54771         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54772         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54773         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54774         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54776         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54777         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54778         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54779         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54780         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54781         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54782         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54783         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54784         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54785         * sysdeps/mach/hurd/errnos.awk: Likewise.
54786         * sysdeps/mach/hurd/fork.c: Likewise.
54787         * sysdeps/mach/hurd/getcwd.c: Likewise.
54788         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54789         * sysdeps/mach/hurd/mmap.c: Likewise.
54790         * sysdeps/mach/hurd/utimes.c: Likewise.
54791         * sysdeps/mach/hurd/xmknod.c: Likewise.
54792         * sysdeps/posix/profil.c: Likewise.
54793         * sysdeps/posix/readdir_r.c: Likewise.
54794         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54795         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54796         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54797         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54799         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54800         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54801         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54803         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54804         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54805         * sysdeps/pthread/lio_listio.c: Likewise.
54806         * sysdeps/sparc/dl-procinfo.h: Likewise.
54807         * sysdeps/unix/i386/sysdep.S: Likewise.
54808         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54809         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54810         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54811         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54813         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54814         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54815         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54816         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54817         * sysdeps/wordsize-32/divdi3.c: Likewise.
54818         * time/sys/time.h: Likewise.
54819         * wcsmbs/Makefile: Likewise.
54821 2013-01-01  David S. Miller  <davem@davemloft.net>
54823         * po/fr.po: Update from translation team.
54825         * catgets/gencat.c: Update copyright year.
54826         * csu/version.c: Likewise.
54827         * debug/catchsegv.sh: Likewise.
54828         * debug/pcprofiledump.c: Likewise.
54829         * debug/xtrace.sh: Likewise.
54830         * elf/ldconfig.c: Likewise.
54831         * elf/ldd.bash.in: Likewise.
54832         * elf/pldd.c: Likewise.
54833         * elf/sotruss.ksh: Likewise.
54834         * elf/sprof.c: Likewise.
54835         * iconv/iconv_prog.c: Likewise.
54836         * iconv/iconvconfig.c: Likewise.
54837         * locale/programs/locale.c: Likewise.
54838         * locale/programs/localedef.c: Likewise.
54839         * login/programs/pt_chown.c: Likewise.
54840         * malloc/memusage.sh: Likewise.
54841         * malloc/memusagestat.c: Likewise.
54842         * malloc/mtrace.pl: Likewise.
54843         * nscd/nscd.c: Likewise.
54844         * nss/getent.c: Likewise.
54845         * nss/makedb.c: Likewise.
54846         * posix/getconf.c: Likewise.
54848 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54850         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54851         numbers.
54853 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54855         * math/bits/mathcalls.h (modf): Use __nonnull.
54857 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54859         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54860         (split): Use macro CN instead of the bare value.
54861         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54862         could be used.
54863         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54864         instead of the bare value.
54865         (power1): Likewise.
54867 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54869         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54870         __ATAN_TWOM.
54871         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54873         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54874         their values.
54875         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54876         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54877         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54878         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54880 2012-12-28  Andreas Jaeger  <aj@suse.de>
54882         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54883         values are from Linux 3.7.
54885         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54886         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54888 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54890         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54891         TRUE case.
54893         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54894         (norm): Likewise.
54895         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54896         variables with preprocessor constants.
54897         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54898         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54899         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54901 2012-12-27  Bruno Haible  <bruno@clisp.org>
54903         [BZ #14317]
54904         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54905         only if needed.
54907 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54910         and use variable directly.
54911         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54913         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54914         MPONE.
54915         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54917         variable MPONE.
54918         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54920         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54921         include directive.  Remove local variable MPONE.
54922         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54923         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54924         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54926 2012-12-25  David S. Miller  <davem@davemloft.net>
54928         * version.h (RELEASE): Set to "development".
54929         (VERSION): Set to "2.17.90".
54930         * NEWS: Add 2.18 section.
54932 2012-12-21  David S. Miller  <davem@davemloft.net>
54934         * po/hr.po: Update from translation team.
54936 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54938         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54940 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54942         * NEWS:  Mention new memcpy for MIPS.
54944 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54946         * manual/contrib.texi (Contributors): Spelling correction.
54948 2012-12-15  David S. Miller  <davem@davemloft.net>
54950         * po/ru.po: Update from translation team.
54952 2012-12-13  David S. Miller  <davem@davemloft.net>
54954         * NEWS: Mention IFUNC testsuite enhancements.
54956         * po/pl.po: Update from translation team.
54957         * po/bg.po: Likewise.
54959         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54960         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54962 2012-12-11  David S. Miller  <davem@davemloft.net>
54964         * po/sv.po: Update from translation team.
54966         * po/vi.po: Update from translation team.
54968         * po/cs.po: Update from translation team.
54970         * po/de.po: Update from translation team.
54971         * po/eo.po: Likewise.
54972         * po/nl.po: Likewise.
54974 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54976         [BZ #14246]
54977         * manual/argp.texi (Argp Helper Functions): Move node to follow
54978         Argp Parsing State.
54980         [BZ #14872]
54981         * manual/conf.texi (Limits on File System Capacity): Mention if
54982         terminating null is included in the max size.
54984 2012-12-10  Andreas Jaeger  <aj@suse.de>
54986         * po/cs.po: Update from translation team.
54988 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54990         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54991         void pointer and cast to uintptr_t.
54992         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54993         path.
54994         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54995         * sysdeps/s390/s390-64/memset.S: Likewise.
54997 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54999         [BZ #14833]
55000         * menual/message.texi (Message Translation): Fix typos.
55001         (Helper programs for gettext): Likewise.
55003 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55005         [BZ #14898]
55006         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55007         Change to -1.
55009 2012-12-07  David S. Miller  <davem@davemloft.net>
55011         * po/libc.pot: Update.
55013 2012-12-07  Richard Henderson  <rth@redhat.com>
55015         [BZ #10114]
55016         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55017         normal/normal case to before the switch.
55018         (_FP_DIV): Likewise.
55020 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55021             Mike Frysinger  <vapier@gentoo.org>
55023         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55024         check for __NR_fadvise64_64.
55026 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55028         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55029         0, not just to plain "0" as a statement.
55030         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55031         with cw.
55033 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55035         * NEWS: Use sourceware.org in Bugzilla URL.
55037 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55040         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55042         * stdio-common/tst-put-error.c (do_test): Add newline to the
55043         padded test to ensure flush.
55045 2012-12-05  Jeff Law  <law@redhat.com>
55047         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55049 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55051         * README: Don't refer to ports add-on as distributed separately.
55052         Mention AArch64 in list of systems supported in the ports add-on.
55054         * LICENSES: Add more non-FSF copyright and license notices.
55056         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55057         ((unused)).
55059         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55061         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55062         10000 as width of padded output.
55064 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55066         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55068         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55069         variable LX with __attribute__ ((unused)).
55070         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55071         Likewise.
55072         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55075         with __attribute__ ((unused)).
55077 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55079         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55081 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55083         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55084         (CFLAGS-nldbl-acos.c): New variable.
55085         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55086         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55087         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55088         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55089         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55090         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55091         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55092         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55093         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55094         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55095         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55096         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55097         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55098         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55099         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55100         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55101         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55102         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55103         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55104         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55105         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55106         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55107         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55108         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55109         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55110         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55111         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55112         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55113         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55114         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55115         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55116         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55117         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55118         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55119         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55120         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55121         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55122         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55123         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55124         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55125         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55126         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55127         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55128         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55129         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55130         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55131         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55132         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55133         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55134         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55135         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55136         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55137         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55138         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55139         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55140         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55141         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55142         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55143         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55144         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55145         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55146         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55147         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55148         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55149         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55150         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55151         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55152         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55153         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55154         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55155         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55156         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55157         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55158         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55159         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55160         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55161         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55162         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55163         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55164         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55165         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55166         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55167         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55168         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55169         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55170         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55171         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55172         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55173         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55174         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55175         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55176         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55177         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55178         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55179         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55180         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55181         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55184         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55186         [BZ #14914]
55187         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55188         whole low double instead of just low 47 bits when splitting values
55189         into two parts.
55191 2012-12-03  Allan McRae  <allan@archlinux.org>
55193         * manual/stdio.texi (Predefined Printf Handlers): Remove
55194         @hsep and @vsep usage.
55196 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55198         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55199         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55201 2012-12-03  Jeff Law  <law@redhat.com>
55203         * time/sys/time.h (settimeofday): Do not mark TV argument
55204         as __nonnull.
55206 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55208         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55209         when currently writing and seek to current position when not.
55210         * libio/Makefile (tests): Remove bug-fclose1.
55211         * libio/bug-fclose1.c: Delete.
55213 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55215         * manual/arith.texi (feenableexcept): Fix typo.
55216         (fedisableexcept): Likewise.
55218 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55220         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55221         second, differently-typed declaration, rather than a cast.
55223 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55225         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55226         * include/rpc/svc.h: ... here.
55228 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55230         [BZ #13013]
55231         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55232         depending n and resplen2 to catch cases where answer
55233         equals answerp2.
55235 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55237         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55238         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55240 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55242         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55244 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55246         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55248 2012-11-28  Jeff Law  <law@redhat.com>
55250         [BZ #13761]
55251         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55252         dataset_temporary.  Track alloca usage into alloca_used.
55253         If dataset is large allocate and release it via malloc/free.
55255 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55257         [BZ #14197]
55258         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55260 2012-11-28  David S. Miller  <davem@davemloft.net>
55262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55264 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55266         [BZ #14803]
55267         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55268         of pi/2 rounded to nearest to 64 bits.
55269         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55270         nearest to 64 bits.
55271         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55272         bits.
55274 2012-11-28  Jeff Law <law@redhat.com>
55275             Martin Osvald <mosvald@redhat.com>
55277         [BZ #14889]
55278         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55279         * sunrpc/svc.c: Include time.h.
55280         (__svc_accept_failed): New function.
55281         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55282         any reason other than EINTR, call __svc_accept_failed.
55283         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55284         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55286 2012-11-28  Andreas Schwab  <schwab@suse.de>
55288         * scripts/abilist.awk: Also handle indirect functions in .opd
55289         section.
55291 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55293         [BZ #13881]
55294         * sysdeps/x86/fpu/powl_helper.c: New file.
55295         * sysdeps/x86/fpu/Makefile: Likewise.
55296         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55297         (p3): New object.
55298         (__ieee754_powl): Use __powl_helper for finite arguments except
55299         integer exponents below 8.
55300         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55301         (p3): New object.
55302         (__ieee754_powl): Use __powl_helper for finite arguments except
55303         integer exponents below 8.
55304         * math/libm-test.inc (pow_test): Add more tests and enable some
55305         previously disabled tests.
55306         * sysdeps/i386/fpu/libm-test-ulps: Update.
55307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55309 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55310             Carlos O'Donell  <carlos_odonell@mentor.com>
55312         * nss/makedb.c (is_prime): Assert that input is odd and greater
55313         than 4.  Note that fact in a comment too.
55314         (next_prime): Add 4 to input.
55316 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55318         [BZ #11741]
55319         * libio/Makefile (tests): Add test case tst-fwrite-error.
55320         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55321         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55322         * libio/tst-fwrite-error.c: New test case.
55324 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55326         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55327         before casting to void *.
55328         * include/libc-internal.h (__pointer_type): New macro.
55329         (__integer_if_pointer_type_sub): Likewise.
55330         (__integer_if_pointer_type): Likewise.
55331         (cast_to_integer): Likewise.
55332         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55333         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55334         before casting to atomic64_t.
55335         (atomic_exchange_acq): Likewise.
55336         (__arch_exchange_and_add_body): Likewise.
55337         (__arch_add_body): Likewise.
55338         (atomic_add_negative): Likewise.
55339         (atomic_add_zero): Likewise.
55341 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55343         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55344         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55345         (add_fdes): Likewise.
55346         (linear_search_fdes): Likewise.
55347         (binary_search_unencoded_fdes): Likewise.
55349 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55351         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55353 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55355         * configure.in: Autodetect C++ header directories.
55356         * configure: Regenerated.
55358 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55360         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55362 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55366 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55368         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55369         LDBL_MANT_DIG == 106]: Disable some tests.
55370         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55371         Likewise.
55372         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55373         Likewise.
55375         [BZ #14871]
55376         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55377         input for small inputs.  Return +/- pi/2 for large inputs.
55378         * math/libm-test.inc (atan_test): Add more tests.
55380         * sysdeps/generic/unwind-dw2-fde-glibc.c
55381         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55382         __attribute__ ((unused)).
55384         [BZ #14645]
55385         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55386         x * y if x and y are nonzero and z is zero.
55388         [BZ #14811]
55389         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55390         nonzero exponents with absolute value below 0x1p-117 to +/-
55391         0x1p-117.
55393         [BZ #14869]
55394         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55395         up arguments below 2**-450, not just those below 2**-500.
55396         * math/libm-test.inc (hypot_test): Add another test.
55398         [BZ #14868]
55399         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55400         Return a+b for ratio over 2**120, not 2**60.
55401         * math/libm-test.inc (hypot_test): Add another test.
55403         * math/libm-test.inc (clog_test): Use
55404         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55405         (clog10_test): Likewise.
55407         [BZ #6778]
55408         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55410 2012-11-22  Andreas Schwab  <schwab@suse.de>
55412         * sysdeps/i386/fpu/libm-test-ulps: Update.
55414 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55416         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55417         printf output with newline.
55419 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55421         [BZ #14865]
55422         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55423         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55424         -z nodlopen, -z initfirst and -z execstack support.
55425         * configure: Regenerated.
55427         * elf/elf.h (DF_1_NODIRECT): New macro.
55428         (DF_1_IGNMULDEF): Likewise.
55429         (DF_1_NOKSYMS): Likewise.
55430         (DF_1_NOHDR): Likewise.
55431         (DF_1_EDITED): Likewise.
55432         (DF_1_NORELOC): Likewise.
55433         (DF_1_SYMINTPOSE): Likewise.
55434         (DF_1_GLOBAUDIT): Likewise.
55435         (DF_1_SINGLETON): Likewise.
55436         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55437         DT_1_SUPPORTED_MASK bits.
55438         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55440 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55442         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55444 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55446         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55447         macro.
55449         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55450         (sendmmsg): Move declarations...
55451         * socket/sys/socket.h: ... here.
55452         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55453         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55454         include it from...
55455         * socket/recvmmsg.c: ... this new file.
55456         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55457         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55458         definition of __sendmmsg hidden.
55459         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55460         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55461         Move ENOSYS stub into and include it from...
55462         * socket/sendmmsg.c: ... this new file.
55463         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55464         (sysdep_routines): Move recvmmsg and sendmmsg...
55465         * socket/Makefile (routines): ... here.
55466         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55467         (GLIBC_PRIVATE): Add __sendmmsg.
55468         * include/sys/socket.h (__sendmmsg): Add declarations.
55469         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55470         sendmmsg.
55472 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55474         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55475         variable I1 with __attribute__ ((unused)).
55476         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55478 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55480         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55481         DUMMY variables with __attribute__ ((unused)).
55483         * bits/byteswap.h: Include <bits/types.h>.
55484         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55486 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55488         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55489         string_t.  Do not manually set errno.
55490         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55491         length with __strnlen.  Make sure to both set errno and return it on
55492         failure.
55494 2012-11-19  David S. Miller  <davem@davemloft.net>
55496         With help from Joseph Myers.
55497         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55498         very large arguments properly.
55499         * math/libm-test.inc (atan_test): New tests.
55500         (atan2_test): New tests.
55501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55504 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55506         [BZ #14856]
55507         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55508         Define to 3.
55510         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55511         [POSIX] (EADDRNOTAVAIL): Likewise.
55512         [POSIX] (EAFNOSUPPORT): Likewise.
55513         [POSIX] (EALREADY): Likewise.
55514         [POSIX] (ECONNABORTED): Likewise.
55515         [POSIX] (ECONNREFUSED): Likewise.
55516         [POSIX] (ECONNRESET): Likewise.
55517         [POSIX] (EDESTADDRREQ): Likewise.
55518         [POSIX] (EDQUOT): Likewise.
55519         [POSIX] (EHOSTUNREACH): Likewise.
55520         [POSIX] (EIDRM): Likewise.
55521         [POSIX] (EISCONN): Likewise.
55522         [POSIX] (ELOOP): Likewise.
55523         [POSIX] (EMULTIHOP): Likewise.
55524         [POSIX] (ENETDOWN): Likewise.
55525         [POSIX] (ENETUNREACH): Likewise.
55526         [POSIX] (ENOBUFS): Likewise.
55527         [POSIX] (ENODATA): Likewise.
55528         [POSIX] (ENOLINK): Likewise.
55529         [POSIX] (ENOMSG): Likewise.
55530         [POSIX] (ENOPROTOOPT): Likewise.
55531         [POSIX] (ENOSR): Likewise.
55532         [POSIX] (ENOSTR): Likewise.
55533         [POSIX] (ENOTCONN): Likewise.
55534         [POSIX] (ENOTSOCK): Likewise.
55535         [POSIX] (EOPNOTSUPP): Likewise.
55536         [POSIX] (EOVERFLOW): Likewise.
55537         [POSIX] (EPROTO): Likewise.
55538         [POSIX] (EPROTONOSUPPORT): Likewise.
55539         [POSIX] (EPROTOTYPE): Likewise.
55540         [POSIX] (ESTALE): Likewise.
55541         [POSIX] (ETIME): Likewise.
55542         [POSIX] (ETXTBSY): Likewise.
55543         [POSIX] (EWOULDBLOCK): Likewise.
55544         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55545         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55546         [POSIX] (SEEK_CUR): Likewise.
55547         [POSIX] (SEEK_END): Likewise.
55548         [POSIX || UNIX98] (mode_t): Do not require.
55549         [POSIX] (off_t): Likewise.
55550         [POSIX] (pid_t): Likewise.
55551         [POSIX] (sys/stat.h): Do not allow header.
55552         [POSIX] (unistd.h): Likewise.
55553         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55554         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55555         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55556         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55557         require.
55558         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55559         sigevent): Specify elements.
55560         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55561         entry.
55562         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55563         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55565         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55566         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55567         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55568         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55569         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55570         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55571         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55572         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55573         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55574         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55575         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55576         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55577         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55578         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55579         Likewise.
55580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55581         Likewise.
55582         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55583         Likewise.
55584         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55585         Likewise.
55586         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55587         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55588         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55590         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55591         Specify lower bound on value.
55592         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55593         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55594         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55595         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55596         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55597         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55598         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55599         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55600         value.
55601         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55602         as optional.
55603         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55604         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55605         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55606         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55607         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55608         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55609         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55610         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55611         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55612         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55613         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55614         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55615         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55616         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55617         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55618         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55619         entry.
55620         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55621         optional.
55622         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55623         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55624         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55625         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55626         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55627         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55628         Likewise.
55629         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55630         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55631         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55632         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55633         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55634         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55635         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55636         as optional.
55637         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55638         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55640         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55641         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55642         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55643         specify as optional.
55644         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55645         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55646         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55647         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55648         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55649         [XPG3] (NL_LANGMAX): Likewise.
55650         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55651         [POSIX || XPG3] (NL_NMAX): Likewise.
55652         [POSIX || XPG3] (NL_SETMAX): Likewise.
55653         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55654         [XPG3] (NZERO): Likewise.
55655         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55656         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55657         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55658         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55659         (REG_ERANGE): Expect.
55660         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55661         optional-constant.
55662         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55663         Use (void) in prototype.
55664         [POSIX] (*_t): Allow.
55665         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55666         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55667         (WRDE_BADVAL): Expect.
55669         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55670         expect.
55671         [XPG3 || XPG4] (O_RSYNC): Likewise.
55672         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55673         Likewise.
55674         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55675         [XPG3 || XPG4] (sigqueue): Likewise.
55676         [XPG3 || XPG4] (sigtimedwait): Likewise.
55677         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55678         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55679         [XPG3 || XPG4] (vsnprintf): Likewise.
55680         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55681         Likewise.
55682         [XPG3 || XPG4] (blksize_t): Likewise.
55683         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55684         Likewise.
55685         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55686         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55687         [XPG3 || XPG4] (struct itimerspec): Likewise.
55688         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55689         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55690         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55691         [XPG3 || XPG4] (clockid_t): Likewise.
55692         [XPG3 || XPG4] (timer_t): Likewise.
55693         [XPG3 || XPG4] (clock_getres): Likewise.
55694         [XPG3 || XPG4] (clock_gettime): Likewise.
55695         [XPG3 || XPG4] (clock_settime): Likewise.
55696         [XPG3 || XPG4] (nanosleep): Likewise.
55697         [XPG3 || XPG4] (timer_create): Likewise.
55698         [XPG3 || XPG4] (timer_delete): Likewise.
55699         [XPG3 || XPG4] (timer_gettime): Likewise.
55700         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55701         [XPG3 || XPG4] (timer_settime): Likewise.
55702         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55703         [XPG3 || XPG4] (getlogin_r): Likewise.
55704         [XPG3 || XPG4] (pread): Likewise.
55705         [XPG3 || XPG4] (pthread_atfork): Likewise.
55706         [XPG3 || XPG4] (pwrite): Likewise.
55708         [BZ #14835]
55709         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55710         <bits/siginfo.h>.
55712 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55714         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55715         finalizing MALLSTREAM.
55717         * sysdeps/mach/hurd/syncfs.c: New file.
55719 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55721         [BZ #14719]
55722         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55723         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55724         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55725         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55726         (_nss_dns_gethostbyname4_r): Likewise.
55727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55728         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55730 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55732         [BZ #13763]
55733         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55735 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55737         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55738         * elf/cache.c (print_entry): Print ",AArch64" for
55739         FLAG_AARCH64_LIB64
55741         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55742         * elf/cache.c (print_entry): Print ",hard-float" for
55743         FLAG_ARM_LIBHF.
55745 2012-11-18  David S. Miller  <davem@davemloft.net>
55747         With help from Joseph Myers.
55748         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55749         cutoff to 2**-13.
55750         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55751         cutoff to 2**-25.
55752         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55753         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55754         small.
55755         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55756         * math/libm-test.inc (y0_test): New tests.
55757         (y1_test): New tests.
55758         * sysdeps/i386/fpu/libm-test-ulps: Update.
55759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55762 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55764         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55765         64-bit targets.
55766         * configure: Regenerated.
55768 2012-11-17  David S. Miller  <davem@davemloft.net>
55770         [BZ #14811]
55771         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55772         nonzero exponents with absolute value below 0x1p-128 to +/-
55773         0x1p-128.
55775 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55777         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55779         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55781         * posix/getconf-speclist.c: New file.
55782         * posix/posix-envs.def: Likewise.
55783         * posix/confstr.c (START_ENV_GROUP): New macro.
55784         (END_ENV_GROUP): Likewise.
55785         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55786         (KNOWN_PRESENT_ENV_STRING): Likewise.
55787         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55788         (UNKNOWN_ENVIRONMENT): Likewise.
55789         (confstr): Include posix-envs.def instead of handling
55790         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55791         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55792         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55793         (END_ENV_GROUP): Likewise.
55794         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55795         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55796         (UNKNOWN_ENVIRONMENT): Likewise.
55797         (__sysconf): Include posix-envs.def instead of handling associated
55798         cases directly here.
55799         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55800         preprocessing getconf-speclist.c rather than running getconf or
55801         generating empty file.
55803 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55805         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55807 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55809         [BZ #14672]
55810         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55812 2012-11-16  David S. Miller  <davem@davemloft.net>
55814         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55815         smaller than LDBL_EPSILON/2.0L, just return xm1.
55817 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55819         * elf/tst-array1.c (init): Set constructor priority to 1000.
55820         (fini): Set destructor priority to 1000.
55821         * elf/tst-array2dep.c: Likewise.
55823 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55825         [BZ #11741]
55826         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55827         (_IO_new_file_xsputn): Also return EOF if none of the input
55828         data was written when overflow failed.
55829         * libio/iopadn.c (_IO_padn): Likewise.
55830         * libio/iowpadn.c (_IO_wpadn): Likewise.
55831         * stdio-common/tst-put-error.c: Add copyright notice.
55832         (do_test): Add case for printing padded string.
55833         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55834         _IO_padn returned error.
55835         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55836         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55837         return EOF.
55839 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55841         * libio/libioP.h: Add comment note that the references to C++
55842         bits are now obsolete.
55844 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55846         * math/libm-test.inc (check_complex): Use asprintf.
55848 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55850         * debug/pcprofiledump.c (print_version): Update copyright year.
55851         * malloc/memusagestat.c (print_version): Likewise.
55853 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55855         [BZ #14831]
55856         * elf/Makefile (tests): Add tst-audit8.
55857         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55858         ($(objpfx)tst-audit8.out): New target.
55859         (tst-audit8-ENV): New variable.
55860         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55861         audit if l_reloc_result is NULL.
55862         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55863         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55864         * elf/tst-audit8.c: New file.
55866 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55868         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55869         * misc/Makefile (CFLAGS-select.c): Define.
55870         * posix/Makefile (CFLAGS-pause.c): Define.
55872 2012-11-13  David S. Miller  <davem@davemloft.net>
55874         * crypt/Makefile: Move test targets after toplevel Rules
55875         inclusion.  Grab any necessary sysdep routines when linking.
55876         * crypt/md5.c (md5_process_block): Remove define, we will always
55877         name it __md5_process_block.
55878         (md5_finish_ctx): Update md5_process_block call.
55879         (md5_stream): Likewise.
55880         (md5_process_bytes): Likewise.
55881         (md5_process_block): Rename to __md5_process_block and move to ...
55882         * crypt/md5-block.c: ... here.
55883         * crypt/sha256.c (sha256_process_block): Move to ...
55884         * crypt/sha256-block.c: ... here.
55885         * crypt/sha512.c (sha512_process_block): Move to ...
55886         * crypt/sha512-block.c: ... here.
55887         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55888         path.
55889         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55890         * sysdeps/sparc/sparc64/multiarch/Makefile
55891         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55892         crypt subdir.
55893         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55894         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55895         multiarch changes.
55896         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55897         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55898         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55899         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55900         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55901         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55902         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55903         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55904         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55905         file.
55906         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55907         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55908         file.
55909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55911 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55913         * timezone/tzselect.ksh: Update from tzcode git revision
55914         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55915         * timezone/zdump.c: Likewise.
55916         * timezone/zic.c: Likewise.
55917         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55918         in TZVERSION setting, not $(PKGVERSION).
55919         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55920         REPORT_BUGS_TO settings.
55922         [BZ #14838]
55923         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55924         macro.
55926 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55928         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55929         detection to immediately after _FP_ROUND().
55930         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55931         bits are 0.
55933 2012-11-11  David S. Miller  <davem@davemloft.net>
55935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55936         inttypes.h
55937         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55938         __close rather than their public counterparts.
55940 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55942         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55943         file.
55944         [UNIX98] (sem_timedwait): Do not expect.
55945         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55946         [XPG4 || UNIX98] (sockatmark): Do not expect.
55947         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55948         (clock_getcpuclockid): Do not expect.
55949         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55950         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55951         Do not expect.
55952         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55953         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55954         [UNIX98] (vwscanf): Likewise.
55955         [UNIX98] (vswscanf): Likewise.
55957 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55959         * timezone/version.h: Remove file.
55960         * timezone/README: Do not refer to version.h.
55961         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55962         $(objpfx)version.h.
55963         ($(objpfx)zdump.o): Likewise.
55964         ($(objpfx)version.h): New target.
55966         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55967         2012i.
55968         * timezone/README: Don't mention modification to tzselect.ksh.
55969         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55970         work on unmodified tzselect.ksh.  Substitute version numbers in
55971         tzselect.ksh.
55973         * Makefile (format-me): Remove.
55974         (INSTALL): Adjust indentation.  Use commands directly instead of
55975         using $(format-me).
55977         * aclocal.m4 (ACX_PKGVERSION): New macro.
55978         (ACX_BUGURL): Likewise.
55979         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55980         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55981         (REPORT_BUGS_TO): Likewise.
55982         * configure: Regenerated.
55983         * config.h.in (PKGVERSION): New macro.
55984         (REPORT_BUGS_TO): Likewise.
55985         * config.make.in (PKGVERSION): New variable.
55986         (PKGVERSION_TEXI): Likewise.
55987         (REPORT_BUGS_TO): Likewise.
55988         (REPORT_BUGS_TEXI): Likewise.
55989         * Makefile (format-me): Use -I$(common-objpfx)manual.
55990         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55991         ($(common-objpfx)manual/%): New target.
55992         (manual/%): Remove target.
55993         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55994         (print_version): Use PKGVERSION.
55995         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55996         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55997         and REPORT_BUGS_TO.
55998         ($(objpfx)xtrace): Likewise.
55999         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56000         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56001         (print_version): Use PKGVERSION.
56002         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56003         (do_version): Use PKGVERSION.
56004         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56005         REPORT_BUGS_TO.
56006         (common-ldd-rewrite): Likewise.
56007         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56008         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56009         (print_version): Use PKGVERSION.
56010         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56011         * elf/pldd.c (argp_program_bug_address): Remove variable.
56012         (more_help): New function.
56013         (argp): Use more_help.
56014         (print_version): Use PKGVERSION.
56015         * elf/sln.c (main): Use PKGVERSION.
56016         (usage): Use REPORT_BUGS_TO.
56017         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56018         (top level): Use PKGVERSION.
56019         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56020         (print_version): Use PKGVERSION.
56021         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56022         (print_version): Use PKGVERSION.
56023         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56024         (print_version): Use PKGVERSION.
56025         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56026         (print_version): Use PKGVERSION.
56027         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56028         (print_version): Use PKGVERSION.
56029         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56030         (print_version): Use PKGVERSION.
56031         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56032         and BUGURL.
56033         ($(objpfx)memusage): Likewise.
56034         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56035         (do_version): Use PKGVERSION.
56036         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56037         (print_version): Use PKGVERSION.
56038         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56039         ($PKGVERSION): New variable.
56040         ($REPORT_BUGS_TO): Likewise.
56041         (usage): Use $REPORT_BUGS_TO.
56042         (top level): Use $PKGVERSION.
56043         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56044         ($(objpfx)pkgvers.texi): New rule.
56045         ($(objpfx)stamp-pkgvers): Likewise.
56046         * manual/install.texi: Include pkgvers.texi.
56047         (--with-pkgversion): Document new configure option.
56048         (--with-bugurl): Likewise.
56049         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56050         than necessarily for this particular distribution.  Use
56051         REPORT_BUGS_TO for where to report bugs.
56052         * INSTALL: Regenerated.
56053         * manual/libc.texinfo: Include pkgvers.texi.
56054         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56055         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56056         (print_version): Use PKGVERSION.
56057         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56058         (print_version): Use PKGVERSION.
56059         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56060         (print_version): Use PKGVERSION.
56061         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56062         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56063         macro.
56064         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56065         (print_version): Use PKGVERSION.
56066         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56067         (print_version): Use PKGVERSION.
56068         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56069         and PKGVERSION.
56071         * timezone/checktab.awk: Update from tzcode 2012i.
56072         * timezone/ialloc.c: Likewise.
56073         * timezone/private.h: Likewise.
56074         * timezone/scheck.c: Likewise.
56075         * timezone/tzfile.h: Likewise.
56076         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56077         (TZVERSION): Hardcode tzcode version number.
56078         * timezone/zdump.c: Update from tzcode 2012i.
56079         * timezone/zic.c: Likewise.
56080         * timezone/version.h: New file.
56081         * timezone/README: Describe version.h.  Update upstream location.
56083         [BZ #14824]
56084         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56085         (mktemp): Enable declaration.
56086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56090         Likewise.
56091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56092         Likewise.
56093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56094         Likewise.
56095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56096         Likewise.
56097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56098         Likewise.
56099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56100         Likewise.
56102         [BZ #14821]
56103         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56104         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56105         for copies of such integer values.
56106         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56107         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56109 2012-11-09  Andreas Jaeger  <aj@suse.de>
56111         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56112         definitions and declarations that are provided by
56113         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56115 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56117         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56118         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56119         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56120         definition.
56122 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56124         * elf/elf.h: Update comment before AArch64 relocations.
56126 2012-11-07  David S. Miller  <davem@davemloft.net>
56128         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56129         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56130         (__start_context): Declare.
56131         (__makecontext_ret): Delete.
56132         (__makecontext): Hook up __start_context instead of
56133         __makecontext_ret.
56134         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56135         (sysdep_routines): Add __start_context when in stdlib.
56137 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56139         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56140         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56141         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56142         hardcoded "nm".
56143         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56144         (READELF): New variable.  Use it instead of hardcoded "readelf".
56146 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56148         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56149         * sysdeps/x86/Makefile: Here.
56150         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56151         * sysdeps/x86/tst-xmmymm.sh: This.
56153 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56155         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56156         expectations.
56157         [UNIX98] (pthread_barrier_t): Do not expect.
56158         [UNIX98] (pthread_barrierattr_t): Likewise.
56159         [UNIX98] (pthread_spinlock_t): Likewise.
56160         [UNIX98] (pthread_barrier_destroy): Likewise.
56161         [UNIX98] (pthread_barrier_init): Likewise.
56162         [UNIX98] (pthread_barrier_wait): Likewise.
56163         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56164         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56165         [UNIX98] (pthread_barrierattr_init): Likewise.
56166         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56167         [UNIX98] (pthread_getcpuclockid): Likewise.
56168         [UNIX98] (pthread_mutex_timedlock): Likewise.
56169         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56170         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56171         [UNIX98] (pthread_sigmask): Likewise.
56172         [UNIX98] (pthread_spin_destroy): Likewise.
56173         [UNIX98] (pthread_spin_init): Likewise.
56174         [UNIX98] (pthread_spin_lock): Likewise.
56175         [UNIX98] (pthread_spin_trylock): Likewise.
56176         [UNIX98] (pthread_spin_unlock): Likewise.
56177         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56178         Do not expect.
56179         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56180         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56181         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56182         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56183         [XPG3 || XPG4] (pthread_key_t): Likewise.
56184         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56185         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56186         [XPG3 || XPG4] (pthread_once_t): Likewise.
56187         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56188         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56189         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56190         [XPG3 || XPG4] (pthread_t): Likewise.
56192         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56193         not expect.
56194         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56196         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56197         Change function return type to int.
56199         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56200         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56201         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56202         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56203         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56204         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56205         [!POSIX] (posix_madvise): Likewise.
56206         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56207         && !UNIX98].
56208         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56209         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56210         (mode_t): Likewise.
56211         (posix_mem_offset): Likewise.
56212         (posix_typed_mem_get_info): Likewise.
56213         (posix_typed_mem_open): Likewise.
56215         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56216         Change condition to [XOPEN2K8].
56218         * conform/conformtest.pl: Preprocess allow-header data with -x c
56219         instead of from stdin.
56220         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56221         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56222         [C99-based standards] (cerfc): Likewise.
56223         [C99-based standards] (cexp2): Likewise.
56224         [C99-based standards] (cexpm1): Likewise.
56225         [C99-based standards] (clog10): Likewise.
56226         [C99-based standards] (clog1p): Likewise.
56227         [C99-based standards] (clog2): Likewise.
56228         [C99-based standards] (clgamma): Likewise.
56229         [C99-based standards] (ctgamma): Likewise.
56230         [C99-based standards] (cerff): Likewise.
56231         [C99-based standards] (cerfcf): Likewise.
56232         [C99-based standards] (cexp2f): Likewise.
56233         [C99-based standards] (cexpm1f): Likewise.
56234         [C99-based standards] (clog10f): Likewise.
56235         [C99-based standards] (clog1pf): Likewise.
56236         [C99-based standards] (clog2f): Likewise.
56237         [C99-based standards] (clgammaf): Likewise.
56238         [C99-based standards] (ctgammaf): Likewise.
56239         [C99-based standards] (cerfl): Likewise.
56240         [C99-based standards] (cerfcl): Likewise.
56241         [C99-based standards] (cexp2l): Likewise.
56242         [C99-based standards] (cexpm1l): Likewise.
56243         [C99-based standards] (clog10l): Likewise.
56244         [C99-based standards] (clog1pl): Likewise.
56245         [C99-based standards] (clog2l): Likewise.
56246         [C99-based standards] (clgammal): Likewise.
56247         [C99-based standards] (ctgammal): Likewise.
56248         * conform/data/inttypes.h-data [C99-based standards]: Include
56249         stdint.h-data.  Remove all expectations for stdint.h contents.
56250         [C99-based standards] (PRI*): Do not allow.
56251         [C99-based standards] (SCN*): Likewise.
56252         [C99-based standards] (*_t): Likewise.
56253         [C99-based-standards] (PRId8): Expect macro.
56254         [C99-based-standards] (PRIi8): Likewise.
56255         [C99-based-standards] (PRIo8): Likewise.
56256         [C99-based-standards] (PRIu8): Likewise.
56257         [C99-based-standards] (PRIx8): Likewise.
56258         [C99-based-standards] (PRIX8): Likewise.
56259         [C99-based-standards] (SCNd8): Likewise.
56260         [C99-based-standards] (SCNi8): Likewise.
56261         [C99-based-standards] (SCNo8): Likewise.
56262         [C99-based-standards] (SCNu8): Likewise.
56263         [C99-based-standards] (SCNx8): Likewise.
56264         [C99-based-standards] (PRIdLEAST8): Likewise.
56265         [C99-based-standards] (PRIiLEAST8): Likewise.
56266         [C99-based-standards] (PRIoLEAST8): Likewise.
56267         [C99-based-standards] (PRIuLEAST8): Likewise.
56268         [C99-based-standards] (PRIxLEAST8): Likewise.
56269         [C99-based-standards] (PRIXLEAST8): Likewise.
56270         [C99-based-standards] (SCNdLEAST8): Likewise.
56271         [C99-based-standards] (SCNiLEAST8): Likewise.
56272         [C99-based-standards] (SCNoLEAST8): Likewise.
56273         [C99-based-standards] (SCNuLEAST8): Likewise.
56274         [C99-based-standards] (SCNxLEAST8): Likewise.
56275         [C99-based-standards] (PRIdFAST8): Likewise.
56276         [C99-based-standards] (PRIiFAST8): Likewise.
56277         [C99-based-standards] (PRIoFAST8): Likewise.
56278         [C99-based-standards] (PRIuFAST8): Likewise.
56279         [C99-based-standards] (PRIxFAST8): Likewise.
56280         [C99-based-standards] (PRIXFAST8): Likewise.
56281         [C99-based-standards] (SCNdFAST8): Likewise.
56282         [C99-based-standards] (SCNiFAST8): Likewise.
56283         [C99-based-standards] (SCNoFAST8): Likewise.
56284         [C99-based-standards] (SCNuFAST8): Likewise.
56285         [C99-based-standards] (SCNxFAST8): Likewise.
56286         [C99-based-standards] (PRId16): Likewise.
56287         [C99-based-standards] (PRIi16): Likewise.
56288         [C99-based-standards] (PRIo16): Likewise.
56289         [C99-based-standards] (PRIu16): Likewise.
56290         [C99-based-standards] (PRIx16): Likewise.
56291         [C99-based-standards] (PRIX16): Likewise.
56292         [C99-based-standards] (SCNd16): Likewise.
56293         [C99-based-standards] (SCNi16): Likewise.
56294         [C99-based-standards] (SCNo16): Likewise.
56295         [C99-based-standards] (SCNu16): Likewise.
56296         [C99-based-standards] (SCNx16): Likewise.
56297         [C99-based-standards] (PRIdLEAST16): Likewise.
56298         [C99-based-standards] (PRIiLEAST16): Likewise.
56299         [C99-based-standards] (PRIoLEAST16): Likewise.
56300         [C99-based-standards] (PRIuLEAST16): Likewise.
56301         [C99-based-standards] (PRIxLEAST16): Likewise.
56302         [C99-based-standards] (PRIXLEAST16): Likewise.
56303         [C99-based-standards] (SCNdLEAST16): Likewise.
56304         [C99-based-standards] (SCNiLEAST16): Likewise.
56305         [C99-based-standards] (SCNoLEAST16): Likewise.
56306         [C99-based-standards] (SCNuLEAST16): Likewise.
56307         [C99-based-standards] (SCNxLEAST16): Likewise.
56308         [C99-based-standards] (PRIdFAST16): Likewise.
56309         [C99-based-standards] (PRIiFAST16): Likewise.
56310         [C99-based-standards] (PRIoFAST16): Likewise.
56311         [C99-based-standards] (PRIuFAST16): Likewise.
56312         [C99-based-standards] (PRIxFAST16): Likewise.
56313         [C99-based-standards] (PRIXFAST16): Likewise.
56314         [C99-based-standards] (SCNdFAST16): Likewise.
56315         [C99-based-standards] (SCNiFAST16): Likewise.
56316         [C99-based-standards] (SCNoFAST16): Likewise.
56317         [C99-based-standards] (SCNuFAST16): Likewise.
56318         [C99-based-standards] (SCNxFAST16): Likewise.
56319         [C99-based-standards] (PRId32): Likewise.
56320         [C99-based-standards] (PRIi32): Likewise.
56321         [C99-based-standards] (PRIo32): Likewise.
56322         [C99-based-standards] (PRIu32): Likewise.
56323         [C99-based-standards] (PRIx32): Likewise.
56324         [C99-based-standards] (PRIX32): Likewise.
56325         [C99-based-standards] (SCNd32): Likewise.
56326         [C99-based-standards] (SCNi32): Likewise.
56327         [C99-based-standards] (SCNo32): Likewise.
56328         [C99-based-standards] (SCNu32): Likewise.
56329         [C99-based-standards] (SCNx32): Likewise.
56330         [C99-based-standards] (PRIdLEAST32): Likewise.
56331         [C99-based-standards] (PRIiLEAST32): Likewise.
56332         [C99-based-standards] (PRIoLEAST32): Likewise.
56333         [C99-based-standards] (PRIuLEAST32): Likewise.
56334         [C99-based-standards] (PRIxLEAST32): Likewise.
56335         [C99-based-standards] (PRIXLEAST32): Likewise.
56336         [C99-based-standards] (SCNdLEAST32): Likewise.
56337         [C99-based-standards] (SCNiLEAST32): Likewise.
56338         [C99-based-standards] (SCNoLEAST32): Likewise.
56339         [C99-based-standards] (SCNuLEAST32): Likewise.
56340         [C99-based-standards] (SCNxLEAST32): Likewise.
56341         [C99-based-standards] (PRIdFAST32): Likewise.
56342         [C99-based-standards] (PRIiFAST32): Likewise.
56343         [C99-based-standards] (PRIoFAST32): Likewise.
56344         [C99-based-standards] (PRIuFAST32): Likewise.
56345         [C99-based-standards] (PRIxFAST32): Likewise.
56346         [C99-based-standards] (PRIXFAST32): Likewise.
56347         [C99-based-standards] (SCNdFAST32): Likewise.
56348         [C99-based-standards] (SCNiFAST32): Likewise.
56349         [C99-based-standards] (SCNoFAST32): Likewise.
56350         [C99-based-standards] (SCNuFAST32): Likewise.
56351         [C99-based-standards] (SCNxFAST32): Likewise.
56352         [C99-based-standards] (PRId64): Likewise.
56353         [C99-based-standards] (PRIi64): Likewise.
56354         [C99-based-standards] (PRIo64): Likewise.
56355         [C99-based-standards] (PRIu64): Likewise.
56356         [C99-based-standards] (PRIx64): Likewise.
56357         [C99-based-standards] (PRIX64): Likewise.
56358         [C99-based-standards] (SCNd64): Likewise.
56359         [C99-based-standards] (SCNi64): Likewise.
56360         [C99-based-standards] (SCNo64): Likewise.
56361         [C99-based-standards] (SCNu64): Likewise.
56362         [C99-based-standards] (SCNx64): Likewise.
56363         [C99-based-standards] (PRIdLEAST64): Likewise.
56364         [C99-based-standards] (PRIiLEAST64): Likewise.
56365         [C99-based-standards] (PRIoLEAST64): Likewise.
56366         [C99-based-standards] (PRIuLEAST64): Likewise.
56367         [C99-based-standards] (PRIxLEAST64): Likewise.
56368         [C99-based-standards] (PRIXLEAST64): Likewise.
56369         [C99-based-standards] (SCNdLEAST64): Likewise.
56370         [C99-based-standards] (SCNiLEAST64): Likewise.
56371         [C99-based-standards] (SCNoLEAST64): Likewise.
56372         [C99-based-standards] (SCNuLEAST64): Likewise.
56373         [C99-based-standards] (SCNxLEAST64): Likewise.
56374         [C99-based-standards] (PRIdFAST64): Likewise.
56375         [C99-based-standards] (PRIiFAST64): Likewise.
56376         [C99-based-standards] (PRIoFAST64): Likewise.
56377         [C99-based-standards] (PRIuFAST64): Likewise.
56378         [C99-based-standards] (PRIxFAST64): Likewise.
56379         [C99-based-standards] (PRIXFAST64): Likewise.
56380         [C99-based-standards] (SCNdFAST64): Likewise.
56381         [C99-based-standards] (SCNiFAST64): Likewise.
56382         [C99-based-standards] (SCNoFAST64): Likewise.
56383         [C99-based-standards] (SCNuFAST64): Likewise.
56384         [C99-based-standards] (SCNxFAST64): Likewise.
56385         [C99-based-standards] (PRIdMAX): Likewise.
56386         [C99-based-standards] (PRIiMAX): Likewise.
56387         [C99-based-standards] (PRIoMAX): Likewise.
56388         [C99-based-standards] (PRIuMAX): Likewise.
56389         [C99-based-standards] (PRIxMAX): Likewise.
56390         [C99-based-standards] (PRIXMAX): Likewise.
56391         [C99-based-standards] (SCNdMAX): Likewise.
56392         [C99-based-standards] (SCNiMAX): Likewise.
56393         [C99-based-standards] (SCNoMAX): Likewise.
56394         [C99-based-standards] (SCNuMAX): Likewise.
56395         [C99-based-standards] (SCNxMAX): Likewise.
56396         [C99-based-standards] (PRIdPTR): Likewise.
56397         [C99-based-standards] (PRIiPTR): Likewise.
56398         [C99-based-standards] (PRIoPTR): Likewise.
56399         [C99-based-standards] (PRIuPTR): Likewise.
56400         [C99-based-standards] (PRIxPTR): Likewise.
56401         [C99-based-standards] (PRIXPTR): Likewise.
56402         [C99-based-standards] (SCNdPTR): Likewise.
56403         [C99-based-standards] (SCNiPTR): Likewise.
56404         [C99-based-standards] (SCNoPTR): Likewise.
56405         [C99-based-standards] (SCNuPTR): Likewise.
56406         [C99-based-standards] (SCNxPTR): Likewise.
56407         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56408         allow.
56409         * conform/data/stdint.h-data: Update comments to clarify
56410         requirements.
56411         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56412         type.
56413         [C99-based standards] (INT8_MAX): Likewise.
56414         [C99-based standards] (INT16_MIN): Likewise.
56415         [C99-based standards] (INT16_MAX): Likewise.
56416         [C99-based standards] (INT32_MIN): Likewise.
56417         [C99-based standards] (INT32_MAX): Likewise.
56418         [C99-based standards] (INT64_MIN): Likewise.
56419         [C99-based standards] (INT64_MAX): Likewise.
56420         [C99-based standards] (UINT8_MAX): Likewise.
56421         [C99-based standards] (UINT16_MAX): Likewise.
56422         [C99-based standards] (UINT32_MAX): Likewise.
56423         [C99-based standards] (UINT64_MAX): Likewise.
56424         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56425         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56426         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56427         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56428         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56429         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56430         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56431         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56432         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56433         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56434         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56435         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56436         [C99-based standards] (INT_FAST8_MIN): Likewise.
56437         [C99-based standards] (INT_FAST8_MAX): Likewise.
56438         [C99-based standards] (INT_FAST16_MIN): Likewise.
56439         [C99-based standards] (INT_FAST16_MAX): Likewise.
56440         [C99-based standards] (INT_FAST32_MIN): Likewise.
56441         [C99-based standards] (INT_FAST32_MAX): Likewise.
56442         [C99-based standards] (INT_FAST64_MIN): Likewise.
56443         [C99-based standards] (INT_FAST64_MAX): Likewise.
56444         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56445         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56446         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56447         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56448         [C99-based standards] (INTPTR_MIN): Likewise.
56449         [C99-based standards] (INTPTR_MAX): Likewise.
56450         [C99-based standards] (UINTPTR_MAX): Likewise.
56451         [C99-based standards] (INTMAX_MIN): Likewise.
56452         [C99-based standards] (INTMAX_MAX): Likewise.
56453         [C99-based standards] (UINTMAX_MAX): Likewise.
56454         [C99-based standards] (PTRDIFF_MIN): Likewise.
56455         [C99-based standards] (PTRDIFF_MAX): Likewise.
56456         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56457         [C99-based standards] (SIZE_MAX): Likewise.
56458         [C99-based standards] (WCHAR_MAX): Likewise.
56459         [C99-based standards] (WINT_MAX): Likewise.
56460         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56461         constraint on value.
56462         [C99-based standards] (WCHAR_MIN): Likewise.
56463         [C99-based standards] (WINT_MIN): Likewise.
56464         [C99-based standards] (*_t): Allow.
56465         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56466         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56467         Include math.h-data and complex.h-data.  Remove all expectations
56468         of math.h and complex.h contents.
56469         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56470         at end of line.
56471         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56472         (struct tm): Expect tag.
56473         [C99-based-standards] (wcstof): Expect function.
56474         [C99-based-standards] (wcstold): Likewise.
56475         [C99-based-standards] (wcstoll): Likewise.
56476         [C99-based-standards] (wcstoull): Likewise.
56477         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56478         macro-int-constant.  Specify type.
56479         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56480         constraint on value.
56481         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56482         Specify type.
56483         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56484         Specify value.
56485         [ISO C standards]: Do not allow headers.
56486         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56487         wcs[abcdefghijklmnopqrstuvwxyz]*.
56488         [ISO C standards] (*_t): Do not allow.
56489         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56490         Expect function.
56491         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56492         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56493         Specify type.
56494         [ISO C standards]: Do not allow headers.
56495         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56496         is[abcdefghijklmnopqrstuvwxyz]*.
56497         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56498         to[abcdefghijklmnopqrstuvwxyz]*.
56499         [ISO C standards] (*_t): Do not allow.
56500         * conform/data/stdalign.h-data: New file.
56501         * conform/data/stdbool.h-data: Likewise.
56502         * conform/data/stdnoreturn.h-data: Likewise.
56504 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56506         [BZ #14815]
56507         * manual/filesys.texi (Directory Entries): Typo fix.
56508         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56510 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56512         * elf/elf.h (EM_AARCH64): New macro.
56513         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56514         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56515         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56516         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56517         (R_AARCH64_TLSDESC): Likewise.
56518         (NT_ARM_TLS): Likewise.
56519         (NT_ARM_HW_BREAK): Likewise.
56520         (NT_ARM_HW_WATCH): Likewise.
56522 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56524         [BZ #14811]
56525         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56526         (__ieee754_powl): Saturate nonzero exponents with absolute value
56527         below 0x1p-79 to +/- 0x1p-79.
56528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56529         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56530         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56531         nonzero exponents with absolute value below 0x1p-32 to +/-
56532         0x1p-32.
56533         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56534         (__ieee754_powl): Saturate nonzero exponents with absolute value
56535         below 0x1p-79 to +/- 0x1p-79.
56536         * math/libm-test.inc (pow_test): Add more tests.
56538 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56540         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56541         _dl_s390_cap_flags with kernel. Increase string length.
56542         (_dl_s390_platforms): Add z196 and zEC12.
56544 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56546         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56547         Change XOPEN21K to XOPEN2K.
56549 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56551         * string/memmove.c: Use memcpy when possible.
56553 2012-11-06  Andreas Jaeger  <aj@suse.de>
56555         * po/eo.po: Update from translation team.
56557 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56559         [BZ #14793]
56560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56561         exponent and small x and y exponents, scale x or y up.  Increase
56562         by 2 the exponent used in scaling up.
56563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56564         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56565         * math/libm-test.inc (fma_test): Add more tests.
56566         (fma_test_towardzero): Likewise.
56567         (fma_test_downward): Likewise.
56568         (fma_test_upward): Likewise.
56570 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56572         [BZ #14805]
56573         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56574         fenv_t *.
56576         [BZ #14801]
56577         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56578         namespace for names of struct fields.
56579         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56580         fenv_t fields.
56581         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56582         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56584 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56586         [BZ #3665]
56587         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56589 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56591         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56592         PTR_DEMANGLE.
56594         [BZ #5246]
56595         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56596         PTR_DEMANGLE.
56598 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56600         [BZ #14797]
56601         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56602         definitely overflow as x * y not x * y + z.
56603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56604         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56605         * math/libm-test.inc (fma_test): Add more tests.
56606         (fma_test_towardzero): Likewise.
56607         (fma_test_downward): Likewise.
56608         (fma_test_upward): Likewise.
56610 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56612         [BZ #157]
56614         * include/stub-tag.h: Remove file.
56615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56616         '#include' of it.
56617         * manual/maint.texi (Porting): Don't reference it.
56618         * Makerules ($(objpfx)stubs): Likewise.
56619         * dirent/closedir.c: Don't include <stub-tag.h>.
56620         * dirent/dirfd.c: Likewise.
56621         * dirent/fdopendir.c: Likewise.
56622         * dirent/getdents.c: Likewise.
56623         * dirent/getdents64.c: Likewise.
56624         * dirent/opendir.c: Likewise.
56625         * dirent/readdir.c: Likewise.
56626         * dirent/readdir64.c: Likewise.
56627         * dirent/readdir64_r.c: Likewise.
56628         * dirent/readdir_r.c: Likewise.
56629         * dirent/rewinddir.c: Likewise.
56630         * dirent/seekdir.c: Likewise.
56631         * dirent/telldir.c: Likewise.
56632         * gmon/profil.c: Likewise.
56633         * grp/setgroups.c: Likewise.
56634         * inet/if_index.c: Likewise.
56635         * io/access.c: Likewise.
56636         * io/chdir.c: Likewise.
56637         * io/chmod.c: Likewise.
56638         * io/chown.c: Likewise.
56639         * io/close.c: Likewise.
56640         * io/dup.c: Likewise.
56641         * io/dup2.c: Likewise.
56642         * io/dup3.c: Likewise.
56643         * io/euidaccess.c: Likewise.
56644         * io/faccessat.c: Likewise.
56645         * io/fchdir.c: Likewise.
56646         * io/fchmod.c: Likewise.
56647         * io/fchmodat.c: Likewise.
56648         * io/fchown.c: Likewise.
56649         * io/fchownat.c: Likewise.
56650         * io/fcntl.c: Likewise.
56651         * io/flock.c: Likewise.
56652         * io/fstatfs.c: Likewise.
56653         * io/fstatfs64.c: Likewise.
56654         * io/fstatvfs.c: Likewise.
56655         * io/fstatvfs64.c: Likewise.
56656         * io/futimens.c: Likewise.
56657         * io/fxstat.c: Likewise.
56658         * io/fxstat64.c: Likewise.
56659         * io/fxstatat.c: Likewise.
56660         * io/fxstatat64.c: Likewise.
56661         * io/getcwd.c: Likewise.
56662         * io/isatty.c: Likewise.
56663         * io/lchmod.c: Likewise.
56664         * io/lchown.c: Likewise.
56665         * io/link.c: Likewise.
56666         * io/linkat.c: Likewise.
56667         * io/lseek.c: Likewise.
56668         * io/lseek64.c: Likewise.
56669         * io/lxstat64.c: Likewise.
56670         * io/mkdir.c: Likewise.
56671         * io/mkdirat.c: Likewise.
56672         * io/mkfifo.c: Likewise.
56673         * io/mkfifoat.c: Likewise.
56674         * io/open.c: Likewise.
56675         * io/open64.c: Likewise.
56676         * io/openat.c: Likewise.
56677         * io/openat64.c: Likewise.
56678         * io/pipe.c: Likewise.
56679         * io/pipe2.c: Likewise.
56680         * io/poll.c: Likewise.
56681         * io/posix_fadvise.c: Likewise.
56682         * io/posix_fadvise64.c: Likewise.
56683         * io/posix_fallocate.c: Likewise.
56684         * io/posix_fallocate64.c: Likewise.
56685         * io/read.c: Likewise.
56686         * io/readlink.c: Likewise.
56687         * io/readlinkat.c: Likewise.
56688         * io/rmdir.c: Likewise.
56689         * io/sendfile.c: Likewise.
56690         * io/sendfile64.c: Likewise.
56691         * io/statfs.c: Likewise.
56692         * io/statfs64.c: Likewise.
56693         * io/statvfs.c: Likewise.
56694         * io/statvfs64.c: Likewise.
56695         * io/symlink.c: Likewise.
56696         * io/symlinkat.c: Likewise.
56697         * io/ttyname.c: Likewise.
56698         * io/ttyname_r.c: Likewise.
56699         * io/umask.c: Likewise.
56700         * io/unlink.c: Likewise.
56701         * io/unlinkat.c: Likewise.
56702         * io/utime.c: Likewise.
56703         * io/utimensat.c: Likewise.
56704         * io/write.c: Likewise.
56705         * io/xmknod.c: Likewise.
56706         * io/xmknodat.c: Likewise.
56707         * io/xstat.c: Likewise.
56708         * io/xstat64.c: Likewise.
56709         * login/getpt.c: Likewise.
56710         * login/grantpt.c: Likewise.
56711         * login/unlockpt.c: Likewise.
56712         * math/e_acoshl.c: Likewise.
56713         * math/e_acosl.c: Likewise.
56714         * math/e_asinl.c: Likewise.
56715         * math/e_atan2l.c: Likewise.
56716         * math/e_atanhl.c: Likewise.
56717         * math/e_coshl.c: Likewise.
56718         * math/e_expl.c: Likewise.
56719         * math/e_fmodl.c: Likewise.
56720         * math/e_gammal_r.c: Likewise.
56721         * math/e_hypotl.c: Likewise.
56722         * math/e_j0l.c: Likewise.
56723         * math/e_j1l.c: Likewise.
56724         * math/e_jnl.c: Likewise.
56725         * math/e_lgammal_r.c: Likewise.
56726         * math/e_log10l.c: Likewise.
56727         * math/e_log2l.c: Likewise.
56728         * math/e_logl.c: Likewise.
56729         * math/e_powl.c: Likewise.
56730         * math/e_rem_pio2l.c: Likewise.
56731         * math/e_sinhl.c: Likewise.
56732         * math/e_sqrtl.c: Likewise.
56733         * math/fclrexcpt.c: Likewise.
56734         * math/fedisblxcpt.c: Likewise.
56735         * math/feenablxcpt.c: Likewise.
56736         * math/fegetenv.c: Likewise.
56737         * math/fegetexcept.c: Likewise.
56738         * math/fegetround.c: Likewise.
56739         * math/feholdexcpt.c: Likewise.
56740         * math/fesetenv.c: Likewise.
56741         * math/fesetround.c: Likewise.
56742         * math/feupdateenv.c: Likewise.
56743         * math/fgetexcptflg.c: Likewise.
56744         * math/fraiseexcpt.c: Likewise.
56745         * math/fsetexcptflg.c: Likewise.
56746         * math/ftestexcept.c: Likewise.
56747         * math/k_cosl.c: Likewise.
56748         * math/k_rem_pio2l.c: Likewise.
56749         * math/k_sinl.c: Likewise.
56750         * math/k_tanl.c: Likewise.
56751         * math/s_asinhl.c: Likewise.
56752         * math/s_atanl.c: Likewise.
56753         * math/s_cbrtl.c: Likewise.
56754         * math/s_erfl.c: Likewise.
56755         * math/s_expm1l.c: Likewise.
56756         * math/s_log1pl.c: Likewise.
56757         * math/s_tanhl.c: Likewise.
56758         * misc/acct.c: Likewise.
56759         * misc/brk.c: Likewise.
56760         * misc/chflags.c: Likewise.
56761         * misc/chroot.c: Likewise.
56762         * misc/fchflags.c: Likewise.
56763         * misc/fgetxattr.c: Likewise.
56764         * misc/flistxattr.c: Likewise.
56765         * misc/fremovexattr.c: Likewise.
56766         * misc/fsetxattr.c: Likewise.
56767         * misc/fsync.c: Likewise.
56768         * misc/ftruncate.c: Likewise.
56769         * misc/futimes.c: Likewise.
56770         * misc/futimesat.c: Likewise.
56771         * misc/getdomain.c: Likewise.
56772         * misc/getdtsz.c: Likewise.
56773         * misc/gethostid.c: Likewise.
56774         * misc/gethostname.c: Likewise.
56775         * misc/getloadavg.c: Likewise.
56776         * misc/getpagesize.c: Likewise.
56777         * misc/getsysstats.c: Likewise.
56778         * misc/getxattr.c: Likewise.
56779         * misc/gtty.c: Likewise.
56780         * misc/ioctl.c: Likewise.
56781         * misc/lgetxattr.c: Likewise.
56782         * misc/listxattr.c: Likewise.
56783         * misc/llistxattr.c: Likewise.
56784         * misc/lremovexattr.c: Likewise.
56785         * misc/lsetxattr.c: Likewise.
56786         * misc/lutimes.c: Likewise.
56787         * misc/madvise.c: Likewise.
56788         * misc/mincore.c: Likewise.
56789         * misc/mlock.c: Likewise.
56790         * misc/mlockall.c: Likewise.
56791         * misc/mmap.c: Likewise.
56792         * misc/mprotect.c: Likewise.
56793         * misc/msync.c: Likewise.
56794         * misc/munlock.c: Likewise.
56795         * misc/munlockall.c: Likewise.
56796         * misc/munmap.c: Likewise.
56797         * misc/preadv.c: Likewise.
56798         * misc/preadv64.c: Likewise.
56799         * misc/ptrace.c: Likewise.
56800         * misc/pwritev.c: Likewise.
56801         * misc/pwritev64.c: Likewise.
56802         * misc/readv.c: Likewise.
56803         * misc/reboot.c: Likewise.
56804         * misc/remap_file_pages.c: Likewise.
56805         * misc/removexattr.c: Likewise.
56806         * misc/revoke.c: Likewise.
56807         * misc/select.c: Likewise.
56808         * misc/setdomain.c: Likewise.
56809         * misc/setegid.c: Likewise.
56810         * misc/seteuid.c: Likewise.
56811         * misc/sethostid.c: Likewise.
56812         * misc/sethostname.c: Likewise.
56813         * misc/setregid.c: Likewise.
56814         * misc/setreuid.c: Likewise.
56815         * misc/setxattr.c: Likewise.
56816         * misc/sstk.c: Likewise.
56817         * misc/stty.c: Likewise.
56818         * misc/swapoff.c: Likewise.
56819         * misc/swapon.c: Likewise.
56820         * misc/sync.c: Likewise.
56821         * misc/syncfs.c: Likewise.
56822         * misc/syscall.c: Likewise.
56823         * misc/truncate.c: Likewise.
56824         * misc/ualarm.c: Likewise.
56825         * misc/usleep.c: Likewise.
56826         * misc/ustat.c: Likewise.
56827         * misc/utimes.c: Likewise.
56828         * misc/vhangup.c: Likewise.
56829         * misc/writev.c: Likewise.
56830         * posix/_exit.c: Likewise.
56831         * posix/alarm.c: Likewise.
56832         * posix/execve.c: Likewise.
56833         * posix/fexecve.c: Likewise.
56834         * posix/fork.c: Likewise.
56835         * posix/fpathconf.c: Likewise.
56836         * posix/getaddrinfo.c: Likewise.
56837         * posix/getegid.c: Likewise.
56838         * posix/geteuid.c: Likewise.
56839         * posix/getgid.c: Likewise.
56840         * posix/getgroups.c: Likewise.
56841         * posix/getlogin.c: Likewise.
56842         * posix/getlogin_r.c: Likewise.
56843         * posix/getpgid.c: Likewise.
56844         * posix/getpid.c: Likewise.
56845         * posix/getppid.c: Likewise.
56846         * posix/getresgid.c: Likewise.
56847         * posix/getresuid.c: Likewise.
56848         * posix/getsid.c: Likewise.
56849         * posix/getuid.c: Likewise.
56850         * posix/glob64.c: Likewise.
56851         * posix/nanosleep.c: Likewise.
56852         * posix/pathconf.c: Likewise.
56853         * posix/pause.c: Likewise.
56854         * posix/posix_madvise.c: Likewise.
56855         * posix/pread.c: Likewise.
56856         * posix/pread64.c: Likewise.
56857         * posix/pwrite.c: Likewise.
56858         * posix/pwrite64.c: Likewise.
56859         * posix/sched_getaffinity.c: Likewise.
56860         * posix/sched_getp.c: Likewise.
56861         * posix/sched_gets.c: Likewise.
56862         * posix/sched_primax.c: Likewise.
56863         * posix/sched_primin.c: Likewise.
56864         * posix/sched_rr_gi.c: Likewise.
56865         * posix/sched_setaffinity.c: Likewise.
56866         * posix/sched_setp.c: Likewise.
56867         * posix/sched_sets.c: Likewise.
56868         * posix/sched_yield.c: Likewise.
56869         * posix/setgid.c: Likewise.
56870         * posix/setlogin.c: Likewise.
56871         * posix/setpgid.c: Likewise.
56872         * posix/setresgid.c: Likewise.
56873         * posix/setresuid.c: Likewise.
56874         * posix/setsid.c: Likewise.
56875         * posix/setuid.c: Likewise.
56876         * posix/sleep.c: Likewise.
56877         * posix/spawni.c: Likewise.
56878         * posix/sysconf.c: Likewise.
56879         * posix/times.c: Likewise.
56880         * posix/wait.c: Likewise.
56881         * posix/wait3.c: Likewise.
56882         * posix/wait4.c: Likewise.
56883         * posix/waitpid.c: Likewise.
56884         * resolv/gai_sigqueue.c: Likewise.
56885         * resource/getpriority.c: Likewise.
56886         * resource/getrlimit.c: Likewise.
56887         * resource/getrusage.c: Likewise.
56888         * resource/nice.c: Likewise.
56889         * resource/setpriority.c: Likewise.
56890         * resource/setrlimit.c: Likewise.
56891         * resource/ulimit.c: Likewise.
56892         * rt/aio_cancel.c: Likewise.
56893         * rt/aio_fsync.c: Likewise.
56894         * rt/aio_read.c: Likewise.
56895         * rt/aio_sigqueue.c: Likewise.
56896         * rt/aio_suspend.c: Likewise.
56897         * rt/aio_write.c: Likewise.
56898         * rt/clock_getres.c: Likewise.
56899         * rt/clock_gettime.c: Likewise.
56900         * rt/clock_nanosleep.c: Likewise.
56901         * rt/clock_settime.c: Likewise.
56902         * rt/lio_listio.c: Likewise.
56903         * rt/mq_close.c: Likewise.
56904         * rt/mq_getattr.c: Likewise.
56905         * rt/mq_notify.c: Likewise.
56906         * rt/mq_open.c: Likewise.
56907         * rt/mq_receive.c: Likewise.
56908         * rt/mq_send.c: Likewise.
56909         * rt/mq_setattr.c: Likewise.
56910         * rt/mq_timedreceive.c: Likewise.
56911         * rt/mq_timedsend.c: Likewise.
56912         * rt/mq_unlink.c: Likewise.
56913         * rt/shm_open.c: Likewise.
56914         * rt/shm_unlink.c: Likewise.
56915         * rt/timer_create.c: Likewise.
56916         * rt/timer_delete.c: Likewise.
56917         * rt/timer_getoverr.c: Likewise.
56918         * rt/timer_gettime.c: Likewise.
56919         * rt/timer_settime.c: Likewise.
56920         * setjmp/__longjmp.c: Likewise.
56921         * setjmp/setjmp.c: Likewise.
56922         * signal/kill.c: Likewise.
56923         * signal/killpg.c: Likewise.
56924         * signal/raise.c: Likewise.
56925         * signal/sigaction.c: Likewise.
56926         * signal/sigaltstack.c: Likewise.
56927         * signal/sigblock.c: Likewise.
56928         * signal/sigignore.c: Likewise.
56929         * signal/sigintr.c: Likewise.
56930         * signal/signal.c: Likewise.
56931         * signal/sigpause.c: Likewise.
56932         * signal/sigpending.c: Likewise.
56933         * signal/sigqueue.c: Likewise.
56934         * signal/sigreturn.c: Likewise.
56935         * signal/sigset.c: Likewise.
56936         * signal/sigsetmask.c: Likewise.
56937         * signal/sigstack.c: Likewise.
56938         * signal/sigsuspend.c: Likewise.
56939         * signal/sigtimedwait.c: Likewise.
56940         * signal/sigvec.c: Likewise.
56941         * signal/sigwait.c: Likewise.
56942         * signal/sigwaitinfo.c: Likewise.
56943         * signal/sysv_signal.c: Likewise.
56944         * socket/accept.c: Likewise.
56945         * socket/accept4.c: Likewise.
56946         * socket/bind.c: Likewise.
56947         * socket/connect.c: Likewise.
56948         * socket/getpeername.c: Likewise.
56949         * socket/getsockname.c: Likewise.
56950         * socket/getsockopt.c: Likewise.
56951         * socket/isfdtype.c: Likewise.
56952         * socket/listen.c: Likewise.
56953         * socket/recv.c: Likewise.
56954         * socket/recvfrom.c: Likewise.
56955         * socket/recvmsg.c: Likewise.
56956         * socket/send.c: Likewise.
56957         * socket/sendmsg.c: Likewise.
56958         * socket/sendto.c: Likewise.
56959         * socket/setsockopt.c: Likewise.
56960         * socket/shutdown.c: Likewise.
56961         * socket/sockatmark.c: Likewise.
56962         * socket/socket.c: Likewise.
56963         * socket/socketpair.c: Likewise.
56964         * stdio-common/ctermid.c: Likewise.
56965         * stdio-common/cuserid.c: Likewise.
56966         * stdio-common/remove.c: Likewise.
56967         * stdio-common/rename.c: Likewise.
56968         * stdio-common/renameat.c: Likewise.
56969         * stdio-common/tempname.c: Likewise.
56970         * stdlib/getcontext.c: Likewise.
56971         * stdlib/makecontext.c: Likewise.
56972         * stdlib/setcontext.c: Likewise.
56973         * stdlib/swapcontext.c: Likewise.
56974         * stdlib/system.c: Likewise.
56975         * streams/fattach.c: Likewise.
56976         * streams/fdetach.c: Likewise.
56977         * streams/getmsg.c: Likewise.
56978         * streams/getpmsg.c: Likewise.
56979         * streams/putmsg.c: Likewise.
56980         * streams/putpmsg.c: Likewise.
56981         * sysdeps/unix/bsd/getpt.c: Likewise.
56982         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56983         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56984         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56986         Likewise.
56987         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56988         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56989         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56990         * sysvipc/msgctl.c: Likewise.
56991         * sysvipc/msgget.c: Likewise.
56992         * sysvipc/msgrcv.c: Likewise.
56993         * sysvipc/msgsnd.c: Likewise.
56994         * sysvipc/semctl.c: Likewise.
56995         * sysvipc/semget.c: Likewise.
56996         * sysvipc/semop.c: Likewise.
56997         * sysvipc/semtimedop.c: Likewise.
56998         * sysvipc/shmat.c: Likewise.
56999         * sysvipc/shmctl.c: Likewise.
57000         * sysvipc/shmdt.c: Likewise.
57001         * sysvipc/shmget.c: Likewise.
57002         * termios/tcdrain.c: Likewise.
57003         * termios/tcflow.c: Likewise.
57004         * termios/tcflush.c: Likewise.
57005         * termios/tcgetattr.c: Likewise.
57006         * termios/tcgetpgrp.c: Likewise.
57007         * termios/tcsendbrk.c: Likewise.
57008         * termios/tcsetattr.c: Likewise.
57009         * termios/tcsetpgrp.c: Likewise.
57010         * time/adjtime.c: Likewise.
57011         * time/clock.c: Likewise.
57012         * time/getitimer.c: Likewise.
57013         * time/gettimeofday.c: Likewise.
57014         * time/setitimer.c: Likewise.
57015         * time/settimeofday.c: Likewise.
57016         * time/stime.c: Likewise.
57017         * time/time.c: Likewise.
57019 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57021         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57022         /usr/old/bin.
57024         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57025         instead of spaces.
57026         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57028 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57030         [BZ #14796]
57031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57032         FE_TONEAREST before applying Dekker multiplication and Knuth
57033         addition.  Clear inexact exceptions and check for exact zero
57034         results afterwards.
57035         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57036         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57037         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57038         * math/libm-test.inc (fma_test): Add more tests.
57039         (fma_test_towardzero): Likewise.
57040         (fma_test_downward): Likewise.
57041         (fma_test_upward): Likewise.
57042         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57043         function.
57044         (libc_fesetround): New macro.
57045         (libc_fesetroundf): Likewise.
57046         (libc_fesetroundl): Likewise.
57047         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57048         function.
57049         (libc_fesetround_387): Likewise.
57050         (libc_fesetroundf): New macro.
57051         (libc_fesetround): Likewise.
57052         (libc_fesetroundl): Likewise.
57053         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57054         function.
57055         (libc_fesetroundf): New macro.
57056         (libc_fesetround): Likewise.
57057         (libc_fesetroundl): Likewise.
57058         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57059         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57060         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57061         libm_hidden_ver.
57062         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57063         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57064         libm_hidden_def.
57065         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57066         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57067         libm_hidden_ver.
57068         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57069         libm_hidden_def.
57071         [BZ #3439]
57072         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57073         integer constant usable in #if and use that to give value to enum
57074         constant.
57075         (FE_DIVBYZERO): Likewise.
57076         (FE_UNDERFLOW): Likewise.
57077         (FE_OVERFLOW): Likewise.
57078         (FE_INVALID): Likewise.
57079         (FE_INVALID_SNAN): Likewise.
57080         (FE_INVALID_ISI): Likewise.
57081         (FE_INVALID_IDI): Likewise.
57082         (FE_INVALID_ZDZ): Likewise.
57083         (FE_INVALID_IMZ): Likewise.
57084         (FE_INVALID_COMPARE): Likewise.
57085         (FE_INVALID_SOFTWARE): Likewise.
57086         (FE_INVALID_SQRT): Likewise.
57087         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57088         (FE_TONEAREST): Likewise.
57089         (FE_TOWARDZERO): Likewise.
57090         (FE_UPWARD): Likewise.
57091         (FE_DOWNWARD): Likewise.
57092         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57093         (FE_DIVBYZERO): Likewise.
57094         (FE_OVERFLOW): Likewise.
57095         (FE_UNDERFLOW): Likewise.
57096         (FE_INEXACT): Likewise.
57097         (FE_TONEAREST): Likewise.
57098         (FE_DOWNWARD): Likewise.
57099         (FE_UPWARD): Likewise.
57100         (FE_TOWARDZERO): Likewise.
57101         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57102         (FE_UNDERFLOW): Likewise.
57103         (FE_OVERFLOW): Likewise.
57104         (FE_DIVBYZERO): Likewise.
57105         (FE_INVALID): Likewise.
57106         (FE_TONEAREST): Likewise.
57107         (FE_TOWARDZERO): Likewise.
57108         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57109         (FE_OVERFLOW): Likewise.
57110         (FE_UNDERFLOW): Likewise.
57111         (FE_DIVBYZERO): Likewise.
57112         (FE_INEXACT): Likewise.
57113         (FE_TONEAREST): Likewise.
57114         (FE_TOWARDZERO): Likewise.
57115         (FE_UPWARD): Likewise.
57116         (FE_DOWNWARD): Likewise.
57117         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57118         (FE_DIVBYZERO): Likewise.
57119         (FE_OVERFLOW): Likewise.
57120         (FE_UNDERFLOW): Likewise.
57121         (FE_INEXACT): Likewise.
57122         (FE_TONEAREST): Likewise.
57123         (FE_DOWNWARD): Likewise.
57124         (FE_UPWARD): Likewise.
57125         (FE_TOWARDZERO): Likewise.
57127 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57129         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57131 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57133         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57134         commands.  Quote $PWD.
57135         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57136         -x" by "export".
57137         (remove_newlines): Remove.
57139 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57141         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57142         * stdlib/stdlib.h (atof): Moved to ...
57143         * include/bits/stdlib-float.h: Here.  New file.
57144         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57145         * stdlib/bits/stdlib-float.h: New file.
57146         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57147         -mno-sse -mno-mmx.
57148         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57149         <xmmintrin.h>.
57151 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57153         * conform/conformtest.pl (@headers): Add fenv.h.
57154         * conform/data/fenv.h-data: New file.
57155         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57156         include of <math/fenv.h>.
57158         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57159         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57160         && !UNIX98].  Enables tests for XOPEN2K8.
57161         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57162         POSIX2008]: Likewise.
57164         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57165         (struct rusage): Do not expect type or its members.
57167         [BZ #3439]
57168         * math/math.h (FP_NAN): Define macro to integer constant usable in
57169         #if and use that to give value to enum constant.
57170         (FP_INFINITE): Likewise.
57171         (FP_ZERO): Likewise.
57172         (FP_SUBNORMAL): Likewise.
57173         (FP_NORMAL): Likewise.
57175 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57177         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57178         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57179         arguments.
57181 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57183         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57184         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57185         autoconf-time if not.
57186         * configure.in: Remove AC_PREREQ.
57188 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57190         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57191         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57192         of the internal implementation.
57194 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57196         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57197         except include of <misc/sys/syslog.h>.
57199 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57202         function returns with a NULL context exit with zero.
57204 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57206         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57208 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57210         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57211         (run_program_cmd): This.
57212         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57213         (tst_langinfo): New variable.  Use it.
57215 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57217         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57218         floating point opcodes.
57220 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57222         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57223         variable.
57225         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57227         * sysdeps/mach/hurd/powerpc: Remove directory.
57228         * sysdeps/mach/powerpc: Likewise.
57230 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57232         * scripts/check-local-headers.sh: Ignore c++ headers.
57234 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57236         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57237         __libc_cleanup_region_start argument.
57239 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57241         [BZ #14784]
57242         [BZ #14785]
57243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57244         x * y using scaling, not as x * y + z.
57245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57246         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57247         * math/libm-test.inc (fma_test): Add more tests.
57248         (fma_test_towardzero): Likewise.
57249         (fma_test_downward): Likewise.
57250         (fma_test_upward): Likewise.
57252 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57254         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57256 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57258         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57259         New variable.
57261 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57263         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57265 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57268         Fix sort order.
57269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57270         Likewise.
57272 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57275         Fix the order of the list for glibc 2.17.
57276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57277         Likewise.
57279 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57283 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57285         [BZ #14610]
57286         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57287         for low part of x being zero before using __atanl (y).
57288         * math/libm-test.inc (atan2_test): Add another test.
57290         * manual/install.texi (Configuring and compiling): Document
57291         general use of test-wrapper and test-wrapper-env.
57292         * INSTALL: Regenerated.
57294         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57295         (__fma): Do not extract and scale down low bits on after-rounding
57296         systems when result rounded to normal precision would have normal
57297         exponent.
57298         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57299         (__fmal): Do not extract and scale down low bits on after-rounding
57300         systems when result rounded to normal precision would have normal
57301         exponent.
57302         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57303         (__fmal): 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         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57307         macro.
57308         (fma_test): Add more tests.
57309         (fma_test_towardzero): Likewise.
57310         (fma_test_downward): Likewise.
57311         (fma_test_upward): Likewise.
57313 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57315         * sysdeps/i386/tininess.h: Renamed to ...
57316         * sysdeps/x86/tininess.h: This.
57317         * sysdeps/x86_64/tininess.h: Removed.
57319 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57321         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57322         input.  Use $(build-program-cmd).
57323         ($(objpfx)tst-array1-static.out): Likewise.
57324         ($(objpfx)tst-array2.out): Likewise.
57325         ($(objpfx)tst-array3.out): Likewise.
57326         ($(objpfx)tst-array4.out): Likewise.
57327         ($(objpfx)tst-array5.out): Likewise.
57328         ($(objpfx)tst-array5-static.out): Likewise.
57330 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57332         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57333         if defined.
57335         * nss/nsswitch.h (nss_interface_function): Provide new
57336         macro for use with NSS functions.
57337         * grp/initgroups.c: Use new macro.
57338         * nss/getXXbyYY.c: Likewise.
57339         * nss/getXXbyYY_r.c: Likewise.
57340         * nss/getXXent.c: Likewise.
57341         * nss/getXXent_r.c: Likewise.
57342         * sysdeps/posix/getaddrinfo.c: Likewise.
57344 2012-10-30  Andreas Jaeger  <aj@suse.de>
57346         * po/ru.po: Update Russion translation from translation project.
57348 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57350         [BZ #14152]
57351         [BZ #14783]
57352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57353         result and shift together with sticky bit instead of replicating
57354         round-to-nearest rounding.
57355         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57356         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57357         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57358         missing underflow exceptions.
57359         (fma_test_towardzero): Add more tests.
57360         (fma_test_downward): Likewise.
57361         (fma_test_upward): Likewise.
57363         [BZ #14047]
57364         * sysdeps/generic/tininess.h: New file.
57365         * sysdeps/i386/tininess.h: Likewise.
57366         * sysdeps/sh/tininess.h: Likewise.
57367         * sysdeps/x86_64/tininess.h: Likewise.
57368         * stdlib/tst-strtod-underflow.c: Likewise.
57369         * stdlib/tst-tininess.c: Likewise.
57370         * stdlib/strtod_l.c: Include <tininess.h>.
57371         (round_and_return): Do not set errno for exact underflow cases.
57372         Force an underflow exception when setting errno for underflow.
57373         Determine underflow based on rounding to normal precision if
57374         TININESS_AFTER_ROUNDING.
57375         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57376         ERANGE for exact underflow cases.
57377         * stdlib/Makefile (tests): Add tst-tininess and
57378         tst-strtod-underflow.
57379         ($(objpfx)tst-tininess): Use $(link-libm).
57380         ($(objpfx)tst-strtod-underflow): Likewise.
57382 2012-10-30  Andreas Jaeger  <aj@suse.de>
57384         [BZ#14767]
57385         * elf/Makefile (tests): Remove conditional for have-initfini-array
57386         since this is now always required and the variable does not exist
57387         anymore.
57388         (tests-static): Likewise.
57389         (modules-names): Likewise.
57391         * po/eo.po: Add Esperanto translation from translation project.
57393         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57394         merged with constructor/destructor.
57395         (init_array): Likewise.
57396         * elf/tst-array2dep.c (fini_array): Likewise.
57397         (init_array): Likewise.
57399 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57401         * manual/message.texi: Delete @cartouche tags.
57403 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57405         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57406         EOPNOTSUPP.
57407         * sysdeps/mach/hurd/fsync.c: Likewise.
57409         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57410         [_POSIX_REALTIME_SIGNALS]: Change condition to
57411         [_POSIX_REALTIME_SIGNALS > 0].
57413 2012-10-27  Andreas Jaeger  <aj@suse.de>
57415         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57416         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57417         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57418         [__WORDSIZE != 64]: Likewise.
57420 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57422         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57423         *  iconvdata/tst-tables.sh: Likewise.
57425 2012-10-25  David S. Miller  <davem@davemloft.net>
57427         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57428         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57429         of strtoull.
57431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57432         ifunc-impl-list.c
57433         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57434         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57435         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57436         file.
57438 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57440         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57441         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57442         __getdirentries.
57444 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57445             Jim Blandy  <jimb@codesourcery.com>
57447         * scripts/cross-test-ssh.sh: New file.
57448         * manual/install.texi (Configuring and compiling): Document use of
57449         cross-test-ssh.sh.
57450         * INSTALL: Regenerated.
57452 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57454         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57455         EOPNOTSUPP.
57457 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57459         * Makeconfig (run-program-prefix): Fix comment.
57461 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57462             Jim Blandy  <jimb@codesourcery.com>
57464         * Makeconfig (test-wrapper): New variable,
57465         (test-wrapper-env): Likewise.
57466         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57467         (run-built-tests): Define to yes.
57468         (run-program-prefix): Use $(test-wrapper).
57469         (built-program-cmd): Likewise.
57470         * Rules (make-test-out): Use $(test-wrapper-env) and
57471         $(host-built-program-cmd).
57472         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57473         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57474         tst-pathopt.sh.
57475         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57476         $(test-wrapper-env) to tst-rtld-load-self.sh.
57477         ($(objpfx)order2.out): Use $(test-wrapper).
57478         ($(objpfx)tst-initorder.out): Likewise.
57479         ($(objpfx)tst-initorder2.out): Likewise.
57480         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57481         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57482         (test_wrapper_env): New variable.  Use it to run ld.so.
57483         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57484         Use it to run ld.so.
57485         (test_wrapper_env): Likewise.
57486         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57487         $(test-wrapper) to run-iconv-test.sh.
57488         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57489         (ICONV): Use $test_wrapper.
57490         * posix/Makefile ($(objpfx)globtest.out): Pass
57491         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57492         globtest.sh, not $(run-program-prefix).
57493         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57494         (test_wrapper): Likewise.
57495         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57496         set together with run_via_rtld_prefix.
57497         (run_program_prefix): Define in terms of test_wrapper and
57498         run_via_rtld_prefix.
57500 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57502         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57503         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57504         Targets removed.
57506         [BZ #14743]
57507         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57508         Declare __clock_getres, __clock_gettime, __clock_settime,
57509         __clock_nanosleep, and __clock_getcpuclockid.
57510         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57511         Remove librt_hidden_def (clock_gettime).
57512         * sysdeps/unix/clock_gettime.c: Likewise.
57513         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57515         * rt/clock_getres.c: Define __clock_getres as an alias.
57516         * sysdeps/posix/clock_getres.c: Likewise.
57517         * rt/clock_settime.c: Define __clock_settime as an alias.
57518         * sysdeps/unix/clock_settime.c: Likewise.
57519         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57520         * sysdeps/unix/clock_nanosleep.c: Likewise.
57521         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57522         * rt/clock-compat.c: New file.
57523         * rt/Makefile (librt-routines): Add clock-compat and move
57524         $(clock-routines) to ...
57525         (routines): ... here, new variable.
57526         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57527         Don't add get_clockfreq here.
57528         * rt/Versions (libc: GLIBC_2.17): New version set.
57529         Add clock_* symbols here.
57530         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57531         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57532         (GLIBC_2.17): Add clock_* symbols.
57533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57535         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57537         Likewise.
57538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57539         Likewise.
57540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57544         * NEWS: Mention the move.
57546         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57547         Use __open, __read, __close rather than their public counterparts.
57548         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57549         (__get_clockfreq_via_cpuinfo): Likewise.
57550         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57551         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57553         * config.h.in (HAVE_IFUNC): New #undef.
57554         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57555         was successful.
57556         * configure: Regenerated.
57558 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57560         * configure.in: Move READELF check to start of file.
57561         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57562         libc_cv_asm_gnu_indirect_function in the process.
57563         * configure: Regenerated.
57565 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57567         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57568         send the output to /dev/null.
57569         (libc_cv_cc_with_libunwind): Likewise.
57570         (libc_cv_as_noexecstack): Likewise.
57571         * configure: Regenerate.
57573 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57575         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57577         * posix/globtest.sh (TMPDIR): Do not set.
57578         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57579         (testout): Likewise.
57581 2012-10-24  Andreas Jaeger  <aj@suse.de>
57583         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57584         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57585         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57586         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57587         posix_fadvise64, posix_fallocate64.
57589         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57590         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57591         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57592         Likewise.
57593         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57594         Likewise.
57595         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57598         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57599         <bits/fcntl-linux.h>.
57600         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57602         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57603         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57604         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57605         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57606         [__WORDSIZE != 64]: Likewise.
57608 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57610         * Makeconfig (run-built-tests): New variable.
57611         * Rules [$(cross-compiling) = yes]: Change condition to
57612         [$(run-built-tests) = no].
57613         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57614         to [$(run-built-tests) = yes].
57615         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57616         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57617         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57618         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57619         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57620         * io/Makefile [$(cross-compiling) = no]: Likewise.
57621         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57622         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57623         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57624         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57625         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57626         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57627         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57628         * string/Makefile [$(cross-compiling) = no]: Likewise.
57630         * posix/Makefile ($(objpfx)globtest.out): Pass
57631         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57632         $(rtld-installed-name).
57633         * posix/globtest.sh (elf_objpfx): Remove variable.
57634         (rtld_installed_name): Likewise.
57635         (library_path): Likewise.
57636         (run_program_prefix): New variable.  Use for running globtest
57637         binary.
57639 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57640             Joseph Myers  <joseph@codesourcery.com>
57642         * Makeconfig (host-built-program-cmd): New variable.
57643         * elf/Makefile (tst-stackguard1-ARGS): Use
57644         $(host-built-program-cmd).
57645         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57646         (tst-spawn-ARGS): Likewise.
57647         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57649 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57650             Jim Blandy  <jimb@codesourcery.com>
57652         * Makeconfig (run-via-rtld-prefix): New variable.
57653         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57654         (built-program-cmd): Likewise.
57656 2012-10-22  Andreas Jaeger  <aj@suse.de>
57658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57659         __O_RSYNC if it exists, otherwise to O_SYNC.
57661 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57662             Joseph Myers  <joseph@codesourcery.com>
57664         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57665         /dev/null.
57666         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57667         from /dev/null
57668         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57669         /dev/null.
57671 2012-10-22  Andreas Jaeger  <aj@suse.de>
57673         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57674         Define always.
57675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57677         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57678         bits/fcntl-linux.h.
57680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57681         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57684         to __O_LARGEFILE.
57685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57686         to __O_LARGEFILE.
57688 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57689             Joseph Myers  <joseph@codesourcery.com>
57691         * config.make.in (NM): New variable.
57693 2012-10-21  Andreas Jaeger  <aj@suse.de>
57695         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57696         definitions and declarations that are provided by
57697         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57699 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57701         [BZ #14683]
57702         * elf/Makefile (tests-static): Add tst-leaks1-static.
57703         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57704         ($(objpfx)tst-leaks1-static): New rule.
57705         ($(objpfx)tst-leaks1-static-mem): Likewise.
57706         (tst-leaks1-static-ENV): New macro.
57707         * elf/dl-open.c (dl_open_worker): Check the main application
57708         only if SHARED is defined.
57709         * elf/tst-leaks1-static.c: New file.
57711 2012-10-20  Andreas Jaeger  <aj@suse.de>
57713         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57714         generic values for Linux.
57715         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57716         and declarations that are provided by <bits/fcntl-linux.h> and
57717         include <bits/fcntl-linux.h>.
57718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57721 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57723         * io/fcntl.h: Move include of <bits/types.h> to the top and
57724         include it unconditionally.
57726 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57728         * wcsmbs/Makefile (tests-ifunc): New variable.
57729         (tests): Add $(tests-ifunc).
57730         * wcsmbs/test-wcschr-ifunc.c: New file.
57731         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57732         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57733         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57734         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57735         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57737         * string/Makefile (tests-ifunc): New variable.
57738         (tests): Add $(tests-ifunc).
57739         * string/test-memccpy.c (TEST_NAME): New macro.
57740         * string/test-memchr.c (TEST_NAME): Likewise.
57741         * string/test-memcmp.c (TEST_NAME): Likewise.
57742         * string/test-memcpy.c (TEST_NAME): Likewise.
57743         * string/test-memmem.c (TEST_NAME): Likewise.
57744         * string/test-memmove.c (TEST_NAME): Likewise.
57745         * string/test-memset.c (TEST_NAME): Likewise.
57746         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57747         * string/test-stpcpy.c (TEST_NAME): Likewise.
57748         * string/test-stpncpy.c (TEST_NAME): Likewise.
57749         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57750         * string/test-strcasestr.c (TEST_NAME): Likewise.
57751         * string/test-strcat.c (TEST_NAME): Likewise.
57752         * string/test-strchr.c (TEST_NAME): Likewise.
57753         * string/test-strcmp.c(TEST_NAME): Likewise.
57754         * string/test-strcpy.c (TEST_NAME): Likewise.
57755         * string/test-strcspn.c (TEST_NAME): Likewise.
57756         * string/test-strlen.c (TEST_NAME): Likewise.
57757         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57758         * string/test-strncmp.c (TEST_NAME): Likewise.
57759         * string/test-strncpy.c (TEST_NAME): Likewise.
57760         * string/test-strnlen.c (TEST_NAME): Likewise.
57761         * string/test-strpbrk.c (TEST_NAME): Likewise.
57762         * string/test-strrchr.c (TEST_NAME): Likewise.
57763         * string/test-strspn.c (TEST_NAME): Likewise.
57764         * string/test-strstr.c (TEST_NAME): Likewise.
57765         * string/test-bcopy-ifunc.c: New file.
57766         * string/test-bzero-ifunc.c: Likewise.
57767         * string/test-memccpy-ifunc.c: Likewise.
57768         * string/test-memchr-ifunc.c: Likewise.
57769         * string/test-memcmp-ifunc.c: Likewise.
57770         * string/test-memcpy-ifunc.c: Likewise.
57771         * string/test-memmem-ifunc.c: Likewise.
57772         * string/test-memmove-ifunc.c: Likewise.
57773         * string/test-mempcpy-ifunc.c: Likewise.
57774         * string/test-memset-ifunc.c: Likewise.
57775         * string/test-rawmemchr-ifunc.c: Likewise.
57776         * string/test-stpcpy-ifunc.c: Likewise.
57777         * string/test-stpncpy-ifunc.c: Likewise.
57778         * string/test-strcasecmp-ifunc.c: Likewise.
57779         * string/test-strcasestr-ifunc.c: Likewise.
57780         * string/test-strcat-ifunc.c: Likewise.
57781         * string/test-strchr-ifunc.c: Likewise.
57782         * string/test-strchrnul-ifunc.c: Likewise.
57783         * string/test-strcmp-ifunc.c: Likewise.
57784         * string/test-strcpy-ifunc.c: Likewise.
57785         * string/test-strcspn-ifunc.c: Likewise.
57786         * string/test-strlen-ifunc.c: Likewise.
57787         * string/test-strncasecmp-ifunc.c: Likewise.
57788         * string/test-strncat-ifunc.c: Likewise.
57789         * string/test-strncmp-ifunc.c: Likewise.
57790         * string/test-strncpy-ifunc.c: Likewise.
57791         * string/test-strnlen-ifunc.c: Likewise.
57792         * string/test-strpbrk-ifunc.c: Likewise.
57793         * string/test-strrchr-ifunc.c: Likewise.
57794         * string/test-strspn-ifunc.c: Likewise.
57795         * string/test-strstr-ifunc.c: Likewise.
57797         * debug/Makefile (tests-ifunc): New variable.
57798         (tests): Add $(tests-ifunc).
57799         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57800         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57801         * debug/test-stpcpy_chk-ifunc.c: New file.
57802         * debug/test-strcpy_chk-ifunc.c: Likewise.
57804 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57806         [BZ #13601]
57807         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57808         header is not read in.
57810 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57812         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57813         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57814         directly.  Pass built executable to script as
57815         $(built-program-cmd).
57816         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57817         $testprogram without using LD_LIBRARY_PATH and $ldso.
57819         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57820         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57821         $(rtld-installed-name).
57822         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57823         (rtld_installed_name): Likewise.
57824         (library_path): Likewise.
57825         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57826         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57827         $(run-program-prefix) to tst-tables.sh.
57828         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57829         it to run tst-table-from and tst-table-to.
57830         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57831         Pass it to tst-table.sh.
57832         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57833         $(run-program-prefix) to tst-gettext.sh.
57834         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57835         tst-translit.sh.
57836         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57837         tst-gettext2.sh.
57838         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57839         to run tst-gettext.
57840         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57841         to run tst-gettext2.
57842         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57843         to run tst-translit.
57844         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57845         $(run-program-prefix) to tst-mtrace.sh.
57846         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57847         to run tst-mtrace.
57848         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57849         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57850         $(rtld-installed-name).
57851         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57852         (rtld_installed_name): Likewise.
57853         (run_program_prefix): New variable.  Use it to run wordexp-test.
57855         * Makeconfig (ARCH): Remove all definitions.
57856         (machine): Likewise.
57857         [ARCH]: Remove conditional code.
57858         [!objdir]: Give error.
57859         [!objdir] (objpfx): Remove.
57860         [!objdir] (common-objpfx): Likewise.
57861         [!objdir] (common-objdir): Likewise.
57862         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57863         AC_CONFIG_FILES call.
57864         * configure: Regenerated.
57866         [BZ #13888]
57867         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57868         or TMPDIR.
57869         (testout): Likewise.
57871         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57872         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57873         $(rtld-installed-name).
57874         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57875         (rtld_installed_name): Likwise.
57876         (runit): Remove function.
57877         (run_getconf): New variable,  Use it for running getconf binary.
57879 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57881         [BZ #14716]
57882         * string/test-memmem.c (check_result): New function.
57883         (do_one_test): Use it.
57884         (check1): New function.
57885         (test_main): Use it.
57887 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57889         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57891 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57893         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57894         (_G_LSEEK64): Likewise.
57895         (_G_MMAP64): Likewise.
57896         (_G_FSTAT64): Likewise.
57897         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57898         (_G_LSEEK64): Likewise.
57899         (_G_MMAP64): Likewise.
57900         (_G_FSTAT64): Likewise.
57901         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57902         unconditional.  Call __mmap64 directly.
57903         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57904         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57905         __lseek64 directly.
57906         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57907         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57908         __mmap64 directly.
57909         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57910         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57911         __lseek64 directly.
57912         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57913         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57914         __lseek64 directly.
57915         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57916         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57917         __lseek64 directly.
57918         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57919         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57920         __fxstat64 directly.
57921         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57922         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57923         unconditional.
57924         (freopen64) [!_G_OPEN64]: Remove conditional code.
57925         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57926         unconditional.
57927         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57928         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57929         unconditional.
57930         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57931         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57932         unconditional.
57933         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57934         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57935         unconditional.
57936         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57937         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57938         unconditional.
57939         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57940         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57941         unconditional.
57942         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57943         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57944         unconditional.
57945         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57947 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57949         [BZ #12140]
57950         * manual/memory.texi (Malloc Tunable Parameters): Add note
57951         about free list pointers overwriting some perturb bytes.
57952         Wording suggested by Roland McGrath.
57954 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57956         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57957         (lgamma_test): Likewise.
57958         (tgamma_test): Likewise.
57960 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57962         [BZ #14700]
57963         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57964         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57966 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57968         * NEWS: Mention BZ #14716.
57969         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57970         when removing AVAILABLE1_USES_J macro.
57972 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57974         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57975         (__bswap_64): __uint64_t for unsigned 64-bit int.
57977 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57979         * include/string.h (memmem): Declare libc hidden alias.
57980         * string/memmem.c (memmem): Define libc hidden alias.
57981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57982         __read, __close instead of open, read, close.
57984 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57987         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57988         global and hidden.
57989         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57990         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57991         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57992         Likewise.
57993         (__rawmemchr_sse2): Likewise.
57994         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57995         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57996         (__strchr_sse2): Likewise.
57997         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57998         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57999         (__strcasecmp_sse2): Likewise.
58000         (__strncasecmp_sse2): Likewise.
58001         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58002         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58003         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58004         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58005         (__strrchr_sse2): Likewise.
58006         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58007         ifunc-impl-list.c.
58008         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58009         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58010         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58011         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58012         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58013         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58014         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58016         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58017         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58018         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58019         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58020         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58021         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58022         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58023         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58024         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58025         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58026         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58027         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58028         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58029         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58030         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58031         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58032         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58034         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58035         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58036         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58037         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58039         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58040         global and hidden.
58041         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58042         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58043         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58044         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58045         Likewise.
58046         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58047         Likewise.
58048         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58049         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58050         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58051         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58052         ifunc-impl-list.c.
58053         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58054         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58055         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58056         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58057         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58058         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58059         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58060         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58061         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58062         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58063         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58064         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58065         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58066         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58067         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58068         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58069         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58070         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58071         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58072         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58073         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58074         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58075         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58076         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58078         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58079         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58080         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58081         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58082         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58083         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58084         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58085         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58086         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58087         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58088         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58089         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58090         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58091         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58092         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58093         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58095         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58096         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58097         * include/ifunc-impl-list.h: New file.
58098         * misc/ifunc-impl-list.c: Likewise.
58099         * misc/Makefile (routines): Add ifunc-impl-list.
58100         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58101         * string/test-string.h: Include <ifunc-impl-list.h>.
58102         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58103         TEST_NAME]: New variables.
58104         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58105         are defined.
58106         (test_init): Call __libc_ifunc_impl_list to initialize
58107         func_list if TEST_IFUNC and TEST_NAME are defined.
58109         * string/Makefile (strop-tests): Add bcopy and bzero.
58110         * string/test-bcopy.c: New file.
58111         * string/test-bzero.c: Likewise.
58112         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58113         defined.
58114         * string/test-memset.c: Support bzero test if TEST_BZERO is
58115         defined.
58116         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58117         __libc_memmove.
58118         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58119         __libc_memset.
58120         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58121         of memset.
58123 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58125         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58126         * configure: Regenerated.
58128         * Makeconfig (+link-static-before-libc): Don't include
58129         $(link-static-libc).
58131         * libio/libio.h (_IO_pos_t): Remove.
58133 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58135         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58136         McGrath.
58138 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58140         * crypt/crypt-entry.c: Include fips-private.h.
58141         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58142         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58143         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58144         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58146 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58148         * crypt/crypt-private.h: Include stdbool.h.
58149         (_ufc_setup_salt_r): Return bool.
58150         * crypt/crypt-entry.c: Include errno.h.
58151         (__crypt_r): Return NULL with EINVAL for bad salt.
58152         * crypt/crypt_util.c (bad_for_salt): New.
58153         (_ufc_setup_salt_r): Check that salt is long enough and within
58154         the specified alphabet.
58155         * crypt/badsalttest.c: New file.
58156         * crypt/Makefile (tests): Add it.
58157         ($(objpfx)badsalttest): New.
58159 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58161         * NEWS: Add entry for BZ #14602.
58163 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58165         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58166         type-generic.
58167         * math/libm-test.inc: Update comment listing what functions and
58168         macros are tested.
58169         (isgreater_test): New function.
58170         (isgreaterequal_test): Likewise.
58171         (isless_test): Likewise.
58172         (islessequal_test): Likewise.
58173         (islessgreater_test): Likewise.
58174         (isunordered_test): Likewise.
58175         (main): Call the new functions.
58177 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58179         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58180         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58181         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58182         * sysdeps/i386/configure: Regenerated.
58183         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58184         * sysdeps/mach/configure: Regenerated.
58185         * sysdeps/mach/hurd/configure: Regenerated.
58186         * sysdeps/powerpc/configure: Regenerated.
58187         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58188         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58189         * sysdeps/s390/s390-32/configure: Regenerated.
58190         * sysdeps/s390/s390-64/configure: Regenerated.
58191         * sysdeps/sh/configure: Regenerated.
58192         * sysdeps/sparc/configure: Regenerated.
58193         * sysdeps/unix/sysv/linux/configure: Regenerated.
58194         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58195         * sysdeps/x86_64/configure: Regenerated.
58197         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58198         defined.  Don't check if MAP is NULL.
58200 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58202         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58203         (_G_stat64): Likewise.
58204         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58205         (_G_stat64): Likewise.
58206         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58207         instead of struct _G_stat64.
58208         * libio/fileops.c (mmap_remap_check): Likewise.
58209         (decide_maybe_mmap): Likewise.
58210         (_IO_new_file_seekoff): Likewise.
58211         (_IO_file_stat): Likewise.
58212         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58213         _G_off64_t.
58214         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58215         instead of struct _G_stat64.
58216         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58218 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58220         [BZ #14602]
58221         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58222         Replace with ...
58223         (CHECK_EOL): New macro.
58224         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58225         CHECK_EOL.
58226         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58227         Replace with CHECK_EOL.
58228         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58229         Replace with CHECK_EOL.
58231 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58233         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58234         type-generic.
58235         * math/libm-test.inc: Update comment listing what functions and
58236         macros are tested.
58237         (finite_test): New function.
58238         (isinf_test): Likewise.
58239         (isnan_test): Likewise.
58240         (fpclassify_test): Test subnormal input.
58241         (isfinite_test): Likewise.
58242         (isnormal_test): Likewise.
58243         (main): Call the new functions.
58245 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58247         [BZ #14660]
58248         * Makerules (%.dynsym): Force C locale when running
58249         $(OBJDUMP) --dynamic-syms.
58251 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58253         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58254         <stdint.h>.
58256 2012-10-06  David S. Miller  <davem@davemloft.net>
58258         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58259         upper 32-bits of the length value in %o2 since we use branch-on-register
58260         tests which consider the entire 64-bit register.
58262 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58264         * string/test-strstr.c (check2): Add a test for page boundary.
58266 2012-10-05  David S. Miller  <davem@davemloft.net>
58268         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58269         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58270         file.
58271         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58272         sysdep_routines.
58273         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58274         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58275         and bzero when HWCAP_SPARC_CRYPTO is present.
58277 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58279         [BZ #14602]
58280         * string/test-strstr.c (check2): New function.
58281         (test_main): Call check2.
58283         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58284         and bug-strchr1.
58285         * string/bug-strcasestr1.c (do_test): Moved to ...
58286         * string/test-strcasestr.c (check1): Here.  New function.
58287         (do_one_test): Break out result checking code into ...
58288         (check_result): This.  New function.
58289         (do_one_test): Call check_result.
58290         (test_main): Call check1.
58291         * string/bug-strchr1.c (do_test): Moved to ...
58292         * string/test-strchr.c (check1): Here.  New function.
58293         (do_one_test): Break out result checking code into ...
58294         (check_result): This.  New function.
58295         (do_one_test): Call check_result.
58296         (test_main): Call check1.
58297         * string/bug-strstr1.c (main): Moved to ...
58298         * string/test-strstr.c (check1): Here.  New function.
58299         (do_one_test): Break out result checking code into ...
58300         (check_result): This.  New function.
58301         (do_one_test): Call check_result.
58302         (test_main): Call check1.
58303         * string/bug-strcasestr1.c: Removed.
58304         * string/bug-strchr1.c: Likewise.
58305         * string/bug-strstr1.c: Likewise.
58307         * elf/Makefile (dl-routines): Add hwcaps.
58308         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58309         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58310         (_dl_important_hwcaps): Moved to ...
58311         * elf/dl-hwcaps.c: Here.  New file.
58312         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58314         [BZ #14557]
58315         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58316         if IS_IN_rtld isn't defined.
58318         * elf/dl-support.c (_dl_sysinfo_map): New.
58319         Include "get-dynamic-info.h" and "setup-vdso.h".
58320         (_dl_non_dynamic_init): Call setup_vdso.
58321         * elf/dynamic-link.h: Don't include <assert.h>.
58322         (elf_get_dynamic_info): Moved to ...
58323         * elf/get-dynamic-info.h: Here.  New file.
58324         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58325         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58326         * elf/setup-vdso.h: Here.  New file.
58327         * elf/rtld.c: Include "setup-vdso.h".
58328         (dl_main): Call setup_vdso.
58330 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58332         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58333         creal in comment listing functions tested.  List finite, isinf,
58334         isnan, isless, islessequal, isgreater, isgreaterequal,
58335         islessgreater, isunordered, lgamma_r and pow10 as functions and
58336         macros not tested.  Mention which functions not tested are aliases
58337         for other functions.  Fix typo.  Note that signs of NaNs are not
58338         tested.
58340         * scripts/config.guess: Update from config.git.
58341         * scripts/config.sub: Likewise.
58343 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58345         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58346         * misc/madvise.c (madvise): Renamed to __madvise.
58347         Make madvise a weak alias.
58348         * include/sys/mman.h: Declare __madvise.
58349         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58350         * sysdeps/unix/syscalls.list
58351         (madvise): Make __madvise the strong name, and madvise a weak alias.
58352         * sysdeps/unix/sysv/linux/syscalls.list
58353         (madvise, mmap): Remove redundant entries.
58354         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58355         * malloc/malloc.c (mtrim): Likewise.
58356         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58358 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58360         * sysdeps/mach/hurd/dl-cache.c: File removed.
58361         * config.h.in (USE_LDCONFIG): New #undef.
58362         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58363         * configure: Regenerated.
58364         * elf/Makefile (dl-routines): Add dl-cache only under
58365         [$(use-ldconfig) = yes].
58366         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58367         cache on [USE_LDCONFIG].
58368         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58369         [USE_LDCONFIG].
58370         * elf/rtld.c (dl_main): Likewise.
58372 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58374         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58375         _SC_LEVEL4_CACHE_LINESIZE.
58377 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58379         * sysdeps/unix/bsd/confstr.h: File removed.
58381 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58383         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58384         sys/sdt-config.h.
58386 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58388         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58389         Make 'mapoff' field ElfW(Off) rather than off_t.
58391 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58393         * nscd/Makefile: Remove nscd-cflags and all its users.
58394         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58395         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58397         [BZ #10631]
58398         * malloc.c (malloc_printerr): Clarify error message.
58400 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58402         [BZ #14648]
58403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58404         Set bit_FMA_Usable if FMA is supported.
58405         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58406         macro.
58407         (bit_FMA4_Usable): Updated.
58408         (index_FMA_Usable): New macro.
58409         (CPUID_FMA): Likewise.
58410         (HAS_FMA): Defined with bit_FMA_Usable.
58412 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58414         * bits/types.h (__swblk_t): Type removed.
58415         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58416         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58417         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58418         (__SWBLK_T_TYPE): Likewise.
58419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58420         (__SWBLK_T_TYPE): Likewise.
58421         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58422         (__SWBLK_T_TYPE): Likewise.
58423         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58424         (__SWBLK_T_TYPE): Likewise.
58426 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58427             Honza Horak <hhorak@redhat.com>
58429         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58430         (xdr_mapname): Use YPMAXMAP as maxsize.
58431         (xdr_peername): Use YPMAXPEER as maxsize.
58432         (xdr_keydat): Use YPAXRECORD as maxsize.
58433         (xdr_valdat): Use YPMAXRECORD as maxsize.
58435 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58437         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58439         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58440         * csu/init-first.c: ... here.
58441         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58442         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58443         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58444         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58445         * sysdeps/i386/init-first.c: File removed.
58446         * sysdeps/sh/init-first.c: File removed.
58448 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58450         [BZ #14645]
58451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58452         if x * y might underflow to zero and z is zero.
58453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58454         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58455         * math/libm-test.inc (min_subnorm_value): New variable.
58456         (fma_test): Add more tests.
58457         (fma_test_towardzero): Likewise.
58458         (fma_test_downward): Likewise.
58459         (fma_test_upward): Likewise.
58460         (initialize): Set min_subnorm_value.
58462 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58464         [BZ #14638]
58465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58466         0 + 0.
58467         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58468         mode for addition resulting in exact zero.
58469         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58471         exact 0 + 0.
58472         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58473         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58474         * math/libm-test.inc (fma_test): Add more tests.
58475         (fma_test_towardzero): New function.
58476         (fma_test_downward): Likewise.
58477         (fma_test_upward): Likewise.
58478         (main): Call the new functions.
58480 2012-09-28  David S. Miller  <davem@davemloft.net>
58482         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58484 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58486         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58487         instead of SIGALRM.
58489         * sysdeps/gnu/_G_config.h: Moved to ...
58490         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58491         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58492         * sysdeps/generic/_G_config.h: ... here.
58494         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58496         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58498         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58499         Conditionalize target on [libnss_test1.so-version].
58501         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58503         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58504         (elfobjdir): Move out of conditionals.
58506         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58507         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58508         (__nss_lookup_function): Conditionalize label remove_from_tree on
58509         [!DO_STATIC_NSS || SHARED], matching its only use.
58511 2012-09-28  David S. Miller  <davem@davemloft.net>
58513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58514         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58515         file.
58516         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58517         sysdep_routines.
58518         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58519         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58520         when HWCAP_SPARC_CRYPTO is present.
58522 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58524         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58526 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58528         [BZ #6530]
58529         * stdio-common/vfprintf.c (process_string_arg): Revert
58530         2000-07-22 change.
58532 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58534         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58535         for testcase.
58536         * stdio-common/tst-sprintf.c: Include <locale.h>
58537         (main): Test sprintf's handling of incomplete multibyte
58538         characters.
58540 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58542         * elf/dl-runtime.c (VERSYMIDX): Removed.
58543         * elf/dl-version.c (VERSYMIDX): Likewise.
58544         * elf/do-rel.h (VERSYMIDX): Likewise.
58545         (VALIDX): Likewise.
58546         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58547         * elf/rtld.c (VALIDX): Likewise.
58548         (ADDRIDX): Likewise.
58549         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58550         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58551         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58552         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58553         (VALIDX): Likewise.
58554         (ADDRIDX): Likewise.
58556 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58558         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58560 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58562         [BZ #11438]
58563         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58564         to global scope.
58565         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58566         addresses are in the same scope as 192.0.2/24.
58567         * posix/gai.conf: Document new scope table defaults.
58569 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58571         [BZ #5298]
58572         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58573         for ftell.  Compute offsets from write pointers instead.
58574         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58576 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58578         [BZ #14543]
58579         * libio/Makefile (tests): New test case tst-fseek.
58580         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58581         combination works in wide mode.
58582         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58583         state when the external buffer state changes.
58585 2012-09-27  David S. Miller  <davem@davemloft.net>
58587         [BZ #14376]
58588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58589         pass reloc->r_addend in as the 'high' argument to
58590         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58594 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58596         * rt/tst-aio2.c: Include <pthread.h>.
58597         * rt/tst-aio3.c: Likewise.
58599 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58601         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58603 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58605         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58606         contents on [SHARED].
58608 2012-09-26  Marek Polacek  <polacek@redhat.com>
58610         [BZ #14530]
58611         [BZ #13741]
58612         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58613         for C++ and GCC <4.3 as well as for non GCC compilers.
58615 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58619 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58621         * Makefile.in (all, install): Declare with .PHONY.
58622         Reported by Michael Hope <michael.hope@linaro.org>.
58624 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58626         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58627         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58628         system header.
58629         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58630         Likewise.
58631         (sydep_routines): Add the new and the internal functions.
58632         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58633         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58635         (GLIBC_2.17): Add the new function.
58636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58637         (GLIBC_2.17): Likewise.
58638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58639         (GLIBC_2.17): Likewise.
58640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58641         (GLIBC_2.17): Likewise.
58642         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58644 2012-09-25  Alan Modra  <amodra@gmail.com>
58646         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58647         Add release barrier before setting once_control to say
58648         initialisation is done.  Add hints on lwarx.  Use macro in
58649         place of isync.
58650         (clear_once_control): Add release barrier.
58652 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58654         [BZ #13629]
58655         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58656         specially.
58657         * math/s_clog10.c (__clog10): Likewise.
58658         * math/s_clog10f.c (__clog10f): Likewise.
58659         * math/s_clog10l.c (__clog10l): Likewise.
58660         * math/s_clogf.c (__clogf): Likewise.
58661         * math/s_clogl.c (__clogl): Likewise.
58662         * math/Makefile (libm-calls): Add x2y2m1.
58663         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58664         (__x2y2m1): Likewise.
58665         (__x2y2m1l): Likewise.
58666         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58667         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58668         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58669         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58670         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58671         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58672         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58673         * sysdeps/i386/fpu/libm-test-ulps: Update.
58674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58676         [BZ #14621]
58677         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58678         int as type of variable DEPTH.
58679         (glob): Use size_t instead of int as type of variables NEWCOUNT
58680         and OLD_PATHC.
58682 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58684         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58685         Add s_sincosf-sse2.
58686         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58687         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58688         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58689         macros for using routine as __sincosf_ia32.
58690         Use macro for function declaration and weak_alias.
58691         * sysdeps/i386/fpu/libm-test-ulps: Update.
58693         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58696         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58697         subnormal argument.
58698         * math/s_cexpf.c (__cexpf): Likewise.
58699         * math/s_csinf.c (__csinf): Likewise.
58700         * math/s_csinhf.c (__csinhf): Likewise.
58701         * math/s_ctanf.c (__ctanf): Likewise.
58702         * math/s_ctanhf.c (__ctanhf): Likewise.
58703         * math/s_ccosh.c (__ccoshf): Likewise.
58704         * math/s_cexp.c (__cexpl): Likewise.
58705         * math/s_csin.c (__csin): Likewise.
58706         * math/s_csinh.c (__csinh): Likewise.
58707         * math/s_ctan.c (__ctan): Likewise.
58708         * math/s_ctanh.c (ctanh): Likewise.
58709         * math/s_ccoshl.c (__ccoshl): Likewise.
58710         * math/s_cexpl.c (__cexpl): Likewise.
58711         * math/s_csinl.c (__csinl): Likewise.
58712         * math/s_csinhl.c (__csinhl): Likewise.
58713         * math/s_ctanl.c (__ctanl): Likewise.
58714         * math/s_ctanhl.c (__ctanhl): Likewise.
58716 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58718         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58719         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58720         (_IO_off_t): Define to __off_t, not _G_off_t.
58721         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58722         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58723         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58724         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58725         type of __dummy and __dummy2 fields.
58726         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58727         (_G_ssize_t): Likewise.
58728         (_G_off_t): Likewise.
58729         (_G_pid_t): Likewise.
58730         (_G_uid_t): Likewise.
58731         (_G_wchar_t): Likewise.
58732         (_G_wint_t): Likewise.
58733         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58734         (_G_ssize_t): Likewise.
58735         (_G_off_t): Likewise.
58736         (_G_pid_t): Likewise.
58737         (_G_uid_t): Likewise.
58738         (_G_wchar_t): Likewise.
58739         (_G_wint_t): Likewise.
58740         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58741         (_G_ssize_t): Likewise.
58742         (_G_off_t): Likewise.
58743         (_G_pid_t): Likewise.
58744         (_G_uid_t): Likewise.
58745         (_G_wchar_t): Likewise.
58746         (_G_wint_t): Likewise.
58748 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58750         * malloc/arena.c: Include malloc-sysdep.h.
58751         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58752         is sufficient to shrink the heap or an unmap is needed.
58753         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58754         new function check_may_shrink_heap.
58755         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58756         new function check_may_shrink_heap.
58758 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58760         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58761         comments.
58763 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58765         * catgets/test-gencat.sh: Add "set -e".
58766         * elf/tst-pathopt.sh: Likewise.
58767         * grp/tst_fgetgrent.sh: Likewise.
58768         * iconvdata/run-iconv-test.sh: Likewise.
58769         * intl/tst-gettext.sh: Likewise.
58770         * intl/tst-gettext2.sh: Likewise.
58771         * intl/tst-gettext4.sh: Likewise.
58772         * intl/tst-gettext6.sh: Likewise.
58773         * intl/tst-translit.sh: Likewise.
58774         * io/ftwtest-sh: Likewise.
58775         * libio/test-freopen.sh: Likewise.
58776         * malloc/tst-mtrace.sh: Likewise.
58777         * posix/globtest.sh: Likewise.
58778         * posix/tst-getconf.sh: Likewise.
58779         * posix/wordexp-tst.sh: Likewise.
58780         * stdio-common/tst-printf.sh: Likewise.
58781         * stdio-common/tst-unbputc.sh: Likewise.
58782         * stdlib/tst-fmtmsg.sh: Likewise.
58783         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58784         * catgets/Makefile: Do not specify -e option when running
58785         testsuite shell scripts.
58786         * elf/Makefile: Likewise.
58787         * grp/Makefile: Likewise.
58788         * iconvdata/Makefile: Likewise.
58789         * intl/Makefile: Likewise.
58790         * io/Makefile: Likewise.
58791         * libio/Makefile: Likewise.
58792         * malloc/Makefile: Likewise.
58793         * posix/Makefile: Likewise.
58794         * stdio-common/Makefile: Likewise.
58795         * stdlib/Makefile: Likewise.
58796         * sysdeps/x86_64/Makefile: Likewise.
58798         * io/ftwtest-sh: Add copyright header.
58799         * posix/globtest.sh: Likewise.
58800         * posix/tst-getconf.sh: Likewise.
58801         * posix/wordexp-tst.sh: Likewise.
58802         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58804 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58806         [BZ #13679]
58807         * Makeconfig (+link): Defined as $(+link-static) if
58808         $(build-shared) isn't yes.
58809         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58810         isn't yes.
58811         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58813         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58815         [BZ #14562]
58816         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58817         new chunk size with MALLOC_ALIGN_MASK.
58819 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58821         [BZ #5044]
58822         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58823         <rounding-mode.h>.
58824         (__printf_fphex): Determine rounding using get_rounding_mode and
58825         round_away.
58826         * stdio-common/tst-printf-round.c (struct hex_test): New
58827         structure.
58828         (hex_tests): New variable.
58829         (test_hex_in_one_mode): New function.
58830         (do_test): Also run tests for hex float output.
58832 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58834         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58835         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58836         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58837         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58838         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58839         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58840         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58841         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58843 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58845         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58846         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58847         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58848         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58850 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58852         [BZ #14579]
58853         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58854         mode only.
58855         * elf/tst-rtld-load-self.sh: New test.
58856         * elf/Makefile: Run it.
58858 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58860         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58861         (tst-writev-ENV): Remove.
58862         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58864 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58866         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58868 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58870         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58871         unconditional.
58872         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58873         Likewise.
58874         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58875         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58876         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58877         Likewise.
58879 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58881         [BZ #14587]
58882         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58883         * config.make.in (have-cpp-asm-debuginfo): Removed.
58884         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58885         * configure: Regenerated.
58887 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58889         [BZ #5044]
58890         * stdio-common/printf_fp.c: Include <stdbool.h> and
58891         <rounding-mode.h>.
58892         (___printf_fp): Determine rounding using get_rounding_mode and
58893         round_away.
58894         * stdio-common/tst-printf-round.c: New file.
58895         * stdio-common/Makefile (tests): Add tst-printf-round.
58896         (link-libm): New variable.
58897         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58899 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58901         [BZ #14576]
58902         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58903         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58904         Likewise.
58905         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58906         Likewise.
58908 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58910         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58911         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58912         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58913         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58915 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58917         [BZ #14518]
58918         * include/rounding-mode.h: New file.
58919         * sysdeps/generic/get-rounding-mode.h: Likewise.
58920         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58921         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58922         (MAX_VALUE): New macro.
58923         (MIN_VALUE): Likewise.
58924         (overflow_value): New function.
58925         (underflow_value): Likewise.
58926         (round_and_return): Use overflow_value and underflow_value to
58927         determine return values in overflow and underflow cases.  Use
58928         round_away to determine rounding depending on rounding mode.
58929         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58930         determine return values in overflow and underflow cases.
58931         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58932         (struct test_results): New structure.
58933         (struct test): Use struct test_results to store expected results
58934         for all rounding modes.
58935         (TEST): Include expected results for all rounding modes.
58936         (test_in_one_mode): New function.
58937         (do_test): Use test_in_one_mode to compute and check results.
58938         Check results for all rounding modes.
58939         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58940         $(link-libm).
58942 2012-12-09  Allan McRae  <allan@archlinux.org>
58944         * sysdeps/i386/fpu/libm-test-ulps: Update
58946 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58948         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58949         (_G_int32_t): Likewise.
58950         (_G_uint16_t): Likewise.
58951         (_G_uint32_t): Likewise.
58952         (_G_HAVE_BOOL): Likewise.
58953         (_G_HAVE_ATEXIT): Likewise.
58954         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58955         (_G_HAVE_IO_FILE_OPEN): Likewise.
58956         * sysdeps/gnu/_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/mach/hurd/_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.
58973 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58975         * csu/libc-tls.c: Update copyright years.
58977 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58979         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58980         [!_G_USING_THUNKS]: Remove conditional code.
58981         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58982         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58984         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58985         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58986         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58987         (_G_VTABLE_LABEL_PREFIX): Likewise.
58988         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58989         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58990         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58991         (_G_VTABLE_LABEL_PREFIX): Likewise.
58992         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58993         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58994         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58995         (_G_VTABLE_LABEL_PREFIX): Likewise.
58996         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58998 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59000         * libio/Makefile: Include ../Makeconfig before tests.
59001         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59002         only if $(build-shared) is yes.
59004         * iconv/gconv_db.c: Update copyright years.
59006 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59008         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59009         unwind info if defined PIC. Fix special cases description.
59010         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59012         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59013         DP_HI_MASK entry.
59014         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59016 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59018         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59020         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59021         is NULL.
59023         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59024         (LDLIBS-tst-chk4): This.
59025         (LDFLAGS-tst-chk5): Renamed to ...
59026         (LDLIBS-tst-chk5): This.
59027         (LDFLAGS-tst-chk6): Renamed to ...
59028         (LDLIBS-tst-chk6): This.
59029         (LDFLAGS-tst-lfschk4): Renamed to ...
59030         (LDLIBS-tst-lfschk4): This.
59031         (LDFLAGS-tst-lfschk5): Renamed to ...
59032         (LDLIBS-tst-lfschk5): This.
59033         (LDFLAGS-tst-lfschk6): Renamed to ...
59034         (LDLIBS-tst-lfschk6): This.
59036         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59037         on $(common-objpfx)soversions.mk.
59039 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59041         [BZ #10014]
59042         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59043         example host name.
59045 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59047         * malloc/arena.c (arena_get_retry): New function that gets
59048         another arena for the caller to try its request on.
59049         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59050         current arena cannot fulfill the request.
59051         (__libc_memalign): Likewise.
59052         (__libc_memalign): Likewise.
59053         (__libc_pvalloc): Likewise.
59054         (__libc_calloc): Likewise.
59056 2012-09-05  John Tobey  <john.tobey@gmail.com>
59058         [BZ #13542]
59059         * manual/arith.texi (Operations on Complex): Fix description
59060         of carg branch cut.
59062 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59064         [BZ #10014]
59065         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59066         host name.
59068         [BZ #10038]
59069         * manual/memory.texi (Memory): Make order of menu items match
59070         order of sections.
59072 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59074         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59075         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59076         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59078 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59080         * csu/libc-tls.c (static_dtv): Renamed to ...
59081         (_dl_static_dtv): This.  Make it global.
59082         (_dl_initial_dtv): Removed.
59083         (__libc_setup_tls): Updated.
59084         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59085         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59086         DL_INITIAL_DTV.
59088 2012-09-06  Petr Machata  <pmachata@redhat.com>
59090         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59091         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59092         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59093         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59095 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59097         [BZ #14545]
59098         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59099         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59100         freeing dtv[-1].
59102 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59104         [BZ #14544]
59105         * Makeconfig (link-static-before-libc): Replace $(+prector)
59106         with $(+prectorT).
59107         (link-static-after-libc): Replace $(+postctor) with
59108         $(+postctorT).
59109         (link-bounded): Replace $(+prector)/$(+postctor) with
59110         $(+prectorT)/$(+postctorT).
59111         (+prectorT): New macro.
59112         (+postctorT): Likewise.
59114 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59116         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59117         (round_str): Handle values above the maximum for IBM long double
59118         as inexact.
59119         * stdlib/tst-strtod-round.c (tests): Regenerated.
59121 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59123         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59124         assembler flag.
59125         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59126         zarch_nohighgprs around the zarch optimized routines.
59127         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59128         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59130         for zarch.
59132 2012-09-05  David S. Miller  <davem@davemloft.net>
59134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59136         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59137         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59138         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59139         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59140         entries.
59142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59144         * malloc/arena.c: Fold copyright years.
59145         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59147 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59149         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59151 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59153         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59155 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59157         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59158         change internal state upon failure.
59160 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59162         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59163         * malloc/memusage.c (mmap): Likewise.
59164         (mmap64, mremap): Likewise.  Adjust name in comment.
59166 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59168         * libio/fileops.c: Fix typos in comments.
59169         * libio/oldfileops.c: Likewise.
59170         * libio/wfileops.c: Likewise.
59172 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59174         [BZ #1349]
59175         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59176         (tst-malloc-usable-ENV): Set environment for test case.
59177         * malloc/hooks.c (malloc_check_get_size): New function to get
59178         requested size.
59179         * malloc/malloc.c (musable): Use malloc_check_get_size.
59180         * malloc/tst-malloc-usable.c: New test case.
59182 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59184         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59186 2012-09-05  Allan McRae  <allan@archlinux.org>
59188         [BZ #13966]
59189         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59190         determine header location.
59191         * configure: Regenerated.
59193 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59195         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59196         float format.
59197         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59198         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59199         format.
59200         (test): Regenerate.
59202 2012-09-04  David S. Miller  <davem@davemloft.net>
59204         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59205         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59206         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59208 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59210         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59211         failures.
59213         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59215 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59217         [BZ #9914]
59218         * libio/iogetdelim.c: Include <limits.h>.
59219         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59220         + len + 1 would overflow.
59222 2012-09-03  Andreas Jaeger  <aj@suse.de>
59224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59225         * sysdeps/i386/fpu/libm-test-ulps: Update.
59227 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59229         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59230         Add s_sinf-sse2, s_conf-sse2.
59232         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59233         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59234         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59235         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59237         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59238         for using routine as __sinf_ia32.
59239         Use macro for function declaration and weak_alias.
59240         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59241         for using routine as __cosf_ia32.
59242         Use macro for function declaration and weak_alias.
59244         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59245         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59247         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59248         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59251         * math/libm-test.inc (cos_test): Add more test cases.
59252         (sin_test): Likewise.
59253         (sincos_test): Likewise.
59255 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59257         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59258         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59259         hidden.
59260         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59262 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59264         [BZ #14538]
59265         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59266         first element of the GOT.
59267         (elf_machine_load_address): Return the difference between
59268         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59270 2012-09-01  Allan McRae  <allan@archlinux.org>
59272         [BZ #13412]
59273         * configure.in (AWK): Require gawk version 3.0 or later.
59274         * configure: Regenerated.
59276 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59278         * sysdeps/unix/sysv/linux/kernel-features.h
59279         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59280         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59281         [__NR_clock_getres]: Make code unconditional.
59282         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59283         (clock_getcpuclockid): Remove code left unreachable by removal of
59284         conditionals.
59285         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59286         code unconditional.
59287         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59288         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59289         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59290         Make code unconditional.
59291         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59292         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59293         * sysdeps/unix/sysv/linux/clock_settime.c
59294         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59295         conditional code.
59296         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59297         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59299 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59301         [BZ #14476]
59302         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59303         scripts/test-installation.pl.
59305         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59306         and $ld_so_version if it is set.
59308 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59310         [BZ #14516]
59311         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59312         failure if reading from procfs failed.
59313         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59315 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59317         * sysdeps/unix/sysv/linux/kernel-features.h
59318         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59319         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59320         Remove conditional code.
59321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59322         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59323         Remove conditional code.
59324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59325         * sysdeps/unix/sysv/linux/i386/fxstat.c
59326         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59328         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59329         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59331         * sysdeps/unix/sysv/linux/i386/lxstat.c
59332         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59334         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59335         Remove conditional code.
59336         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59337         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59338         Remove conditional code.
59339         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59340         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59341         <kernel-features.h>.
59342         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59343         Remove.
59344         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59345         Remove conditional code.
59346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59347         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59348         Remove conditional.
59350 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59352         [BZ #5400]
59353         * NEWS: Add fixed bug number.
59355 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59357         [BZ #14519]
59358         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59359         underflowing exponent in case of negative sign.
59360         * stdlib/tst-strtod-round-data: Add more tests.
59361         * stdlib/tst-strtod-round.c (tests): Regenerated.
59363         [BZ #3479]
59364         * stdlib/strtod_l.c (NDIG): Remove.
59365         (HEXNDIG): Likewise.
59366         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59367         smallest representable value.
59368         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59369         lie within an exact representation of 1/2 ulp of the result.
59370         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59371         unconditionally.
59372         (TENS_P9_IDX): Define unconditionally.
59373         (TENS_P9_SIZE): Likewise.
59374         (TENS_P10_IDX): Likewise.
59375         (TENS_P10_SIZE): Likewise.
59376         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59377         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59378         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59379         entries for 10^2^13 and 10^2^14.
59380         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59381         (TENS_P13_IDX): Define.
59382         (TENS_P13_SIZE): Likewise.
59383         (TENS_P14_IDX): Likewise.
59384         (TENS_P14_SIZE): Likewise.
59385         (_fpioconst_pow10): Change array size to
59386         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59387         unconditional.
59388         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59389         1024]: Add entries for 10^2^13 and 10^2^14.
59390         [LAST_POW10 > _LAST_POW10]: Remove #error.
59391         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59392         (_fpioconst_pow10): Change array size to
59393         FPIOCONST_POW10_ARRAY_SIZE.
59394         * stdlib/gen-fpioconst.c: New file.
59395         * stdlib/gen-tst-strtod-round.c: Likewise.
59396         * stdlib/tst-strtod-round-data: Likewise.
59397         * stdlib/tst-strtod-round.c: Likewise.
59398         * stdlib/Makefile (tests): Add tst-strtod-round.
59400         [BZ #14459]
59401         * stdlib/strtod_l.c: Include <stdint.h>.
59402         (NDEBUG): Do not define.
59403         (round_and_return): Change EXPONENT parameter to type intmax_t.
59404         Rearrange calculations to avoid internal overflow possibilities.
59405         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59406         Rearrange calculations to avoid internal overflow possibilities.
59407         Assert that number fits inside MPNSIZE limbs.
59408         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59409         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59410         calculations and add assertions to avoid internal overflow
59411         possibilities.  Add casts to avoid signed/unsigned operations.
59412         * stdlib/tst-strtod-overflow.c: New file.
59413         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59415 2012-08-25  Marek Polacek  <polacek@redhat.com>
59417         * time/time.h: Fix some typos in comments.
59419 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59421         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59422         * posix/tst-rfc3484-2.c: Likewise.
59423         * posix/tst-rfc3484-3.c: Likewise.
59425 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59427         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59428         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59430 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59432         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59433         #include of fxstatat64.c.
59435 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59437         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59438         * shadow/getspent_r.c: Likewise.
59439         * shadow/getspnam.c: Likewise.
59440         * shadow/getspnam_r.c: Likewise.
59441         * gshadow/getsgent.c: Likewise.
59442         * gshadow/getsgent_r.c: Likewise.
59443         * gshadow/getsgnam.c: Likewise.
59444         * gshadow/getsgnam_r.c: Likewise.
59445         * inet/getnetbyad.c: Likewise.
59446         * inet/getnetbyad_r.c: Likewise.
59447         * inet/getnetbynm.c: Likewise.
59448         * inet/getnetbynm_r.c: Likewise.
59449         * inet/getnetent.c: Likewise.
59450         * inet/getnetent_r.c: Likewise.
59451         * inet/getproto.c: Likewise.
59452         * inet/getproto_r.c: Likewise.
59453         * inet/getprtent.c: Likewise.
59454         * inet/getprtent_r.c: Likewise.
59455         * inet/getprtname.c: Likewise.
59456         * inet/getprtname_r.c: Likewise.
59457         * inet/getrpcbyname.c: Likewise.
59458         * inet/getrpcbyname_r.c: Likewise.
59459         * inet/getrpcbynumber.c: Likewise.
59460         * inet/getrpcbynumber_r.c: Likewise.
59461         * inet/getrpcent.c: Likewise.
59462         * inet/getrpcent_r.c: Likewise.
59463         * inet/getaliasent.c: Likewise.
59464         * inet/getaliasent_r.c: Likewise.
59465         * inet/getaliasname.c: Likewise.
59466         * inet/getaliasname_r.c: Likewise.
59467         * nscd/getgrgid_r.c: Likewise.
59468         * nscd/getgrnam_r.c: Likewise.
59469         * nscd/gethstbyad_r.c: Likewise.
59470         * nscd/gethstbynm3_r.c: Likewise.
59471         * nscd/getpwnam_r.c: Likewise.
59472         * nscd/getpwuid_r.c: Likewise.
59473         * nscd/getsrvbynm_r.c: Likewise.
59474         * nscd/getsrvbypt_r.c: Likewise.
59475         * nscd/gai.c: Likewise.
59477         * configure.in (build_nscd): New substituted variable, set
59478         by --disable-build-nscd and defaults to $use_nscd.
59479         * configure: Regenerated.
59480         * config.make.in (build-nscd): New substituted variable.
59481         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59482         Change conditional to require [$(build-nscd) = yes] as well.
59483         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59485         [BZ# 13696]
59486         * configure.in (use_nscd): New substituted variable, set by
59487         --disable-nscd.  If enabled, define USE_NSCD.
59488         * configure: Regenerated.
59489         * config.h.in: Add USE_NSCD.
59490         * config.make.in (use-nscd): New substituted variable.
59491         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59492         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59493         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59494         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59495         (CFLAGS-getgrnam_r.c): Likewise.
59496         (CFLAGS-initgroups.c): Likewise.
59497         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59498         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59499         Variables removed.
59500         * inet/getnetgrent_r.c
59501         (nscd_setnetgrent): New function, broken out of ...
59502         (setnetgrent): ... here.  Call it.
59503         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59504         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59505         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59506         * nscd/Makefile (routines, aux): Move definitions after include of
59507         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59508         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59509         Conditionalize on [USE_NSCD].
59510         (is_nscd, nscd_init_cb): Likewise.
59511         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59512         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59513         * nss/nss_db/db-init.c: Likewise.
59514         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59515         [USE_NSCD].
59516         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59517         (make_request): Use it.
59518         (cache_valid_p): New function.
59519         (__check_pf): Use it.
59520         * NEWS: Add item for --disable-nscd.
59522 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59524         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59525         to support sed >= 4.2.1-20-ga9bf076.
59526         * configure: Regenerated.
59528 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59530         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59531         Conditionalize whole body on [IREL].
59533 2012-08-22  Jeff Law <law@redhat.com>
59535         [BZ #14505]
59536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59537         if the family is PF_UNSPEC.
59539 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59541         * Makerules (lib-version): Rename from V.
59542         (install-lib-nosubdir): Change V to lib-version.
59544 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59546         [BZ #14252]
59547         * powerpc32/power6/wcschr.c: New file.
59548         * powerpc32/power6/wcscpy.c: New file.
59549         * powerpc32/power6/wcsrchr.c: New file.
59550         * powerpc64/power6/wcschr.c: New file.
59551         * powerpc64/power6/wcscpy.c: New file.
59552         * powerpc64/power6/wcsrchr.c: New file.
59554 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59556         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59557         (two_way_short_needle): Use it.
59558         * string/strstr.c (AVAILABLE1_USES_J): Define.
59559         * string/strcasestr.c: Likewise.
59561         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59562         array references.
59563         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59565         [BZ #11607]
59566         * NEWS: Add an entry.
59567         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59568         define their defaults.
59569         (two_way_short_needle): Detect end-of-string on-the-fly.
59570         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59571         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59572         * string/bug-strcasestr1.c: New test.
59573         * string/Makefile: Run it.
59575 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59577         [BZ #11607]
59578         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59579         the first character.
59581 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59583         * csu/elf-init.c (__libc_csu_irel): Function removed.
59584         * csu/libc-start.c (apply_irel): New function.
59585         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59587 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59589         * sysdeps/unix/sysv/linux/kernel-features.h
59590         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59591         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59592         <kernel-features.h>.
59593         [__NR_fadvise64_64]: Make code unconditional.
59594         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59595         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59596         !__NR_fadvise64_64)]: Likewise.
59597         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59598         !__NR_fadvise64_64))]: Likewise.
59599         [__NR_fadvise64]: Make code unconditional.
59600         [!__NR_fadvise64]: Remove conditional code.
59601         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59602         <kernel-features.h>.
59603         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59604         unconditional.
59605         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59606         conditional code.
59607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59608         not include <kernel-features.h>.
59609         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59610         unconditional.
59611         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59612         conditional code.
59613         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59614         include <kernel-features.h>.
59615         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59616         unconditional.
59617         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59618         conditional code.
59620 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59622         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59623         slight instruction rearrangements per scrollpipe analysis.
59624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59626 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59628         * manual/syslog.texi (syslog; vsyslog, closelog):
59629         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59630         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59632         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59633         DSOCAPS to match condition on defining it.
59635 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59637         * sysdeps/unix/sysv/linux/kernel-features.h
59638         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59640         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59641         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59643         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59644         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59646         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59647         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59649         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59650         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59652         * sysdeps/unix/sysv/linux/kernel-features.h
59653         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59654         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59655         unconditional.
59656         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59657         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59658         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59659         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59660         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59661         Make code unconditional.
59662         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59663         (__mmap64) [!__NR_mmap2]: Likewise.
59664         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59665         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59666         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59667         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59668         [__NR_mmap2]: Make code unconditional.
59669         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59670         (__mmap64) [!__NR_mmap2]: Likewise.
59672 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59674         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59676 2012-08-18  Andreas Jaeger  <aj@suse.de>
59678         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59680 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59682         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59683         * include/unistd.h (__have_sock_cloexec): Likewise.
59684         (__have_pipe2): Likewise.
59685         (__have_dup3): Likewise.
59687 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59689         [BZ #9685]
59690         * include/unistd.h (__have_pipe2): Change define into an extern int.
59691         (__have_dup3): Likewise.
59692         * socket/have_sock_cloexec.c: Include fcntl.h.
59693         (__have_pipe2): New variable.
59694         (__have_dup3): Likewise.
59696 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59698         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59700 2012-08-17  Marek Polacek  <polacek@redhat.com>
59702         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59703         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59705 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59707         * configure.in: Add AC_SUBST for sysheaders.
59708         * configure: Regenerated.
59709         * config.make.in (sysheaders): New substituted variable.
59711         * sysdeps/unix/mkfifo.c: Moved ...
59712         * sysdeps/posix/mkfifo.c: ... here.
59713         * sysdeps/unix/mkfifoat.c: Moved ...
59714         * sysdeps/posix/mkfifoat.c: ... here.
59716         * sysdeps/unix/utime.c: Moved ...
59717         * sysdeps/posix/utime.c: ... here.
59719         * sysdeps/unix/time.c: Moved ...
59720         * sysdeps/posix/time.c: ... here.
59721         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59722         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59724         * sysdeps/unix/nice.c: Moved ...
59725         * sysdeps/posix/nice.c: ... here.
59727         * sysdeps/unix/alarm.c: Moved ...
59728         * sysdeps/posix/alarm.c: ... here.
59730         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59732 2012-08-17  Jeff Law <law@redhat.com>
59734         * intl/Makefile (codeset_mo): New variable.
59735         ($(codeset_mo)): New target.
59736         (tst-codeset.out): Depend on that.  Remove explicit rule.
59737         (tst-gettext3.out, tst-gettext5.out): Likewise.
59738         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59739         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59740         * intl/tst-codeset.sh: Remove.
59741         * intl/tst-gettext3.sh: Likewise.
59742         * intl/tst-gettext5.sh: Likewise.
59744 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59746         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59747         * sysdeps/unix/syscalls.list: ... here.
59749         * sysdeps/posix/getaddrinfo.c
59750         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59751         (gaiconf_init, gaiconf_reload): Use them.
59752         [!_STATBUF_ST_NSEC]
59753         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59754         Define using time_t rather than struct timespec.
59756         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59757         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59758         Macros removed.
59759         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59760         [!NO_THREADS].
59761         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59762         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59763         Likewise.
59765         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59766         __libc_cleanup_push argument.
59768         * bits/param.h: New file.
59769         * misc/sys/param.h: New file.
59770         * include/sys/param.h: New file.
59771         * misc/Makefile (headers): Add bits/param.h.
59772         * sysdeps/generic/sys/param.h: File removed.
59773         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59774         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59775         * sysdeps/mach/hurd/bits/param.h: New file.
59776         * sysdeps/mach/hurd/sys/param.h: File removed.
59778         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59779         last change.
59781         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59782         [_IO_MTSAFE_IO].
59783         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59784         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59785         New macros.
59787         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59788         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59789         rather than -D_IO_MTSAFE_IO conditionally.
59790         * stdio-common/Makefile (CPPFLAGS): Likewise.
59791         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59792         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59793         Use $(libio-mtsafe).
59794         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59795         of -D_IO_MTSAFE_IO.
59796         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59797         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59798         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59799         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59800         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59801         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59802         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59803         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59804         (CFLAGS-fread_u_chk.c): Likewise.
59805         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59806         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59807         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59808         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59809         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59810         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59811         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59812         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59813         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59815         * libio/Makefile: Test [$(libc-reentrant) = yes]
59816         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59818         * Makeconfig
59819         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59820         * sysdeps/pthread/configure: File removed.
59821         * sysdeps/pthread/Makeconfig: New file.
59822         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59823         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59825 2012-08-16  Gary Benson  <gbenson@redhat.com>
59827         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59828         unmapping the first object in a namespace.
59830 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59832         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59833         (__internal_setnetgrent): ... this.  Add internal_function to
59834         definition.  Add libc_hidden_def.
59835         (setnetgrent): Update caller.
59836         (internal_endnetgrent): Renamed to ...
59837         (__internal_endnetgrent): ... this.  Add internal_function to
59838         definition.  Add libc_hidden_def.
59839         (endnetgrent): Update caller.
59840         (internal_getnetgrent_r): Renamed to ...
59841         (__internal_getnetgrent_r): ... this.  Add internal_function to
59842         definition.  Add libc_hidden_def.
59843         (__getnetgrent_r): Update caller.
59844         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59846 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59848         * stdlib/longlong.h: Update from GCC.
59850 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59852         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59853         on _QL, which is set by umul_ppmm but never used.
59854         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59855         variables, which are set by GMP macros but never used.
59856         * stdio-common/_itowa.c (_itowa): Likewise.
59857         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59858         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59860 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59862         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59863         struct La_sh_regs is not constant.
59864         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59865         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59866         and struct La_sparc64_regs are not constant.
59868 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59870         * sysdeps/unix/sysv/linux/kernel-features.h
59871         (__ASSUME_POSIX_TIMERS): Remove.
59872         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59873         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59874         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59875         Make code unconditional.
59876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59877         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59878         Make code unconditional.
59879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59880         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59881         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59882         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59883         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59884         Make code unconditional.
59885         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59886         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59887         (__libc_missing_posix_timers): Remove.
59889 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59891         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59892         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59894         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59896         * elf/dl-sym.c: Include <stdlib.h>.
59898         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59899         constants, which avoids warnings in 32-bit builds.
59901         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59902         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59904         * misc/lseek.c: File moved to ...
59905         * io/lseek.c: ... here.
59907         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59909         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59910         shifting LEN more than 31 bits at once.
59912 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59914         [BZ #14195]
59915         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59916         segmentation fault for a case of two empty input strings.
59917         * string/test-strncasecmp.c (check1): Renamed to...
59918         (bz12205): ...this.
59919         (bz14195): Add new testcase for two empty input strings and N > 0.
59920         (test_main): Call new testcase, adapt for renamed function.
59922 2012-08-15  Andreas Jaeger  <aj@suse.de>
59924         [BZ #14090]
59925         * crypt/md5test2.c: New test, based on test supplied by Serge
59926         Belyshev <belyshev@depni.sinp.msu.ru>.
59927         * crypt/Makefile (xtests): Add md5test-giant..
59928         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59930 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59932         [BZ #14090]
59933         * crypt/md5.c (md5_process_block): Don't assume the buffer
59934         length is less than 2**32.
59935         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59936         length is less than 2**64.
59938 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59940         * string/str-two-way.h: Include <sys/param.h>.
59941         (MAX): Macro removed.
59943         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59944         Move #define and #undef of memmove to just before and after
59945         including <string.h>.
59947         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59948         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59949         and after including <string.h>.  Move declarations of
59950         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59951         to before #include "string/memmove.c".
59953         * include/dirent.h: Declare __getdirentries.
59955         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59956         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59958 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59960         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59961         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59962         * sysdeps/i386/configure: Regenerated.
59963         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59964         STABS_CURRENT_FILE, and STABS_FUN.
59965         (END): Remove call to STABS_FUN_END.
59966         (STABS_CURRENT_FILE1): Delete.
59967         (STABS_CURRENT_FILE): Likewise.
59968         (STABS_FUN): Likewise.
59969         (STABS_FUN_END): Likewise.
59970         (STABS_FUN2): Likewise.
59971         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59972         * sysdeps/x86_64/configure: Regenerated.
59974 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59976         * elf/dl-open.c: Include <atomic.h>.
59977         * elf/dl-lookup.c: Likewise.
59979 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59981         * sysdeps/unix/sysv/linux/kernel-features.h
59982         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59983         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59984         unconditionally.
59985         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59986         unconditionally.
59987         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59988         condition on __ASSUME_CLONE_THREAD_FLAGS.
59990 2012-08-14  Andreas Jaeger  <aj@suse.de>
59992         * sysdeps/i386/fpu/libm-test-ulps: Update.
59994 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59996         * include/atomic.h (atomic_exchange_and_add): Split into ...
59997         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59998         New atomic macros.
60000 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60004 2012-08-13  Jeff Law <law@redhat.com>
60006         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60007         null byte in the output string.
60009 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60011         * sysdeps/unix/sysv/linux/kernel-features.h
60012         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60013         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60014         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60015         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60016         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60017         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60018         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60020 2012-08-09  Jeff Law <law@redhat.com>
60022         [BZ #13939]
60023         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60024         When avoid_arena is set, don't retry in the that arena.  Pick the
60025         next one, whatever it might be.
60026         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60027         (arena_lock): Pass in new parameter to arena_get2.
60028         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60029         arena_get2.
60030         (__libc_malloc): Unify retrying after main arena failure with
60031         __libc_memalign version.
60032         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60034 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60036         [BZ #14166]
60037         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60038         to __redirect_strstr.
60039         (__strstr_sse42): Use typeof __redirect_strstr.
60040         (__strstr_ia32): Likewise.
60041         (__libc_strstr): New prototype.
60042         (strstr): Renamed to ...
60043         (__libc_strstr): This.
60044         (strstr): New strong alias of __libc_strstr.
60045         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60046         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60047         __redirect_time.
60048         Include <time.h>.
60049         (__libc_time): New prototype.
60050         (time_ifunc): Replace time with __libc_time.
60051         (time): New strong alias and hidden definition of __libc_time.
60052         (__GI_time): Remove strong alias.
60053         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60054         Include <stddef.h>.
60055         (memmove): Redefined to __redirect_memmove.
60056         (__memmove_sse2): Use typeof __redirect_memmove.
60057         (__memmove_ssse3): Likewise.
60058         (__memmove_ssse3_back): Likewise.
60059         (__libc_memmove): New prototype.
60060         (memmove): Renamed to ...
60061         (__libc_memmove): This.
60062         (memmove): New strong alias of __libc_memmove.
60064 2012-08-08  Mark Salter  <msalter@redhat.com>
60066         * elf/elf.h
60067         (R_MN10300_TLS_GD): Define.
60068         (R_MN10300_TLS_LD): Likewise.
60069         (R_MN10300_TLS_LDO): Likewise.
60070         (R_MN10300_TLS_GOTIE): Likewise.
60071         (R_MN10300_TLS_IE): Likewise.
60072         (R_MN10300_TLS_LE): Likewise.
60073         (R_MN10300_TLS_DTPMOD): Likewise.
60074         (R_MN10300_TLS_DTPOFF): Likewise.
60075         (R_MN10300_TLS_TPOFF): Likewise.
60076         (R_MN10300_SYM_DIFF): Likewise.
60077         (R_MN10300_ALIGN): Likewise.
60078         (R_MN10300_NUM): Update.
60080 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60082         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60083         Remove.
60085 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60087         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60089         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60090         sysdeps/unix -> sysdeps/posix move.
60091         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60093 2012-08-07      Allan McRae     <allan@archlinux.org>
60095         [BZ #14303]
60096         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60097         (SUNOS_CPP): Likewise.
60098         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60099         not found.
60100         (open_input): Call CPP using execvp.
60102 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60104         * sysdeps/unix/sysv/linux/kernel-features.h
60105         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60106         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60107         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60108         (__ASSUME_WAITID_SYSCALL): Likewise.
60109         * sysdeps/unix/sysv/linux/dl-execstack.c
60110         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60111         code unconditional.
60112         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60113         conditional code.
60114         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60115         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60116         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60117         code.
60118         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60119         unconditional.
60120         [__ASSUME_WAITID_SYSCALL]: Likewise.
60121         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60123 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60125         * sysdeps/unix/closedir.c: Renamed to ...
60126         * sysdeps/posix/closedir.c: ... here.
60127         * sysdeps/unix/dirfd.c: Renamed to ...
60128         * sysdeps/posix/dirfd.c: ... here.
60129         * sysdeps/unix/dirstream.h: Renamed to ...
60130         * sysdeps/posix/dirstream.h: ... here.
60131         * sysdeps/unix/fdopendir.c: Renamed to ...
60132         * sysdeps/posix/fdopendir.c: ... here.
60133         * sysdeps/unix/opendir.c: Renamed to ...
60134         * sysdeps/posix/opendir.c: ... here.
60135         * sysdeps/unix/readdir.c: Renamed to ...
60136         * sysdeps/posix/readdir.c: ... here.
60137         * sysdeps/unix/readdir_r.c: Renamed to ...
60138         * sysdeps/posix/readdir_r.c: ... here.
60139         * sysdeps/unix/rewinddir.c: Renamed to ...
60140         * sysdeps/posix/rewinddir.c: ... here.
60141         * sysdeps/unix/seekdir.c: Renamed to ...
60142         * sysdeps/posix/seekdir.c: ... here.
60143         * sysdeps/unix/telldir.c: Renamed to ...
60144         * sysdeps/posix/telldir.c: ... here.
60145         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60146         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60147         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60148         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60150         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60151         * bits/fcntl.h: ... here.
60153         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60154         not 0.
60155         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60156         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60157         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60158         (struct flock): Move l_start, l_len to the beginning.
60159         Use __pid_t for l_pid.
60160         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60161         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60162         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60163         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60164         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60165         [__USE_LARGEFILE64] (struct flock64): New type.
60166         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60168         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60169         * bits/dirent.h: ... here.
60171         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60172         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60174 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60176         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60177         Change from 2.6.0 to 2.6.16.
60178         * sysdeps/unix/sysv/linux/configure: Regenerated.
60179         * sysdeps/unix/sysv/linux/kernel-features.h
60180         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60181         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60182         version.
60183         (__ASSUME_UTIMES): Likewise.
60184         (__ASSUME_CLONE_STOPPED): Remove.
60185         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60186         architectures, not kernel version.
60187         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60188         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60189         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60190         (__ASSUME_WAITID_SYSCALL): Likewise.
60191         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60192         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60193         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60194         refer to older versions.
60196 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60198         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60199         Define alphasort64 as an alias.
60200         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60201         Define versionsort64 as an alias.
60202         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60203         Define scandir64 as an alias.
60204         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60205         Define scandirat64 as an alias.
60206         * dirent/alphasort64.c (alphasort64):
60207         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60208         * dirent/versionsort64.c: Likewise.
60209         * dirent/scandir64.c: Likewise.
60210         * dirent/scandirat64.c: Likewise.
60211         * sysdeps/wordsize-64/alphasort.c: File removed.
60212         * sysdeps/wordsize-64/alphasort64.c: File removed.
60213         * sysdeps/wordsize-64/scandir.c: File removed.
60214         * sysdeps/wordsize-64/scandir64.c: File removed.
60215         * sysdeps/wordsize-64/scandirat.c: File removed.
60216         * sysdeps/wordsize-64/scandirat64.c: File removed.
60217         * sysdeps/wordsize-64/versionsort.c: File removed.
60218         * sysdeps/wordsize-64/versionsort64.c: File removed.
60219         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60220         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60221         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60222         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60223         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60224         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60225         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60226         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60228         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60229         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60230         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60231         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60232         [defined __arch64__ || defined __sparcv9]
60233         (__INO_T_MATCHES_INO64_T): New macro.
60234         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60235         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60236         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60237         * sysdeps/unix/sysv/linux/bits/dirent.h
60238         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60239         (_DIRENT_MATCHES_DIRENT64): New macro.
60241         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60242         Define lockf64 as an alias.
60243         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60244         Define fseeko64 as an alias.
60245         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60246         Define ftello64 as an alias.
60247         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60248         Define _IO_fgetpos64 and fgetpos64 as aliases.
60249         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60250         Define _IO_fsetpos64 and fsetpos64 as aliases.
60251         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60252         Conditionalize body on this.
60253         * libio/fseeko64.c: Likewise.
60254         * libio/ftello64.c: Likewise.
60255         * libio/iofgetpos64.c: Likewise.
60256         * libio/iofsetpos64.c: Likewise.
60257         * sysdeps/wordsize-64/lockf.c: File removed.
60258         * sysdeps/wordsize-64/lockf64.c: File removed.
60259         * sysdeps/wordsize-64/fseeko.c: File removed.
60260         * sysdeps/wordsize-64/fseeko64.c: File removed.
60261         * sysdeps/wordsize-64/ftello.c: File removed.
60262         * sysdeps/wordsize-64/ftello64.c: File removed.
60263         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60264         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60265         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60266         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60267         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60268         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60269         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60270         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60271         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60272         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60273         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60274         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60275         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60276         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60278         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60279         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60280         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60281         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60282         [defined __arch64__ || defined __sparcv9]
60283         (__OFF_T_MATCHES_OFF64_T): New macro.
60284         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60285         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60287         (__OFF_T_MATCHES_OFF64_T): New macro.
60289 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60291         * stdlib/secure-getenv.c (__secure_getenv): Replace
60292         GLIBC_2_16 with GLIBC_2_17.
60294 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60296         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60299 2012-08-03  David S. Miller  <davem@davemloft.net>
60301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60303 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60305         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60306         Remove.
60307         (__ASSUME_CORRECT_SI_PID): Likewise.
60308         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60309         (__ASSUME_TMPFS_NAME): Likewise.
60310         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60311         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60312         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60313         (HAVE_AUX_SECURE): Make definition unconditional.
60314         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60315         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60317 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60319         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60320         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60321         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60322         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60323         __eloop_threshold instead of SYMLOOP_MAX.
60325         * sysdeps/generic/eloop-threshold.h: New file.
60326         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60327         of MAXSYMLINKS.
60328         * elf/chroot_canon.c (chroot_canon): Likewise.
60330 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60332         [BZ #13717]
60333         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60334         Change to 2.6.0 everywhere.
60335         * sysdeps/unix/sysv/linux/configure: Regenerated.
60336         * sysdeps/unix/sysv/linux/kernel-features.h
60337         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60338         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60339         kernel versions.
60340         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60341         (__ASSUME_FUTEX_REQUEUE): Remove.
60342         (__ASSUME_STATFS64): Define unconditionally.
60343         (__ASSUME_AT_SECURE): Likewise.
60344         (__ASSUME_CORRECT_SI_PID): Likewise.
60345         (__ASSUME_TGKILL): Define without depending on kernel version for
60346         i386.
60347         (__ASSUME_UTIMES): Likewise.
60348         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60349         kernel version.
60350         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60351         (__ASSUME_TMPFS_NAME): Likewise.
60352         * README: Update reference to Linux kernel versions.
60354 2012-08-02  Marek Polacek  <polacek@redhat.com>
60356         [BZ# 14150]
60357         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60358         libc_cv_asm_type_prefix with %.
60359         * configure: Regenerated.
60360         * include/libc-symbols.h: Remove comment about
60361         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60362         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60363         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60364         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60365         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60366         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60367         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60368         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60369         * elf/tst-unique2mod1.c: Likewise.
60370         * elf/tst-unique1mod2.c: Likewise.
60371         * elf/tst-unique1mod1.c: Likewise.
60372         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60373         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60374         Replace ASM_TYPE_DIRECTIVE with .type.
60375         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60376         * sysdeps/i386/sysdep.h: Likewise.
60377         * sysdeps/x86_64/sysdep.h: Likewise.
60378         * sysdeps/sh/sysdep.h: Likewise.
60379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60380         Do not define ASM_TYPE_DIRECTIVE.
60381         * sysdeps/powerpc/sysdep.h: Likewise.
60382         * sysdeps/powerpc/powerpc32/sysdep.h:
60383         Replace ASM_TYPE_DIRECTIVE with .type.
60384         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60385         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60386         * sysdeps/i386/fpu/e_powf.S: Likewise.
60387         * sysdeps/i386/fpu/e_expl.S: Likewise.
60388         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60389         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60390         * sysdeps/i386/fpu/e_pow.S: Likewise.
60391         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60392         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60393         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60394         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60395         * sysdeps/i386/fpu/e_log2.S: Likewise.
60396         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60397         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60398         * sysdeps/i386/fpu/e_powl.S: Likewise.
60399         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60400         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60401         * sysdeps/i386/fpu/e_logl.S: Likewise.
60402         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60403         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60404         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60405         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60406         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60407         * sysdeps/i386/fpu/e_log.S: Likewise.
60408         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60409         * sysdeps/i386/fpu/e_logf.S: Likewise.
60410         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60411         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60412         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60413         * sysdeps/i386/fpu/e_log10.S: Likewise.
60414         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60415         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60416         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60417         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60418         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60419         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60420         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60421         * sysdeps/i386/i686/strtok.S: Likewise.
60422         * sysdeps/i386/i386-mcount.S: Likewise.
60423         * sysdeps/i386/strtok.S: Likewise.
60424         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60425         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60426         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60427         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60428         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60429         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60430         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60431         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60432         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60433         * sysdeps/x86_64/_mcount.S: Likewise.
60434         * sysdeps/x86_64/strtok.S: Likewise.
60435         * sysdeps/sh/_mcount.S: Likewise.
60437 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60439         * libio/iofopen.c: Include <fcntl.h>.
60440         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60441         (_IO_fopen64, fopen64): Define as aliases.
60442         * libio/iofopen64.c: Include <fcntl.h>.
60443         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60444         Conditionalize body on this.
60445         * sysdeps/wordsize-64/iofopen.c: File removed.
60446         * sysdeps/wordsize-64/iofopen64.c: File removed.
60448 2012-08-01  Marek Polacek  <polacek@redhat.com>
60450         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60451         Use dlfcn directly instead of a variable.
60452         (binfmt-subdir): Do not define.
60453         (dlfcn): Likewise.
60455 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60457         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60458         Remove all definitions.
60459         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60460         <kernel-features.h>.
60461         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60462         (miss_F_GETOWN_EX): Remove all definitions.
60463         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60464         macro definition.
60465         [!__ASSUME_FCNTL64]: Remove conditional code.
60466         [__ASSUME_FCNTL64]: Make code unconditional.
60467         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60468         <kernel-features.h>.
60469         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60470         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60471         (lockf64) [__NR_fcntl64]: Make code unconditional.
60472         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60474         * sysdeps/unix/sysv/linux/kernel-features.h
60475         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60476         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60477         Make code unconditional.
60478         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60479         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60481         [__NR_vfork]: Make code unconditional.
60482         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60483         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60485         [__NR_vfork]: Make code unconditional.
60486         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60487         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60489 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60491         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60492         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60494         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60495         Define mkstemp64 as an alias.
60496         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60497         Define mkstemps64 as an alias.
60498         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60499         Define mkostemp64 as an alias.
60500         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60501         Define mkostemps64 as an alias.
60502         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60503         Conditionalize body on this.
60504         * misc/mkostemp64.c: Likewise.
60505         * misc/mkostemps64.c: Likewise.
60506         * misc/mkstemps64.c: Likewise.
60507         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60508         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60509         * sysdeps/wordsize-64/mkostemp.c: File removed.
60510         * sysdeps/wordsize-64/mkstemp.c: File removed.
60511         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60512         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60513         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60514         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60516         [BZ #14138]
60517         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60518         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60519         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60520         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60522         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60523         compat_symbol macros from <shlib-compat.h> rather than the underlying
60524         default_symbol_version and symbol_version macros, so that DEFAULT
60525         lines in shlib-versions are respected.
60526         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60528 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60530         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60531         Declare with warn_unused_result.
60532         (setgid, setregid, setegid, setresgid): Likewise.
60533         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60534         Likewise.
60535         * WUR-REPORT: Remove set*id functions.
60537 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60539         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60541 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60543         [BZ #10191]
60544         * include/sys/socket.h (__libc_accept, __libc_accept4):
60545         Add attribute_hidden.
60546         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60548         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60549         use of PTR_MANGLE.
60550         * inet/getnetgrent_r.c (setup): Likewise.
60552         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60554 2012-07-31  David S. Miller  <davem@davemloft.net>
60556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60558 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60560         [BZ #13629]
60561         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60562         value between 1.0 and 2.0 and smaller part has absolute value less
60563         than 1.0.
60564         * math/s_clog10.c (__clog10): Likewise.
60565         * math/s_clog10f.c (__clog10f): Likewise.
60566         * math/s_clog10l.c (__clog10l): Likewise.
60567         * math/s_clogf.c (__clogf): Likewise.
60568         * math/s_clogl.c (__clogl): Likewise.
60569         * math/libm-test.inc (clog_test): Add more tests.
60570         (clog10_test): Likewise.
60571         * sysdeps/i386/fpu/libm-test-ulps: Update.
60572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60574 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60576         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60577         Exit with zero in case no suitable GID is found, and write a
60578         message to standard error.
60580 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60582         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60583         rather than to 1.
60584         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60585         (MAXPATHLEN): Removed.
60586         (NOGROUP, NODEV): New macros.
60587         (setbit, clrbit, isset, isclr): New macros.
60588         (howmany, roundup, powerof2): New macros.
60589         (DEV_BSIZE): New macro.
60591         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60592         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60594         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60595         definition on [!__NO_LONG_DOUBLE_MATH].
60597         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60598         PTR_MANGLE and PTR_DEMANGLE.
60600         * socket/accept4.c (accept4): Rename to __libc_accept4.
60601         Define accept4 as a weak alias.
60603         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60604         on [_DIRENT_HAVE_D_TYPE].
60605         * io/ftw.c (ftw_dir): Likewise.
60607         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60609         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60611         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60612         Use the BSD numbers rather than the arbitrary ones we had.
60613         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60614         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60615         (SIGXCPU, SIGXFSZ): New macros.
60616         (_NSIG): Now 32.
60618         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60619         initializer on [_LIBC_REENTRANT].
60621         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60622         definitions inside [_POSIX_MAPPED_FILES].
60624         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60626         * dirent/opendir.c: Include <fcntl.h>.
60628         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60629         (__libc_getspecific): Likewise.
60630         (__libc_key_create): Likewise.
60632         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60633         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60634         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60635         (tmpfile64): Define as alias.
60636         * sysdeps/wordsize-64/tmpfile.c: File removed.
60637         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60638         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60639         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60641         * stdio-common/vfscanf.c: Include <stdbool.h>.
60642         * nss/makedb.c: Likewise.
60643         * stdio-common/_i18n_number.h: Likewise.
60644         * argp/argp-help.c: Likewise.
60645         * posix/wordexp.c: Likewise.
60646         * sysdeps/posix/spawni.c: Likewise.
60647         * nss/nss_files/files-initgroups.c: Likewise.
60648         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60649         * nss/nss_files/files-initgroups.c: Likewise.
60650         * nss/nss_db/db-netgrp.c: Likewise.
60651         * nss/nss_db/db-initgroups.c: Likewise.
60652         * io/fchmodat.c: Include <sys/stat.h>.
60654         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60655         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60657         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60658         [HAVE_MMAP].
60660         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60661         Add multiple inclusion protection.
60663 2012-07-27  David S. Miller  <davem@davemloft.net>
60665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60667 2012-07-27  Gary Benson  <gbenson@redhat.com>
60669         [BZ #14298]
60670         * elf/rtld.c: Include <stap-probe.h>.
60671         (dl_main): Added static probes "init_start" and "init_complete".
60672         * elf/dl-load.c: Include <stap-probe.h>.
60673         (lose): Take new parameter "nsid".
60674         Added static probe "map_failed".
60675         (_dl_map_object_from_fd): Pass namespace id to lose.
60676         Added static probe "map_start".
60677         (open_verify): Pass namespace id to lose.
60678         * elf/dl-open.c: Include <stap-probe.h>.
60679         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60680         and "reloc_complete".
60681         * elf/dl-close.c: Include <stap-probe.h>.
60682         (_dl_close_worker): Added static probes "unmap_start" and
60683         "unmap_complete".
60684         * elf/rtld-debugger-interface.txt: New file documenting the above.
60686 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60688         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60689         rather than a string variable.
60690         * sunrpc/rpc_main.c (h_output): Likewise.
60691         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60693 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60695         * inet/check_native.c: New file.
60697 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60699         [BZ #13629]
60700         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60701         if larger part has absolute value 1.0.
60702         * math/s_clog10.c (__clog10): Likewise.
60703         * math/s_clog10f.c (__clog10f): Likewise.
60704         * math/s_clog10l.c (__clog10l): Likewise.
60705         * math/s_clogf.c (__clogf): Likewise.
60706         * math/s_clogl.c (__clogl): Likewise.
60707         * math/libm-test.inc (clog_test): Add more tests.
60708         (clog10_test): Likewise.
60709         * sysdeps/i386/fpu/libm-test-ulps: Update.
60710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60712         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60713         (pltexit): Likewise.
60714         (La_regs): Likewise.
60715         (La_retval): Likewise.
60716         (int_retval): Likewise.
60717         Update #error for removed macros to refer only to definitions in
60718         tst-audit.h.
60719         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60720         macro.
60721         (pltexit): Likewise.
60722         (La_regs): Likewise.
60723         (La_retval): Likewise.
60724         (int_retval): Likewise.
60725         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60726         macro.
60727         (pltexit): Likewise.
60728         (La_regs): Likewise.
60729         (La_retval): Likewise.
60730         (int_retval): Likewise.
60731         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60732         macro.
60733         (pltexit): Likewise.
60734         (La_regs): Likewise.
60735         (La_retval): Likewise.
60736         (int_retval): Likewise.
60737         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60738         macro.
60739         (pltexit): Likewise.
60740         (La_regs): Likewise.
60741         (La_retval): Likewise.
60742         (int_retval): Likewise.
60743         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60744         macro.
60745         (pltexit): Likewise.
60746         (La_regs): Likewise.
60747         (La_retval): Likewise.
60748         (int_retval): Likewise.
60749         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60750         macro.
60751         (pltexit): Likewise.
60752         (La_regs): Likewise.
60753         (La_retval): Likewise.
60754         (int_retval): Likewise.
60755         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60756         macro definitions in tst-audit.h.
60757         * sysdeps/i386/tst-audit.h: New file.
60758         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60759         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60760         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60761         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60762         * sysdeps/sh/tst-audit.h: Likewise.
60763         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60764         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60765         * sysdeps/x86_64/tst-audit.h: Likewise.
60767 2012-07-26  Andreas Jaeger  <aj@suse.de>
60769         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60770         ptrace.
60772         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60773         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60774         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60775         PTRACE_O_MASK.
60776         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60777         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60778         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60780         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60781         value.
60783         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60784         _sigsys.
60785         (si_call_addr, si_syscall, si_arch): Define new macro.
60786         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60787         _sigsys.
60788         (si_call_addr, si_syscall, si_arch): Define new marcro.
60789         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60790         _sigsys.
60791         (si_call_addr, si_syscall, si_arch): Define new macro.
60792         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60793         _sigsys.
60794         (si_call_addr, si_syscall, si_arch): Define new macro.
60796 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60798         [BZ #13717]
60799         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60800         Change to 2.4.21 where previously 2.4.1.
60801         * sysdeps/unix/sysv/linux/configure: Regenerated.
60802         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60803         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60804         Linux kernel version.
60805         (__ASSUME_STD_AUXV): Remove.
60806         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60807         kernel version.
60808         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60809         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60810         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60811         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60812         (__ASSUME_NETLINK_SUPPORT): Likewise.
60813         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60814         (__no_netlink_support): Remove conditional definition.
60815         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60816         Remove.
60817         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60818         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60819         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60820         (if_nameindex_ioctl): Remove.
60821         (if_nameindex_netlink): Do not handle __no_netlink_support.
60822         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60823         code.
60824         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60825         Remove conditional code.
60826         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60827         code.
60828         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60829         unconditional.
60830         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60831         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60832         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60833         Remove.
60834         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60835         [!__ASSUME_STD_AUXV]: Remove conditional code.
60836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60837         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60838         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60840         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60841         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60842         code.
60843         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60845         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60846         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60847         conditional code.
60848         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60850         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60851         code.
60852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60853         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60854         conditional code.
60855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60856         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60857         code unconditional.
60858         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60859         conditional code.
60860         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60861         unconditional.
60862         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60863         conditional code.
60864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60865         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60866         unconditional.
60867         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60868         conditional code.
60869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60870         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60871         code unconditional.
60872         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60873         conditional code.
60874         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60875         unconditional.
60876         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60877         conditional code.
60878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60879         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60880         code unconditional.
60881         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60882         conditional code.
60883         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60884         unconditional.
60885         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60886         conditional code.
60888 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60890         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60891         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60892         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60893         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60894         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60895         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60896         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60897         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60898         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60899         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60900         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60901         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60902         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60903         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60904         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60905         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60906         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60907         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60908         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60910         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60911         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60912         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60914 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60916         * Versions.def: Add GLIBC_2.17.
60917         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60918         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60919         Introduce __libc_secure_getenv.
60920         * stdlib/Versions (2.17): Add secure_getenv
60921         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60922         * stdlib/secure-getenv.c: Rename __secure_getenv to
60923         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60924         symbol __secure_getenv for GLIBC_2.0.
60925         * stdlib/tst-secure-getenv.c: New.
60926         * stdlib/Makefile (tests): Add testcase.
60927         * manual/startup.texi (Environment Access): Document
60928         secure_getenv.
60929         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60930         __libc_secure_getenv.
60931         * inet/ruserpass.c (ruserpass): Likewise.
60932         * malloc/mtrace.c (mtrace): Likewise.
60933         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60934         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60935         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60936         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60937         HAVE_SECURE_GETENV.
60938         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60939         __secure_getenv to __libc_secure_getenv.
60940         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60942         Likewise.
60943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60944         Likewise.
60945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60947         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60953 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60955         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60956         (struct La_i86_retval): Likewise.
60957         (struct La_x86_64_regs): Likewise.
60958         (struct La_x86_64_retval): Likewise.
60959         (struct La_x32_regs): Likewise.
60960         (struct La_x32_retval): Likewise.
60961         (struct La_ppc32_regs): Likewise.
60962         (struct La_ppc32_retval): Likewise.
60963         (struct La_ppc64_regs): Likewise.
60964         (struct La_ppc64_retval): Likewise.
60965         (struct La_sh_regs): Likewise.
60966         (struct La_sh_retval): Likewise.
60967         (struct La_s390_32_regs): Likewise.
60968         (struct La_s390_32_retval): Likewise.
60969         (struct La_s390_64_regs): Likewise.
60970         (struct La_s390_64_retval): Likewise.
60971         (struct La_sparc32_regs): Likewise.
60972         (struct La_sparc32_retval): Likewise.
60973         (struct La_sparc64_regs): Likewise.
60974         (struct La_sparc64_retval): Likewise.
60975         (struct audit_ifaces): Remove architecture-specific pltenter and
60976         pltexit members.
60977         * sysdeps/i386/ldsodefs.h: New file.
60978         * sysdeps/powerpc/ldsodefs.h: Likewise.
60979         * sysdeps/s390/ldsodefs.h: Likewise.
60980         * sysdeps/sh/ldsodefs.h: Likewise.
60981         * sysdeps/sparc/ldsodefs.h: Likewise.
60982         * sysdeps/x86_64/ldsodefs.h: Likewise.
60984 2012-07-25  Marek Polacek  <polacek@redhat.com>
60986         [BZ #6808]
60987         * math/libm-test.inc (yn_test): Add another test.
60988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60989         to ERANGE when the result is +-Inf.
60990         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60991         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60992         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60993         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60995 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60997         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60998         equal to 0.
60999         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61000         clock_t.
61001         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61003 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61005         * configure.in <sysdeps resolving>: Correct printing
61006         Implies_before.
61007         * configure: Regenerate.
61009 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61011         * math/w_ilogb.c: Include <limits.h>.
61012         * math/w_ilogbl.c: Likewise.
61014 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61016         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61017         va_copy.  Document allowing for unavailable va_copy only as
61018         pre-C99 compatibility.
61019         * manual/string.texi (Copying and Concatenation): Use va_copy
61020         instead of __va_copy in concat example.
61022 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61024         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61025         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61026         it if not null.
61028         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61029         with O_NOLINK passed to __file_name_lookup.
61031         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61032         with O_NOLINK passed to __file_name_lookup.
61034         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61035         negative N or less than NGIDS.
61037         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61038         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61039         enough.  Use memcpy instead of strncpy.
61041 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61043         * elf/Makefile (check-data): Remove.
61044         (localplt.data): New vpath directive.
61045         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61046         instead of $(check-data).
61047         * scripts/data/localplt-generic.data: Move to ...
61048         * sysdeps/generic/localplt.data: ... here.
61049         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61050         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61051         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61053         ... here.
61054         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61056         ... here.
61057         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61059         ... here.
61060         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61062         ... here.
61063         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61065         ... here.
61066         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61068         ... here.
61070 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61072         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61073         PPC32 and PPC64 files.
61074         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61075         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61077 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61079         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61080         __makecontext_ret to ...
61081         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61082         ... here and call exit if uc_link is NULL.  New file.
61083         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61084         __makecontext_ret.S.
61085         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61086         __makecontext_ret to ...
61087         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61088         ... here and call exit if uc_link is NULL.  New file.
61089         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61090         __makecontext_ret.S.
61092 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61094         * elf/elf.h (R_390_IRELATIVE): New definition.
61095         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61096         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61097         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61098         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61099         (elf_machine_lazy_rel): Likewise.
61100         * sysdeps/s390/dl-irel.h: New file.
61101         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61102         * sysdeps/s390/s390-64/memset.S: New asm code.
61103         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61104         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61105         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61106         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61107         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61108         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61109         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61110         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61111         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61112         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61113         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61114         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61115         * sysdeps/s390/s390-32/memset.S: New asm code.
61116         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61118 2012-07-17  Marek Polacek  <polacek@redhat.com>
61120         [BZ #14349]
61121         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61122         * sysdeps/s390/s390-64/configure.in: Likewise.
61123         * sysdeps/sparc/configure.in: Likewise.
61124         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61125         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61126         * sysdeps/i386/configure.in: Likewise.
61127         * sysdeps/x86_64/configure.in: Likewise.
61128         * sysdeps/sh/configure.in: Likewise.
61129         * sysdeps/s390/s390-32/configure: Regenerated.
61130         * sysdeps/s390/s390-64/configure: Likewise.
61131         * sysdeps/x86_64/configure: Likewise.
61132         * sysdeps/sh/configure: Likewise.
61133         * sysdeps/powerpc/powerpc64/configure: Likewise.
61134         * sysdeps/powerpc/powerpc32/configure: Likewise.
61135         * sysdeps/sparc/configure: Likwise.
61136         * sysdeps/i386/configure: Likewise.
61138         * elf/dl-open.c: Comment fixes.
61140 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61142         * Makefile [CXX] (check-data): Remove.
61143         [CXX] (c++-types.data): New vpath directive.
61144         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61145         vpath.  Do not allow for C++ type data being missing.
61146         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61147         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61148         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61149         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61150         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61151         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61152         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61154         ... here.
61155         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61157         ... here.
61158         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61160         ... here.
61161         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61163         ... here.
61164         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61166         ... here.
61167         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61169         ... here.
61170         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61172         ... here.
61173         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61176         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61177         definitions to architecture-specific files.
61178         (TLS_IE): Likewise.
61179         (TLS_LD): Likewise.
61180         (TLS_GD): Likewise.
61181         * sysdeps/i386/tls-macros.h: New file.
61182         * sysdeps/powerpc/tls-macros.h: Likewise.
61183         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61184         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61185         * sysdeps/sh/tls-macros.h: Likewise.
61186         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61187         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61188         * sysdeps/x86_64/tls-macros.h: Likewise.
61190 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61192         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61193         zero value for regular exit case.
61195         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61196         (__start_context): Preserve zero value for regular exit case.
61198 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61199             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61201         * manual/setjmp.texi (setcontext): Clarify normal process
61202         termination when uc_link is the null pointer.
61203         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61204         exit call.
61206 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61208         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61209         preprocessor.  Test for each exception mask separately.
61211 2012-07-16  Andreas Jaeger  <aj@suse.de>
61213         * po/ru.po: Update from translation team.
61215 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61217         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61218         equal to 0.
61219         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61220         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61221         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61222         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61223         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61225 2012-07-13  Andreas Jaeger  <aj@suse.de>
61227         * po/fr.po: Update from translation team.
61229 2012-07-12  Marek Polacek  <polacek@redhat.com>
61231         [BZ #14173]
61232         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61233         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61234         loop condition.
61236 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61238         [BZ #13717]
61239         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61240         Change to 2.4.1 where previously 2.4.0.
61241         * sysdeps/unix/sysv/linux/configure: Regenerated.
61242         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61243         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61244         version.
61245         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61246         (__ASSUME_AT_CLKTCK): Remove.
61247         (__ASSUME_AT_PAGESIZE): Likewise.
61248         (__ASSUME_AT_XID): Likewise.
61249         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61250         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61251         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61252         unconditionally.
61253         (HAVE_AUX_PAGESIZE): Likewise.
61254         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61255         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61256         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61258 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61260         [BZ #14307]
61261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61262         the temporary buffer used to invoke __gethostbyname2_r,
61263         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61264         host_data / struct gaih_addrtuple.
61265         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61266         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61267         header file nss/nsswitch.h.
61268         * nss/nsswitch.h (global scope): Add definition of implementation
61269         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61270         resolv/nss_dns/dns-host.c).
61272 2012-07-11  Andreas Jaeger  <aj@suse.de>
61274         * po/fr.po: Update from translation team.
61276         * po/sv.po: Update from translation team
61277         * po/fr.po: Another update from translation team.
61279 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61282         for subnormals or multiply small sinh result by itself.
61283         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61286 2012-07-11  David S. Miller  <davem@davemloft.net>
61288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61290 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61292         [BZ #14347]
61293         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61294         (INTERNAL_MARK): Shift it here.
61296 2012-07-10  Marek Polacek  <polacek@redhat.com>
61298         [BZ #14151]
61299         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61300         libc_cv_asm_global_directive with .globl.
61301         * configure: Regenerated.
61302         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61303         with .globl.
61304         * sysdeps/i386/configure: Regenerated.
61305         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61306         with .globl.
61307         * sysdeps/x86_64/configure: Regenerated.
61308         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61309         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61310         * elf/tst-unique2mod2.c: Likewise.
61311         * elf/tst-unique2mod1.c: Likewise.
61312         * elf/tst-unique1mod2.c: Likewise.
61313         * elf/tst-unique1mod1.c: Likewise.
61314         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61315         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61316         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61317         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61318         * sysdeps/mach/sysdep.h: Likewise.
61319         * sysdeps/i386/sysdep.h: Likewise.
61320         * sysdeps/i386/i386-mcount.S: Likewise.
61321         * sysdeps/x86_64/_mcount.S: Likewise.
61322         * sysdeps/x86_64/sysdep.h: Likewise.
61323         * sysdeps/sh/_mcount.S: Likewise.
61324         * sysdeps/sh/sysdep.h: Likewise.
61325         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61326         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61327         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61328         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61329         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61330         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61331         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61332         * locale/localeinfo.h: Likewise.
61333         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61334         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61336 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61338         [BZ #14336]
61339         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61340         system".
61341         * manual/message.texi (The Uniforum approach): Likewise.
61342         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61343         (glibc iconv Implementation): Likewise.
61345 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61347         [BZ #14337]
61348         * math/s_clog.c (__clog): Avoid scaling a value down where that
61349         could result in underflow.
61350         * math/s_clog10.c (__clog10): Likewise.
61351         * math/s_clog10f.c (__clog10f): Likewise.
61352         * math/s_clog10l.c (__clog10l): Likewise.
61353         * math/s_clogf.c (__clogf): Likewise.
61354         * math/s_clogl.c (__clogl): Likewise.
61355         * math/libm-test.inc (clog_test): Add more tests.
61356         (clog10_test): Likewise.
61357         * sysdeps/i386/fpu/libm-test-ulps: Update.
61358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61360 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61362         [BZ #14283]
61363         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61364         by 7 not 8 to examine high bit of fractional part.
61366         [BZ #14042]
61367         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61368         for call to __mcount_internal.
61369         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61370         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61371         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61373 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61375         [BZ #14154]
61376         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61377         approximation for values within 0x1p-13f of an odd multiple of
61378         pi/4.
61379         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61380         exception.  Add more tests.
61381         * sysdeps/i386/fpu/libm-test-ulps: Update.
61383         [BZ #6778]
61384         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61385         inputs and return -1 for them.  Do not check for +Inf in case not
61386         reachable for +Inf.
61387         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61388         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61389         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61390         and return -1 for them.  Do not check for +Inf in case not
61391         reachable for +Inf.
61392         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61393         define.
61394         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61395         and return -1 for them.  Do not check for +Inf in case not
61396         reachable for +Inf.
61397         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61398         spurious underflow.
61399         * sysdeps/i386/fpu/libm-test-ulps: Update.
61400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61402 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61404         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61406 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61408         [BZ #14157]
61409         [BZ #14331]
61410         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61411         could result in spurious underflow.  Scale down values above
61412         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61413         * math/s_csqrtf.c (__csqrtf): Likewise.
61414         * math/s_csqrtl.c (__csqrtl): Likewise.
61415         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61416         spurious underflow.
61417         * sysdeps/i386/fpu/libm-test-ulps: Update.
61418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61420 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61422         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61423         xopen-msg.sed.
61424         * catgets/xopen-msg.awk: New file.
61425         * catgets/xopen-msg.sed: Removed.
61427         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61428         po2text.sed.
61429         * intl/po2test.awk: New file.
61430         * intl/po2test.sed: Removed.
61432 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61434         [BZ #14328]
61435         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61436         or multiply small sinh result by itself.
61437         * math/s_ctanf.c (__ctanf): Likewise.
61438         * math/s_ctanh.c (__ctanh): Likewise.
61439         * math/s_ctanhf.c (__ctanhf): Likewise.
61440         * math/s_ctanhl.c (__ctanhl): Likewise.
61441         * math/s_ctanl.c (__ctanl): Likewise.
61442         * math/libm-test.inc (ctan_test_tonearest): New function.
61443         (ctan_test_towardzero): Likewise.
61444         (ctan_test_downward): Likewise.
61445         (ctan_test_upward): Likewise.
61446         (ctanh_test_tonearest): Likewise.
61447         (ctanh_test_towardzero): Likewise.
61448         (ctanh_test_downward): Likewise.
61449         (ctanh_test_upward): Likewise.
61450         (main): Call these new functions.
61451         * sysdeps/i386/fpu/libm-test-ulps: Update.
61452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61454 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61456         * .gitignore: Delete /ports entry.
61458 2012-07-03  Andreas Jaeger  <aj@suse.de>
61460         * po/bg.po: Update from translation team.
61461         * po/cs.po: Likewise.
61462         * po/de.po: Likewise.
61463         * po/hr.po: Likewise.
61464         * po/nl.pl: Likewise.
61465         * po/pl.po: Likewise.
61466         * po/vi.po: Likewise.
61468 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61470         * Makeconfig [!+link] (+link-before-libc): New variable.
61471         [!+link] (+link-after-libc): Likewise.
61472         [!+link] (+link-tests): Likewise.
61473         [!+link] (+link): Define in terms of $(+link-before-libc) and
61474         $(+link-after-libc).
61475         [!+link-static] (+link-static-before-libc): New variable.
61476         [!+link-static] (+link-static-after-libc): Likewise.
61477         [!+link-static] (+link-static-tests): Likewise.
61478         [!+link-static] (+link-static): Define in terms of
61479         $(+link-static-before-libc) and $(+link-static-after-libc).
61480         [build-shared] (link-libc-before-gnulib): New variable.
61481         [build-shared] (link-libc-tests): Likewise.
61482         [build-shared] (link-libc): Define in terms of
61483         $(link-libc-before-gnulib).
61484         [!build-shared] (link-libc-tests): New variable.
61485         (link-libc-static-tests): New variable.
61486         [!gnulib] (gnulib-arch): New variable.
61487         [!gnulib] (gnulib-tests): Likewise.
61488         [!gnulib] (static-gnulib-arch): Likewise.
61489         [!gnulib] (static-gnulib-tests): Likewise.
61490         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61491         Define with "=" instead of ":=".
61492         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61493         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61494         * Rules (binaries-all-notests): New variable.
61495         (binaries-all-tests): Likewise.
61496         (binaries-static-notests): Likewise.
61497         (binaries-static-tests): Likewise.
61498         (binaries-all): Define using $(binaries-all-notests) and
61499         $(binaries-all-tests).
61500         (binaries-static): Define using $(binaries-static-notests) and
61501         $(binaries-static-tests).
61502         (binaries-shared-tests): New variable.
61503         (binaries-shared-notests): Likewise.
61504         (binaries-shared): Remove variable.
61505         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61506         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61507         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61508         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61509         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61510         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61511         * elf/Makefile (sln-modules): New variable.
61512         (extra-objs): Add $(sln-modules:=.o).
61513         (ldconfig-modules): Add static-stubs.
61514         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61515         * elf/static-stubs.c: New file.
61517         [BZ #14283]
61518         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61519         by 7 not 8 to examine high bit of fractional part.  Use volatile
61520         variables when splitting into final array of floats if
61521         __FLT_EVAL_METHOD__ != 0.
61522         * math/libm-test.inc (cos_test): Add another test.
61523         (sin_test): Likewise.
61524         * sysdeps/i386/fpu/libm-test-ulps: Update.
61526         [BZ #14273]
61527         * math/libm-test.inc (cosh_test): Add more tests.
61529         * version.h (RELEASE): Set to "development".
61530         (VERSION): Set to "2.16.90".
61532 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61534         * NEWS: Update copyright. Remove last-updated date.
61535         Mention math library bug fixes and timezone data changes.
61536         * README: Mention GNU/Hurd, x32, and HPPA support status.
61538 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61540         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61542 2012-06-27  Andreas Jaeger  <aj@suse.de>
61544         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61546 2012-06-25  Andreas Jaeger  <aj@suse.de>
61548         * sysdeps/s390/fpu/libm-test-ulps: Update.
61550 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61551             Thomas Schwinge  <thomas@codesourcery.com>
61553         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61554         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61556         fanotify_mark.
61558 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61560         * sysdeps/mach/start.c: Remove file.
61561         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61562         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61563         * sysdeps/sh/init-first.c: Likewise.
61565         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61566         registers for frame unwinding purposes, add CFI directives.
61567         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61568         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61569         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61570         Likewise.
61572         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61573         __fortify_fail returning.
61574         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61576         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61577         sysdeps/sh/____longjmp_chk.S.
61578         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61579         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61580         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61581         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61583         * sysdeps/sh/abort-instr.h: New file.
61584         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61585         process in case exit returns.
61587         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61588         initialize the GOT register before use.
61590         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61591         calculation of ARGC > 4.
61593         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61594         meaningful names to some local labels.
61596 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61597             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61599         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61600         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61601         (__arch_compare_and_exchange_val_16_acq): Likewise.
61602         (__arch_compare_and_exchange_val_32_acq): Likewise.
61603         (atomic_exchange_and_add): Fix gUSA sequence.
61604         (atomic_add): Likewise.
61605         (atomic_add_negative): Likewise.
61606         (atomic_add_zero): Likewise.
61607         (atomic_bit_test_set): Likewise.
61609 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61611         [BZ #13579]
61612         * include/link.h (struct link_map): Add l_free_initfini.
61613         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61614         l_initfini.
61615         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61616         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61617         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61618         set.
61620 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61622         * configure.in: Use AC_LANG_SOURCE.
61623         * configure: Regenerate.
61625 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61627         * configure.in (libc_cv_localstatedir): New substituted variable.
61628         * configure: Regenerated.
61629         * config.make.in (localstatedir): New variable, substituted from
61630         libc_cv_localstatedir.
61631         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61632         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61633         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61634         * sysdeps/gnu/configure: Regenerated.
61636 2012-06-21  Jeff Law  <law@redhat.com>
61638         [BZ #14277]
61639         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61640         free.  Simplify list management for _LIBC case.
61642 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61644         [BZ #14273]
61645         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61646         Clear sign bit of 64-bit integer value before comparing against
61647         overflow value.
61649         * sysdeps/mach/configure: Regenerated.
61651 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61653         [BZ #14278]
61654         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61656 2012-06-21  Jeff Law  <law@redhat.com>
61658         [BZ #13882]
61659         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61660         uint16_t for elements in the "seen" array to avoid char overflows.
61661         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61662         * elf/dl-open.c (dl_open_worker): Likewise.
61664 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61666         * scripts/list-sources.sh: Scan PORTS for translations.
61667         * po/libc.pot: Regenerated.
61669 2012-06-21  Andreas Jaeger  <aj@suse.de>
61671         [BZ #12194]
61672         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61673         warning.
61674         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61675         * bits/byteswap-16.h (__bswap_16): Likewise.
61676         * bits/byteswap.h (__bswap_constant_16): Likewise.
61678 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61680         [BZ #14117]
61681         * sysdeps/i386/fpu_control.h: Removed.
61682         * sysdeps/x86_64/fpu_control.h: Moved to ...
61683         * sysdeps/x86/fpu_control.h: Here.
61685         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61686         (_FPU_SETCW): Likewise.
61688 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61690         [BZ #14117]
61691         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61692         * sysdeps/x86/fpu/bits/mathinline.h: This.
61693         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61695         [BZ #14050]
61696         [BZ #14117]
61697         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61698         functions if __x86_64__ is defined.
61700 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61702         * string/endian.h: Add !__ASSEMBLER__ condition for including
61703         conversion interfaces.
61705 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61707         [BZ #14241]
61708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61709         of ABS(x) in calculating zero to negative powers other than odd
61710         integers.
61711         * math/libm-test.inc (pow_test): Add more tests.
61713 2012-06-15  Andreas Jaeger  <aj@suse.de>
61715         * manual/contrib.texi (Contributors): Update entry of Liubov
61716         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61717         Machado Filho.
61719 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61721         * string/string.h: Add __wur to GNU version of strerror_r.
61723 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61725         [BZ #14229]
61726         * string/Makefile (tests): Add tst-strtok_r.
61727         * string/tst-strtok_r.c: New file.
61728         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61729         RAX_LP/RDX_LP on SAVE_PTR.
61731 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61733         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61735 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61737         * libm_test.inc (csqrt_test): Allow more spurious underflow
61738         exceptions.
61739         (j0_test): Likewise.
61740         (j1_test): Likewise.
61741         (y0_test): Likewise.
61742         (y1_test): Likewise.
61744 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61746         * po/Makefile (libc.pot): Use UTF-8 charset.
61748 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61750         [BZ #14210]
61751         Suppress sign-conversion warning from FD_SET.
61752         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61753         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61754         not unsigned long int.
61755         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61757 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61759         [BZ #14050]
61760         [BZ #14117]
61761         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61762         __extern_always_inline instead of __extern_inline.
61763         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61764         (__signbit): Likewise.
61765         (__signbitl): Support C++ namespace.
61766         (lrintf): New inline function.
61767         (lrint): Likewise.
61768         (llrintf): Likewise.
61769         (llrint): Likewise.
61770         (fmaxf): Likewise.
61771         (fmax): Likewise.
61772         (fminf): Likewise.
61773         (fmin): Likewise.
61774         (rint): Likewise.
61775         (rintf): Likewise.
61776         (ceil): Likewise.
61777         (ceilf): Likewise.
61778         (floor): Likewise.
61779         (floorf): Likewise.
61780         (nearbyint): Likewise.
61781         (nearbyintf): Likewise.
61783 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61785         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61786         non-default versions.
61788 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61790         [BZ #14218]
61791         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61793 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61795         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61796         (FE_UPWARD, FE_DOWNWARD): Don't define.
61797         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61798         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61800         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61801         reading it.
61802         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61803         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61805 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61807         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61808         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61809         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61810         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61812 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61814         [BZ #14117]
61815         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61816         * sysdeps/i386/fpu/Implies: New file.
61817         * sysdeps/x86_64/fpu/Implies: Likewise.
61818         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61819         * sysdeps/x86/fpu/bits/fenv.h: This.
61821         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61822         __SSE_MATH__.
61824 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61826         [BZ #14134]
61827         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61828         character 0xffff that matches the last element of the
61829         conversion table.
61831 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61834         fmodl commit.
61836 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61838         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61839         values higher than 25.6283.
61841 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61843         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61844         subnormal exponent extraction and add some __builtin_expect.
61845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61846         Fix for subnormal mantissa calculation.
61848 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61850         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61851         cpu2 is -1 and errno is not ENOSYS.
61853 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61855         [BZ #14117]
61856         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61857         * sysdeps/x86/bits/string.h: This.
61858         * sysdeps/x86_64/bits/string.h: Removed.
61860         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61861         if not compiling for x86-64, but compiling for >= i486.
61863         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61864         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61866         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61867         New macro from Linux kernel 3.4.0.
61868         (FP_XSTATE_MAGIC2): Likewise.
61869         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61870         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61871         (struct _fpx_sw_bytes): New struct.
61872         (struct _xsave_hdr): Likewise.
61873         (struct _ymmh_state): Likewise.
61874         (struct _xstate): Likewise.
61876         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61877         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61878         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61879         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61880         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61881         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61883         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61884         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61885         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61886         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61887         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61888         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61890 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61892         [BZ #13743]
61893         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61894         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61895         (sysdep_headers): Include sys/platform/ppc.h.
61896         * sysdeps/powerpc/test-gettimebase.c: Test for
61897         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61898         * manual/Makefile (appendices): Include platform.texi.
61899         * manual/contrib.texi (Contributors): Update @node pointers.
61900         * manual/maint.texi (Maintenance): Likewise.
61901         (Platform): New node.
61902         * manual/platform.texi: New file.  Document the new features.
61904 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61905             Jakub Jelinek  <jakub@redhat.com>
61907         [BZ #14188]
61908         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61909         where __builtin_expect is unavailable.
61911 2012-06-03  David S. Miller  <davem@davemloft.net>
61913         * stdlib/longlong.h: Updated from GCC.
61915 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61917         [BZ #14042]
61918         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61919         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61920         __mcount_internal.
61921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61922         (GLIBC_2.16): Likewise.
61924 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61926         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61928 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61931         (default-abi): New variable.
61932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61933         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61934         variable.
61935         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61936         Likewise.
61937         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61938         Likewise.
61939         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61940         Likewise.
61942         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61943         definition.  Document in comment.
61945 2012-06-01  David S. Miller  <davem@davemloft.net>
61947         * stdlib/longlong.h: Updated from GCC.
61949 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61951         [BZ #14117]
61952         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61953         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61954         sys/debugreg.h sys/io.h here.
61955         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61956         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61957         sys/io.h.
61958         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61959         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61960         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61961         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61962         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61963         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61965         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61966         Define only if __x86_64__ is defined.
61968 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61970         [BZ #14048]
61971         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61972         Use int64_t for variable i.
61973         * math/libm-test.inc (fmod_test): Add more tests.
61975         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61976         z computation is not scheduled after fetestexcept.
61977         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61978         Use math_force_eval instead of asm to ensure calculation scheduled
61979         before exception test.
61980         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61981         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61983 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61986         computation is not scheduled after fetestexcept.
61988 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61990         [BZ #14117]
61991         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61992         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61994 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61996         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61997         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61999 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62001         [BZ #14117]
62002         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62003         <bits/wordsize.h>.
62004         (__WCHAR_MIN): Support __WORDSIZE == 64.
62005         (__WCHAR_MAX): Likewise.
62007         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62008         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62010         [BZ #14183]
62011         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62012         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62014         [BZ #14117]
62015         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62016         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62018         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62019         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62021         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62022         Defined to 1 if __x86_64__ isn't defined.
62023         (_STAT_VER_LINUX_OLD): New.
62024         (st_atime): Remove duplicate.
62025         (st_mtime): Likewise.
62026         (st_ctime): Likewise.
62028 2012-05-31  David S. Miller  <davem@davemloft.net>
62030         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62031         entries.
62033 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62035         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62036         gen-libm-test.pl.
62038         [BZ #14132]
62039         * elf/dl-reloc.c: Include <_itoa.h>.
62040         (_dl_reloc_bad_type): Remove use of INTUSE.
62041         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62042         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62043         * stdio-common/psiginfo.c (psiginfo): Likewise.
62044         * stdio-common/psignal.c (psignal): Likewise.
62045         * string/strsignal.c (strsignal): Likewise.
62046         * include/signal.h (_sys_siglist): Declare hidden proto.
62047         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62048         INTVARDEF with libc_hidden_data_def.
62049         * stdio-common/itoa-udigits.c: Likewise.
62050         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62051         (_itoa_lower_digits_internal): Remove declaration.
62052         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62053         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62054         (_sys_sigabbrev_internal): Remove aliases.
62055         (_sys_siglist): Define hidden alias.
62057 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62059         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62060         bits/sysctl.h.
62062 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62064         [BZ #14117]
62065         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62066         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62068         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62069         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62070         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62071         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62072         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62073         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62075         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62076         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62077         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62079         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62080         with __addr.
62081         (insw): Likewise.
62082         (insl): Likewise.
62083         (outsb): Likewise.
62084         (outsw): Likewise.
62085         (outsl): Likewise.
62087         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62088         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62089         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62091         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62092         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62093         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62094         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62095         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62096         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62098         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62099         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62101         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62102         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62104         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62106         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62108         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62109         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62110         to ...
62111         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62113         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62114         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62115         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62117         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62118         for x86-64.
62119         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62121 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62123         * math/math.h (M_El): Use two more decimal places.
62124         (M_LOG2El): Likewise.
62125         (M_LOG10El): Likewise.
62126         (M_LN2l): Likewise.
62127         (M_LN10l): Likewise.
62128         (M_PIl): Likewise.
62129         (M_PI_2l): Likewise.
62130         (M_PI_4l): Likewise.
62131         (M_1_PIl): Likewise.
62132         (M_2_PIl): Likewise.
62133         (M_2_SQRTPIl): Likewise.
62134         (M_SQRT2l): Likewise.
62135         (M_SQRT1_2l): Likewise.
62137 2012-05-31  David S. Miller  <davem@davemloft.net>
62139         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62140         values between float registers.
62141         * sysdeps/sparc/sparc64/memset.S: Likewise.
62142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62144 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62146         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62147         -D_FORTIFY_SOURCE=1.
62148         (CPPFLAGS-tst-longjmp_chk.c): Define.
62149         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62150         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62151         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62152         CFLAGS-tst-wchar-h.c.
62154 2012-05-31  Marek Polacek  <polacek@redhat.com>
62156         [BZ #14132]
62157         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62158         __endmntent_internal): Remove declaration.
62159         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62160         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62161         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62163 2012-05-30  David S. Miller  <davem@davemloft.net>
62165         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62166         (___Q_simulate_exceptions): Use real FP ops rather than writing
62167         into the %fsr.
62168         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62169         Likewise.
62171 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62173         [BZ #14117]
62174         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62175         * sysdeps/x86/bits/xtitypes.h: This.
62177         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62178         * sysdeps/x86/bits/wordsize.h: This.
62180         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62181         * sysdeps/x86/bits/huge_vall.h: This.
62183         * sysdeps/i386/bits/select.h: Removed.
62184         * sysdeps/x86_64/bits/select.h: Renamed to ...
62185         * sysdeps/x86/bits/select.h: This.
62187         * sysdeps/i386/bits/setjmp.h: Removed.
62188         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62189         * sysdeps/x86/bits/setjmp.h: This.
62191         * sysdeps/i386/bits/mathdef.h: Removed.
62192         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62193         * sysdeps/x86/bits/mathdef.h: This.
62195 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62197         [BZ #14132]
62198         * include/sys/socket.h (__connect_internal)
62199         (__libc_sa_len_internal): Remove declaration.
62200         (__connect, __libc_sa_len): Declare hidden_proto.
62201         (SA_LEN): Remove use of INTUSE.
62202         * socket/connect.c: Add libc_hidden_def.
62203         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62204         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62205         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62206         alias.
62207         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62208         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62209         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62210         of adding _internal alias.
62212 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62214         [BZ #14117]
62215         * sysdeps/i386/bits/link.h: Removed.
62216         * sysdeps/i386/bits/linkmap.h: Likewise.
62217         * sysdeps/x86_64/bits/link.h: Renamed to ...
62218         * sysdeps/x86/bits/link.h: This.
62219         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62220         * sysdeps/x86/bits/linkmap.h: This.
62222         * sysdeps/i386/bits/endian.h: Removed.
62223         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62224         * sysdeps/x86/bits/endian.h: This.
62226         * sysdeps/i386/bits/byteswap.h: Removed.
62227         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62228         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62229         * sysdeps/x86/bits/byteswap.h: This.
62230         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62231         * sysdeps/x86/bits/byteswap-16.h: This.
62232         * sysdeps/i386/Implies: Add x86.
62233         * sysdeps/x86_64/Implies: Likewise.
62235 2012-05-30  David S. Miller  <davem@davemloft.net>
62237         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62238         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62239         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62240         (FP_TRAPPING_EXCEPTIONS): Define.
62241         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62242         (FP_TRAPPING_EXCEPTIONS): Define.
62243         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62244         subnormals only when inexact has been signalled or underflow
62245         exceptions are enabled.
62246         (_FP_PACK_CANONICAL): Likewise.
62248 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62250         [BZ #14183]
62251         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62252         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62254 2012-05-30  Richard Henderson  <rth@twiddle.net>
62256         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62257         with #ifndef NOT_IN_libc.
62259         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62260         marked to avoid plt entry.
62262 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62264         [BZ #14112]
62265         * Makeconfig (default-abi): New macro.
62266         (abi-includes): Likewise.
62267         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62268         $(abi-$(default-abi)-lib-soname) for soname if defined.
62269         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62270         abi-variants.
62271         * Makefile (installed-stubs): Likewise.
62272         * include/stubs-biarch.h: Removed.
62273         * scripts/lib-names.awk: Only handle one library at a time.
62274         * scripts/soversions.awk: Remove WORDSIZE support.
62275         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62276         entries.
62277         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62278         Removed.
62279         (syscall-list-default-condition): Likewise.
62280         (syscall-list-default-condition): Likewise.
62281         (syscall-list-includes): Likewise.
62282         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62283         syscall-list-* with abi-*.  Handle undefined abi-variants.
62284         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62285         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62286         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62287         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62288         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62289         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62290         Removed.
62291         (syscall-list-32-options): Likewise.
62292         (syscall-list-32-condition): Likewise.
62293         (syscall-list-64-options): Likewise.
62294         (syscall-list-64-condition): Likewise.
62295         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62296         macro.
62297         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62298         Renamed to ...
62299         (abi-*): This.
62300         (abi-64-ld-soname): New macro.
62301         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62302         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62303         Renamed to ...
62304         (abi-*): This.
62305         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62306         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62308 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62310         * sysdeps/unix/sysv/linux/kernel-features.h
62311         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62312         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62313         include <kernel-features.h>.
62314         [!__NR_ftruncate64]: Remove conditional code.
62315         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62316         [__NR_ftruncate64]: Make code unconditional.
62317         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62318         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62319         include <kernel-features.h>.
62320         [!__NR_ftruncate64]: Remove conditional code.
62321         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62322         [__NR_ftruncate64]: Make code unconditional.
62323         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62325         include <kernel-features.h>.
62326         [!__NR_ftruncate64]: Remove conditional code.
62327         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62328         [__NR_ftruncate64]: Make code unconditional.
62329         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62331         include <kernel-features.h>.
62332         [!__NR_ftruncate64]: Remove conditional code.
62333         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62334         [__NR_ftruncate64]: Make code unconditional.
62335         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62337         * configure.in (libc_cv_fpie): Weaken to a compile test using
62338         LIBC_TRY_CC_OPTION.
62339         * configure: Regenerated.
62341 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62347         Refreshed.
62348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62354         Refreshed.
62356 2012-05-27  David S. Miller  <davem@davemloft.net>
62358         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62359         (___Q_zero): New.
62360         (__Q_simulate_exceptions): Return void.  Change to simulate
62361         exceptions by writing into the %fsr.
62362         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62363         (__Qp_handle_exceptions): Likewise.
62364         (numbers): Delete.
62365         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62366         __Qp_handle_exceptions.
62367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62368         __Qp_handle_exceptions.
62369         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62370         as unused and give dummy FP_RND_NEAREST initializer.
62371         (FP_INHIBIT_RESULTS): Define.
62372         (___Q_simulate_exceptions): Update declaration.
62373         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62374         formatting.
62375         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62376         as unused and give dummy FP_RND_NEAREST initializer.
62377         (__Qp_handle_exceptions): Update declaration.
62378         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62379         formatting.
62381 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62383         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62384         the temporary FPU control word.
62385         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62386         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62387         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62388         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62389         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62390         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62391         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62392         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62393         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62394         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62395         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62397 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62399         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62400         fields.
62402 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62404         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62405         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62406         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62407         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62408         Likewise.
62409         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62410         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62411         Likewise.
62413 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62415         * po/h.po: Update from translation team.
62417 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62419         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62421         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62422         handling of denormals.
62423         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62424         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62425         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62426         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62427         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62430         Likewise.
62432 2012-05-26  Marek Polacek  <polacek@redhat.com>
62434         [BZ #14152]
62435         * math/libm-test.inc (fma_test): Don't always expect underflow
62436         exception.
62438 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62440         [BZ #12416]
62441         * elf/tst-execstack.c: Include stackinfo.h.
62442         (do_test): Adjust test case to ensure that pthread_getattr_np
62443         behaviour remains the same after marking stack executable.
62445 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62447         * sysdeps/unix/sysv/linux/kernel-features.h
62448         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62449         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62450         kernel-features.h.
62451         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62452         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62453         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62454         kernel-features.h.
62455         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62456         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62458 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62460         * configure.in: Define the default includes to being none.
62461         * configure: Regenerated.
62463 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62465         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62466         * sysdeps/x86_64/setjmp.S: Likewise.
62467         * sysdeps/i386/bsd-setjmp.S: Likewise.
62468         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62469         * sysdeps/i386/setjmp.S: Likewise.
62470         * sysdeps/i386/__longjmp.S: Likewise.
62471         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62472         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62474         * include/stap-probe.h: New file.
62475         * configure.in: Handle --enable-systemtap.
62476         * configure: Regenerated.
62477         * config.h.in (USE_STAP_PROBE): New #undef.
62478         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62479         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62480         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62482 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62484         [BZ #13717]
62485         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62486         to 2.4.0 where earlier.
62487         * sysdeps/unix/sysv/linux/configure: Regenerated.
62488         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62489         <kernel-features.h>.
62490         [__ASSUME_32BITUIDS]: Make code unconditional.
62491         [!__ASSUME_32BITUIDS]: Remove conditional code.
62492         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62493         <kernel-features.h>.
62494         [__ASSUME_32BITUIDS]: Make code unconditional.
62495         [!__ASSUME_32BITUIDS]: Remove conditional code.
62496         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62497         [__ASSUME_32BITUIDS]: Make code unconditional.
62498         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62499         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62500         <kernel-features.h>.
62501         [__ASSUME_32BITUIDS]: Make code unconditional.
62502         [!__ASSUME_32BITUIDS]: Remove conditional code.
62503         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62504         <kernel-features.h>.
62505         [__ASSUME_32BITUIDS]: Make code unconditional.
62506         [!__ASSUME_32BITUIDS]: Remove conditional code.
62507         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
62540         <kernel-features.h>.
62541         [__NR_setresgid] (__setresgid): Do not declare.
62542         [__ASSUME_32BITUIDS]: Make code unconditional.
62543         [!__ASSUME_32BITUIDS]: Remove conditional code.
62544         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62545         <kernel-features.h>.
62546         [__NR_setresuid] (__setresuid): Do not declare.
62547         [__ASSUME_32BITUIDS]: Make code unconditional.
62548         [!__ASSUME_32BITUIDS]: Remove conditional code.
62549         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62550         <kernel-features.h>.
62551         [__ASSUME_32BITUIDS]: Make code unconditional.
62552         [!__ASSUME_32BITUIDS]: Remove conditional code.
62553         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62554         <kernel-features.h>.
62555         [__ASSUME_32BITUIDS]: Make code unconditional.
62556         [!__ASSUME_32BITUIDS]: Remove conditional code.
62557         * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
62590         (__ASSUME_SETRESUID_SYSCALL): Remove.
62591         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62592         (__ASSUME_32BITUIDS): Likewise.
62593         (__ASSUME_LDT_WORKS): Likewise.
62594         (__ASSUME_O_DIRECTORY): Likewise.
62595         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62596         architecture but not kernel version.
62597         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62598         (__ASSUME_MMAP2_SYSCALL): Likewise.
62599         (__ASSUME_STAT64_SYSCALL): Likewise.
62600         (__ASSUME_IPC64): Likewise.
62601         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62602         <kernel-features.h>.
62603         [__ASSUME_32BITUIDS]: Make code unconditional.
62604         [!__ASSUME_32BITUIDS]: Remove conditional code.
62605         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62606         <kernel-features.h>.
62607         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62608         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62609         132096]: Remove conditional code.
62610         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62611         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62612         <kernel-features.h>.
62613         [__ASSUME_32BITUIDS]: Make code unconditional.
62614         [!__ASSUME_32BITUIDS]: Remove conditional code.
62615         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62616         <kernel-features.h>.
62617         [__ASSUME_32BITUIDS]: Make code unconditional.
62618         [!__ASSUME_32BITUIDS]: Remove conditional code.
62619         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62620         <kernel-features.h>.
62621         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62622         unconditional.
62623         (__setresgid): Do not declare.
62624         [__ASSUME_32BITUIDS]: Make code unconditional.
62625         [!__ASSUME_32BITUIDS]: Remove conditional code.
62626         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62627         <kernel-features.h>.
62628         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62629         unconditional.
62630         (__setresuid): Do not declare.
62631         [__ASSUME_32BITUIDS]: Make code unconditional.
62632         [!__ASSUME_32BITUIDS]: Remove conditional code.
62633         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62634         <kernel-features.h>.
62635         [__ASSUME_32BITUIDS]: Make code unconditional.
62636         [!__ASSUME_32BITUIDS]: Remove conditional code.
62637         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62638         <kernel-features.h>.
62639         [__ASSUME_32BITUIDS]: Make code unconditional.
62640         [!__ASSUME_32BITUIDS]: Remove conditional code.
62642 2012-05-25  Richard Henderson  <rth@twiddle.net>
62644         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62645         dl_hwcap to ifunc resolver.
62646         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62647         elf_ifunc_invoke.
62648         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62649         dl_hwcap to ifunc resolver.
62650         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62652 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62654         [BZ #14153]
62655         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62656         for |x| <= 2**-26, not 2**-57.
62657         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62658         exception.
62660 2012-05-24  Jeff Law  <law@redhat.com>
62662         * stdio-common/Makefile (tests): Add bug25.
62663         * stdio-common/bug25.c: New test.
62665 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62667         [BZ #13576]
62668         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62669         multiple of MALLOC_ALIGNMENT in size.
62670         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62672 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62674         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62675         Require >= 256.
62676         (FILENAME_MAX): Use macro-int-constant.
62677         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62678         (_IOFBF): Use macro-int-constant.
62679         (_IOLBF): Likewise.
62680         (_IONBF): Likewise.
62681         (SEEK_CUR): Likewise.
62682         (SEEK_END): Likewise.
62683         (SEEK_SET): Likewise.
62684         (TMP_MAX): Likewise.
62685         (EOF): Use macro-int-constant.  Require < 0.
62686         (NULL): Use macro-constant.  Require == 0.
62687         (stdin): Require type to be FILE *.
62688         (stdout): Likewise.
62689         (stderr): Likewise.
62690         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62691         macro-int-constant.
62692         (EXIT_SUCCESS): Likewise.
62693         (NULL): Use macro-constant.  Require == 0.
62694         (RAND_MAX): Use macro-int-constant.
62695         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62696         [C99-based standards] (strtof): Require function.
62697         [C99-based standards] (strtold): Likewise.
62698         [C99-based standards] (strtoll): Likewise.
62699         [C99-based standards] (strtoull): Likewise.
62700         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62701         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62702         [ISO || ISO99 || ISO11] (math.h): Likewise.
62703         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62704         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62705         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62707 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62709         [BZ #14132]
62710         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62711         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62712         * intl/dgettext.c (DCGETTEXT): Likewise.
62713         * intl/gettext.c (DCGETTEXT): Likewise.
62714         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62715         * posix/regex_internal.h (gettext): Likewise.
62716         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62717         Remove declaration.
62718         * include/argz.h (__argz_count_internal)
62719         (__argz_stringify_internal): Remove declaration.
62720         (__argz_count, __argz_stringify): Declare hidden proto.
62721         * intl/dcgettext.c: Remove use of INTDEF.
62722         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62723         * string/argz-stringify.c: Likewise.
62724         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62725         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62726         Declare hidden proto.
62727         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62728         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62729         Declare hidden proto.
62730         * include/stdio.h (__asprintf_internal): Don't declare.
62731         (__asprintf): Don't define as macro.  Declare hidden proto.
62732         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62733         (__fsetlocking): Declare hidden proto.
62734         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62735         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62736         hidden proto.
62737         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62738         (_IO_setlinebuf): Remove use of INTUSE.
62739         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62740         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62741         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62742         Remove declaration.
62743         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62744         (_IO_do_flush): Remove use of INTUSE.
62745         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62746         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62747         (_IO_adjust_column, _IO_least_wmarker)
62748         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62749         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62750         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62751         (_IO_default_doallocate, _IO_wdefault_doallocate)
62752         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62753         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62754         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62755         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62756         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62757         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62758         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62759         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62760         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62761         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62762         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62763         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62764         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62765         proto.
62766         (_IO_flush_all_internal, _IO_adjust_column_internal)
62767         (_IO_default_uflow_internal, _IO_default_finish_internal)
62768         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62769         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62770         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62771         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62772         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62773         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62774         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62775         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62776         (_IO_file_close_internal, _IO_file_close_it_internal)
62777         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62778         (_IO_file_init_internal, _IO_file_attach_internal)
62779         (_IO_file_fopen_internal, _IO_file_read_internal)
62780         (_IO_file_sync_internal, _IO_file_seek_internal)
62781         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62782         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62783         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62784         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62785         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62786         (_IO_list_all_internal, _IO_link_in_internal)
62787         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62788         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62789         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62790         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62791         (_IO_do_write_internal, _IO_padn_internal)
62792         (_IO_getline_info_internal, _IO_getline_internal)
62793         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62794         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62795         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62796         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62797         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62798         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62799         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62800         with libc_hidden_ver, remove use of INTUSE.
62801         * libio/genops.c: Likewise.
62802         * libio/freopen.c: Likewise.
62803         * libio/freopen64.c: Likewise.
62804         * libio/iofclose.c: Likewise.
62805         * libio/iofdopen.c: Likewise.
62806         * libio/iofflush.c: Likewise.
62807         * libio/iofflush_u.c: Likewise.
62808         * libio/iofgets.c: Likewise.
62809         * libio/iofgets_u.c: Likewise.
62810         * libio/iofopen.c: Likewise.
62811         * libio/iofopncook.c: Likewise.
62812         * libio/iofread.c: Likewise.
62813         * libio/iofread_u.c: Likewise.
62814         * libio/ioftell.c: Likewise.
62815         * libio/iofwrite.c: Likewise.
62816         * libio/iogetline.c: Likewise.
62817         * libio/iogets.c: Likewise.
62818         * libio/iogetwline.c: Likewise.
62819         * libio/iopadn.c: Likewise.
62820         * libio/iopopen.c: Likewise.
62821         * libio/ioseekoff.c: Likewise.
62822         * libio/ioseekpos.c: Likewise.
62823         * libio/iosetbuffer.c: Likewise.
62824         * libio/iosetvbuf.c: Likewise.
62825         * libio/ioungetc.c: Likewise.
62826         * libio/ioungetwc.c: Likewise.
62827         * libio/iovdprintf.c: Likewise.
62828         * libio/iovsprintf.c: Likewise.
62829         * libio/iovsscanf.c: Likewise.
62830         * libio/memstream.c: Likewise.
62831         * libio/obprintf.c: Likewise.
62832         * libio/oldfileops.c: Likewise.
62833         * libio/oldiofclose.c: Likewise.
62834         * libio/oldiofdopen.c: Likewise.
62835         * libio/oldiofopen.c: Likewise.
62836         * libio/oldiopopen.c: Likewise.
62837         * libio/oldstdfiles.c: Likewise.
62838         * libio/putc.c: Likewise.
62839         * libio/setbuf.c: Likewise.
62840         * libio/setlinebuf.c: Likewise.
62841         * libio/stdfiles.c: Likewise.
62842         * libio/strops.c: Likewise.
62843         * libio/vasprintf.c: Likewise.
62844         * libio/vscanf.c: Likewise.
62845         * libio/vsnprintf.c: Likewise.
62846         * libio/vswprintf.c: Likewise.
62847         * libio/wfiledoalloc.c: Likewise.
62848         * libio/wfileops.c: Likewise.
62849         * libio/wgenops.c: Likewise.
62850         * libio/wmemstream.c: Likewise.
62851         * libio/wstrops.c: Likewise.
62852         * libio/__fpurge.c: Likewise.
62853         * libio/__fsetlocking.c: Likewise.
62854         * assert/assert.c: Likewise.
62855         * debug/fgets_chk.c: Likewise.
62856         * debug/fgets_u_chk.c: Likewise.
62857         * debug/fread_chk.c: Likewise.
62858         * debug/fread_u_chk.c: Likewise.
62859         * debug/gets_chk.c: Likewise.
62860         * debug/obprintf_chk.c: Likewise.
62861         * debug/vasprintf_chk.c: Likewise.
62862         * debug/vdprintf_chk.c: Likewise.
62863         * debug/vsnprintf_chk.c: Likewise.
62864         * debug/vsprintf_chk.c: Likewise.
62865         * malloc/mtrace.c: Likewise.
62866         * misc/error.c: Likewise.
62867         * misc/syslog.c: Likewise.
62868         * stdio-common/asprintf.c: Likewise.
62869         * stdio-common/fxprintf.c: Likewise.
62870         * stdio-common/getw.c: Likewise.
62871         * stdio-common/isoc99_fscanf.c: Likewise.
62872         * stdio-common/isoc99_scanf.c: Likewise.
62873         * stdio-common/isoc99_vfscanf.c: Likewise.
62874         * stdio-common/isoc99_vscanf.c: Likewise.
62875         * stdio-common/isoc99_vsscanf.c: Likewise.
62876         * stdio-common/printf-prs.c: Likewise.
62877         * stdio-common/printf_fp.c: Likewise.
62878         * stdio-common/printf_fphex.c: Likewise.
62879         * stdio-common/printf_size.c: Likewise.
62880         * stdio-common/putw.c: Likewise.
62881         * stdio-common/scanf.c: Likewise.
62882         * stdio-common/sprintf.c: Likewise.
62883         * stdio-common/tmpfile.c: Likewise.
62884         * stdio-common/vfprintf.c: Likewise.
62885         * stdio-common/vfscanf.c: Likewise.
62886         * stdlib/strfmon_l.c: Likewise.
62887         * sunrpc/openchild.c: Likewise.
62888         * sunrpc/xdr_stdio.c: Likewise.
62889         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62890         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62892 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62894         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62896         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62897         in the third column, to generate for the shared library an IFUNC
62898         that uses _dl_vdso_vsym.
62899         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62900         * Makeconfig (object-suffixes-noshared): New variable.
62902         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62903         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62904         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62905         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62907         [BZ #14132]
62908         * include/sys/time.h (__gettimeofday): Remove macro.
62909         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62910         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62911         Remove INTDEF.
62912         (__gettimeofday): Add libc_hidden_def.
62913         (gettimeofday): Add libc_hidden_weak.
62914         * sysdeps/mach/gettimeofday.c: Likewise.
62915         * sysdeps/posix/gettimeofday.c: Likewise.
62916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62917         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62918         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62919         (__gettimeofday_internal): Remove strong_alias.
62920         (__gettimeofday): Add libc_hidden_def.
62921         (gettimeofday): Add libc_hidden_weak.
62922         * sysdeps/unix/syscalls.list (gettimeofday):
62923         Remove __gettimeofday_internal alias.
62925 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62926             H.J. Lu  <hongjiu.lu@intel.com>
62928         [BZ #12495]
62929         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62930         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62931         (largebin_index_32_big): New.
62932         (largebin_index): Use it for 16-byte alignment.
62933         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62934         correction with front_misalign.
62936 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62940         Likewise.
62941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62942         Likewise.
62943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62944         Likewise.
62945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62946         Likewise.
62947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62948         Likewise.
62949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62950         Likewise.
62951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62952         Likewise.
62953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62954         Likewise.
62955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62956         Likewise.
62957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62958         Likewise.
62959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62960         Likewise.
62961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62962         Likewise.
62964         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62965         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62967 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62969         [BZ #10846]
62970         [BZ #14036]
62971         * math/libm-test.inc (exp_test): Add test from bug 14036.
62972         (pow_test): Add test from bug 10846.
62974         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62975         and other flags.
62976         (special_function): Do not include flags in test name.
62977         (parse_args): Likewise.
62978         * sysdeps/i386/fpu/libm-test-ulps: Update.
62979         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62980         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62981         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62984         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62985         exceptions.
62986         * math/libm-test.inc ("Philosophy"): Update comment about
62987         exception testing.
62988         (UNDERFLOW_EXCEPTION): New macro.
62989         (UNDERFLOW_EXCEPTION_OK): Likewise.
62990         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62991         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62992         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62993         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62994         (INVALID_EXCEPTION_OK): Update value.
62995         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62996         (OVERFLOW_EXCEPTION_OK): Likewise.
62997         (IGNORE_ZERO_INF_SIGN): Likewise.
62998         (test_exceptions): Handle underflow exceptions.
62999         (acos_test): Update for underflow exception expectations.
63000         (cexp_test): Likewise.
63001         (clog_test): Likewise.
63002         (clog10_test): Likewise.
63003         (csqrt_test): Likewise.
63004         (ctan_test): Likewise.
63005         (ctanh_test): Likewise.
63006         (exp_test): Likewise.
63007         (exp10_test): Likewise.
63008         (exp2_test): Likewise.
63009         (expm1_test): Likewise.
63010         (fma_test): Likewise.
63011         (j0_test): Likewise.
63012         (jn_test): Likewise.
63013         (nexttoward_test): Likewise.
63014         (pow_test): Likewise.
63015         (scalbn_test): Likewise.
63016         (scalbln_test): Likewise.
63017         (tan_test): Likewise.
63018         (y1_test): Likewise.
63019         * sysdeps/i386/fpu/libm-test-ulps: Update.
63020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63022 2012-05-23  David S. Miller  <davem@davemloft.net>
63024         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63025         (__libc_sigaction): Remove unused local variables.
63027 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63029         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63031 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63033         mktime: avoid signed integer overflow
63034         * time/mktime.c (__mktime_internal): Do not mishandle the case
63035         where diff == INT_MIN.
63037         mktime: simplify computation of average
63038         * time/mktime.c (ranged_convert): Use new time_t_avg function
63039         instead of rolling our own (probably-slower) code.
63041         mktime: do not assume signed right shift propagates sign bit
63042         * time/mktime.c (isdst_differ): New static function.
63043         (__mktime_internal): No need to normalize tm_isdst now.
63044         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63045         tm_isdst values.
63047         mktime: merge another wrapv change from gnulib
63048         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63049         from some compilers.
63051         mktime: remove incorrect attempt at unusual arithmetics
63052         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63053         The code didn't really work on such machines anyway.
63054         (TYPE_MINIMUM): Assume two's complement.
63055         (twos_complement_arithmetic): Verify that long_int and time_t
63056         are two's complement (or unsigned, in the latter case).
63058         mktime: check signed shifts on long_int and time_t, too
63059         * time/mktime.c (SHR): Check that shifts work as desired
63060         on the types long_int and time_t too, as SHR is used on
63061         such types.
63063         mktime: do not assume 'long' is wide enough
63064         * time/mktime.c (verify): Move decl up.
63065         (long_int): New type.
63066         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63067         to remove assumption in the code that 'long' is wide enough to
63068         store year values.  This assumption is not true on x32 and on
63069         some non-glibc platforms.
63071         mktime: merge wrapv change from gnulib
63072         * time/mktime.c (WRAPV): New macro.
63073         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63074         (guess_time_tm, __mktime_internal): Do not assume that signed
63075         integer overflow wraps around; modern compilers generate code
63076         where this assumption is no longer valid.
63078 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63080         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63081         Replace "jmp L(pseudo_end)" with "ret".
63082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63083         Likewise.
63085 2012-05-23  Andreas Jaeger  <aj@suse.de>
63087         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63088         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63090 2012-05-23  Andreas Jaeger  <aj@suse.de>
63091             Maximilian Attems  <max@stro.at>
63093         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63094         New macros.
63096 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63098         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63099         code so that pseudo_end is just ret and the stack pointer is
63100         correct also for static library in error case.
63102 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63104         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63105         move to syscalls.list.
63106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63111         * manual/install.texi (Running make install): Do not mention Linux
63112         kernel version for which pt_chown is not needed.
63113         (Linux): Do not mention problems with nscd with 2.0 kernels.
63114         * INSTALL: Regenerated.
63116 2012-05-23  Andreas Jaeger  <aj@suse.de>
63118         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63119         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63120         macro.
63121         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63123         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63125         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63127         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63129         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63131         * sysdeps/unix/sysv/linux/bits/in.h
63132         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63134 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63136         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63137         (PREPARE_VERSION): Just use assert instead, it will be elided
63138         under [NDEBUG] anyway.
63140 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63142         * sysdeps/unix/sysv/linux/Makefile: Include
63143         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63144         (sysdep_routines): Remove sysctl.
63145         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63146         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63147         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63148         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63149         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63151 2012-05-22  Andreas Jaeger  <aj@suse.de>
63153         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63154         that pseudo_end is just ret and the stack pointer is correct also
63155         for static library in error case.
63157 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63159         [BZ #14122]
63160         * nss/nsswitch.c (defconfig_entries): New variable.
63161         (__nss_database_lookup): Don't leak defconfig entries.
63162         (nss_parse_service_list): Don't leak on error paths.
63163         (free_database_entries): New function.
63164         (free_defconfig): New function.
63165         (free_mem): Move common code to free_database_entries.
63167 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63169         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63170         Add arch_prctl.
63171         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63173         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63174         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63176         New macro.
63177         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63178         (INTERNAL_SYSCALL_TYPES): Likewise.
63179         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63180         (LOAD_REGS_TYPES_[1-6]): Likewise.
63181         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63182         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63184 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63186         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63187         copysignl for GLIBC_2_0.
63188         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63189         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63191         logbl for GLIBC_2_0.
63192         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63193         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63195 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63197         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63198         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63200         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63201         Use "neg %eax".
63203         * time/mktime.c: Update copyright years.
63205 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63207         mktime: merge comment-quoting-style change from gnulib
63208         * time/mktime.c: Quote 'like this' in comments.
63209         The GNU coding standards suggest that we no longer quote `like this',
63210         as "`" and "'" are typically rendered asymmetrically nowadays.
63211         The typical gnulib style is to quote 'like this' when quoting
63212         code, and "like this" when quoting English.
63214         * time/mktime.c (compile-command): Add "-I.".
63216         mktime: merge mktime-internal.h change from gnulib
63217         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63219         mktime: merge time_r change from gnulib
63220         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63222         mktime: merge DEBUG change from gnulib
63223         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63224         case system <time.h> has a #define.
63226         mktime: merge <sys/types.h> change from gnulib
63227         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63228         since <time.t> is now guaranteed to define time_t.
63230         mktime: merge HAVE_CONFIG_H change from gnulib
63231         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63233 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63236         Use "neg %eax".
63238         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63239         __rlim_t cast.
63240         (struct rusage): Use anonymous union to pad each field to
63241         __syscall_slong_t.
63243 2012-05-21  David S. Miller  <davem@davemloft.net>
63245         * Makefules (o-iterator): Remove .s cases.
63246         (compile-command.s): Delete.
63247         (COMPILE.s): Delete.
63248         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63250 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63252         * configure.in (libc_cv_predef_stack_protector): Only consider
63253         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63254         * configure: Regenerated.
63256 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63258         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63259         New macro.  Use R*LP on int and pointer.
63260         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63261         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63262         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63263         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63265         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63266         [__WORDSIZE_TIME64_COMPAT32] instead of
63267         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63268         (struct utmp): Likewise.
63269         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63270         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63271         Renamed to ...
63272         (__WORDSIZE_TIME64_COMPAT32): This.
63273         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63274         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63275         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63276         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63277         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63278         (__WORDSIZE_TIME64_COMPAT32): New macro.
63280 2012-05-21  Andreas Jaeger  <aj@suse.de>
63282         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63283         only if [SHARED]. Add prototype for __wcschr_ia32.
63285 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63287         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63288         of %rbp unmolested in the jmp_buf while mangling the low bits.
63289         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63290         unmolested high bits of %rbp while demangling the low bits.
63291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63293 2012-05-21  Andreas Jaeger  <aj@suse.de>
63295         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63296         * sunrpc/svc_simple.c: Use it for registerrpc.
63297         * sunrpc/xcrypt.c: Use it for passwd2des.
63299         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63301 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63303         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63304         Don't define if [__SYSCALL_WORDSIZE != 32].
63305         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63306         New macro.
63308 2012-05-21  Bruno Haible  <bruno@clisp.org>
63309             Andreas Jaeger  <aj@suse.de>
63311         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63312         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63313         inptr and inend for must_buffer_ch.
63314         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63315         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63316         * stdio-common/Makefile (tests): Remove bug15.
63317         (bug15-ENV): Remove macro.
63318         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63319         anymore.
63321 2012-05-19  Andreas Jaeger  <aj@suse.de>
63322             Roland McGrath  <roland@hack.frob.com>
63324         * manual/contrib.texi: Completely rewritten. It contains now an
63325         alphabetical list of contributors and their contributions.
63327 2012-05-21  Richard Henderson  <rth@twiddle.net>
63329         * misc/getauxval.c (__getauxval): Use unsigned long int.
63330         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63331         (getauxval): Use unsigned long int.
63333 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63335         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63337 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63339         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63340         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63341         __alignof__ (long double).
63343 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63347 2012-05-20  Richard Henderson  <rth@twiddle.net>
63349         * misc/getauxval.c: New file.
63350         * misc/sys/auxv.h: New file.
63351         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63352         (routines): Add getauxval.
63353         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63354         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63355         * elf/dl-sysdep.c (_dl_auxv): Remove.
63356         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63357         * elf/dl-support.c (_dl_auxv): New variable.
63358         (_dl_aux_init): Initialize it.
63359         * manual/startup.texi (Auxiliary Vector): New node.
63360         * sysdeps/generic/bits/hwcap.h: New file.
63361         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63362         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63363         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63364         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63365         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63366         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63368         Update.
63369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63372         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63378 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63382 2012-05-19  David S. Miller  <davem@davemloft.net>
63384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63386 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63388         [BZ #14123]
63389         * math/s_ccosh.c: Include <float.h>
63390         (__ccosh): Avoid internal overflow calculating sinh and cosh
63391         values before multiplying by sin and cos values.
63392         * math/s_ccoshf.c: Likewise.
63393         * math/s_ccoshl.c: Likewise.
63394         * math/s_csin.c: Likewise.
63395         * math/s_csinf.c: Likewise.
63396         * math/s_csinl.c: Likewise.
63397         * math/s_csinh.c: Likewise.
63398         * math/s_csinhf.c: Likewise.
63399         * math/s_csinhl.c: Likewise.
63400         * math/libm-test.inc (ccos_test): Add more tests.
63401         (ccosh_test): Likewise.
63402         (csin_test): Likewise.
63403         (csinh_test): Likewise.
63404         * sysdeps/i386/fpu/libm-test-ulps: Update.
63405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63407 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63409         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63410         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63412         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63414 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63416         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63417         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63418         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63419         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63420         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63421         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63422         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63423         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63424         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63425         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63426         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63427         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63428         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63429         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63430         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63431         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63432         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63433         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63434         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63435         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63436         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63437         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63438         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63439         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63440         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63441         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63442         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63443         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63444         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63445         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63446         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63448 2012-05-18  Andreas Jaeger  <aj@suse.de>
63450         * csu/.gitignore: Delete.
63452 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63454         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63455         (timex): Use __syscall_slong_t.
63457 2012-05-18  Andreas Jaeger  <aj@suse.de>
63458             Carlos O'Donell  <carlos_odonell@mentor.com>
63460         * manual/install.texi (Configuring and compiling): Update
63461         description about files modified in the source directory.
63462         * INSTALL: Regenerated.
63464 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63466         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63467         value.  Use "or" to set return value to -1.
63468         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63469         negate return value.
63471 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63473         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63474         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63475         failure if the compiler has Graphite support disabled.
63476         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63477         Likewise.
63478         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63479         (CFLAGS-memmove.c): Likewise.
63480         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63481         Likewise.
63483 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63485         * sysdeps/x86_64/x32/_itoa.h: New file.
63487         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63488         getdents system call only if kernel and user dirents have the
63489         same d_ino and d_off.
63491         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63492         LLONG_MAX != LONG_MAX.
63493         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63494         (_fitoa_word): Likewise.
63496         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63497         years.
63498         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63499         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63500         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63502         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63503         include <bits/wordsize.h>.  Check __x86_64__ instead of
63504         __WORDSIZE.
63505         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63506         if __x86_64__ is defined.  Use anonymous union on fpstate.
63508         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63509         anonymous union.
63511 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63513         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63514         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63515         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63516         Refer to _rtld_local_ro instead of _rtld_global_ro.
63517         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63518         Likewise.
63519         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63520         Likewise.
63521         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63522         Likewise.
63523         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63524         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63525         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63527         [BZ #10882]
63528         * sysdeps/powerpc/powerpc32/dl-machine.c
63529         (__elf_machine_runtime_setup) [PROF]: Don't reference
63530         _dl_prof_resolve.
63532 2012-05-18  Andreas Jaeger  <aj@suse.de>
63534         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63535         function only available for GCCs before 3.4 since GCC 3.4
63536         introduced a builtin.
63537         (lrint): Likewise.
63538         (llrintf): Likewise.
63539         (llrint): Likewise.
63540         (fmaxf): Likewise.
63541         (fmax): Likewise.
63542         (fminf): Likewise.
63543         (fmin): Likewise.
63544         (rint): Likewise.
63545         (rintf): Likewise.
63546         (nearbyint): Likewise.
63547         (nearbyintf): Likewise.
63548         (ceil): Likewise.
63549         (ceilf): Likewise.
63550         (floor): Likewise.
63551         (floorf): Likewise.
63553 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63555         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63556         on both fields and cast pointer to __syscall_ulong_t.
63558         * bits/types.h (__fsword_t): New type.
63559         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63560         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63562         (__FSWORD_T_TYPE): Likewise.
63563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63564         (__FSWORD_T_TYPE): Likewise.
63565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63566         (__FSWORD_T_TYPE): Likewise.
63567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63568         (__FSWORD_T_TYPE): Likewise.
63569         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63570         __SWORD_TYPE with __fsword_t.
63571         (statfs64): Likewise.
63573 2012-05-17  David S. Miller  <davem@davemloft.net>
63575         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63577 2012-05-17  Andreas Jaeger  <aj@suse.de>
63579         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63580         warning.
63582 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63584         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63586 2012-05-17  Andreas Jaeger  <aj@suse.de>
63588         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63589         when it is used.
63591 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63593         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63595 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63597         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63598         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63600 2012-05-17  Andreas Jaeger  <aj@suse.de>
63601             Carlos O'Donell  <carlos_odonell@mentor.com>
63603         [BZ #14059]
63604         * sysdeps/x86_64/multiarch/init-arch.h
63605         (bit_YMM_Usable): Rename to...
63606         (bit_AVX_Usable): ... this.
63607         (bit_FMA4_Usable): New macro.
63608         (bit_XMM_state): New macro.
63609         (bit_YMM_state): New macro.
63610         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63611         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63612         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63613         (CPUID_OSXSAVE): New macro.
63614         (CPUID_AVX): New macro.
63615         (CPUID_FMA4): New macro.
63616         (index_YMM_Usable): Rename to...
63617         (index_AVX_Usable): ... this.
63618         (HAS_AVX): Use HAS_ARCH_FEATURE.
63619         (HAS_FMA4): Likewise.
63620         (HAS_YMM_USABLE): Remove.
63621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63622         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63623         are present.
63624         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63625         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63626         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63627         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63628         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63630 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63632         * math/libm-test.c: Support platforms without multiple rounding modes.
63633         * math/bug-nextafter.c: Support platforms without FP exceptions.
63634         * math/bug-nexttoward.c: Likewise.
63635         * math/test-fenv.c: Likewise.
63636         * math/test-misc.c: Likewise.
63637         * stdlib/bug-getcontext.c: Likewise.
63639 2012-05-17  Andreas Jaeger  <aj@suse.de>
63641         * manual/examples/search.c (critter_cmp): Change signature to
63642         avoid warnings.
63643         * manual/string.texi (Collation Functions): Likewise.
63645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63647         * bits/types.h: Fold copyright years.
63648         * bits/typesizes.h: Likewise.
63649         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63652         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63653         * time/time.h: Likewise.
63655 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63657         [BZ #208]
63658         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63659         in instead of returning them.  Return void.
63660         (__libc_mallinfo): Accumulate over all arenas.
63661         (__malloc_stats): Adjust for change in int_mallinfo interface.
63663 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63665         [BZ #10375]
63666         * configure.in (NM): Add AC_CHECK_TOOL for it.
63667         (libc_extra_cflags): New substituted variable.
63668         Check for -fstack-protector being used implicitly.
63669         * configure: Regenerated.
63670         * config.make.in (config-extra-cflags): New variable,
63671         gets @libc_extra_cflags@.
63672         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63674         [BZ #10375]
63675         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63676         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63677         * configure: Regenerated.
63678         * config.make.in (CPPUNDEFS): New substituted variable.
63679         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63680         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63681         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63683 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63685         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63686         (mq_attr): Use __syscall_slong_t.
63688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63690         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63691         Check __x86_64__ instead of __WORDSIZE.
63692         (_STAT_VER_LINUX): Likewise.
63693         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63694         __syscall_ulong_t and __syscall_slong_t.
63695         (stat64): Likewise.
63697 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63699         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63701 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63703         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63707         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63708         __syscall_ulong_t.
63710         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63711         include <bits/wordsize.h>.  Check __x86_64__ instead of
63712         __WORDSIZE.
63713         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63714         defined.
63715         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63717         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63718         include <bits/wordsize.h>.  Check __x86_64__ instead of
63719         __WORDSIZE.
63720         (user_regs_struct): Use "__extension__ unsigned long long"
63721         instead of "unsigned long" if __x86_64__ is defined.
63722         (user): Likewise.  Pad after pointer field if __ILP32__ is
63723         defined.
63725 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63727         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63728         versions 5 to 9.
63729         * configure: Regenerated.
63730         * manual/install.texi (texinfo): Increase version requirement to
63731         4.5 or later.
63732         * INSTALL: Regenerated.
63734         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63736 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63738         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63740         * sysdeps/x86_64/x32/ffs.c: New file.
63742         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63743         __syscall_ulong_t.
63744         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63745         defined.  Use __syscall_ulong_t.
63746         (shminfo): Use __syscall_ulong_t.
63747         (shm_info): Likewise.
63749         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63750         __syscall_ulong_t.
63752         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63753         <bits/wordsize.h>.
63754         (msgqnum_t): Use __syscall_ulong_t.
63755         (msglen_t): Likewise.
63756         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63757         __syscall_ulong_t.
63759         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63760         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63762         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63764         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63765         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63767         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63768         __syscall_slong_t.
63770         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63771         include <bits/wordsize.h>.  Check __x86_64__ instead of
63772         __WORDSIZE.
63774         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63775         "unsigned long long int" if __x86_64__ is defined.
63776         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63778         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63779         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63780         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63782         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63783         <stdint.h>.
63784         (GET_PC): Cast to uintptr_t first.
63785         (GET_FRAME): Likewise.
63786         (GET_STACK): Likewise.
63788         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63789         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63790         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63791         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63792         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63793         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63794         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63795         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63796         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63797         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63798         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63799         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63800         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63801         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63802         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63803         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63804         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63805         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63807         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63809         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63810         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63811         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63812         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63813         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63814         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63815         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63816         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63818 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63820         * Makerules (+depfiles): Also collect depfiles from .oS in
63821         $(extra-objs).
63822         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63823         .oS, $(libnldbl-routines)).
63825         * Makerules (native-compile-mkdep-flags): Define.
63826         * sunrpc/Makefile (extra-objs): Add $(addprefix
63827         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63828         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63829         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63830         calling $(make-target-directory).
63832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63834         * bits/types.h (__snseconds_t): Removed.
63835         * time/time.h (struct timespec): Replace __snseconds_t with
63836         __syscall_slong_t.
63837         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63838         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63839         Likewise.
63840         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63841         (__SNSECONDS_T_TYPE): Likewise.
63842         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63843         (__SNSECONDS_T_TYPE): Likewise.
63844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63845         (__SNSECONDS_T_TYPE): Likewise.
63847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63849         * sysdeps/mach/hurd/bits/typesizes.h
63850         (__SYSCALL_SLONG_TYPE): New macro.
63851         (__SYSCALL_ULONG_TYPE): Likewise.
63853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63855         * bits/types.h (__syscall_slong_t): New type.
63856         (__syscall_ulong_t): Likewise.
63858         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63859         (__SYSCALL_ULONG_TYPE): Likewise.
63860         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63861         (__SYSCALL_SLONG_TYPE): Likewise.
63862         (__SYSCALL_ULONG_TYPE): Likewise.
63863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63864         (__SYSCALL_SLONG_TYPE): Likewise.
63865         (__SYSCALL_ULONG_TYPE): Likewise.
63866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63867         (__SYSCALL_SLONG_TYPE): Likewise.
63868         (__SYSCALL_ULONG_TYPE): Likewise.
63870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63872         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63873         Add sigaltstack-offsets.sym.
63874         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63875         <sigaltstack-offsets.h>.
63876         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63877         longjmp_msg pointer.
63878         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63879         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63880         signal stack.
63881         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63883 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63885         * elf/stackguard-macros.h: Remove file.
63886         * sysdeps/generic/stackguard-macros.h: New file.
63887         * sysdeps/i386/stackguard-macros.h: Likewise.
63888         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63889         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63890         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63891         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63892         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63893         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63894         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63895         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63896         <elf/stackguard-macros.h>.
63898         [BZ #14109]
63899         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63900         __aligned__ in attribute.
63901         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63902         (gregset_t): Likewise.
63904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63906         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63907         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63908         * sysdeps/x86_64/x32/Implies-after: New file.
63910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63912         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63913         and access return value for _dl_profile_fixup.  Use R10_LP to
63914         load frame size.
63916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63918         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63922         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63923         * sysdeps/x86_64/x32/sysdep.h: New file.
63925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63927         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63928         * sysdeps/x86_64/setjmp.S: Likewise.
63930 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63932         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63933         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63934         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63935         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63936         remove unused global constant.
63938 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63940         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63941         include of <not-cancel.h>.
63943 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63945         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63947 2012-05-15  Jeff Law  <law@redhat.com>
63948             Andreas Jaeger  <aj@suse.de>
63950         [BZ #13594]
63951         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63952         out from...
63953         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63954         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63955         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63956         code changing __hst_map_handle.map.
63958 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63960         * configure.in (sysnames): Look for Implies-before and Implies-after
63961         files.
63962         * configure: Regenerated.
63964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63966         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63967         8-byte data alignment with LP_SIZE alignment.
63969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63971         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63972         into R10_LP.
63974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63976         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63980         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63981         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63982         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63983         Likewise.
63984         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63988         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63989         (stackinfo_sub_sp): Likewise.
63991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63994         RAX_LP.
63996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63998         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63999         into R*_LP.
64001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64003         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64004         sizes into R*_LP.
64006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64008         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64012         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64013         into R11_LP and load __x86_64_shared_cache_size_half into
64014         R8_LP.
64016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64018         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64019         R8_LP.
64021 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64024         logb for POWER7.
64025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64026         logbf for POWER7.
64027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64028         logbl for POWER7.
64029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64030         powerpc32/power7/fpu/s_logb.c via #include.
64031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64032         powerpc32/power7/fpu/s_logbf.c via #include.
64033         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64034         powerpc32/power7/fpu/s_logbl.c via #include.
64036 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64038         * README.libm: Remove file.
64040 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64042         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64043         count for x32.  Use R*_LP and omit operand-size suffix.
64045 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64047         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64048         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64049         * sysdeps/x86_64/x32/shlib-versions: New file.
64051 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64053         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64054         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64055         Use _dl_fatal_printf instead.
64057 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64059         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64060         set if not set by the user.  Do not allow for being unset.
64061         * sysdeps/unix/sysv/linux/configure: Regenerated.
64063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64065         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64066         the `q' suffix from lea and replace .quad with ASM_ADDR.
64068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64071         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64072         instead of $17.
64073         (PTR_DEMANGLE): Likewise.
64075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64077         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64078         (LP_OP): Likewise.
64079         (ASM_ADDR): Likewise.
64080         (RAX_LP): Likewise.
64081         (RBP_LP): Likewise.
64082         (RBX_LP): Likewise.
64083         (RCX_LP): Likewise.
64084         (RDI_LP): Likewise.
64085         (RSI_LP): Likewise.
64086         (RSP_LP): Likewise.
64087         (R8_LP): Likewise.
64088         (R9_LP): Likewise.
64089         (R10_LP): Likewise.
64090         (R10_LP): Likewise.
64091         (R11_LP): Likewise.
64092         (R12_LP): Likewise.
64093         (R13_LP): Likewise.
64094         (R14_LP): Likewise.
64095         (R15_LP): Likewise.
64097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64099         * sysdeps/x86_64/x32/dl-machine.h: New file.
64101 2012-05-14  Andreas Jaeger  <aj@suse.de>
64103         * manual/Makefile (subdir): Remove export of subdir.
64104         (all): Remove target.
64105         (.PHONY): Remove all from list.
64106         (mkinstalldirs): Remove.
64107         (.PHONY): Remove installdirs from list.
64108         ($(inst_infodir)/libc.info): Use make-target-directory.
64109         (installdirs): Remove.
64110         (subdir_%): Remove.
64111         (glibc-targets): Remove.
64112         (lib): Remove.
64113         (stubs): Remove.
64114         ($(objpfx)stubs ../po/manual.pot): Remove.
64115         ($(objpfx)stamp%): Remove.
64116         (make-target-directory): Remove.
64117         (subdir_install): Remove.
64118         (routines): Remove.
64119         (aux): Remove.
64120         (sources): Remove.
64121         (objects): Remove.
64122         (headers): Remove.
64124         [BZ #13750]
64125         * manual/.gitignore: Remove, it's not needed anymore.
64126         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64127         all files in it.
64128         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64129         directory.
64130         (texis): Renamed to $(objpfx)texis.
64131         (texis-path): New, contains path to generated files.
64132         (chapters.%): Use texis-path for complete path, add extra argument
64133         libc-texinfo.sh.
64134         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64135         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64136         (summary,texi, stamp-summary): Use complete path of
64137         files. Generate files in build dir.
64138         (dir-add.texi): Build in build dir.
64139         (libm-err.texi,stamp-libm-err): Likewise.
64140         (version.texi, stamp-version): Likewise.
64141         (.%c.texi): Likewise.
64142         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64143         (mostlyclean): Remove target.
64144         (realclean): Remove target.
64145         (generated): Add new variable with contents from mostlyclean and
64146         realclean, remove entries duplicated in common-mostlyclean, add
64147         stamp-libm-err and stamp-version.
64148         (generated-dirs): Add libc directory.
64149         ($(inst_infodir)/libc.info): Install files from build dir.
64151         * manual/install.texi (Configuring and compiling): Adjust since
64152         the info files are not part of the tar ball anymore.
64154 2012-05-14  Andreas Jaeger  <aj@suse.de>
64156         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64157         variable.
64159 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64161         [BZ #13717]
64162         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64163         to 2.2.0 where earlier.
64164         * sysdeps/unix/sysv/linux/configure: Regenerated.
64165         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64166         Remove conditional code.
64167         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64168         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64169         Remove conditional code.
64170         [!__NR_lchown]: Likewise.
64171         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64172         [__NR_lchown]: Likewise.
64173         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64174         comment referencing __ASSUME_LCHOWN_SYSCALL.
64175         * sysdeps/unix/sysv/linux/i386/sigaction.c
64176         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64177         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64178         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64179         Remove conditional code.
64180         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64181         (__protocol_available): Remove #if 0 code.
64182         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64183         conditional code.
64184         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64185         * sysdeps/unix/sysv/linux/kernel-features.h
64186         (__ASSUME_GETCWD_SYSCALL): Don't define.
64187         (__ASSUME_REALTIME_SIGNALS): Likewise.
64188         (__ASSUME_PREAD_SYSCALL): Likewise.
64189         (__ASSUME_PWRITE_SYSCALL): Likewise.
64190         (__ASSUME_POLL_SYSCALL): Likewise.
64191         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64192         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64193         non-SPARC.
64194         (__ASSUME_SIOCGIFNAME): Don't define.
64195         (__ASSUME_MSG_NOSIGNAL): Likewise.
64196         (__ASSUME_SENDFILE): Define unconditionally.
64197         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64198         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64199         conditional code.
64200         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64201         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64202         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64203         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64204         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64205         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64206         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64208         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64209         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64211         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64212         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64214         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64215         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64217         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64218         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64220         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64221         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64223         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64224         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64226         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64227         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64229         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64230         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64231         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64232         Remove conditional code.
64233         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64234         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64235         Remove conditional code.
64236         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64237         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64238         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64239         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64240         Remove conditional code.
64241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64242         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64243         Remove conditional code.
64244         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64245         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64246         Remove conditional code.
64247         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64248         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64249         Remove conditional code.
64250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64251         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64252         Remove conditional code.
64253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64254         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64255         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64257         * sysdeps/unix/sysv/linux/sigaction.c
64258         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64259         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64260         * sysdeps/unix/sysv/linux/sigpending.c
64261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64263         * sysdeps/unix/sysv/linux/sigprocmask.c
64264         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64265         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64266         * sysdeps/unix/sysv/linux/sigsuspend.c
64267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64269         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64270         (__libc_missing_rt_sigs): Remove.
64271         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64272         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64273         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64274         Remove conditional code.
64275         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64276         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64277         return 1.
64278         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64279         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64280         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64281         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64283 2012-05-14  Andreas Jaeger  <aj@suse.de>
64285         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64286         it's not used in glibc.
64287         (__coshm1): Likewise.
64288         (__acosh1p): Likewise.
64289         (__sgn): Likewise.
64291         * manual/string.texi (Copying and Concatenation): Add missing
64292         variable in concat example.
64293         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64297         [BZ #14103]
64298         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64299         __builtin_clzl with __builtin_clzll.
64301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64303         [BZ #14104]
64304         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64305         libc_freeres_ptr.
64307 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64309         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64310         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64311         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64312         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64314 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64316         * NEWS: Update ia64 info.
64318 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64320         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64321         used as bcopy.
64323 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64325         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64326         * sysdeps/unix/syscalls.list (dup3): Likewise.
64327         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64328         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64330 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64332         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64333         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64335 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64337         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64338         thread pointer.
64339         (TLS_IE): Use mov/add instead of movq/addq to load thread
64340         pointer.
64341         (TLS_GD_PREFIX): New.
64342         (TLS_GD): Use it.
64344 2012-05-11  David S. Miller  <davem@davemloft.net>
64346         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64347         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64348         (_FPU_SETCW): Likewise.
64350 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64352         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64353         is 32-byte aligned.
64355 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64357         [BZ #11837]
64358         * iconvdata/gb18030.c: Update tables.
64359         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64360         characters specially.
64361         (BODY for TO_LOOP): Add encoding of missing ranges.
64363 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64365         [BZ #13673]
64366         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64367         * sysdeps/mach/hurd/dup3.c: Likewise.
64368         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64369         * sysdeps/powerpc/memmove.c:: Likewise.
64371 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64373         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64374         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64376 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64378         * elf/elf.h (R_X86_64_RELATIVE64): New.
64379         (R_X86_64_NUM): Updated.
64380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64381         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64382         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64383         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64384         tst-quad1pie tst-quad2pie
64385         (modules-names): Add tst-quadmod1 tst-quadmod2.
64386         ($(objpfx)tst-quad1): New dependency.
64387         ($(objpfx)tst-quad2): Likewise.
64388         ($(objpfx)tst-quad1pie): Likewise.
64389         ($(objpfx)tst-quad2pie): Likewise.
64390         * sysdeps/x86_64/tst-quad1.c: New file.
64391         * sysdeps/x86_64/tst-quad1pie.c: New file.
64392         * sysdeps/x86_64/tst-quad2.c: Likewise.
64393         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64394         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64395         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64396         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64397         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64401         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64402         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64403         * streams/stropts.h (t_scalar_t): Define type.
64405         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64406         (_PATH_PRESERVE): Set to "/var/lib".
64407         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64409         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64410         instead of int.
64412         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64413         if __dir_mkfile succeeded.
64415         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64416         checking for _hurd_dtablesize.  Unlock it right after having
64417         finished _hurd_dtable allocation.
64419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64421         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64422         * sysdeps/mach/hurd/configure: Regenerated.
64423         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64424         special-casing to...
64425         * sysdeps/gnu/configure.in: ... this new file.
64426         * sysdeps/unix/sysv/linux/configure: Regenerated.
64427         * sysdeps/gnu/configure: New generated file.
64429         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64430         for Linux: use nsec instead of usec, as well as:
64431         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64432         members of type struct timespec.
64433         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64434         New macros.
64435         (struct stat64): Likewise.
64436         (_STATBUF_ST_NSEC): New macro.
64437         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64439         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64440         __strtoul_internal rather than strtoul.
64442 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64444         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64445         and reject them.
64447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64449         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64450         which preserves existing values.
64451         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64453 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64455         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64456         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64457         greater than FD_SETSIZE.
64459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64461         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64462         allocated, call __vm_protect to finish enabling the existing space, and
64463         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64464         allocate the remainder.
64466 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64468         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64469         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64473         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64474         sysdeps/mach/hurd/readlink.c.
64476         * posix/tst-sysconf.c (posix_options): Only use
64477         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64478         _POSIX_SYNCHRONIZED_IO when they are defined
64479         * sysdeps/mach/hurd/bits/posix_opt.h:
64480         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64481         (_XOPEN_REALTIME): Undefine macro.
64482         (_XOPEN_REALTIME_THREADS): Undefine macro.
64483         (_XOPEN_SHM): Undefine macro.
64484         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64485         macro to -1.
64486         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64487         macro to -1.
64488         (_POSIX_ASYNC_IO): Undefine macro.
64489         (_POSIX_PRIORITIZED_IO): Undefine macro.
64490         (_POSIX_SPIN_LOCKS): Define macro to -1.
64492         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64493         SA_NODEFER, SA_RESETHAND.
64494         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64495         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64496         F_DUPFD_CLOEXEC.
64498 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64500         * elf/Makefile (pldd-modules): Define unconditionally.
64502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64504         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64508         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64509         Return ENOENT when name is empty.
64510         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64514         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64516         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64520         Fix mlock in all cases except non-readable pages.
64521         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64522         instead of VM_PROT_ALL as parameter to __vm_wire function.
64524         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64525         (__mkdir): When path is `/', just fail with EEXIST.
64526         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64530         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64531         <sys/uio.h> (for writev).
64532         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64533         and <sys/param.h> (for MIN).
64535 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64537         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64538         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64539         if interrupted.
64541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64543         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64544         Depend on against $(link-rpcuserlibs).
64546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64548         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64549         (__libc_stack_end): Do not use attribute_relro.
64550         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64551         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64552         to libthread-provided value.
64553         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64554         attribute_relro.
64556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64558         [BZ #3748]
64559         * bits/libc-lock.h (__libc_once_get): New macro.
64560         * sysdeps/mach/bits/libc-lock.h: Likewise.
64561         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64562         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64563         instead of using implementation details.
64565         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64566         * libio/freopen.c: Likewise.
64567         * libio/freopen64.c: Likewise.
64568         * misc/syslog.c: Likewise.
64569         * nscd/connections.c: Likewise.
64570         * nscd/netgroupcache.c: Likewise.
64571         * sysdeps/posix/getcwd.c: Likewise.
64573 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64575         * math/w_ilogbf.c: Add #include <limits.h>.
64577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64579         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64580         path instead of returning without unlocking.
64582         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64583         immediate-write ioctls.
64584         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64588         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64589         __builtin_frame_address instead of making assumptions about the
64590         location of the return address relative to DATA.  Force early load of
64591         the return address.
64592         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64593         __builtin_frame_address.
64595         dup3 for GNU Hurd.
64596         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64597         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64598         implement dup3 and do some further code clean-ups.
64599         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64600         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64604         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64606         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64607         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64608         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64609         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64610         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64611         d->port.lock.
64613         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64614         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64615         when handler == SIG_ERR, not when handler != SIG_ERR.
64617 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64619         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64620         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64621         definitions.
64623         accept4 for GNU Hurd.
64624         * include/sys/socket.h (__libc_accept4): New prototype.
64625         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64626         to implement __libc_accept4.
64627         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64628         __libc_accept4.
64629         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64631         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64632         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64633         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64634         signal-defines.sym.
64636 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64638         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64642         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64643         assertion on O_CLOEXEC flag.
64644         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64645         * hurd/intern-fd.c: Likewise.
64646         * hurd/port2fd.c: Likewise.
64648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64650         [BZ #3906]
64651         * bits/in.h (IPV6_PKTINFO): Define new macro.
64652         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64654 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64656         [BZ #13954]
64657         [BZ #13955]
64658         [BZ #13956]
64659         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64660         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64661         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64662         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64664         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64665         * math/libm-test.inc (logb_test) : Additional logb tests.
64667 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64668             Andreas Jaeger  <aj@suse.de>
64670         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64671         * configure: Regenerated.
64672         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64673         * config.make.in (link-obsolete-rpc): New substituted variable.
64674         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64675         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64676         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64677         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64678         so that libc.a contains the symbols.
64679         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64680         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64681         * sunrpc/auth_none.c: Likewise.
64682         * sunrpc/auth_unix.c: Likewise.
64683         * sunrpc/authdes_prot.c: Likewise.
64684         * sunrpc/authuxprot.c: Likewise.
64685         * sunrpc/clnt_gen.c: Likewise.
64686         * sunrpc/clnt_perr.c: Likewise.
64687         * sunrpc/clnt_raw.c: Likewise.
64688         * sunrpc/clnt_simp.c: Likewise.
64689         * sunrpc/clnt_tcp.c: Likewise.
64690         * sunrpc/clnt_udp.c: Likewise.
64691         * sunrpc/clnt_unix.c: Likewise.
64692         * sunrpc/des_crypt.c: Likewise.
64693         * sunrpc/des_soft.c: Likewise.
64694         * sunrpc/get_myaddr.c: Likewise.
64695         * sunrpc/key_call.c: Likewise.
64696         * sunrpc/key_prot.c: Likewise.
64697         * sunrpc/netname.c: Likewise.
64698         * sunrpc/pm_getmaps.c: Likewise.
64699         * sunrpc/pm_getport.c: Likewise.
64700         * sunrpc/pmap_clnt.c: Likewise.
64701         * sunrpc/pmap_prot.c: Likewise.
64702         * sunrpc/pmap_prot2.c: Likewise.
64703         * sunrpc/pmap_rmt.c: Likewise.
64704         * sunrpc/publickey.c: Likewise.
64705         * sunrpc/rpc_cmsg.c: Likewise.
64706         * sunrpc/rpc_common.c: Likewise.
64707         * sunrpc/rpc_dtable.c: Likewise.
64708         * sunrpc/rpc_prot.c: Likewise.
64709         * sunrpc/rpc_thread.c: Likewise.
64710         * sunrpc/rtime.c: Likewise.
64711         * sunrpc/svc.c: Likewise.
64712         * sunrpc/svc_auth.c: Likewise.
64713         * sunrpc/svc_raw.c: Likewise.
64714         * sunrpc/svc_run.c: Likewise.
64715         * sunrpc/svc_tcp.c: Likewise.
64716         * sunrpc/svc_udp.c: Likewise.
64717         * sunrpc/svc_unix.c: Likewise.
64718         * sunrpc/svcauth_des.c: Likewise.
64719         * sunrpc/xcrypt.c: Likewise.
64720         * sunrpc/xdr.c: Likewise.
64721         * sunrpc/xdr_array.c: Likewise.
64722         * sunrpc/xdr_float.c: Likewise.
64723         * sunrpc/xdr_intXX_t.c: Likewise.
64724         * sunrpc/xdr_mem.c: Likewise.
64725         * sunrpc/xdr_rec.c: Likewise.
64726         * sunrpc/xdr_ref.c: Likewise.
64727         * sunrpc/xdr_sizeof.c: Likewise.
64728         * sunrpc/xdr_stdio.c: Likewise.
64730 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64733         change.  Update copyright years.
64735 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64737         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64739 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64740             Joseph Myers  <joseph@codesourcery.com>
64741             Paul Pluzhnikov  <ppluzhnikov@google.com>
64743         [BZ #14012]
64744         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64745         requiring rpcgen.
64746         [cross-compiling] (extra-libs): Likewise.
64747         [cross-compiling] (extra-libs-others): Likewise.
64748         [cross-compiling] (librpcsvc-routines): Likewise.
64749         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64750         [cross-compiling] (omit-deps): Likewise.
64751         (sunrpc-CPPFLAGS): New variable.
64752         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64753         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64754         (cross-rpcgen-objs): New variable.
64755         (extra-objs): Append $(cross-rpcgen-objs).
64756         ($(cross-rpcgen-objs)): New rule.
64757         ($(objpfx)cross-rpcgen): Likewise.
64758         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64759         comment.
64760         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64761         ($(objpfx)x%.stmp): Likewise.
64762         * sunrpc/proto.h [IS_IN_build] (_): Define.
64763         [IS_IN_build] (_libc_intl_domainname): Likewise.
64765 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64768         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64769         and R_X86_64_TPOFF64.
64771 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64773         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64774         sysdeps/unix/sysv/syscalls.list.
64775         (stime): Likewise.
64776         (utime): Likewise.
64777         * sysdeps/unix/sysv/syscalls.list: Remove file.
64779 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64781         [BZ #3440]
64782         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64783         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64784         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64785         (__LC_IDENTIFICATION): Make these macros useful in #if
64786         expressions, as required by C99.
64788 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64790         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64791         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64792         after this.
64794 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64796         * stdlib/longlong.h: Updated from GCC.
64798 2012-05-09  Andreas Jaeger  <aj@suse.de>
64800         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64801         default is first entry.
64802         (run_mode): Set type.
64803         (main): Remove informal message about syslog.
64804         (options): Fix typo.
64806         [BZ #14053]
64807         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64808         to asm.
64809         (lrint): Likewise.
64810         (llrintf): Likewise.
64811         (llrint): Likewise.
64812         (rint): Likewise.
64813         (rintf): Likewise.
64814         (nearbyint): Likewise.
64815         (nearbyintf): Likewise.
64817 2012-05-09  Andreas Jaeger  <aj@suse.de>
64818             Pedro Alves  <palves@redhat.com>
64820         * nscd/nscd.c (run_mode): Use enum.
64821         (main): Cleanup coding style issue.
64823 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64824             Andreas Jaeger  <aj@suse.de>
64826         * nscd/nscd.c (go_background): Replaced with...
64827         (run_mode): ... this.
64828         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64829         (options): Add -F --foreground.
64830         (main): Implement it.
64831         (parse_opt): Parse it.
64833 2012-05-09  Andreas Jaeger  <aj@suse.de>
64835         [BZ #14083]
64836         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64837         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64838         -Wconversion warning.
64839         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64840         Likewise.
64842 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64844         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64845         == 0.
64846         (LC_ALL): Use macro-int-constant.
64847         (LC_COLLATE): Likewise.
64848         (LC_CTYPE): Likewise.
64849         (LC_MESSAGES): Likewise.
64850         (LC_MONETARY): Likewise.
64851         (LC_NUMERIC): Likewise.
64852         (LC_TIME): Likewise.
64853         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64854         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64856         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64857         Specify type.
64858         [C99-based standards] (float_t): Expect type.
64859         [C99-based standards] (double_t): Expect type.
64860         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64861         type.
64862         [C99-based standards] (HUGE_VALL): Likewise.
64863         [C99-based standards] (INFINITY): Likewise.
64864         [C99-based standards] (NAN): Likewise.
64865         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64866         [C99-based standards] (FP_NAN): Likewise.
64867         [C99-based standards] (FP_NORMAL): Likewise.
64868         [C99-based standards] (FP_SUBNORMAL): Likewise.
64869         [C99-based standards] (FP_ZERO): Likewise.
64870         [C99-based standards] (FP_FAST_FMA): Use
64871         optional-macro-int-constant.  Specify type.  Require == 1.
64872         [C99-based standards] (FP_FAST_FMAF): Likewise.
64873         [C99-based standards] (FP_FAST_FMAL): Likewise.
64874         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64875         [C99-based standards] (FP_ILOGBNAN): Likewise.
64876         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64877         Specify type.
64878         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64879         [C99-based standards] (math_errhandling): Specify type.
64880         [ISO99 || ISO11] (signgam): Do not allow.
64881         [non-C99-based standards] (copysignf): Do not allow.
64882         [non-C99-based standards] (exp2f): Likewise.
64883         [non-C99-based standards] (log2f): Likewise.
64884         [non-C99-based standards] (modff): Allow.
64885         [non-C99-based standards] (erff): Do not allow.
64886         [non-C99-based standards] (erfcf): Likewise.
64887         [non-C99-based standards] (gammaf): Likewise.
64888         [non-C99-based standards] (hypotf): Likewise.
64889         [non-C99-based standards] (j0f): Likewise.
64890         [non-C99-based standards] (j1f): Likewise.
64891         [non-C99-based standards] (jnf): Likewise.
64892         [non-C99-based standards] (lgammaf): Likewise.
64893         [non-C99-based standards] (tgammaf): Likewise.
64894         [non-C99-based standards] (y0f): Likewise.
64895         [non-C99-based standards] (y1f): Likewise.
64896         [non-C99-based standards] (ynf): Likewise.
64897         [non-C99-based standards] (isnanf): Likewise.
64898         [non-C99-based standards] (acoshf): Likewise.
64899         [non-C99-based standards] (asinhf): Likewise.
64900         [non-C99-based standards] (atanhf): Likewise.
64901         [non-C99-based standards] (cbrtf): Likewise.
64902         [non-C99-based standards] (expm1f): Likewise.
64903         [non-C99-based standards] (ilogbf): Likewise.
64904         [non-C99-based standards] (log1pf): Likewise.
64905         [non-C99-based standards] (logbf): Likewise.
64906         [non-C99-based standards] (nextafterf): Likewise.
64907         [non-C99-based standards] (remainderf): Likewise.
64908         [non-C99-based standards] (rintf): Likewise.
64909         [non-C99-based standards] (scalbf): Likewise.
64910         [non-C99-based standards] (copysignl): Likewise.
64911         [non-C99-based standards] (exp2l): Likewise.
64912         [non-C99-based standards] (log2l): Likewise.
64913         [non-C99-based standards] (modfl): Allow.
64914         [non-C99-based standards] (erfl): Do not allow.
64915         [non-C99-based standards] (erfcl): Likewise.
64916         [non-C99-based standards] (gammal): Likewise.
64917         [non-C99-based standards] (hypotl): Likewise.
64918         [non-C99-based standards] (j0l): Likewise.
64919         [non-C99-based standards] (j1l): Likewise.
64920         [non-C99-based standards] (jnl): Likewise.
64921         [non-C99-based standards] (lgammal): Likewise.
64922         [non-C99-based standards] (tgammal): Likewise.
64923         [non-C99-based standards] (y0l): Likewise.
64924         [non-C99-based standards] (y1l): Likewise.
64925         [non-C99-based standards] (ynl): Likewise.
64926         [non-C99-based standards] (isnanl): Likewise.
64927         [non-C99-based standards] (acoshl): Likewise.
64928         [non-C99-based standards] (asinhl): Likewise.
64929         [non-C99-based standards] (atanhl): Likewise.
64930         [non-C99-based standards] (cbrtl): Likewise.
64931         [non-C99-based standards] (expm1l): Likewise.
64932         [non-C99-based standards] (ilogbl): Likewise.
64933         [non-C99-based standards] (log1pl): Likewise.
64934         [non-C99-based standards] (logbl): Likewise.
64935         [non-C99-based standards] (nextafterl): Likewise.
64936         [non-C99-based standards] (remainderl): Likewise.
64937         [non-C99-based standards] (rintl): Likewise.
64938         [non-C99-based standards] (scalbl): Likewise.
64939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64940         [non-C99-based standards] (FP_*): Do not allow.
64941         [C99-based standards] (FP_*): Change to
64942         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64943         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64944         allow.
64945         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64946         (SIG_ERR): Likewise.
64947         [X/Open-based standards] (SIG_HOLD): Likewise.
64948         (SIG_IGN): Likewise.
64949         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64950         positive value.
64951         (SIGFPE): Likewise.
64952         (SIGILL): Likewise.
64953         (SIGINT): Likewise.
64954         (SIGSEGV): Likewise.
64955         (SIGTER): Likewise.
64956         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64957         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64958         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64959         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64960         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64961         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64962         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64963         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64964         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64965         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64966         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64967         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64968         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64969         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64970         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64971         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64972         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64973         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64974         [X/Open-based standards] (SIGTRAP): Likewise.
64975         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64976         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64977         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64978         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64979         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64980         allow.
64982 2012-05-08  Ian Wienand  <ianw@vmware.com>
64984         [BZ #14080]
64985         * time/tzset.c (__tzset_parse_tz): Update default rules for
64986         daylight time changes in the Energy Policy Act of 2005.
64988 2012-05-09  Andreas Jaeger  <aj@suse.de>
64990         [BZ #13983]
64991         * elf/ldconfig.c (parse_conf): Change string to make clear that
64992         ldconfig only issued a warning if ld.so.conf does not exist.
64994 2012-05-08  David S. Miller  <davem@davemloft.net>
64996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64997         movxtod instead of popping the value on the stack.
64999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65001 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65003         * config.h.in: Add HAVE_ARM_PCS_VFP.
65005 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65007         [BZ #13979]
65008         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65009         checking but the checks are disabled for any reason.
65011 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65013         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65014         and ELF64_R_TYPE with ELFW(R_TYPE).
65016 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65018         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65019         (ulimit): Likewise.
65021         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65022         (settimeofday): Likewise.
65024 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65026         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65027         a struct th_u2 inside the union, and move tu_block/tu_code into
65028         a new th_u3 union of tu_block/tu_code inside of that.  Move
65029         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65030         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65031         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65032         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65033         (th_stuff): Change to th_u1.tu_stuff.
65034         (th_data): Define.
65035         (th_msg): Change to th_u1.th_u2.tu_data.
65037 2012-05-07  David S. Miller  <davem@davemloft.net>
65039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65041         [BZ #14074]
65042         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65043         (SETUP_PIC_REG): Use it.
65044         (SETUP_PIC_REG_LEAF): Use it.
65046 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65048         [BZ #13885]
65049         [BZ #13923]
65050         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65051         USE_AS_EXPM1L.
65052         (EXPL_FINITE): Likewise.
65053         (FLDLOG): Likewise.
65054         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65055         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65056         e_expl.S.
65057         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65058         USE_AS_EXPM1L.
65059         (EXPL_FINITE): Likewise.
65060         (FLDLOG): Likewise.
65061         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65062         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65063         e_expl.S.
65064         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65065         test of -max_value argument for long double.
65066         * sysdeps/i386/fpu/libm-test-ulps: Update.
65067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65069 2012-05-06  David S. Miller  <davem@davemloft.net>
65071         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65072         quad soft-float symbols whose references which are compiler
65073         generated.
65074         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65076 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65078         [BZ #13884]
65079         [BZ #13914]
65080         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65081         USE_AS_EXP10L.
65082         (EXPL_FINITE): Likewise.
65083         (FLDLOG): Likewise.
65084         (c0): Likewise.
65085         (c1): Likewise.
65086         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65087         Adjust comments for base varying.
65088         (__expl_finite): Change alias to EXPL_FINITE.
65089         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65090         e_expl.S.
65091         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65092         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65093         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65094         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65095         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65096         USE_AS_EXP10L.
65097         (EXPL_FINITE): Likewise.
65098         (FLDLOG): Likewise.
65099         (c0): Likewise.
65100         (c1): Likewise.
65101         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65102         Adjust comments for base varying.
65103         (__expl_finite): Change alias to EXPL_FINITE.
65104         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65105         tests for bugs.
65106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65108         [BZ #14064]
65109         * math/libm-test.inc (check_float_internal): Correct ulp
65110         calculation for subnormal expected results.
65112 2012-05-06  Andreas Jaeger  <aj@suse.de>
65114         * Makeconfig (+math-flags): New, set to -frounding-math.
65115         (+cflags): Add +math-flags so that all of glibc gets compiled with
65116         it.
65118         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65120 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65122         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65123         Disable one test.
65125         [BZ #13787]
65126         [BZ #13922]
65127         [BZ #14036]
65128         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65129         (__ieee754_expl): Allow for and saturate large arguments.
65130         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65131         (u_threshold): Likewise.
65132         (__exp): Call __ieee754_exp before checking for overflow and
65133         underflow.
65134         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65135         (u_threshold): Likewise.
65136         (__expf): Call __ieee754_expf before checking for overflow and
65137         underflow.
65138         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65139         (u_threshold): Likewise.
65140         (__expl): Call __ieee754_expl before checking for overflow and
65141         underflow.
65142         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65143         (__ieee754_expl): Allow for and saturate large arguments.
65144         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65145         missing overflow exception on overflow.
65146         (expm1_test): Do not allow missing overflow exception on overflow.
65148         * sysdeps/i386/fpu/e_expl.c: Move to ...
65149         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65150         rather than using inline asm.
65151         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65152         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65153         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65155         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65156         (nice): Likewise.
65157         (poll): Likewise.
65158         (signal): Likewise.
65159         (time): Likewise.
65160         (times): Likewise.
65162 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65164         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65165         sysdeps/unix/common/syscalls.list.
65166         (fchmod): Likewise.
65167         (fchown): Likewise.
65168         (ftruncate): Likewise.
65169         (getrusage): Likewise.
65170         (gettimeofday): Likewise.
65171         (setpgid): Likewise.
65172         (setregid): Likewise.
65173         (setreuid): Likewise.
65174         (sigaction): Likewise.
65175         (truncate): Likewise.
65176         (vhangup): Likewise.
65177         * sysdeps/unix/common/syscalls.list: Remove file.
65178         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65179         * sysdeps/unix/sysv/linux/Implies: Likewise.
65181 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65183         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65185         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65186         Moved to ...
65187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65188         Here.
65189         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65190         to ...
65191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65192         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65193         to ...
65194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65195         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65196         to ...
65197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65198         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65199         to ...
65200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65201         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65202         to ...
65203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65204         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65205         to ...
65206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65207         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65208         to ...
65209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65210         Here.
65211         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65212         to ...
65213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65214         Here.
65215         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65216         to ...
65217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65218         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65219         Moved to ...
65220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65221         Here.
65222         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65223         to ...
65224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65226 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65228         * sysdeps/unix/common/bits/dirent.h: Remove file.
65229         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65231         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65232         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65233         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65234         * sysdeps/unix/bsd/isatty.c: Likewise.
65235         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65236         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65237         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65239 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65241         [BZ #13563]
65242         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65243         long double comparison inaccuracies.
65244         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65247 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65249         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65252 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65254         [BZ #14049]
65255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65256         nonzero digits before rounding a hex value.
65257         * stdlib/tst-strtod.c (tests): Add another test.
65259 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65261         * sysdeps/s390/fpu/libm-test-ulps: Update.
65263 2012-05-03  Andreas Jaeger  <aj@suse.de>
65265         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65266         does not get optimized out.
65267         (malloc_opt_barrier): New.
65269 2012-05-03  Andreas Jaeger  <aj@suse.de>
65270             Roland McGrath  <roland@hack.frob.com>
65272         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65273         intermediate file deletion.
65274         (generated): Add .symlist files.
65276 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65278         [BZ #13775]
65279         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65280         Redirect under this condition.
65281         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65282         [__USE_GNU] (__dprintf_chk): Not under this condition.
65283         [__USE_GNU] (__vdprintf_chk): Likewise.
65284         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65285         under this condition.
65286         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65287         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65288         [__USE_XOPEN2K8] (vdprintf): Likewise.
65289         [__USE_GNU] (__dprintf_chk): Not under this condition.
65290         [__USE_GNU] (__vdprintf_chk): Likewise.
65291         [__USE_GNU] (dprintf): Likewise.
65292         [__USE_GNU] (vdprintf): Likewise.
65294 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65296         * elf/Makefile (common-generated): Set this instead of generated for
65297         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65298         $(all-built-dso)-derived lists.
65300 2012-05-03  Andreas Jaeger  <aj@suse.de>
65302         * sysdeps/i386/fpu/libm-test-ulps: Update.
65304         * FAQ: Removed.
65305         * FAQ.in: Likewise.
65306         * scripts/gen-FAQ.pl: Likewise.
65307         * manual/install.texi (Installation): Point to online location of
65308         FAQ.
65309         * Makefile (files-for-dist): Remove FAQ.
65310         (FAQ): Remove.
65312 2012-05-02  Allan McRae  <allan@archlinux.org>
65314         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65315         (LDFLAGS-reldepmod5.so): Likewise.
65316         (LDFLAGS-reldep6mod1.so): Likewise.
65317         (LDFLAGS-reldep6mod4.so): Likewise.
65318         (LDFLAGS-reldep8mod3.so): Likewise.
65319         (LDFLAGS-unload4mod1.so): Likewise.
65320         (LDFLAGS-unload4mod2.so): Likewise.
65321         (LDFLAGS-tst-initorder): Likewise.
65322         (LDFLAGS-tst-initordera2.so): Likewise.
65323         (LDFLAGS-tst-initordera3.so): Likewise.
65324         (LDFLAGS-tst-initordera4.so): Likewise.
65325         (LDFLAGS-tst-initorderb2.so): Likewise.
65326         (LDFLAGS-noload): Likewise.
65327         (LDFLAGS-next): Likewise.
65328         (LDFLAGS-order2mod1.so): Likewise.
65329         (LDFLAGS-order2mod2.so): Likewise.
65330         (LDFLAGS-tst-initorder2): Likewise.
65331         (LDFLAGS-tst-initorder2a.so): Likewise.
65332         (LDFLAGS-tst-initorder2b.so): Likewise.
65333         (LDFLAGS-tst-initorder2c.so): Likewise.
65334         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65336 2012-05-02  David S. Miller  <davem@davemloft.net>
65338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65340 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65342         [BZ #14055]
65343         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65345 2012-05-02  Andreas Jaeger  <aj@suse.de>
65347         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65348         since we manipulate rounding mode.
65349         (CPPFLAGS-test-idouble.c): Likewise.
65350         (CPPFLAGS-test-ifloat.c): Likewise.
65351         (CFLAGS-test-ldouble.c): Likewise.
65352         (CFLAGS-test-double.c): Likewise.
65353         (CFLAGS-test-float.c): Likewise.
65354         (CFLAGS-test-misc.c): Likewise.
65355         (CFLAGS-test-test-fenv.c): Likewise.
65357 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65359         [BZ #2550]
65360         [BZ #2570]
65361         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65362         comparisons to determine direction to adjust input.
65364 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65366         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65367         output to the target.
65369         * scripts/localplt.awk: New file.
65370         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65371         (check-localplt-CFLAGS): Variable removed.
65372         ($(all-built-dso:=.jmprel)): New static pattern rule.
65373         (generated): Add those targets.
65374         (localplt-built-dso): New variable.
65375         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65377         * elf/check-localplt.c: File removed.
65379         * scripts/check-execstack.awk: New file.
65380         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65381         (check-execstack-CFLAGS): Variable removed.
65382         ($(objpfx)check-execstack.h): Target removed.
65383         ($(objpfx)execstack-default): New target.
65384         (generated): Add that instead of check-execstack.h.
65385         ($(all-built-dso:=.phdr)): New static pattern rule.
65386         (generated): Add those targets.
65387         * elf/check-execstack.c: File removed.
65389         * scripts/check-textrel.awk: New file.
65390         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65391         (check-textrel-CFLAGS): Variable removed.
65392         (all-built-dso): Use := to define.o
65393         ($(all-built-dso:=.dyn)): New static pattern rule.
65394         (generated): Add those targets.
65395         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65396         * config.make.in (READELF): New substituted variable.
65397         * elf/check-textrel.c: File removed.
65399 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65401         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65402         allow.
65403         * conform/data/ctype.h-data [C99-based standards] (isblank):
65404         Expect function.
65405         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65406         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65407         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65408         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65409         Specify type.  Require positive value.
65410         (EILSEQ): Likewise.
65411         (ERANGE): Likewise.
65412         [ISO || POSIX] (EILSEQ): Do not expect.
65413         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65414         Specify type.  Require positive value.
65415         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65416         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65417         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65418         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65419         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65420         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65421         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65422         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65423         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65424         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65425         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65426         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65427         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65428         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65429         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65430         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65431         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65432         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65433         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65434         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65435         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65436         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65437         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65438         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65439         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65440         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65441         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65442         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65443         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65444         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65445         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65446         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65447         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65448         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65449         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65450         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65451         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65452         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65453         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65454         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65455         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65456         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65457         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65458         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65459         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65460         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65461         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65462         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65463         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65464         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65465         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65466         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65467         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65468         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65469         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65470         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65471         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65472         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65473         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65474         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65475         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65476         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65477         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65478         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65479         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65480         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65481         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65482         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65483         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65484         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65485         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65486         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65487         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65488         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65489         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65490         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65491         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65492         Require >= 2.
65493         (FLT_ROUNDS): Expect as macro, not constant.
65494         (FLT_MANT_DIG): Use macro-int-constant.
65495         (DBL_MANT_DIG): Likewise.
65496         (LDBL_MANT_DIG): Likewise.
65497         (FLT_DIG): Likewise.
65498         (DBL_DIG): Likewise.
65499         (LDBL_DIG): Likewise.
65500         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65501         (DBL_MIN_EXP): Likewise.
65502         (LDBL_MIN_EXP): Likewise.
65503         (FLT_MAX_EXP): Use macro-int-constant.
65504         (DBL_MAX_EXP): Likewise.
65505         (LDBL_MAX_EXP): Likewise.
65506         (FLT_MAX_10_EXP): Likewise.
65507         (DBL_MAX_10_EXP): Likewise.
65508         (LDBL_MAX_10_EXP): Likewise.
65509         (FLT_MAX): Use macro-constant.
65510         (DBL_MAX): Likewise.
65511         (LDBL_MAX): Likewise.
65512         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65513         (DBL_EPSILON): Likewise.
65514         (LDBL_EPSILON): Likewise.
65515         (FLT_MIN): Likewise.
65516         (DBL_MIN): Likewise.
65517         (LDBL_MIN): Likewise.
65518         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65519         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65520         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65521         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65522         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65523         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65524         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65525         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65526         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65527         [ISO11] (FLT_TRUE_MIN): Likewise.
65528         [ISO11] (LDBL_TRUE_MIN): Likewise.
65529         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65530         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65531         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65532         (SCHAR_MAX): Likewise.
65533         (UCHAR_MAX): Likewise.
65534         (CHAR_MIN): Likewise.
65535         (CHAR_MAX): Likewise.
65536         (MB_LEN_MAX): Use macro-int-constant.
65537         (SHRT_MIN): Use macro-int-constant.  Specify type.
65538         (SHRT_MAX): Likewise.
65539         (USHRT_MAX): Likewise.
65540         (INT_MAX): Likewise.
65541         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65542         bound negative.
65543         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65544         bound with "U".
65545         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65546         bound with "L".
65547         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65548         bound negative.  Suffix upper bound with "L".
65549         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65550         bound with "UL".
65551         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65552         Specify type.
65553         [C99-based standards] (LLONG_MAX): Likewise.
65554         [C99-based standards] (ULLONG_MAX): Likewise.
65555         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65556         == 0.
65557         [ISO11] (max_align_t): Require type.
65558         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65560         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65561         from $CFLAGS, without defining away __attribute__ calls.
65562         (checknamespace): Use $CFLAGS_namespace.
65564         * conform/conformtest.pl (@keywords): Only include C99 keywords
65565         for standards based on C99 or C11.
65567         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65568         Disable tests.
65569         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65570         UNIX98]: Likewise.
65572         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65573         usability of symbols in #if.
65575         * conform/conformtest.pl: If macro or constant types start
65576         "promoted:", expect the symbol to be of the following type
65577         promoted by the integer promotions.
65579         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65580         in one place.  Also handle "macro-constant".
65582         * conform/conformtest.pl: Only accept expected macro values with
65583         "==".  Parse all "macro" lines in one place.
65584         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65586         * conform/conformtest.pl: Handle braced types on "constant" lines
65587         instead of handling "typed-constant".
65588         * conform/data/signal.h-data: Use "constant" instead of
65589         "typed-constant".
65591         * conform/conformtest.pl: Handle "optional-" at start of lines in
65592         one place rather than duplicating several cases.  Handle each
65593         format of "macro" line with initial "optional-".
65595         * conform/conformtest.pl: Only accept expected constant or
65596         optional-constant values with "==".  Parse all "constant" lines in
65597         one place.  Parse all "optional-constant" lines in one place.
65598         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65599         * conform/data/fmtmsg.h-data: Likewise.
65600         * conform/data/netinet/in.h-data: Likewise.
65601         * conform/data/tar.h-data: Likewise.
65602         * conform/data/limits.h-data: Use "==" form on "constant" and
65603         "optional-constant" lines.
65605         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65606         Use -std=c99 for XOPEN2K.
65607         (@knownproblems): Remove.
65608         (newtoken): Don't check %isknown.
65610         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65611         Do not expect macro.
65612         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65613         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65614         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65615         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65616         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65617         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65618         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65619         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65620         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65621         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65622         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65623         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65624         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65625         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65626         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65627         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65628         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65629         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65630         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65631         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65632         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65633         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65634         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65636         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65637         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65638         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65639         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65640         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65641         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65642         [XPG3] (acosh): Likewise.
65643         [XPG3] (asinh): Likewise.
65644         [XPG3] (atanh): Likewise.
65645         [XPG3] (cbrt): Likewise.
65646         [XPG3] (expm1): Likewise.
65647         [XPG3] (ilogb): Likewise.
65648         [XPG3] (log1p): Likewise.
65649         [XPG3] (logb): Likewise.
65650         [XPG3] (nextafter): Likewise.
65651         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65652         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65653         [XPG3] (remainder): Likewise.
65654         [XPG3] (rint): Likewise.
65655         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65656         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65657         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65658         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65659         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65660         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65661         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65662         [UNIX98 || XOPEN2K] (scalb): Expect.
65663         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65664         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65665         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65666         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65667         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65668         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65669         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65670         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65671         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65672         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65673         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65674         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65675         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65676         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65677         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65678         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65679         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65680         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65681         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65682         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65683         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65684         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65685         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65686         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65687         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65688         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65689         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65690         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65691         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65692         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65693         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65694         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65695         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65696         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65697         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65698         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65699         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65700         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65701         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65702         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65703         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65704         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65705         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65706         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65707         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65708         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65709         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65710         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65711         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65712         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65713         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65714         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65715         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65716         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65717         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65718         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65719         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65720         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65721         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65722         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65723         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65724         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65725         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65726         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65727         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65728         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65729         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65730         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65731         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65732         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65733         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65734         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65735         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65736         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65737         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65738         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65739         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65740         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65741         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65742         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65743         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65744         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65745         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65746         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65747         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65748         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65749         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65750         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65751         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65752         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65753         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65754         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65755         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65756         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65757         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65758         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65759         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65760         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65761         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65762         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65763         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65764         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65765         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65766         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65767         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65768         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65769         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65770         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65771         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65772         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65773         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65774         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65775         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65776         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65777         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65778         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65779         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65780         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65781         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65782         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65783         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65784         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65785         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65786         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65787         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65788         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65789         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65790         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65791         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65792         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65793         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65794         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65795         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65796         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65797         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65798         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65799         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65801         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65802         _XOPEN_SOURCE_EXTENDED for XPG4.
65804         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65806         * Makeconfig (localtime): Remove variable.
65807         (inst_localtime-file): Likewise.
65809 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65812         Update.
65813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65814         Update.
65815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65816         Update.
65817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65818         Update.
65819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65820         Update.
65821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65822         Update.
65823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65824         Update.
65825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65826         Update.
65827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65828         Update.
65830 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65832         [BZ #2550]
65833         [BZ #2570]
65834         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65835         comparisons to determine direction to adjust input.
65836         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65837         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65838         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65839         Likewise.
65840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65841         Likewise.
65842         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65843         Likewise.
65844         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65845         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65846         Likewise.
65847         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65848         Likewise.
65849         * math/libm-test.inc (nexttoward_test): Add more tests.
65851 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65853         [BZ #14040]
65854         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65855         in version GLIBC_2.1, not GLIBC_2.0.
65856         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65857         Likewise.
65859 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65861         [BZ #13942]
65862         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65863         (1 - x) * (1 + x).
65864         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65865         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65866         * math/libm-test.inc (acos_test): Add more tests.
65867         (asin_test): Likewise.
65868         * sysdeps/i386/fpu/libm-test-ulps: Update.
65869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65871         [BZ #14034]
65872         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65873         of square root.
65874         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65875         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65876         * math/libm-test.inc (acos_test_tonearest): New function.
65877         (acos_test_towardzero): Likewise.
65878         (acos_test_downward): Likewise.
65879         (acos_test_upward): Likewise.
65880         (asin_test_tonearest): Likewise.
65881         (asin_test_towardzero): Likewise.
65882         (asin_test_downward): Likewise.
65883         (asin_test_upward): Likewise.
65884         (main): Call the new functions.
65885         * sysdeps/i386/fpu/libm-test-ulps: Update.
65886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65888         [BZ #13884]
65889         [BZ #13924]
65890         * math/e_exp10.c: Include <float.h>.
65891         (__ieee754_exp10): Handle underflow here rather than multiplying
65892         large negative argument by M_LN10.
65893         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65894         of __ieee754_expf.
65895         * math/e_exp10l.c: Include <float.h>.
65896         (__ieee754_exp10l): Handle underflow here rather than multiplying
65897         large negative argument by M_LN10l.
65898         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65899         spurious overflow exception on underflow.
65901 2012-04-29  Marek Polacek  <polacek@redhat.com>
65903         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65904         (__fortify_function): New macro.
65905         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65906         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65907         __extern_always_inline.
65908         * libio/bits/stdio2.h: Likewise.
65909         * libio/bits/stdio.h: Likewise.
65910         * string/string.h: Likewise.
65911         * string/bits/string3.h: Likewise.
65912         * include/stdio.h: Likewise.
65913         * stdlib/bits/stdlib.h: Likewise.
65914         * stdlib/stdlib.h: Likewise.
65915         * rt/bits/mqueue2.h: Likewise.
65916         * rt/mqueue.h: Likewise.
65917         * posix/bits/unistd.h: Likewise.
65918         * posix/unistd.h: Likewise.
65919         * io/bits/poll2.h: Likewise.
65920         * io/bits/fcntl2.h: Likewise.
65921         * io/fcntl.h: Likewise.
65922         * io/sys/poll.h: Likewise.
65923         * misc/bits/syslog.h: Likewise.
65924         * misc/bits/syslog-ldbl.h: Likewise.
65925         * misc/sys/syslog.h: Likewise.
65926         * socket/bits/socket2.h: Likewise.
65927         * socket/sys/socket.h: Likewise.
65928         * debug/tst-chk1.c: Likewise.
65929         * wcsmbs/bits/wchar2.h: Likewise.
65930         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65931         * wcsmbs/wchar.h: Likewise.
65933 2012-04-29  Andreas Jaeger  <aj@suse.de>
65935         * Makerules (tests): Remove enable-check-abi protection.
65936         (check-abi-warn): Remove.
65937         (check-abi-%): Remove check-abi-warn usage.
65939         * configure.in: Remove check-abi configure option.
65940         * configure: Regenerated.
65941         * config.make.in (enable-check-abi): Remove.
65943 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65945         [BZ #14033]
65946         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65947         double functions to double *_finite functions.
65949         [BZ #13941]
65950         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65951         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65952         LDBL_MIN_EXP.
65953         * stdio-common/Makefile (tests): Add tst-sprintf3.
65954         * stdio-common/tst-sprintf3.c: New file.
65956         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65957         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65959 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65961         * conform/conformtest.pl: Remove duplicate typed-constant
65962         handling.
65964 2012-04-28  David S. Miller  <davem@davemloft.net>
65966         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65967         (check-abi-%): Remove AWK script prerequisite and explicit
65968         abilist directory.
65969         (check-abi): Rewrite to just diff the symlist with the abilist.
65970         (config-tls, config-abi-config): Delete, no longer used.
65971         (update-abi-%): Remove AWK script and explicit abilist directory.
65972         (update-abi): Rewrite to simply compare and conditionally copy the
65973         symlist and the sysdep abilist file.  Remove update-abi-config
65974         checks.
65975         * abilist/ld.abilist: Remove.
65976         * abilist/libBrokenLocale.abilist: Remove.
65977         * abilist/libanl.abilist: Remove.
65978         * abilist/libcrypt.abilist: Remove.
65979         * abilist/libdl.abilist: Remove.
65980         * abilist/librt.abilist: Remove.
65981         * abilist/libthread_db.abilist: Remove.
65982         * abilist/libutil.abilist: Remove.
65983         * scripts/extract-abilist.awk: Remove.
65984         * scripts/merge-abilist.awk: Remove.
65985         * sysdeps/generic/libcidn.abilist: New file.
65986         * sysdeps/generic/libnss_compat.abilist: New file.
65987         * sysdeps/generic/libnss_db.abilist: New file.
65988         * sysdeps/generic/libnss_dns.abilist: New file.
65989         * sysdeps/generic/libnss_files.abilist: New file.
65990         * sysdeps/generic/libnss_hesiod.abilist: New file.
65991         * sysdeps/generic/libnss_nis.abilist: New file.
65992         * sysdeps/generic/libnss_nisplus.abilist: New file.
65993         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65994         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65995         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65996         file.
65997         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65998         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65999         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66000         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66001         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66002         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66003         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66004         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66005         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66006         file.
66007         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66008         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66009         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66010         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66011         file.
66012         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66013         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66014         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66015         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66016         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66017         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66018         file.
66019         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66020         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66021         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66022         file.
66023         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66025         New file.
66026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66027         New file.
66028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66029         New file.
66030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66031         New file.
66032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66033         New file.
66034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66035         New file.
66036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66037         New file.
66038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66039         New file.
66040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66041         New file.
66042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66043         New file.
66044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66045         New file.
66046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66047         New file.
66048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66049         New file.
66050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66051         file.
66052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66053         New file.
66054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66055         New file.
66056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66057         file.
66058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66059         New file.
66060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66061         New file.
66062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66063         file.
66064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66065         New file.
66066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66067         New file.
66068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66069         New file.
66070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66071         New file.
66072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66073         New file.
66074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66075         New file.
66076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66078         file.
66079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66080         New file.
66081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66082         file.
66083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66084         file.
66085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66086         file.
66087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66088         file.
66089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66090         file.
66091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66092         New file.
66093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66094         file.
66095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66096         file.
66097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66098         New file.
66099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66100         file.
66101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66103         file.
66104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66105         New file.
66106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66107         file.
66108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66109         file.
66110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66111         file.
66112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66113         file.
66114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66115         file.
66116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66117         New file.
66118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66119         file.
66120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66121         file.
66122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66123         New file.
66124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66125         file.
66126         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66127         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66128         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66129         file.
66130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66131         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66132         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66133         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66134         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66135         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66136         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66137         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66138         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66139         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66142         file.
66143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66144         New file.
66145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66146         file.
66147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66148         file.
66149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66150         file.
66151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66152         file.
66153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66154         file.
66155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66156         New file.
66157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66158         New file.
66159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66160         file.
66161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66162         New file.
66163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66164         file.
66165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66167         file.
66168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66169         New file.
66170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66171         file.
66172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66173         file.
66174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66175         file.
66176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66177         file.
66178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66179         file.
66180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66181         New file.
66182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66183         New file.
66184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66185         file.
66186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66187         New file.
66188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66189         file.
66191 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66193         * conform/conformtest.pl: Fix typo in handling typed-constant from
66194         allow-header.
66196 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66198         * README: Cut down references to pre-2.6 Linux kernels and
66199         Linuxthreads.  Update lists of configurations in libc and ports
66200         and sort alphabetically.  Say "or newer" with Linux kernel version
66201         requirements.
66203         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66205 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66207         [BZ #887]
66208         * math/libm-test.inc (logb_test_downward): New test to expose
66209         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66210         rounding mode.
66212 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66214         [BZ #14027]
66215         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66216         to be done.
66217         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66218         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66220 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66222         * sysdeps/unix/i386/brk.S: Remove file.
66223         * sysdeps/unix/i386/dl-brk.S: Likewise.
66224         * sysdeps/unix/i386/pipe.S: Likewise.
66225         * sysdeps/unix/i386/sigreturn.S: Likewise.
66226         * sysdeps/unix/i386/syscall.S: Likewise.
66227         * sysdeps/unix/i386/vfork.S: Likewise.
66228         * sysdeps/unix/i386/wait.S: Likewise.
66230         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66231         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66233         * configure.in (arm*-none*): Do not allow without
66234         --enable-hacker-mode.
66235         (netbsd*): Remove case setting base_os.
66236         (386bsd*): Likewise.
66237         (freebsd*): Likewise.
66238         (bsdi*): Likewise.
66239         (osf*): Likewise.
66240         (sunos*): Likewise.
66241         (ultrix*): Likewise.
66242         (newsos*): Likewise.
66243         (dynix*): Likewise.
66244         (*bsd*): Likewise.
66245         (sysv*): Likewise.
66246         (isc*): Likewise.
66247         (esix*): Likewise.
66248         (sco*): Likewise.
66249         (minix*): Likewise.
66250         (irix4*): Likewise.
66251         (irix6*): Likewise.
66252         (solaris[2-9]*): Likewise.
66253         (none): Likewise.
66254         * configure: Regenerated.
66256 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66258         [BZ #11521]
66259         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66260         overflow or cancellation in calculating denominator.
66261         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66262         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66263         down expression to avoid unexpected rounding in newer GCCs.
66264         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66266 2012-04-26  David S. Miller  <davem@davemloft.net>
66268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66269         long-double compat symbols.
66270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66284 2012-04-25  David S. Miller  <davem@davemloft.net>
66286         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66287         HWCAP_* values only after the memory barriers have been defined.
66288         (atomic_full_barrier): Define.
66289         (atomic_read_barrier): Define.
66290         (atomic_write_barrier): Define.
66292 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66294         * shlib-versions: Add libgcc_s version information.
66295         * sysdeps/generic/libgcc_s.h: Remove.
66296         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66297         libgcc_s.h.
66298         * sysdeps/gnu/unwind-resume.c: Likewise.
66299         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66301 2012-04-25  David S. Miller  <davem@davemloft.net>
66303         * sysdeps/unix/sparc/brk.S: Delete.
66304         * sysdeps/unix/sparc/dl-brk.S: Delete.
66305         * sysdeps/unix/sparc/pipe.S: Delete.
66306         * sysdeps/unix/sparc/sysdep.S: Delete.
66307         * sysdeps/unix/sparc/sysdep.h: Delete.
66308         * sysdeps/unix/sparc/vfork.S: Delete.
66309         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66310         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66311         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66312         (ret_ERRVAL, r0, r1, MOVE): Define.
66313         (JUMPTARGET): Remove.
66314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66315         sysdeps/unix/sparc/sysdep.h
66316         (ENTRY, END): Remove.
66317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66319 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66321         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66322         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66323         -DIS_IN_build.
66325         * timezone/README: Update upstream location and email address for
66326         tzcode and tzdata.
66327         * timezone/zdump.c: Update from tzcode 2012b.
66328         * timezone/zic.c: Likewise.
66330         * configure.in (libc_cv_as_needed): Remove test.
66331         * configure: Regenerated.
66332         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66333         conditional definition.
66334         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66335         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66336         * config.make.in (have-as-needed): Remove variable.
66338 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66339             Paul Pluzhnikov  <ppluzhnikov@google.com>
66341         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66342         strings correctly.
66344 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66346         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66347         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66348         * sysdeps/sh/strlen.S: Likewise.
66350 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66352         * sysdeps/unix/fork.S: Remove file.
66353         * sysdeps/unix/i386/fork.S: Likewise.
66354         * sysdeps/unix/sparc/fork.S: Likewise.
66356         * sysdeps/unix/system.c: Remove file.
66357         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66359         * sysdeps/unix/getegid.S: Remove file.
66360         * sysdeps/unix/geteuid.S: Likewise.
66362 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66364         * scripts/check-localplt.awk: New file.
66365         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66366         of diff.
66367         * scripts/data/localplt-generic.data: Add a comment.
66369         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66370         NODE when __dir_mkfile failed.
66371         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66372         Reported by Ludovic Courtès <ludo@gnu.org>.
66374 2012-04-24  Andreas Jaeger  <aj@suse.de>
66376         * Makerules (common-clean): Also remove gen-as-const-headers
66377         files.
66379 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66381         * Makerules (native-compile): Do not change working directory for
66382         build.  Use $(OUTPUT_OPTION) in command.
66383         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66385 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66387         [BZ #13886]
66388         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66389         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66390         * math/libm-test.inc (floor_test): Add more tests.
66391         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66393 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66395         * sysdeps/unix/getdents.c: Remove file.
66396         * sysdeps/unix/sysv/getdents.c: Likewise.
66397         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66399         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66400         sysdeps/unix/mman/syscalls.list.
66401         (mmap): Likewise.
66402         (mprotect): Likewise.
66403         (msync): Likewise.
66404         (munmap): Likewise.
66405         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66406         * sysdeps/unix/mman/syscalls.list: Remove.
66407         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66409         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66410         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66411         * configure: Regenerated.
66412         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66413         $(libgcc_s_suffix).
66414         * config.make.in (libgcc_s_suffix): Remove variable.
66416 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66418         * sysdeps/unix/sysv/gethostname.c: Move to ...
66419         * sysdeps/posix/gethostname.c: ... here.
66421         * sysdeps/unix/execve.S: Remove file.
66423         * sysdeps/unix/_exit.S: Remove file.
66425 2012-04-23  Andreas Jaeger  <aj@suse.de>
66427         [BZ #13739]
66428         * manual/Makefile: Remove make dist support, there's no
66429         need for a stand-alone documentation tar ball.
66430         (TEXI2DVI): Define always, it's not in Makeconfig.
66431         (dist): Removed.
66432         (tar-it): Removed.
66433         (edition): Removed.
66434         (glibc-doc-$(edition).tar): Removed
66435         (%.Z): Removed.
66436         (%.gz): Removed.
66437         (%.uu): Removed.
66438         (ETAGS): Remove, it's in Makeconfig.
66439         (move-if-change): Remove, it's in Makeconfig.
66441 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66443         [BZ #13970]
66444         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66445         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66446         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66447         (strtod_l, strtof_l, strtold_l): Remove __wur.
66448         It is not necessarily an error to ignore strtol's return value.
66449         One can reliably look at the stored endptr to decide whether
66450         the number had valid syntax.
66452 2012-04-21  Andreas Jaeger  <aj@suse.de>
66454         [BZ #13739]
66455         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66457 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66459         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66460         * sysdeps/unix/sysv/Versions: Remove file.
66462 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66464         [BZ #13927]
66465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66467 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66469         [BZ #7064]
66470         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66471         version from __vm86.
66473 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66475         * sysdeps/unix/common/lxstat.c: Remove file.
66476         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66478         * sysdeps/unix/sysv/Makefile: Remove file.
66480         * sysdeps/unix/sysv/direct.h: Remove file.
66482         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66483         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66484         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66485         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66486         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66487         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66488         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66490         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66492         * sysdeps/unix/xmknod.c: Remove file.
66493         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66495         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66497         * sysdeps/unix/sysv/i386/time.S: Remove file.
66499         * sysdeps/unix/fxstat.c: Remove file.
66500         * sysdeps/unix/xstat.c: Likewise.
66501         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66503         * sysdeps/unix/sysv/sigaction.c: Remove file.
66505         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66506         (sysdep_headers): Remove variable.
66507         [termio.h not in sysdep_headers] (generated): Likewise.
66508         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66509         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66510         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66511         * sysdeps/unix/sysv/tcflow.c: Likewise.
66512         * sysdeps/unix/sysv/tcflush.c: Likewise.
66513         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66514         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66515         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66516         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66517         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66519         * sysdeps/unix/siglist.c: Remove file.
66521         * sysdeps/unix/getppid.S: Remove file.
66523         * sysdeps/unix/mkdir.c: Remove file.
66524         * sysdeps/unix/rmdir.c: Likewise.
66526 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66528         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66529         ERR_MAX value.
66530         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66531         errlist-compat value.
66533 2012-04-18  David S. Miller  <davem@davemloft.net>
66535         * sysdeps/generic/memcopy.h (reg_char): Delete.
66536         * debug/strcat_chk.c: Use char, not reg_char.
66537         * debug/strcpy_chk.c: Likewise.
66538         * debug/strncat_chk.c: Likewise.
66539         * debug/strncpy_chk.c: Likewise.
66540         * string/memchr.c: Likewise.
66541         * string/memrchr.c: Likewise.
66542         * string/rawmemchr.c: Likewise.
66543         * string/strcat.c: Likewise.
66544         * string/strchr.c: Likewise.
66545         * string/strchrnul.c: Likewise.
66546         * string/strcmp.c: Likewise.
66547         * string/strcpy.c: Likewise.
66548         * string/strncat.c: Likewise.
66549         * string/strncmp.c: Likewise.
66550         * string/strncpy.c: Likewise.
66552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66554         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66555         __builtin_memcopy is called when src and dest ranges are known to not
66556         overlap.
66558 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66560         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66561         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66562         fwd_align_merge macro call.
66563         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66564         bwd_align_merge macro call.
66565         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66567 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66569         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66570         bwd_align_merge macros.
66571         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66572         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66573         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66575 2012-04-18  David S. Miller  <davem@davemloft.net>
66577         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66579 2012-04-18  Andreas Jaeger  <aj@suse.de>
66581         [BZ# 6794]
66582         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66583         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66584         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66586         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66587         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66588         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66590         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66591         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66592         Adjust for changed ldbl-128 files.
66594         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66595         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66596         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66598 2012-04-17  David S. Miller  <davem@davemloft.net>
66600         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66602 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66604         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66605         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66606         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66607         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66608         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66609         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66611 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66613         [BZ #6794]
66614         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66615         * math/libm-test.inc: Add ilogb errno and exception tests.
66616         * math/w_ilogb.c: New file: ilogb wrapper.
66617         * math/w_ilogbf.c: New file: ilogbf wrapper.
66618         * math/w_ilogbl.c: New file: ilogbl wrapper.
66619         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66620         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66621         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66622         exception being thrown with 0.0 as argument.
66623         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66624         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66625         exception being thrown with 0.0 as argument.
66626         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66627         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66628         exception being thrown with 0.0 as argument.
66629         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66630         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66631         exception being thrown with 0.0 as argument.
66632         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66633         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66634         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66635         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66636         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66637         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66638         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66639         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66640         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66642 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66644         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66645         with altivec.
66647 2012-04-16  Marek Polacek  <polacek@redhat.com>
66649         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66651 2012-04-16  Marek Polacek  <polacek@redhat.com>
66653         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66654         operands of fdivp instruction.
66656 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66658         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66659         * elf/tst-auditmod3b.c: Likewise.
66660         * elf/tst-auditmod4b.c: Likewise.
66661         * elf/tst-auditmod5b.c: Likewise.
66662         * elf/tst-auditmod6b.c: Likewise.
66663         * elf/tst-auditmod6c.c: Likewise.
66664         * elf/tst-auditmod7b.c: Likewise.
66665         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66666         * sysdeps/x86_64/preconfigure.in: Likewise.
66667         * sysdeps/x86_64/preconfigure: Regenerated.
66669 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66671         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66672         __ILP32__.
66674 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66676         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66677         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66679 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66681         [BZ #13973]
66682         * locale/iso-639.def: Fix gl language name. Spotted by
66683         Yaron Shahrabani.
66685 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66687         [BZ #2074]
66688         * libio/libio.h (__io_write_fn): Update comment.
66690 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66692         [BZ #2074]
66693         * stdio.texi (Hook Functions): The user provided writer function
66694         is not allowed to return -1.
66696 2012-04-11  David S. Miller  <davem@davemloft.net>
66698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66700 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66702         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66703         Add a leading slash to rtkaio.
66705 2012-04-11  Jim Meyering  <meyering@redhat.com>
66707         [BZ #11959]
66708         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66709         It is not necessarily an error to ignore fwrite's return
66710         value.  One can reliably use ferror to test for errors after
66711         the fact.
66713 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66715         * bits/types.h (__snseconds_t): New type.
66716         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66718         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66720         (__SNSECONDS_T_TYPE): Likewise.
66721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66722         (__SNSECONDS_T_TYPE): Likewise.
66723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66724         (__SNSECONDS_T_TYPE): Likewise.
66726 2012-04-10  Andreas Jaeger  <aj@suse.de>
66728         [BZ #2636]
66729         * manual/time.texi (Processor Time): Return type of times is
66730         elapsed real time since an arbitrary point in the past.
66731         (CPU Time): Move CLK_TCK from here...
66732         (Processor Time): ...to here.  Correct description.
66733         * manual/conf.texi (Constants for Sysconf): Correct description of
66734         _SC_CLK_TCK.
66736 2012-04-10  David S. Miller  <davem@davemloft.net>
66738         [BZ #13967]
66739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66740         where the is a gap between DT_REL(A) and DT_JMPREL.
66742 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66744         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66745         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66746         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66748 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66750         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66751         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66752         (dl_main): Handle --inhibit-cache.
66753         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66754         _dl_inhibit_cache.
66755         * elf/dl-load.c (_dl_map_object): Use it.
66756         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66758 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66760         [BZ #13872]
66761         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66762         (__ieee754_powl): Saturate large exponents rather than testing for
66763         overflow of y*log2(x).
66764         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66765         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66766         exceptions.
66768         [BZ #11521]
66769         * math/s_ctan.c: Include <float.h>.
66770         (__ctan): Avoid internal overflow or cancellation in calculating
66771         denominator.
66772         * math/s_ctanf.c: Likewise.
66773         * math/s_ctanl.c: Likewise.
66774         * math/s_ctanh.c: Likewise.
66775         * math/s_ctanhf.c: Likewise.
66776         * math/s_ctanhl.c: Likewise.
66777         * math/libm-test.inc (ctan_test): Add more tests.
66778         (ctanh_test): Likewise.
66779         * sysdeps/i386/fpu/libm-test-ulps: Update.
66780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66782 2012-04-09  Andreas Jaeger  <aj@suse.de>
66784         [BZ #6894]
66785         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66786         is an optional BSD extension.
66788         [BZ #10254]
66789         * manual/stdio.texi (Opening Streams): Document additional fopen
66790         parameters.
66792 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66794         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66795         %eax without telling the compiler.
66797 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66799         [BZ # 13963]
66800         * manual/install.texi: Use sourceware.org.
66802 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66804         [BZ #13873]
66805         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66806         (__ieee754_pow): Generate overflow and underflow using huge*huge
66807         and tiny*tiny rather than just returning constant infinity or zero
66808         for large exponents.
66809         * math/libm-test.inc (pow_test): Require overflow exceptions for
66810         applicable cases of large exponents.
66812         [BZ #706]
66813         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66814         (__ieee754_pow): Use iterative multiplication algorithm only for
66815         integer exponents with absolute value below 1024.  Check for odd
66816         integer exponents when using algorithm for real exponents.
66817         * math/libm-test.inc (pow_test): Add more tests.
66818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66820 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66822         [BZ #13705]
66823         * math/libm-test.inc (exp_test): Do not allow overflow exception
66824         on underflow test.
66826 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66828         [BZ #13705]
66829         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66830         instead of __kernel_standard_f.
66832 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66834         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66835         * sysdeps/x86_64/memset_chk.S: Likewise.
66837 2012-04-08  Andreas Jaeger  <aj@suse.de>
66839         [BZ #10153]
66840         * manual/startup.texi (Environment Access): Describe return value
66841         for putenv and setenv.
66843         [BZ #6895]
66844         * manual/filesys.texi (Directory Entries): Add description for
66845         DT_LNK.
66847         [BZ #6890]
66848         * manual/filesys.texi (Directory Entries): Clarify that it's file
66849         system not operating system in the description of DT_UNKNOWN.
66851         [BZ #6578]
66852         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66854 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66856         [BZ #6649]
66857         * manual/llio.texi (Opening and Closing Files): Add cross
66858         reference to explain mode argument.
66860 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66862         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66863         * sysdeps/x86_64/memset_chk.S: Likewise.
66865 2012-04-07  David S. Miller  <davem@davemloft.net>
66867         * elf/elf.h (R_SPARC_WDISP10): Define.
66868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66869         R_SPARC_SIZE32.
66870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66871         R_SPARC_SIZE64 and R_SPARC_H34.
66873 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66875         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66876         conditions and remove no longer applicable assertion.
66878 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66880         * bits/byteswap.h: Include <features.h>.
66881         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66882         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66884 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66886         * bits/byteswap.h (__bswap_16): Removed.
66887         Include <bits/byteswap-16.h> to get __bswap_16.
66888         * sysdeps/i386/bits/byteswap.h: Likewise.
66889         * sysdeps/s390/bits/byteswap.h: Likewise.
66890         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66891         * bits/byteswap-16.h: New file.
66892         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66893         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66894         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66895         * string/Makefile (headers): Add bits/byteswap-16.h.
66897 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66899         [BZ #13895]
66900         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66901         extra indirection.
66902         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66903         * nss/tst-nss-static.c: New.
66905 2012-04-06  Robert Millan  <rmh@gnu.org>
66907         [BZ #6486]
66908         * manual/llio.texi (File Position Primitive): lseek
66909         refers to WHENCE when it really means OFFSET.
66911 2012-04-06  Andreas Jaeger  <aj@suse.de>
66913         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66914         strncmp declarations.
66916         * abilist/libc.abilist: Add __poll and __ppoll.
66918 2012-04-05  David S. Miller  <davem@davemloft.net>
66920         * scripts/check-local-headers.sh: Accept a host triplet in the
66921         path matched by the exclude regexp.
66923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66924         definition.
66925         * sysdeps/powerpc/powerpc32/dl-machine.h
66926         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66927         * sysdeps/s390/s390-32/dl-machine.h
66928         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66929         * sysdeps/sparc/sparc32/dl-machine.h
66930         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66931         * sysdeps/sparc/sparc64/dl-machine.h
66932         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66934         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66935         lazy binding.
66936         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66937         undefined symbol errors.
66939         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66940         DT_NEEDED entries.
66942 2012-04-05  Michael Matz  <matz@suse.de>
66944         [BZ #13592]
66945         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66947 2012-04-05  Andreas Jaeger  <aj@suse.de>
66949         [BZ #13908]
66950         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66951         comment.
66953 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66955         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66956         which ROUND is no valid rounding mode.
66958 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66960         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66961         read again.
66962         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66964 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66966         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66967         an exception using FPU order intentionally.
66969 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66971         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66972         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66973         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66974         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66976 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66978         [BZ #12340]
66979         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66980         EINVAL when BUFLEN is too smal.
66982 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66984         [BZ #13553]
66985         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66986         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66988 2012-04-03  Andreas Jaeger  <aj@suse.de>
66990         [BZ #13938]
66991         * manual/setjmp.texi (System V contexts): Fix sentence.
66993         [BZ #13926]
66994         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66995         New macro for this case.
66996         [!__GNUC__] (__bswap_64): New inline function for this case.
66997         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66998         * bits/byteswap.h: Likewise.
66999         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67000         ull, guard with __GLIBC_HAVE_LONG_LONG.
67002         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67003         __GLIBC_HAVE_LONG_LONG.
67005         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67006         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67008 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67010         [BZ #13691]
67011         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67012         inptr and inend, rather than using last_ch.
67014 2012-04-02  David S. Miller  <davem@davemloft.net>
67016         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67017         * stdio-common/printf-parse.h (read_int): Change return type to
67018         'int', return -1 on INT_MAX overflow.
67019         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67020         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67021         overflows INT_MAX.  Check for overflow of in-format-string precision
67022         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67023         SIZE_MAX not INT_MAX for integer overflow test.
67024         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67025         skip the construct in the format string but do not record anything.
67026         * stdio-common/bug22.c: Adjust to test both width/prevision
67027         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67028         explicitly for proper errno values.
67030 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67032         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67033         CHAR_MAX.
67034         * string/test-strcmp.c [! WIDE]: Likewise.
67035         * time/tst-mktime2.c: Likewise for INT_MAX.
67036         * string/test-string.h: #include <sys/param.h> for MIN.
67038         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67039         * sysdeps/i386/init-first.c (init): Likewise.
67040         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67041         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67042         * sysdeps/sh/init-first.c (init): Likewise.
67044 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67046         * po/ru.po: Update from translation team.
67047         * po/vi.po: Likewise.
67049 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67051         * resolv/nss_dns/dns-host.c: Merge copyright years.
67053 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67055         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67056         Optimize memcpy with prefetch if
67057         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67058         src, dst pointers have unequal 16 byte alignments.
67060 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67062         [BZ #13928]
67063         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67064         from a CNAME entry and return the minimum ttl for the query.
67065         (gaih_getanswer_slice): Likewise.
67067 2012-03-30  Jeff Law  <law@redhat.com>
67069         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67070         due to long keys.
67071         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67072         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67074         * resolv/nss_dns/dns-host.c: Update copyright year.
67076 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67078         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67079         requests to save a system call.  Fix check that all bytes are sent.
67081         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67082         comments for sendmmsg.
67084 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67086         [BZ #13691]
67087         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67088         with only 1 character between 0x0041 and 0x01b0.
67089         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67090         * wcsmbs/tst-mbsnrtowcs.c: New file.
67092 2012-03-29  David S. Miller  <davem@davemloft.net>
67094         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67095         small copies by hand.
67097 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67099         [BZ #13761]
67100         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67101         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67102         group memberships.
67104 2012-03-28  David S. Miller  <davem@davemloft.net>
67106         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67107         that branches into memcpy.
67108         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67109         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67111         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67113         bits.
67114         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67115         implementation too.
67116         * sysdeps/sparc/mempcpy.S: New file.
67118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67119         the IFUNC routine in the libc case.
67120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67122         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67123         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67124         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67125         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67126         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67127         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67128         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67129         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67131         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67132         loop to 256 bytes instead of 64 bytes and fix test signedness.
67134         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67135         * sysdeps/sparc/sparc32/Makefile: rather than here...
67136         * sysdeps/sparc/sparc64/Makefile: and here.
67138 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67140         * malloc/mallocbug.c: Avoid warnings about unused variables.
67142 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67144         [BZ #13760]
67145         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67146         in the right place. Discard and retry query if response is
67147         larger than input buffer size.
67149 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67151         [BZ #369]
67152         [BZ #2678]
67153         [BZ #3866]
67154         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67155         x for large integer exponent.
67156         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67157         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67158         sign of result as needed afterwards.
67159         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67160         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67161         result for underflowing pow the same as for overflow.
67162         (__kernel_standard_l): Handle powl overflow and underflow here
67163         rather than calling __kernel_standard.
67164         * math/libm-test.inc (pow_test): Add more tests.
67166         [BZ #3868]
67167         [BZ #13879]
67168         [BZ #13910]
67169         [BZ #13911]
67170         [BZ #13912]
67171         [BZ #13913]
67172         [BZ #13915]
67173         [BZ #13916]
67174         [BZ #13917]
67175         [BZ #13918]
67176         [BZ #13919]
67177         [BZ #13920]
67178         [BZ #13921]
67179         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67180         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67181         (__kernel_standard_l): New function.
67182         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67183         __kernel_standard.
67184         * math/w_acosl.c (__acosl): Likewise.
67185         * math/w_asinl.c (__asinl): Likewise.
67186         * math/w_atan2l.c (__atan2l): Likewise.
67187         * math/w_atanhl.c (__atanhl): Likewise.
67188         * math/w_coshl.c (__coshl): Likewise.
67189         * math/w_exp10l.c (__exp10l): Likewise.
67190         * math/w_exp2l.c (__exp2l): Likewise.
67191         * math/w_fmodl.c (__fmodl): Likewise.
67192         * math/w_hypotl.c (__hypotl): Likewise.
67193         * math/w_j0l.c (__j0l, __y0l): Likewise.
67194         * math/w_j1l.c (__j1l, __y1l): Likewise.
67195         * math/w_jnl.c (__jnl, __ynl): Likewise.
67196         * math/w_lgammal.c (__lgammal): Likewise.
67197         * math/w_log10l.c (__log10l): Likewise.
67198         * math/w_log2l.c (__log2l): Likewise.
67199         * math/w_logl.c (__logl): Likewise.
67200         * math/w_powl.c (__powl): Likewise.
67201         * math/w_remainderl.c (__remainderl): Likewise.
67202         * math/w_scalbl.c (sysv_scalbl): Likewise.
67203         * math/w_sinhl.c (__sinhl): Likewise.
67204         * math/w_sqrtl.c (__sqrtl): Likewise.
67205         * math/w_tgammal.c (__tgammal): Likewise.
67206         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67207         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67208         * math/libm-test.inc (acos_test): Add more tests.
67209         (acosh_test): Likewise.
67210         (asin_test): Likewise.
67211         (atanh_test): Likewise.
67212         (exp_test): Likewise.
67213         (exp10_test): Likewise.
67214         (exp2_test): Likewise.
67215         (expm1_test): Likewise.
67216         (lgamma_test): Likewise.
67217         (log_test): Likewise.
67218         (log10_test): Likewise.
67219         (log1p_test): Likewise.
67220         (log2_test): Likewise.
67221         (pow_test): Do not allow some spurious overflow exceptions.
67222         (sqrt_test): Add more tests.
67223         (tgamma_test): Likewise.
67224         (y0_test): Likewise.
67225         (y1_test): Likewise.
67226         (yn_test): Likewise.
67228 2012-03-27  Anton Blanchard  <anton@samba.org>
67230         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67231         MAP_HUGETLB.
67232         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67233         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67234         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67236 2012-03-27  David S. Miller  <davem@davemloft.net>
67238         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67240         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67241         have-as-vis3 check.
67243 2012-03-27  Andreas Jaeger  <aj@suse.de>
67245         * sysdeps/x86_64/elf/configure.in: Moved to ...
67246         * sysdeps/x86_64/configure.in: ... here.
67247         * sysdeps/x86_64/elf/start.S: Moved to ...
67248         * sysdeps/x86_64/start.S: ... here.
67249         * sysdeps/x86_64/elf/configure: Delete.
67251         * sysdeps/x86_64/configure.in: Merge contents from
67252         sysdeps/i386/configure.in (without i686 check).
67254         * sysdeps/i386/elf/Versions: Merge into ...
67255         * sysdeps/i386/Versions: ... this.
67256         * sysdeps/i386/elf/Versions: Delete file.
67257         * sysdeps/i386/elf/start.S: Moved to ...
67258         * sysdeps/i386/start.S: ...here.
67259         * sysdeps/i386/elf/configure.in: Merge into...
67260         * sysdeps/i386/configure.in: ...here.
67261         * sysdeps/i386/elf/configure.in: Delete file.
67262         * sysdeps/i386/elf/configure: Delete file.
67264         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67265         * debug/backtracesyms.c: ... here.
67266         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67267         * debug/backtracesymsfd.c: ... here.
67268         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67269         * sysdeps/generic/ifunc-sel.h: ... here.
67271         * sysdeps/unix/i386/start.c: Delete file.
67272         * sysdeps/unix/sparc/start.c: Delete file.
67273         * sysdeps/unix/start.c: Delete file.
67275         * sysdeps/sh/elf/configure.in: Moved to ...
67276         * sysdeps/sh/configure.in: ... here.
67277         * sysdeps/sh/elf/start.S: Moved to ...
67278         * sysdeps/sh/start.S: ... here.
67279         * sysdeps/sh/elf/configure: Delete file.
67281         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67282         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67283         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67284         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67285         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67286         * sysdeps/powerpc/powerpc64/start.S: here.
67287         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67288         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67289         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67290         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67291         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67293         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67294         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67295         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67296         * sysdeps/powerpc/powerpc32/start.S: ... here.
67297         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67298         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67299         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67301         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67302         * sysdeps/powerpc/ifunc-sel.h: ... here.
67303         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67304         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67306         * sysdeps/sparc/elf/configure.in: Moved to ...
67307         * sysdeps/sparc/configure.in: ... here.
67308         * sysdeps/sparc/elf/configure: Delete file.
67309         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67310         * sysdeps/sparc/sparc32/start.S: ... here.
67311         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67312         * sysdeps/sparc/sparc64/start.S: ... here.
67313         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67314         * sysdeps/sparc/sparc32/Makefile: ... this.
67315         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67316         * sysdeps/sparc/sparc64/Makefile: ... this.
67318         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67319         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67320         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67321         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67322         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67323         * sysdeps/s390/s390-32/setjmp.S: ... here.
67324         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67325         * sysdeps/s390/s390-32/configure.in: ... here.
67326         * sysdeps/s390/s390-32/elf/configure: Delete file.
67327         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67328         * sysdeps/s390/s390-32/start.S: ... here.
67330         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67331         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67332         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67333         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67334         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67335         * sysdeps/s390/s390-64/setjmp.S: ... here.
67336         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67337         * sysdeps/s390/s390-64/configure.in: ... here
67338         * sysdeps/s390/s390-64/elf/configure: Delete file.
67339         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67340         * sysdeps/s390/s390-64/start.S: ... here.
67341         * sysdeps/s390/s390-64/elf/configure: Delete.
67343         * configure.in: Remove support for elf directories in sysdeps.
67345         * configure: Regenerated.
67346         * sysdeps/i386/configure: Regenerated.
67347         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67348         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67349         * sysdeps/s390/s390-32/configure: Regenerated.
67350         * sysdeps/s390/s390-64/configure: Regenerated.
67351         * sysdeps/sh/configure: Regenerated.
67352         * sysdeps/sparc/configure: Regenerated.
67353         * sysdeps/x86_64/configure: Regenerated.
67355 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67359         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67360         denormal result into account.
67362 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67364         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67365         Reported by Allan McRae <allan@archlinux.org>.
67367 2012-03-23  Jeff Law  <law@redhat.com>
67369         * nss/getnssent.c (__nss_getent): Fix typo.
67371 2012-03-23  David S. Miller  <davem@davemloft.net>
67373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67375 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67377         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67378         to pad to uint64_t for each field.
67379         (dl_tls_index): Replace unsigned long with uint64_t.
67381 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67382         Paul Pluzhnikov  <ppluzhnikov@google.com>
67384         [BZ #6528]
67385         * grp/Makefile (otherlibs): Don't set it.
67386         * inet/Makefile (otherlibs): Likewise.
67387         * login/Makefile (otherlibs): Likewise.
67388         * nscd/Makefile (otherlibs): Likewise.
67389         * posix/Makefile (otherlibs): Likewise.
67390         * pwd/Makefile (otherlibs): Likewise.
67391         * rt/Makefile (otherlibs): Likewise.
67392         * sunrpc/Makefile (otherlibs): Likewise.
67393         * nss/Makefile (otherlibs): Likewise.
67394         Add libnss_files to routines and static-only-routines.
67395         ($(objpfx)getent): Remove rule.
67396         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67397         static-only-routines.
67399 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67401         [BZ #13892]
67402         * math/s_cexp.c: Include <float.h>.
67403         (__cexp): Handle exp result overflowing not necessarily
67404         overflowing both real and imaginary parts of result.
67405         * math/s_cexpf.c: Likewise.
67406         * math/s_cexpl.c: Likewise.
67407         * math/libm-test.inc (cexp_test): Add more tests.
67408         * sysdeps/i386/fpu/libm-test-ulps: Update.
67409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67413         * include/link.h (ELFW): New macro.
67414         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67415         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67417 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67419         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67420         with uint64_t.
67422 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67424         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67425         declaration.
67426         (struct La_x32_retval): Likewise.
67428 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67430         * sysdeps/x86_64/preconfigure.in: New file.
67431         * sysdeps/x86_64/preconfigure: New generated file.
67433 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67435         [BZ #13824]
67436         * math/e_exp2l.c: Include <float.h>.
67437         (__ieee754_exp2l): Handle overflow and underflow cases
67438         separately.  Only pass fractional part of argument to
67439         __ieee754_expl.
67440         * math/libm-test.inc (exp2_test): Add more tests.
67442         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67443         negating x to take absolute value.
67444         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67445         Likewise.
67446         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67447         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67448         Likewise.
67449         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67450         computing low part if x was negated.
67451         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67453 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67455         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67456         la_x32_gnu_pltexit.
67457         (pltexit): Cast int_retval to ptrdiff_t.
67458         * elf/tst-auditmod3b.c: Likewise.
67459         * elf/tst-auditmod4b.c: Likewise.
67460         * elf/tst-auditmod5b.c: Likewise.
67461         * elf/tst-auditmod6b.c: Likewise.
67462         * elf/tst-auditmod6c.c: Likewise.
67463         * elf/tst-auditmod7b.c: Likewise.
67465         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67466         and x32_gnu_pltexit.
67468         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67469         __ELF_NATIVE_CLASS.
67470         (La_x32_regs): New macro.
67471         (La_x32_retval): Likewise.
67472         (la_x32_gnu_pltenter): New function prototype.
67473         (la_x32_gnu_pltexit): Likewise.
67475 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67477         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67478         exponent.
67480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67482         * configure.in (libc_cv_cc_nofma): Check for option to disable
67483         generation of FMA instructions.
67484         * configure: Regenerate.
67485         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67486         * sysdeps/ieee754/dbl-64/Makefile: New file.
67487         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67488         Remove brandred-fma4.
67489         (CFLAGS-brandred-fma4.c): Remove.
67490         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67491         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67492         define.
67493         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67494         define.
67496 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67498         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67499         LLONG_MAX != LONG_MAX.
67500         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67501         (_fitoa_word): Likewise.
67502         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67503         LLONG_MAX != LONG_MAX.
67504         * stdio-common/_itowa.h: Include <_itoa.h>.
67505         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67506         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67507         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67508         only if not defined.
67509         (_ITOA_WORD_TYPE): Likewise.
67510         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67511         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67513 2012-03-21  David S. Miller  <davem@davemloft.net>
67515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67517 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67519         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67520         of x86_64 when setting libc_cv_slibdir, libdir and
67521         libc_cv_localedir.
67522         * sysdeps/unix/sysv/linux/configure: Regenerated.
67524 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67526         * manual/lang.texi (Old Varargs): Remove section.
67527         (How Variadic): Update menu.
67528         (va_start): Do not mention varargs.h.
67530 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67531             Joseph Myers  <joseph@codesourcery.com>
67533         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67534         link test.
67535         * configure: Regenerated.
67537 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67539         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67540         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67541         conformtest.pl
67543 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67545         * NOTES: Remove.
67546         * Makefile (files-for-dist): Remove NOTES.
67547         (NOTES): Remove rule.
67548         * README: Don't refer to NOTES.
67549         * manual/creature.texi: Don't include macros.texi.
67550         * manual/intro.texi (creature.texi): Remove comment referring to
67551         NOTES.
67553         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67554         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67555         * configure: Regenerated.
67556         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67557         LIBC_TRY_CC_OPTION.
67558         (libc_cv_as_i686): Likewise.
67559         (libc_cv_cc_avx): Likewise.
67560         (libc_cv_cc_sse2avx): Likewise.
67561         (libc_cv_cc_fma4): Likewise.
67562         (libc_cv_cc_novzeroupper): Likewise.
67563         * sysdeps/i386/configure: Regenerated.
67565         [BZ #13883]
67566         * sysdeps/i386/fpu/s_cexp.S: Remove.
67567         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67568         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67569         * math/libm-test.inc (cexp_test): Add more tests.
67570         * sysdeps/i386/fpu/libm-test-ulps: Update.
67571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67573 2012-03-21  Allan McRae  <allan@archlinux.org>
67575         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67577 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67579         [BZ #13871]
67580         * math/w_exp2.c: Do not include <float.h>.
67581         (o_threshold, u_threshold): Remove.
67582         (__exp2): Calculate result before checking finiteness and calling
67583         __kernel_standard.
67584         * math/w_exp2f.c: Likewise.
67585         * math/w_exp2l.c: Likewise.
67586         * math/libm-test.inc (exp2_test): Require overflow exception for
67587         1e6 input.
67589         [BZ #3866]
67590         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67591         range of signed 64-bit integers before using fistpll.  Remove
67592         checks for whether integers fit in mantissa bits.
67593         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67594         the range of signed 32-bit integers before using fistpl.  Remove
67595         checks for whether integers fit in mantissa bits.
67596         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67597         (__ieee754_powl): Test for y outside the range of signed 64-bit
67598         integers before using fistpll.  Reduce 64-bit values to 63-bit
67599         ones as needed.
67600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67601         divide-by-zero is raised for zero to large negative powers.
67602         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67603         (__ieee754_powl): Test for y outside the range of signed 64-bit
67604         integers before using fistpll.  Reduce 64-bit values to 63-bit
67605         ones as needed.
67606         * math/libm-test.inc (pow_test): Add more tests.
67608 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67610         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67611         <stdio-common/_itoa.h>.
67612         * debug/segfault.c: Likewise.
67613         * elf/dl-cache.c: Likewise.
67614         * elf/dl-minimal.c: Likewise.
67615         * elf/dl-misc.c: Likewise.
67616         * elf/dl-sysdep.c: Likewise.
67617         * elf/dl-version.c: Likewise.
67618         * elf/rtld.c: Likewise.
67619         * hurd/hurdsock.c: Likewise.
67620         * hurd/lookup-retry.c: Likewise.
67621         * malloc/malloc.c: Likewise.
67622         * malloc/mtrace.c: Likewise.
67623         * nscd/nscd_getgr_r.c: Likewise.
67624         * nscd/nscd_getpw_r.c: Likewise.
67625         * nscd/nscd_getserv_r.c: Likewise.
67626         * posix/getopt_init.c: Likewise.
67627         * posix/wordexp.c: Likewise.
67628         * stdio-common/_itoa.c: Likewise.
67629         * stdio-common/printf_fphex.c: Likewise.
67630         * stdio-common/vfprintf.c: Likewise.
67631         * string/_strerror.c: Likewise.
67632         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67633         * sysdeps/i386/i686/hp-timing.h: Likewise.
67634         * sysdeps/mach/_strerror.c: Likewise.
67635         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67636         * sysdeps/mach/hurd/sethostid.c: Likewise.
67637         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67638         * sysdeps/mach/xpg-strerror.c: Likewise.
67639         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67641         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67642         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67643         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67644         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67645         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67646         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67647         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67648         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67649         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67650         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67651         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67652         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67653         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67654         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67655         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67656         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67657         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67658         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67659         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67661         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67663         * stdio-common/_itoa.h: Moved to ...
67664         * sysdeps/generic/_itoa.h: Here.
67666         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67668         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67669         instead of "_itoa.h" and "_itowa.h".
67670         * stdio-common/vfprintf.: Likewise.
67672 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67674         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67675         <bits/wordsize.h>.
67676         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67677         (__signbit): Likwise.
67678         (llrintf): Likwise.
67679         (llrint): Likwise.
67681 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67683         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67684         __WORDSIZE != 64.
67686 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67688         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67689         OVERFLOW_EXCEPTION_OK.
67690         * math/libm-test.inc ("Philosophy"): Update comment about
67691         exception testing.
67692         (OVERFLOW_EXCEPTION): Define.
67693         (OVERFLOW_EXCEPTION_OK): Likewise.
67694         (INVALID_EXCEPTION_OK): Renumber.
67695         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67696         (IGNORE_ZERO_INF_SIGN): Likewise.
67697         (test_exceptions): Handle FE_OVERFLOW.
67698         (exp10_test): Expect overflow exceptions.
67699         (exp2_test): Likewise.
67700         (expm1_test): Likewise.
67701         (nextafter_test): Likewise.
67702         (pow_test): Likewise.
67703         (scalbn_test): Likewise.
67704         (scalbln_test): Likewise.
67706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67708         * sysdeps/x86_64/bits/atomic.h
67709         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67710         64bit integer.
67711         (atomic_exchange_acq): Likewise.
67712         (__arch_exchange_and_add_body): Likewise.
67713         (__arch_add_body): Likewise.
67714         (atomic_add_negative): Likewise.
67715         (atomic_add_zero): Likewise.
67717 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67719         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67720         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67722 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67724         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67725         Check __x86_64__ instead of __WORDSIZE.
67727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67729         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67731 2012-03-19  David S. Miller  <davem@davemloft.net>
67733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67735         * sysdeps/sparc/fpu/fenv_private.h: New file.
67736         * sysdeps/sparc/fpu/math_private.h: Use it.
67737         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67738         Remove.
67739         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67740         (libc_feholdexcept_setroundl): Remove.
67741         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67742         Remove.
67743         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67744         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67748         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67749         int64_t instead of long int.
67750         (INSERT_WORDS64): Likwise.
67752 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67754         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67755         _Unwind_GetCFA return to _Unwind_Ptr first.
67757 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67759         [BZ #13629]
67760         * math/s_clog.c: Include <float.h>.
67761         (__clog): Scale large or subnormal inputs.
67762         * math/s_clogf.c: Likewise.
67763         * math/s_clogl.c: Likewise.
67764         * math/s_clog10.c: Include <float.h>.
67765         (M_LOG10_2): Define.
67766         (__clog10): Scale large or subnormal inputs.
67767         * math/s_clog10f.c: Likewise.
67768         * math/s_clog10l.c: Likewise.
67769         * math/libm-test.inc (clog_test): Add more tests.
67770         (clog10_test): Likewise.
67771         * sysdeps/i386/fpu/libm-test-ulps: Update.
67772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67774         [BZ #11451]
67775         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67776         x and y.
67777         * math/libm-test.inc (atan2_test): Add another test.
67779         * Makerules (common-objdir-compile): Remove.
67780         * sysdeps/unix/Makefile (config-generated): Do not add
67781         $(unix-generated) to variable.
67782         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67783         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67784         Remove rule.
67785         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67786         Likewise.
67787         [generic bits/local_lim.h] (before-compile): Do not append to
67788         variable.
67789         [generic bits/local_lim.h] (common-generated): Likewise.
67790         [generic sys/param.h] (before-compile): Do not append to variable.
67791         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67792         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67793         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67794         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67795         include.
67796         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67797         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67798         [generic sys/param.h] ($(addprefix
67799         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67800         [generic sys/param.h] (common-generated): Do not append to
67801         variable.
67802         [generic sys/param.h] (sysdep_headers): Likewise.
67803         [generic bits/errno.h] (before-compile): Do not append to
67804         variable.
67805         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67806         rule.
67807         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67808         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67809         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67810         [generic bits/errno.h] (common-generated): Do not append to
67811         variable.
67812         [generic bits/ioctls.h] (before-compile): Do not append to
67813         variable.
67814         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67815         rule.
67816         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67817         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67818         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67819         rule.
67820         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67821         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67822         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67823         [generic bits/ioctls.h] (common-generated): Do not append to
67824         variable.
67825         [generic sys/syscall.h] (syscall.h): Remove variable.
67826         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67827         rule.
67828         [generic sys/syscall.h] (before-compile): Do not append to
67829         variable.
67830         [generic sys/syscall.h] (common-generated): Likewise.
67831         * sysdeps/unix/errnos-tmpl.c: Remove file.
67832         * sysdeps/unix/errnos.awk: Likewise.
67833         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67834         * sysdeps/unix/ioctls.awk: Likewise.
67835         * sysdeps/unix/mk-local_lim.c: Likewise.
67836         * sysdeps/unix/snarf-ioctls: Likewise.
67838 2012-03-19  Richard Henderson  <rth@twiddle.net>
67840         * sysdeps/i386/fpu/fenv_private.h: New file.
67841         * sysdeps/i386/fpu/math_private.h: Use it.
67842         (math_opt_barrier, math_force_eval): Remove.
67843         (libc_feholdexcept_setround_53bit): Remove.
67844         (libc_feupdateenv_53bit): Remove.
67845         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67846         (math_opt_barrier, math_force_eval): Remove.
67847         (libc_feholdexcept): Remove.
67848         (libc_feholdexcept_setround): Remove.
67849         (libc_fetestexcept, libc_fesetenv): Remove.
67850         (libc_feupdateenv_test): Remove.
67851         (libc_feupdateenv, libc_feholdsetround): Remove.
67852         (libc_feresetround): Remove.
67854         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67855         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67857         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67858         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67859         (libc_feupdateenv_testl): New.
67860         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67861         (libc_feupdateenv_testf): New.
67862         (libc_feupdateenv): Use libc_feupdateenv_test.
67863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67864         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67866         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67867         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67868         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67869         (libc_feresetround_noex): New.
67870         (libc_feresetround_noexf): New.
67871         (libc_feresetround_noexl): New.
67872         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67873         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67874         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67875         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67876         SET_RESTORE_ROUND.
67877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67878         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67879         (__cos): Likewise.
67880         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67881         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67882         SET_RESTORE_ROUND_NOEX.
67883         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67884         SET_RESTORE_ROUND_NOEXF.
67885         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67886         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67887         (libc_feholdsetroundf): New.
67888         (libc_feresetround, libc_feresetroundf): New.
67890         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67891         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67892         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67894         * sysdeps/generic/math_private.h: Include <fenv.h>.
67895         (default_libc_feholdexcept): New.
67896         (default_libc_feholdexcept_setround): New.
67897         (default_libc_fesetenv, default_libc_feupdateenv): New.
67898         (libc_feholdexcept): Only define if undefined.
67899         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67900         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67901         (libc_feholdexcept_setroundl): Likewise.
67902         (libc_feholdexcept_setround_53bit): Likewise.
67903         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67904         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67905         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67906         (libc_feupdateenv_53bit): Likewise.
67907         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67908         (libc_feholdexcept): Convert from macro to inline function.
67909         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67910         (libc_fesetenv, libc_feupdateenv): Likewise.
67912         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67913         not previously defined.
67914         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67915         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67916         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67917         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67918         * sysdeps/ieee754/flt-32/math_private.h: New file.
67919         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67920         math_private.h below SET_FLOAT_WORD.
67921         (__isnan, __isinf_ns, __finite): Remove.
67922         (__isnanf, __isinf_nsf, __finitef): Remove.
67924 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67928 2012-03-17  David S. Miller  <davem@davemloft.net>
67930         [BZ #6471]
67931         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67932         for 2.16.
67934 2012-03-16  David S. Miller  <davem@davemloft.net>
67936         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67937         warnings.
67939         [BZ #6471]
67940         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67941         properly.
67942         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67943         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67944         sysdep_routines when subdir is sysvipc.
67945         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67946         __getshmlba helper.
67948         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67950 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67952         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67953         [__LP64__].
67955 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67957         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67958         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67959         (__lround): Renamed to ...
67960         (__llround): This.  Replace long int with long long int.
67961         Define lround functions as aliases of llround functions.
67962         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67964 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67966         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67967         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67968         adresses to uintptr_t.  Replace "long int" and "unsigned long
67969         int" with "greg_t" on va_arg.
67971 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67973         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67974         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67976         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67977         Move e_machine check before EI_CLASS check.  Handle x32
67978         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67979         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67980         SKIP_EM_IA_64 and include
67981         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67983         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67984         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67985         (add_system_dir): New macro.
67987         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67988         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67990 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67992         [BZ #2551]
67993         [BZ #2552]
67994         [BZ #2553]
67995         [BZ #2554]
67996         [BZ #2562]
67997         [BZ #2563]
67998         [BZ #2565]
67999         [BZ #2566]
68000         [BZ #2576]
68001         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68002         (y0): Likewise.
68003         * math/w_j0f.c (j0f): Likewise.
68004         (y0f): Likewise.
68005         * math/w_j0l.c (__j0l): Likewise.
68006         (__y0l): Likewise.
68007         * math/w_j1.c (j1): Likewise.
68008         (y1): Likewise.
68009         * math/w_j1f.c (j1f): Likewise.
68010         (y1f): Likewise.
68011         * math/w_j1l.c (__j1l): Likewise.
68012         (__y1l): Likewise.
68013         * math/w_jn.c (jn): Likewise.
68014         (yn): Likewise.
68015         * math/w_jnf.c (jnf): Likewise.
68016         (ynf): Likewise.
68017         * math/w_jnl.c (__jnl): Likewise.
68018         (__ynl): Likewise.
68019         * math/libm-test.inc (j0_test): Add more tests.
68020         (j1_test): Likewise.
68021         (jn_test): Likewise.  Add trailing semicolon to existing test.
68022         (y0_test): Likewise.
68023         (y1_test): Likewise.
68024         * sysdeps/i386/fpu/libm-test-ulps: Update.
68025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68027         [BZ #13851]
68028         [BZ #13854]
68029         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68030         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68031         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68032         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68033         (__tanl): Set errno for infinite argument.
68034         * sysdeps/i386/fpu/mptan.c: Remove.
68035         * sysdeps/i386/fpu/s_tan.S: Likewise.
68036         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68037         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68038         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68039         * math/libm-test.inc (tan_test): Add more tests and enable more
68040         tests for double and long double.
68041         * sysdeps/i386/fpu/libm-test-ulps: Update.
68042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68044 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68046         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68047         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68049 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68051         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68052         * configure.in: Use it for both main tree and add-ons.
68053         * configure: Regenerated.
68055 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68057         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68059 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68061         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68062         in comment.
68064         [BZ #13851]
68065         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68066         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68067         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68068         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68069         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68070         infinite argument.
68071         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68073         != 0 for prec == 2.
68074         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68075         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68076         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68077         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68078         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68079         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68080         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68081         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68082         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68083         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68084         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68085         * math/libm-test.inc (cos_test): Add more tests and enable more
68086         tests for long double.
68087         (sin_test): Likewise.
68088         (sincos_test): Likewise.
68089         * sysdeps/i386/fpu/libm-test-ulps: Update.
68090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68092 2012-03-16  David S. Miller  <davem@davemloft.net>
68094         * sysdeps/sparc/fpu/math_private.h: New file.
68096 2012-03-15  David S. Miller  <davem@davemloft.net>
68098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68099         file.
68100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68102         file.
68103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68108         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68109         sysdep routines.
68110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68112         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68113         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68115         * sysdeps/sparc/sparc-ifunc.h: New file.
68116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68117         sparc-ifunc.h
68118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68120         Likewise.
68121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68122         Likewise.
68123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68127         Likewise.
68128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68133         Likewise.
68134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68135         Likewise.
68136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68154         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68156         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68158         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68161 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68163         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68164         scaling.
68165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68167 2012-03-15  Andreas Jaeger  <aj@suse.de>
68169         [BZ #13852]
68170         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68171         ieee754/flt-32 implementation for sin, cos and sincos.
68172         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68173         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68174         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68175         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68176         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68177         ieee754/flt-32 implementation for tan.
68179         * math/libm-test.inc (cos_test): Enable some large input tests for
68180         float as well
68181         (sin_test): Likewise.
68182         (sincos_test): Likewise.
68183         (tan_test): Add tests for large input.
68185         * sysdeps/i386/fpu/libm-test-ulps: Update.
68187 2012-03-15  Andreas Jaeger  <aj@suse.de>
68189         [BZ #13658]
68190         * math/libm-test.inc (cos_test): Add more test cases.
68191         (sin_test): Likewise.
68192         (sincos_test): Likewise.
68194 2012-03-15  Andreas Jaeger  <aj@suse.de>
68196         [BZ #13837]
68197         * math/libm-test.inc (cos_test): Add a test case for large input
68198         value.
68199         (sin_test): Likewise.
68200         (sincos_test): Likewise.
68202 2012-03-15  Andreas Jaeger  <aj@suse.de>
68203             Joseph Myers  <joseph@codesourcery.com>
68205         [BZ #13658]
68206         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68207         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68208         * sysdeps/i386/fpu/branred.c: Likewise.
68209         * sysdeps/i386/fpu/dosincos.c: Likewise.
68210         * sysdeps/i386/fpu/mpa.c: Likewise.
68211         * sysdeps/i386/fpu/s_cos.S: Likewise.
68212         * sysdeps/i386/fpu/s_sin.S: Likewise.
68213         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68214         * sysdeps/i386/fpu/sincos32.c: Likewise.
68216         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68217         Define.
68218         (libc_feupdateenv_53bit): Define.
68219         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68220         Define.
68221         (libc_feupdateenv_53bit): Define.
68223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68224         53 bit (without extend i386 double precision).
68226         * math/libm-test.inc (sincos_test): Add tests for large input.
68227         (sin): Likewise.
68228         (cos): Likewise.
68230         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68232 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68236 2012-03-15  David S. Miller  <davem@davemloft.net>
68238         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68239         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68240         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68241         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68254         file.
68255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68257         file.
68258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68260         file.
68261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68263         file.
68264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68266         fmin/fmax sysdep routines.
68267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68269 2012-03-14  David S. Miller  <davem@davemloft.net>
68271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68275         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68276         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68291         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68295         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68299         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68300         routines.
68301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68302         file.
68303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68305         file.
68306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68308         file.
68309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68311         file.
68312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68314         file.
68315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68317         file.
68318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68319         file.
68320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68321         file.
68322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68323         file.
68324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68325         New file.
68326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68327         file.
68328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68329         file.
68330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68332         file.
68333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68335         file.
68336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68338         file.
68339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68341         VIS3 routines.
68343         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68344         New file.
68346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68348         * sysdeps/sparc/configure.in: New file.
68349         * sysdeps/sparc/configure: Generate.
68350         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68351         * configure: Regenerate.
68352         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68353         * config.make.in (have-as-vis3): New.
68354         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68355         available use -Av9d instead of -Av9a.
68356         * sysdeps/sparc/sparc64/Makefile: Likewise.
68357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68359         New file.
68360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68361         file.
68362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68363         New file.
68364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68365         file.
68366         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68367         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68372         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68373         fzeros/fnegs to load 0x80000000 into a float register instead of
68374         using the stack.
68375         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68377 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68379         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68380         bits/syscall.h.
68381         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68382         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68383         ($(inst_includedir)/bits/syscall.h): Remove rule.
68384         ($(objpfx)bits/syscall.d): Include instead of
68385         $(objpfx)syscall-list.d.
68386         (generated): Change syscall-list.h and syscall-list.d to
68387         bits/syscall.h and bits/syscall.d.
68389 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68391         [BZ #13846]
68392         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68394 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68396         [BZ #13841]
68397         * math/s_csqrt.c: Include <float.h>.
68398         (__csqrt): Scale large or subnormal inputs.
68399         * math/s_csqrtf.c: Likewise.
68400         * math/s_csqrtl.c: Likewise.
68401         * math/libm-test.inc (csqrt_test): Add more tests.
68402         * sysdeps/i386/fpu/libm-test-ulps: Update.
68403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68405         [BZ #13840]
68406         * math/libm-test.inc (hypot_test): Add more tests.
68408 2012-03-13  David S. Miller  <davem@davemloft.net>
68410         [BZ #13840]
68411         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68412         double-precision for the calculation instead of scaling.
68414 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68416         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68417         manipulate bits before adding and subtracting TWO52[sx].
68418         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68419         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68420         Likewise.
68421         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68423 2012-03-13  David S. Miller  <davem@davemloft.net>
68425         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68426         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68428         rtld-global-offsets.h
68429         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68431         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68432         large parameters.
68434         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68436         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68437         'err' in the ifdef scope in which it is actually used.
68439         * nss/nss_db/db-init.c: Include string.h
68441 2012-03-12  David S. Miller  <davem@davemloft.net>
68443         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68444         masking out of the most significant byte of random value used.
68445         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68446         Fix coding style in previous change.
68448         * sysdeps/unix/sysv/linux/kernel-features.h
68449         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68450         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68451         expression.
68452         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68453         later.
68455 2012-03-11  David S. Miller  <davem@davemloft.net>
68457         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68458         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68459         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68460         for 'resultvar' otherwise things get truncated on 64-bit.
68462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68463         Fix masking out of the most significant byte of random value used.
68465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68467 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68471 2012-03-09  David S. Miller  <davem@davemloft.net>
68473         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68474         variables with appropriate CPP guards.
68475         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68476         from the frame pointer, not the stack pointer.  Correct layout
68477         comments.  Fix test on resulting framesize and the management of
68478         the outregs buffer for pltexit.  Preserve floating point return
68479         values across _dl_call_pltexit call.
68480         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68481         framesize and the management of the outregs buffer for pltexit.
68482         Preserve floating point return values across _dl_call_pltexit
68483         call.
68484         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68485         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68486         (la_sparc64_gnu_pltexit): New functions.
68487         (print_exit): Fix format string for return register value.
68489 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68491         * sunrpc/Makefile (others): Add rpcgen.
68492         ($(objpfx)rpcgen): Remove special build rule and dependency on
68493         libc.
68494         * sunrpc/rpcgen.c: New file.
68496 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68498         [BZ #13673]
68499         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68500         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68501         * sysdeps/i386/crti.S: Likewise.
68502         * sysdeps/i386/crtn.S: Likewise.
68503         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68504         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68505         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68506         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68507         * sysdeps/sh/crti.S: Likewise.
68508         * sysdeps/sh/crtn.S: Likewise.
68509         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68511         [BZ #13673]
68512         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68513         with URL.
68514         * locale/programs/locfile-kw.gperf: Likewise.
68515         * locale/programs/charmap-kw.h: Regenerated.
68516         * locale/programs/locfile-kw.h: Likewise.
68518         [BZ #13673]
68519         * intl/plural.y: Replace FSF snail mail address with URL.
68520         * intl/plural.c: Regenerated.
68522 2012-03-09  Richard Henderson  <rth@twiddle.net>
68524         * include/math_private.h: Remove file.
68525         * math/math_private.h: Move file ...
68526         * sysdeps/generic/math_private.h: ... here.
68528         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68529         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68530         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68532         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68533         and <math_private.h>.
68534         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68535         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68536         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68537         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68538         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68539         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68540         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68541         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68542         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68543         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68544         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68545         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68546         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68547         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68548         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68549         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68550         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68551         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68552         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68553         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68554         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68555         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68556         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68557         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68558         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68559         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68560         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68561         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68563         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68564         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68565         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68566         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68567         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68568         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68569         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68570         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68571         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68572         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68574         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68575         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68576         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68577         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68578         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68579         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68580         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68581         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68582         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68583         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68584         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68585         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68586         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68587         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68588         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68589         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68590         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68591         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68592         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68593         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68594         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68595         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68596         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68597         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68598         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68599         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68600         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68601         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68602         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68603         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68604         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68605         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68606         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68607         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68608         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68612         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68613         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68614         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68615         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68616         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68617         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68618         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68619         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68621         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68622         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68623         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68624         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68625         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68626         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68627         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68628         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68629         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68630         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68631         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68632         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68633         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68634         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68635         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68636         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68637         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68638         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68639         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68640         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68641         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68642         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68643         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68644         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68645         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68646         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68647         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68648         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68649         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68650         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68651         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68652         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68653         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68654         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68655         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68656         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68657         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68658         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68659         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68660         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68661         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68662         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68663         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68664         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68665         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68666         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68667         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68668         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68669         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68670         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68671         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68672         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68673         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68674         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68675         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68676         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68677         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68678         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68679         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68680         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68681         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68682         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68683         * sysdeps/ieee754/k_standard.c: Likewise.
68684         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68685         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68686         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68687         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68688         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68689         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68690         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68691         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68692         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68693         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68694         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68695         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68696         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68697         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68698         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68699         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68700         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68701         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68702         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68703         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68704         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68705         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68706         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68707         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68708         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68709         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68710         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68711         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68712         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68713         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68714         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68715         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68716         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68717         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68718         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68719         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68720         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68721         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68722         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68723         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68724         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68725         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68726         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68727         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68728         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68729         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68730         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68731         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68732         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68733         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68734         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68735         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68736         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68737         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68738         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68739         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68740         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68741         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68742         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68743         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68744         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68747         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68748         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68749         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68750         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68751         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68752         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68754         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68755         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68756         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68757         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68758         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68759         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68760         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68761         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68762         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68763         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68764         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68765         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68766         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68767         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68768         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68769         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68770         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68771         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68772         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68774         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68775         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68776         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68777         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68778         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68779         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68780         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68781         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68782         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68783         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68785         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68786         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68787         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68788         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68789         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68790         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68791         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68792         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68793         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68794         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68795         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68796         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68797         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68798         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68799         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68800         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68801         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68802         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68803         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68804         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68805         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68806         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68807         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68808         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68809         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68810         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68811         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68812         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68813         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68814         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68815         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68816         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68817         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68818         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68819         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68820         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68821         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68822         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68823         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68824         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68825         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68826         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68827         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68828         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68829         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68830         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68831         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68832         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68833         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68834         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68835         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68836         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68837         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68838         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68839         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68840         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68841         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68842         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68843         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68844         * sysdeps/ieee754/s_lib_version.c: Likewise.
68845         * sysdeps/ieee754/s_matherr.c: Likewise.
68846         * sysdeps/ieee754/s_signgam.c: Likewise.
68847         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68848         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68849         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68850         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68851         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68852         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68853         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68854         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68855         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68856         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68857         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68858         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68859         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68860         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68861         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68862         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68863         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68864         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68865         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68866         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68869 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68871         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68872         * sunrpc/rpc_main.c: Likewise.
68873         * sunrpc/rpc_svcout.c: Likewise.
68875 2012-03-09  David S. Miller  <davem@davemloft.net>
68877         * include/math_private.h: New file.
68879 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68881         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68882         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68883         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68884         from <bits/socket_type.h>.
68885         (enum __socket_type): Don't define here.
68886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68887         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68888         bits/socket_type.h.
68890         [BZ #13566]
68891         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68892         checking __USE_GNU.
68894         * Makerules ($(inst_includedir)/%.h): New rule.
68895         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68896         (install-others): Remove variable setting.
68897         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68899 2012-03-08  Richard Henderson  <rth@twiddle.net>
68901         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68902         from macro to inline function; merge with the
68903         !__LIBC_INTERNAL_MATH_INLINES version.
68904         (__ieee754_sqrtf): Likewise.
68906         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68907         to inline function.
68908         (__rintf, __floor, __floorf): Likewise.
68910         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68911         macro to inline function.
68912         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68914         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68915         not <math/math_private.h>.
68917 2012-03-08  David S. Miller  <davem@davemloft.net>
68919         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68920         copyright year.
68921         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68923 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68925         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68926         normalization.
68927         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68928         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68930 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68932         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68933         be defined individually, they must be defined as a block.  Define
68934         S for printing a string instead of hidint the different by using a
68935         macro for adding the 'l'.
68936         * stdio-common/tst-fphex-wide.c: Adjust.
68938 2012-03-07  Marek Polacek  <polacek@redhat.com>
68940         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68942 2012-03-08  Marek Polacek  <polacek@redhat.com>
68944         [BZ #13806]
68945         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68946         * stdio-common/tst-fphex.c: Define a few macros to make the
68947         test reusable.  Use them.
68948         * stdio-common/tst-fphex-wide.c: New file.
68950 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68952         [BZ #6911]
68953         * manual/macros.texi (gnusystems): New macro.
68954         (nongnusystems): Likewise.
68955         (gnulinuxhurdsystems): Likewise.
68956         (gnuhurdsystems): Likewise..
68957         (gnulinuxsystems): Likewise.
68958         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68959         variants of the GNU system, not "GNU system".
68960         * manual/conf.texi: Likewise.
68961         * manual/errno.texi: Likewise.  Update example of errno macro
68962         expansion.
68963         * manual/filesys.texi: Likewise.
68964         (getumask): Document as specific to GNU/Hurd.
68965         * manual/install.texi: Likewise.  Reword some references to
68966         GNU/Linux.
68967         * manual/intro.texi: Likewise.
68968         * manual/io.texi: Likewise.
68969         (File Name Portability): Detail which constraints are inapplicable
68970         to all GNU systems and which are only inapplicable to GNU/Hurd.
68971         * manual/job.texi: Likewise.
68972         * manual/llio.texi: Likewise.
68973         (O_NOCTTY): Document as present on GNU/Linux.
68974         * manual/maint.texi: Likewise.
68975         * manual/memory.texi: Likewise.
68976         * manual/pattern.texi: Likewise.
68977         * manual/pipe.texi: Likewise.
68978         * manual/process.texi: Likewise.
68979         * manual/resource.texi: Likewise.
68980         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68981         child on GNU/Hurd.
68982         * manual/setjmp.texi: Likewise.
68983         * manual/signal.texi: Likewise.
68984         * manual/startup.texi: Likewise.
68985         * manual/stdio.texi: Likewise.
68986         * manual/terminal.texi: Likewise.
68987         (ONLCR): Document as POSIX.
68988         (OXTABS): Document availability on GNU/Linux as XTABS.
68989         (ONOEOT): Document availability separately from other bits.
68990         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68991         * manual/time.texi: Likewise.
68992         * manual/users.texi: Likewise.
68993         * INSTALL: Regenerated.
68994         * sysdeps/gnu/errlist.c: Regenerated.
68996         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68997         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68998         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68999         puts.
69000         * configure: Regenerated.
69002 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69004         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69005         default includes instead of AC_HEADER_CHECK.
69006         * sysdeps/i386/configure: Regenerated.
69008         [BZ #10716]
69009         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69010         * math/s_cacoshf.c (__cacoshf): Likewise.
69011         * math/s_cacoshl.c (__cacoshl): Likewise.
69012         * math/s_casinh.c (__casinh): Set signs of result from argument.
69013         * math/s_casinhf.c (__casinhf): Likewise.
69014         * math/s_casinhl.c (__casinhl): Likewise.
69015         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69016         (casinh_test): Add more tests.
69017         * sysdeps/i386/fpu/libm-test-ulps: Update.
69018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69020 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69022         * po/zh_TW.po: Update from translation team.
69024         * login/Makefile (distribute): Remove variable.
69025         * catgets/Makefile: Likewise.
69026         * mach/Makefile: Likewise.
69027         * malloc/Makefile: Likewise.
69028         * misc/Makefile: Likewise.
69029         * iconv/Makefile: Likewise.
69030         * nscd/Makefile: Likewise.
69031         * hurd/Makefile: Likewise.
69032         * manual/Makefile: Likewise.
69033         * locale/Makefile: Likewise.
69034         * intl/Makefile: Likewise.
69035         * conform/Makefile: Likewise.
69036         * nss/Makefile: Likewise.
69037         * time/Makefile: Likewise.
69038         * soft-fp/Makefile: Likewise.
69039         * dirent/Makefile: Likewise.
69040         * gmon/Makefile: Likewise.
69041         * po/Makefile: Likewise.
69042         * rt/Makefile: Likewise.
69043         * socket/Makefile: Likewise.
69044         * math/Makefile: Likewise.
69045         * signal/Makefile: Likewise.
69046         * debug/Makefile: Likewise.
69047         * elf/Makefile: Likewise.
69048         * timezone/Makefile: Likewise.
69049         * stdlib/Makefile: Likewise.
69050         * iconvdata/Makefile: Likewise.
69051         * sunrpc/Makefile: Likewise.
69052         * io/Makefile: Likewise.
69053         * argp/Makefile: Likewise.
69054         * inet/Makefile: Likewise.
69055         * hesiod/Makefile: Likewise.
69056         * grp/Makefile: Likewise.
69057         * csu/Makefile: Likewise.
69058         * wctype/Makefile: Likewise.
69059         * crypt/Makefile: Likewise.
69060         * libio/Makefile: Likewise.
69061         * string/Makefile: Likewise.
69062         * nis/Makefile: Likewise.
69063         * resolv/Makefile: Likewise.
69064         * stdio-common/Makefile: Likewise.
69065         * wcsmbs/Makefile: Likewise.
69066         * dlfcn/Makefile: Likewise.
69067         * posix/Makefile: Likewise.
69069         [BZ #6959]
69070         * timezone/Makefile: Don't install timezone files, just the programs
69071         and scripts.
69073 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69075         * nss/databases.def: Add missing gshadow entry.
69077         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69079 2012-03-06  Marek Polacek  <polacek@redhat.com>
69081         [BZ #13726]
69082         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69083         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69084         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69085         * stdio-common/tst-long-dbl-fphex.c: New file.
69087 2012-03-06  David S. Miller  <davem@davemloft.net>
69089         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69090         (set_obp_int): New function.
69091         (get_obp_int): New function.
69092         (__get_clockfreq_via_dev_openprom): Likewise.
69093         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69094         Avoid unused variable warnings on 'val' and use builtin_expect.
69095         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69096         __builtin_expect.
69097         (INLINE_CLONE_SYSCALL): Likewise.
69099 2012-03-05  David S. Miller  <davem@davemloft.net>
69101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69103 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69107         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69108         only for |x| >= 40.
69109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69111 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69113         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69114         Replace gettimeofday with __vdso_gettimeofday.
69116         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69117         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69118         __vdso_clock_gettime and __vdso_getcpu.
69120         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69121         time with __vdso_time.
69123 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69125         * manual/lang.texi (size_t): Note types to which size_t may be
69126         equivalent with the GNU C Library, but do not describe when
69127         differences between them are significant.
69129 2012-03-05  Andreas Jaeger  <aj@suse.de>
69131         * sysdeps/i386/fpu/libm-test-ulps: Update.
69133 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69135         [BZ #3976]
69136         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69137         (__ieee754_pow): Save and restore rounding mode and use
69138         round-to-nearest for main computations.
69139         * math/libm-test.inc (pow_test_tonearest): New function.
69140         (pow_test_towardzero): Likewise.
69141         (pow_test_downward): Likewise.
69142         (pow_test_upward): Likewise.
69143         (main): Call the new functions.
69144         * sysdeps/i386/fpu/libm-test-ulps: Update.
69145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69147         [BZ #3976]
69148         * math/libm-test.inc (cosh_test_tonearest): New function.
69149         (cosh_test_towardzero): Likewise.
69150         (cosh_test_downward): Likewise.
69151         (cosh_test_upward): Likewise.
69152         (sinh_test_tonearest): Likewise.
69153         (sinh_test_towardzero): Likewise.
69154         (sinh_test_downward): Likewise.
69155         (sinh_test_upward): Likewise.
69156         (main): Call the new functions.
69157         * sysdeps/i386/fpu/libm-test-ulps: Update.
69158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69160 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69162         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69163         default stack guard is set in last bytes.
69164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69166 2012-03-05  Kees Cook  <keescook@chromium.org>
69168         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69170         [BZ #13656]
69171         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69172         possibly allocate from heap instead of stack.
69173         * stdio-common/bug-vfprintf-nargs.c: New file.
69174         * stdio-common/Makefile (tests): Add nargs overflow test.
69176 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69180 2012-03-03  Marek Polacek  <polacek@redhat.com>
69182         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69183         * math/math_private.h: Likewise.
69184         * stdlib/tst-strtod.c: Likewise.
69185         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69186         * sysdeps/x86_64/bits/atomic.h: Likewise.
69188 2012-03-02  David S. Miller  <davem@davemloft.net>
69190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69194         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69195         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69196         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69197         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69199 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69201         [BZ #13792]
69202         * manual/examples/README: New file, says the example source files
69203         can be used under GPL>=2.
69204         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69205         line containing just "*/".
69206         * manual/examples/add.c: Add copyright header (GPL>=2).
69207         * manual/examples/argp-ex1.c: Likewise.
69208         * manual/examples/argp-ex2.c: Likewise.
69209         * manual/examples/argp-ex3.c: Likewise.
69210         * manual/examples/argp-ex4.c: Likewise.
69211         * manual/examples/atexit.c: Likewise.
69212         * manual/examples/db.c: Likewise.
69213         * manual/examples/dir.c: Likewise.
69214         * manual/examples/dir2.c: Likewise.
69215         * manual/examples/execinfo.c: Likewise.
69216         * manual/examples/filecli.c: Likewise.
69217         * manual/examples/filesrv.c: Likewise.
69218         * manual/examples/fmtmsgexpl.c: Likewise.
69219         * manual/examples/genpass.c: Likewise.
69220         * manual/examples/inetcli.c: Likewise.
69221         * manual/examples/inetsrv.c: Likewise.
69222         * manual/examples/isockad.c: Likewise.
69223         * manual/examples/longopt.c: Likewise.
69224         * manual/examples/memopen.c: Likewise.
69225         * manual/examples/memstrm.c: Likewise.
69226         * manual/examples/mkfsock.c: Likewise.
69227         * manual/examples/mkisock.c: Likewise.
69228         * manual/examples/mygetpass.c: Likewise.
69229         * manual/examples/pipe.c: Likewise.
69230         * manual/examples/popen.c: Likewise.
69231         * manual/examples/rprintf.c: Likewise.
69232         * manual/examples/search.c: Likewise.
69233         * manual/examples/select.c: Likewise.
69234         * manual/examples/setjmp.c: Likewise.
69235         * manual/examples/sigh1.c: Likewise.
69236         * manual/examples/sigusr.c: Likewise.
69237         * manual/examples/stpcpy.c: Likewise.
69238         * manual/examples/strdupa.c: Likewise.
69239         * manual/examples/strftim.c: Likewise.
69240         * manual/examples/strncat.c: Likewise.
69241         * manual/examples/subopt.c: Likewise.
69242         * manual/examples/swapcontext.c: Likewise.
69243         * manual/examples/termios.c: Likewise.
69244         * manual/examples/testopt.c: Likewise.
69245         * manual/examples/testpass.c: Likewise.
69246         * manual/examples/timeval_subtract.c: Likewise.
69248         [BZ #13792]
69249         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69250         function to ...
69251         * manual/timeval_subtract.c.texi: ... here, new file.
69253 2012-03-02  David S. Miller  <davem@davemloft.net>
69255         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69257 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69259         [BZ #3976]
69260         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69261         (__sin): Save and restore rounding mode and use round-to-nearest
69262         for all computations.
69263         (__cos): Save and restore rounding mode and use round-to-nearest
69264         for all computations.
69265         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69266         <fenv.h>.
69267         (tan): Save and restore rounding mode and use round-to-nearest for
69268         all computations.
69269         * math/libm-test.inc (cos_test_tonearest): New function.
69270         (cos_test_towardzero): Likewise.
69271         (cos_test_downward): Likewise.
69272         (cos_test_upward): Likewise.
69273         (sin_test_tonearest): Likewise.
69274         (sin_test_towardzero): Likewise.
69275         (sin_test_downward): Likewise.
69276         (sin_test_upward): Likewise.
69277         (tan_test_tonearest): Likewise.
69278         (tan_test_towardzero): Likewise.
69279         (tan_test_downward): Likewise.
69280         (tan_test_upward): Likewise.
69281         (main): Call the new functions.
69282         * sysdeps/i386/fpu/libm-test-ulps: Update.
69283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69285         [BZ #10135]
69286         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69287         small n, then large n, before computing and testing k+n.
69288         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69290         Likewise.
69291         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69292         Likewise.
69293         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69294         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69295         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69296         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69297         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69298         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69299         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69300         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69301         * math/libm-test.inc (scalbn_test): Add more tests.
69302         (scalbln_test): Likewise.
69304         * manual/filesys.texi (mode_t): Describe constraints on size and
69305         signedness, not exact equivalence to a particular type.
69306         (ino_t): Likewise.
69307         (ino64_t): Likewise.
69308         (dev_t): Likewise.
69309         (nlink_t): Likewise.
69310         (blkcnt_t): Likewise.
69311         (blkcnt64_t): Likewise.
69312         * manual/llio.texi (off_t): Likewise.
69314         [BZ #3976]
69315         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69316         (__ieee754_exp): Save and restore rounding mode and use
69317         round-to-nearest for all computations.
69318         * math/libm-test.inc (exp_test_tonearest): New function.
69319         (exp_test_towardzero): Likewise.
69320         (exp_test_downward): Likewise.
69321         (exp_test_upward): Likewise.
69322         (main): Call the new functions.
69323         * sysdeps/i386/fpu/libm-test-ulps: Update.
69324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69326 2012-03-01  Chris Demetriou  <cgd@google.com>
69328         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69329         have predictable order.
69331 2012-03-01  David S. Miller  <davem@davemloft.net>
69333         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69335         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69336         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69337         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69338         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69340         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69341         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69342         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69344         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69345         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69346         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69347         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69348         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69352         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69353         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69354         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69356         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69357         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69358         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69359         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69360         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69361         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69362         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69363         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69364         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69365         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69366         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69367         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69368         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69369         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69370         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69372         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69373         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69374         * sysdeps/sparc/elf/configure: Regenerated.
69376 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69378         * configure.in (AS, LD): Require binutils 2.20 or later.
69379         * configure: Regenerated.
69380         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69381         as required minimum version.
69382         * INSTALL: Regenerated.
69384         [BZ #2541]
69385         [BZ #4108]
69386         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69387         before squaring exponent.
69388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69389         bottom long double and 27 bits of top long double before squaring
69390         exponent.
69391         * math/libm-test.inc (erfc_test): Add more tests.
69392         * sysdeps/i386/fpu/libm-test-ulps: Update.
69393         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69396 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69398         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69399         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69400         containing bit-fields.
69401         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69402         * soft-fp/single.h (_FP_UNION_S): Likewise.
69403         * soft-fp/double.h (_FP_UNION_D): Likewise.
69405 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69407         [BZ #13786]
69408         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69409         not include ../strcmp.S.
69410         [USE_AS_STRNCASECMP_L]: Likewise.
69411         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69412         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69413         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69414         (__strncasecmp_l_ia32): Define as alias to
69415         __strncasecmp_l_nonascii.
69417         [BZ #5794]
69418         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69419         * sysdeps/i386/fpu/libm-test-ulps: Update.
69420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69422         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69425 2012-02-29  Jeff Law  <law@redhat.com>
69427         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69428         out of bounds read.
69430 2012-02-29  Marek Polacek  <polacek@redhat.com>
69432         [BZ #13706]
69433         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69434         * elf/Makefile: Add rules to run tst-unused-dep.out.
69436 2012-02-28  David S. Miller  <davem@davemloft.net>
69438         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69439         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69440         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69441         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69442         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69443         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69445 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69447         * math/libm-test.inc (llround_test): Move one test from
69448         lround_test.  Use TEST_f_L in moved test.
69449         (lround_test): Move misplaced test to llround_test.  Add testcase
69450         from bug 2561.
69452 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69454         * sysdeps/x86_64/fpu/e_expf.S: New file.
69455         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69457 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69459         [BZ #13637]
69460         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69461         of remain_len that may cause incomplete multi-byte character and
69462         false match.
69463         * posix/bug-regex33.c: New file.
69464         * posix/Makefile (tests): Add bug-regex33.
69466 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69468         * manual/macros.texi: New file.
69469         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69470         * manual/libc.texinfo: Include macros.texi.
69471         * manual/creatute.texi: Likewise.
69472         * manual/install.texi: Likewise.
69473         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69474         @glibcadj{} in references to the GNU C Library.
69475         * manual/charset.texi: Likewise.
69476         * manual/conf.texi: Likewise.
69477         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69478         when not using those macros.
69479         * manual/creature.texi: Likewise.
69480         * manual/crypt.texi: Likewise.
69481         * manual/errno.texi: Likewise.
69482         * manual/filesys.texi: Likewise.
69483         * manual/header.texi: Likewise.
69484         * manual/install.texi: Likewise.
69485         * manual/intro.texi: Likewise.
69486         * manual/io.texi: Likewise.
69487         * manual/job.texi: Likewise.
69488         * manual/lang.texi: Likewise.
69489         * manual/libc.texiinfo: Likewise.
69490         * manual/llio.texi: Likewise.
69491         * manual/locale.texi: Likewise.
69492         * manual/maint.texi: Likewise.
69493         * manual/math.texi: Likewise.
69494         * manual/memory.texi: Likewise.
69495         * manual/message.texi: Likewise.
69496         * manual/nss.texi: Likewise.
69497         * manual/pattern.texi: Likewise.
69498         * manual/process.texi: Likewise.
69499         * manual/resource.texi: Likewise.
69500         * manual/search.texi: Likewise.
69501         * manual/setjmp.texi: Likewise.
69502         * manual/signal.texi: Likewise.
69503         * manual/socket.texi: Likewise.
69504         * manual/startup.texi: Likewise.
69505         * manual/stdio.texi: Likewise.
69506         * manual/string.texi: Likewise.
69507         * manual/sysinfo.texi: Likewise.
69508         * manual/syslog.texi: Likewise.
69509         * manual/terminal.texi: Likewise.
69510         * manual/time.texi: Likewise.
69511         * manual/users.texi: Likewise.
69512         * INSTALL: Regenerated.
69513         * NOTES: Regenerated.
69514         * sysdeps/gnu/errlist.c: Regenerated.
69516 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69518         * include/dirent.h: Include <dirstream.h> before
69519         <dirent/dirent.h>.
69521 2012-02-28  David S. Miller  <davem@davemloft.net>
69523         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69524         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69525         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69526         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69528 2012-02-27  David S. Miller  <davem@davemloft.net>
69530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69532         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69533         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69536         frame pointer instead of stack pointer relative arg slot.
69537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69538         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69539         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69541 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69543         [BZ #3992]
69544         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69546 2012-02-27  David S. Miller  <davem@davemloft.net>
69548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69552         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69553         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69554         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69555         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69557 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69559         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69560         later.  Allow versions 5-9.
69561         * configure: Regenerated.
69562         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69563         required minimum version and 4.6 as recommended version.  Do not
69564         mention bugs in GCC 2.7 and 2.8.
69565         * INSTALL: Regenerated.
69567 2012-02-27  David S. Miller  <davem@davemloft.net>
69569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69573         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69574         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69575         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69576         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69578         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69579         manipulate bits before adding and subtracting TWO112[sx].
69580         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69582 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69584         [BZ #13775]
69585         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69586         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69587         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69588         being in POSIX, because they are in 1003.1-2008.
69590         * rt/tst-aio.c: Include <fcntl.h>.
69591         * rt/tst-aio7.c: Likewise.
69592         * rt/tst-aio64.c: Likewise.
69594         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69596 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69598         * manual/install.texi (--with-headers): Describe headers as
69599         interface headers, not private headers.
69600         (Specific advice for GNU/Linux systems): Describe use of headers
69601         from "make headers_install", not private headers from older
69602         kernels.
69603         * INSTALL: Regenerated.
69604         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69605         Change to 2.6.19.
69606         * sysdeps/unix/sysv/linux/configure: Regenerated.
69608         * manual/llio.texi (fclean): Remove documentation.
69610         * manual/Makefile (libc-texi-generated): New variable.  Include
69611         version.texi.
69612         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69613         $(libc-texi-generated), not duplicated list of files.
69614         (version.texi, stamp-version): New rules.
69615         (realclean): Remove $(libc-texi-generated), not individual files
69616         from that list.  Do not remove dir-add.texinfo.
69617         * manual/libc.texinfo: Comment out uses of edition numbers and
69618         references to printed manual.  Remove last-updated dates.
69619         (EDITION): Comment out.
69620         (ISBN): Likewise.
69621         (VERSION, UPDATED): Remove.
69622         (version.texi): Include.
69624 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69626         * sysdeps/posix/spawni.c: Include <signal.h>.
69627         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69628         * sysdeps/pthread/aio_fsync.c: Likewise.
69630 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69632         * conform/Makefile (tests): Run only when not cross-compiling and
69633         when fast-check is not defined.
69635         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69636         * conform/data/limits.h-data: Fixes for POSIX2008.
69637         * conform/run-conformtest.sh: Run all tests.
69638         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69639         headers.
69640         * include/bits/dlfcn.h: Likewise.
69641         * include/langinfo.h: Likewise.
69642         * include/monetary.h: Likewise.
69643         * include/sys/poll.h: Likewise.
69645         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69646         for __USE_GNU.
69647         * posix/spawn.h: Define __need_sigset_t.
69648         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69649         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69650         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69651         to get sigevent_t only.
69652         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69653         only for __USE_GNU.
69654         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69655         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69656         process_vm_writev only for __USE_GNU.
69657         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69659         * conform/Makefile: For now ignore errors from run-conformtest.
69660         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69661         POSIX to avoid namespace pollution.  Don't prepend headers.
69662         * conform/data/aio.h-data: Fixes for POSIX testing.
69663         * conform/data/fcntl.h-data: Likewise.
69664         * conform/data/glob.h-data: Likewise.
69665         * conform/data/grp.h-data: Likewise.
69666         * conform/data/pthread.h-data: Likewise.
69667         * conform/data/pwd.h-data: Likewise.
69668         * conform/data/signal.h-data: Likewise.
69669         * conform/data/spawn.h-data: Likewise.
69670         * conform/data/stdio.h-data: Likewise.
69671         * conform/data/stdlib.h-data: Likewise.
69672         * conform/data/stropts.h-data: Likewise.
69673         * conform/data/sys/mman.h-data: Likewise.
69674         * conform/data/sys/stat.h-data: Likewise.
69675         * conform/data/sys/types.h-data: Likewise.
69676         * conform/data/sys/wait.h-data: Likewise.
69677         * conform/data/time.h-data: Likewise.
69678         * conform/data/unistd.h-data: Likewise.
69679         * conform/data/utime.h-data: Likewise.
69681         * io/sys/stat.h: fchmod was always in POSIX.
69682         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69683         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69684         * rt/aio.h: Define __need_timespec before including <time.h>.
69685         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69686         struct.  Add forward declaration of pthread_attr_t and use it in
69687         sigevent.
69688         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69689         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69690         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69691         always remove CLK_TCK definition.
69693 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69695         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69697 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69699         * conform/run-conformtest.sh: New file.
69700         * conform/Makefile: Run run-conformtest for tests.
69701         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69702         support.
69704         * conform/data/uchar.h-data: New file.
69705         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69706         * conform/data/arpa/inet.h-data: Likewise.
69707         * conform/data/assert.h-data: Likewise.
69708         * conform/data/complex.h-data: Likewise.
69709         * conform/data/cpio.h-data: Likewise.
69710         * conform/data/ctype.h-data: Likewise.
69711         * conform/data/dirent.h-data: Likewise.
69712         * conform/data/dlfcn.h-data: Likewise.
69713         * conform/data/errno.h-data: Likewise.
69714         * conform/data/fcntl.h-data: Likewise.
69715         * conform/data/float.h-data: Likewise.
69716         * conform/data/fmtmsg.h-data: Likewise.
69717         * conform/data/fnmatch.h-data: Likewise.
69718         * conform/data/ftw.h-data: Likewise.
69719         * conform/data/glob.h-data: Likewise.
69720         * conform/data/grp.h-data: Likewise.
69721         * conform/data/iconv.h-data: Likewise.
69722         * conform/data/inttypes.h-data: Likewise.
69723         * conform/data/langinfo.h-data: Likewise.
69724         * conform/data/libgen.h-data: Likewise.
69725         * conform/data/limits.h-data: Likewise.
69726         * conform/data/locale.h-data: Likewise.
69727         * conform/data/math.h-data: Likewise.
69728         * conform/data/monetary.h-data: Likewise.
69729         * conform/data/mqueue.h-data: Likewise.
69730         * conform/data/ndbm.h-data: Likewise.
69731         * conform/data/net/if.h-data: Likewise.
69732         * conform/data/netdb.h-data: Likewise.
69733         * conform/data/netinet/in.h-data: Likewise.
69734         * conform/data/nl_types.h-data: Likewise.
69735         * conform/data/poll.h-data: Likewise.
69736         * conform/data/pthread.h-data: Likewise.
69737         * conform/data/pwd.h-data: Likewise.
69738         * conform/data/regex.h-data: Likewise.
69739         * conform/data/sched.h-data: Likewise.
69740         * conform/data/search.h-data: Likewise.
69741         * conform/data/semaphore.h-data: Likewise.
69742         * conform/data/setjmp.h-data: Likewise.
69743         * conform/data/signal.h-data: Likewise.
69744         * conform/data/spawn.h-data: Likewise.
69745         * conform/data/stdarg.h-data: Likewise.
69746         * conform/data/stdio.h-data: Likewise.
69747         * conform/data/stdlib.h-data: Likewise.
69748         * conform/data/string.h-data: Likewise.
69749         * conform/data/strings.h-data: Likewise.
69750         * conform/data/stropts.h-data: Likewise.
69751         * conform/data/sys/ipc.h-data: Likewise.
69752         * conform/data/sys/mman.h-data: Likewise.
69753         * conform/data/sys/msg.h-data: Likewise.
69754         * conform/data/sys/resource.h-data: Likewise.
69755         * conform/data/sys/select.h-data: Likewise.
69756         * conform/data/sys/sem.h-data: Likewise.
69757         * conform/data/sys/shm.h-data: Likewise.
69758         * conform/data/sys/socket.h-data: Likewise.
69759         * conform/data/sys/stat.h-data: Likewise.
69760         * conform/data/sys/statvfs.h-data: Likewise.
69761         * conform/data/sys/time.h-data: Likewise.
69762         * conform/data/sys/timeb.h-data: Likewise.
69763         * conform/data/sys/times.h-data: Likewise.
69764         * conform/data/sys/types.h-data: Likewise.
69765         * conform/data/sys/uio.h-data: Likewise.
69766         * conform/data/sys/un.h-data: Likewise.
69767         * conform/data/sys/utsname.h-data: Likewise.
69768         * conform/data/sys/wait.h-data: Likewise.
69769         * conform/data/syslog.h-data: Likewise.
69770         * conform/data/tar.h-data: Likewise.
69771         * conform/data/termios.h-data: Likewise.
69772         * conform/data/utime.h-data: Likewise.
69773         * conform/data/utmpx.h-data: Likewise.
69774         * conform/data/varargs.h-data: Likewise.
69775         * conform/data/wchar.h-data: Likewise.
69776         * conform/data/wctype.h-data: Likewise.
69777         * conform/data/wordexp.h-data: Likewise.
69779         * include/stropts.h: New file.
69780         * include/uchar.h: New file.
69781         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69782         * include/assert.h: Likewise.
69783         * include/ctype.h: Likewise.
69784         * include/dirent.h: Likewise.
69785         * include/dlfcn.h: Likewise.
69786         * include/fcntl.h: Likewise.
69787         * include/fnmatch.h: Likewise.
69788         * include/glob.h: Likewise.
69789         * include/grp.h: Likewise.
69790         * include/libio.h: Likewise.
69791         * include/locale.h: Likewise.
69792         * include/math.h: Likewise.
69793         * include/net/if.h: Likewise.
69794         * include/netdb.h: Likewise.
69795         * include/netinet/in.h: Likewise.
69796         * include/pthread.h: Likewise.
69797         * include/pwd.h: Likewise.
69798         * include/regex.h: Likewise.
69799         * include/sched.h: Likewise.
69800         * include/search.h: Likewise.
69801         * include/setjmp.h: Likewise.
69802         * include/signal.h: Likewise.
69803         * include/stdio.h: Likewise.
69804         * include/stdlib.h: Likewise.
69805         * include/string.h: Likewise.
69806         * include/sys/cdefs.h: Likewise.
69807         * include/sys/mman.h: Likewise.
69808         * include/sys/msg.h: Likewise.
69809         * include/sys/resource.h: Likewise.
69810         * include/sys/select.h: Likewise.
69811         * include/sys/socket.h: Likewise.
69812         * include/sys/stat.h: Likewise.
69813         * include/sys/statvfs.h: Likewise.
69814         * include/sys/time.h: Likewise.
69815         * include/sys/times.h: Likewise.
69816         * include/sys/uio.h: Likewise.
69817         * include/sys/utsname.h: Likewise.
69818         * include/sys/wait.h: Likewise.
69819         * include/termios.h: Likewise.
69820         * include/time.h: Likewise.
69821         * include/ulimit.h: Likewise.
69822         * include/unistd.h: Likewise.
69823         * include/utime.h: Likewise.
69824         * include/wchar.h: Likewise.
69825         * include/wctype.h: Likewise.
69826         * include/wordexp.h: Likewise.
69828         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69830         * time/time.h: TIME_UTC must be a macro.
69831         Make timespec_get available for ISO C11 only as well.
69833 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69835         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69836         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69838 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69840         * configure.in: Use -o not -a in test for unsupported multi-arch.
69842 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69844         * manual/texinfo.tex: Update to version 2012-01-19.16.
69846 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69848         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69850 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69852         [BZ #13738]
69853         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69854         * manual/fdl-1.3.texi: New file.
69855         * manual/fdl-1.1.texi: File removed.
69857         [BZ #13738]
69858         * manual/libc.texinfo (FDL_VERSION): New @set.
69859         Use it for mention of FDL in cover text.
69860         (Documentation License): Use it in @include file name.
69862 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69863             Roland McGrath  <roland@hack.frob.com>
69865         [BZ #5461]
69866         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69867         (not LONG_LONG_MAX and LONG_LONG_MIN.
69868         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69869         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69870         name.
69871         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69873 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69875         [BZ #2547]
69876         [BZ #11365]
69877         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69878         manipulate bits before adding and subtracting TWO23[sx].
69879         * math/libm-test.inc (nearbyint_test): Add more tests.
69881 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69883         [BZ #2548]
69884         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69885         bits before adding and subtracting TWO23[sx].
69886         * math/libm-test.inc (rint_test): Add more tests.
69887         (rint_test_tonearest): Likewise.
69888         (rint_test_towardzero): Likewise.
69889         (rint_test_downward): Likewise.
69890         (rint_test_upward: Likewise.
69892 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69894         [BZ #10110]
69895         * include/stdc-predef.h: New file.  Extracted from features.h.
69896         * include/features.h: Include stdc-predef.h.
69897         * Makefile (headers): Add stdc-predef.h.
69898         * CONFORMANCE (Compiler limitations): Update.
69900 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69902         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69904 2012-02-21  David S. Miller  <davem@davemloft.net>
69906         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69907         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69909 2012-02-20  David S. Miller  <davem@davemloft.net>
69911         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69912         using a normal save/restore sequence, rather than allocating a
69913         dummy stack frame just to store a frame pointer and restore.
69914         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69916 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69918         * manual/install.texi: Fix stray word in line-wrapped comment.
69920 2012-02-20  David S. Miller  <davem@davemloft.net>
69922         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69923         both binutils and gcc support GOTDATA.
69925         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69926         "rd %pc" in the PIC register setup sequences.
69928         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69929         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69930         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69931         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69932         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69934         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69935         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69936         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69937         (SYSCALL_ERROR_HANDLER): Likewise.
69938         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69939         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69941         (SYSCALL_ERROR_HANDLER): Likewise.
69943         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69944         (HAVE_GCC_GOTDATA): New.
69945         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69946         relocation support in both binutils and gcc.
69947         * sysdeps/sparc/elf/configure: Regenerate.
69949         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69950         * sysdeps/sparc/sparc32/elf/configure: Delete.
69951         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69952         * sysdeps/sparc/sparc64/elf/configure: Delete.
69953         * sysdeps/sparc/elf/configure.in: New file.
69954         * sysdeps/sparc/elf/configure: Generate.
69956         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69957         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69958         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69959         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69960         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69962 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69964         * manual/install.texi: Do not mention specific glibc version
69965         numbers.
69966         * manual/libc.texinfo (VERSION, UPDATED): Update.
69967         (@copying): Use @copyright{} and range of years.
69969 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69971         [BZ #13695]
69972         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69973         [crti.S not in sysdirs] (generated): Do not append.
69974         [crti.S not in sysdirs] (omit-deps): Likewise.
69975         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69976         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69977         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69978         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69979         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69980         Likewise.
69981         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69982         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69983         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69984         * csu/defs.awk: Remove file.
69985         * sysdeps/generic/initfini.c: Likewise.
69986         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69987         variable.
69988         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69989         Likewise.
69991 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69993         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69994         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69995         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69996         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69997         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69998         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69999         <bits/epoll.h>.
70000         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70001         (__EPOLL_PACKED): Define to empty if not defined by
70002         <bits/epoll.h>.
70003         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70005         bits/epoll.h.
70007 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70009         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70010         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70011         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70012         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70013         <bits/timerfd.h>.
70014         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70016         bits/timerfd.h.
70018 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70020         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70021         in C locale.
70022         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70023         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70024         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70027 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70029         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70030         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70032 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70034         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70035         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70036         defined.
70037         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70038         Likewise.
70039         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70040         entry for 2.16.
70042 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70044         * math/w_acos.c: Use non-signaling floating-point comparisons.
70045         * math/w_acosf.c: Likewise.
70046         * math/w_acosh.c: Likewise.
70047         * math/w_acoshf.c: Likewise.
70048         * math/w_acoshl.c: Likewise.
70049         * math/w_acosl.c: Likewise.
70050         * math/w_asin.c: Likewise.
70051         * math/w_asinf.c: Likewise.
70052         * math/w_asinl.c: Likewise.
70053         * math/w_atanh.c: Likewise.
70054         * math/w_atanhf.c: Likewise.
70055         * math/w_atanhl.c: Likewise.
70056         * math/w_exp2.c: Likewise.
70057         * math/w_exp2f.c: Likewise.
70058         * math/w_exp2l.c: Likewise.
70059         * math/w_j0.c: Likewise.
70060         * math/w_j0f.c: Likewise.
70061         * math/w_j0l.c: Likewise.
70062         * math/w_j1.c: Likewise.
70063         * math/w_j1f.c: Likewise.
70064         * math/w_j1l.c: Likewise.
70065         * math/w_jn.c: Likewise.
70066         * math/w_jnf.c: Likewise.
70067         * math/w_log.c: Likewise.
70068         * math/w_log10.c: Likewise.
70069         * math/w_log10f.c: Likewise.
70070         * math/w_log10l.c: Likewise.
70071         * math/w_log2.c: Likewise.
70072         * math/w_log2f.c: Likewise.
70073         * math/w_log2l.c: Likewise.
70074         * math/w_logf.c: Likewise.
70075         * math/w_logl.c: Likewise.
70076         * math/w_sqrt.c: Likewise.
70077         * math/w_sqrtf.c: Likewise.
70078         * math/w_sqrtl.c: Likewise.
70079         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70080         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70081         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70082         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70083         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70085 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70087         [BZ #9739]
70088         * manual/string.texi (strnlen): Use correct parameter name in
70089         equivalent expression.
70091 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70093         [BZ #11174]
70094         * manual/users.texi (seteuid): Consistently use neweuid for
70095         argument name.
70097 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70099         [BZ #13704]
70100         * manual/nss.texi (Services in the NSS configuration): Correct
70101         list of services in example configuration file.
70103 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70105         [BZ #11322]
70106         * manual/arith.texi: Remove statements about negative zero
70107         behaving identically to zero.
70109 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70111         [BZ #5993]
70112         * manual/install.texi: Do not document upgrading from libc5.
70114 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70116         [BZ #4596]
70117         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70119 2012-02-18  David S. Miller  <davem@davemloft.net>
70121         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70122         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70123         %o7 across the call.
70124         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70125         instead.
70126         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70127         SETUP_PIC_REG_LEAF.
70128         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70129         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70130         * sysdeps/sparc/crtn.S: Likewise.
70132 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70134         * aout/Makefile: Remove.
70136 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70138         [BZ #13058]
70139         * manual/examples/argp-ex1.c (main): Format definition in GNU
70140         style.
70141         * manual/examples/argp-ex2.c (main): Likewise.
70142         * manual/examples/argp-ex3.c (main): Likewise.
70143         * manual/examples/argp-ex4.c (main): Likewise.
70144         * manual/examples/longopt.c (main): Use new-style prototype
70145         definition.
70146         * manual/examples/strncat.c (main): Specify return type and use
70147         (void) for arguments.
70148         * manual/examples/subopt.c (main): Use char **argv argument.
70150 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70152         [BZ #5077]
70153         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70154         rounding modes.
70156 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70158         [BZ #6907]
70159         * manual/string.texi (strchr): Change when strchrnul is
70160         recommended.
70162 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70164         [BZ #174]
70165         * manual/locale.texi (setlocale): Document LOCPATH.
70167 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70169         [BZ #10210]
70170         * manual/process.texi (execle): Move @dots{} before last argument.
70172 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70174         [BZ #12047]
70175         * manual/charset.texi (Generic Charset Conversion): Fix typo
70176         (LC_TYPE -> LC_CTYPE).
70178 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70180         [BZ #5805]
70181         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70182         (scalbnf): Likewise.
70183         (scalbnl): Likewise.
70184         (scalbln): Likewise.
70185         (scalblnf): Likewise.
70186         (scalblnl): Likewise.
70187         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70188         (vwarnx): Likewise.
70189         (verr): Likewise.
70190         (verrx): Likewise.
70191         * manual/filesys.texi (telldir): Use braces around return type.
70192         * manual/llio.texi (mmap): Add space after comma.
70193         (mmap64): Likewise.
70194         * manual/math.texi (jn): Use @var{} on parameter names.
70195         (jnf): Likewise.
70196         (jnl): Likewise.
70197         (yn): Likewise.
70198         (ynf): Likewise.
70199         (ynl): Likewise.
70200         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70201         line.
70202         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70203         "...".
70204         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70205         (sched_get_priority_max): Likewise.
70206         * manual/signal.texi (sigvec): Add space after comma.
70207         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70208         names.
70209         (if_indextoname): Likewise.
70210         (if_freenameindex): Likewise.
70211         (sendto): Use ',' instead of '.' in prototype.
70212         * manual/startup.texi (syscall): Use @dots{} instead of literal
70213         "...".
70214         * manual/stdio.texi (__fpending): Separate initial words of
70215         paragraph from @deftypefun line.
70216         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70217         "...".
70218         (vsyslog): Use @var{} on parameter names.
70219         * manual/terminal.texi (stty): Use @var{} on parameter names.
70220         * manual/users.texi (getutmp): Use @var{} on parameter names.
70221         (getutmpx): Likewise.
70223 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70225         [BZ #6884]
70226         * manual/stdio.texi (fopen): Fix typos in description of
70227         ",ccs=STRING".
70229 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70231         [BZ #4026]
70232         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70233         get clock_id definition.
70235 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70237         [BZ #4822]
70238         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70239         (madvise): Cast every argument to void on its own.
70241 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70243         [BZ #9902]
70244         * manual/startup.texi (Exit Status): Fix typo.
70246 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70248         [BZ #10140]
70249         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70250         * manual/examples/argp-ex2.c: Likewise.
70251         * manual/examples/argp-ex3.c: Likewise.
70253 2012-02-16  Richard Henderson  <rth@redhat.com>
70255         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70256         * sysdeps/s390/s390-32/initfini.c: Remove.
70257         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70258         * sysdeps/s390/s390-64/initfini.c: Remove.
70260 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70262         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70263         compiler output for sysdeps/generic/initfini.c.
70264         * sysdeps/sh/elf/initfini.c: Remove file.
70266 2012-02-16  David S. Miller  <davem@davemloft.net>
70268         [BZ #11494]
70269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70271         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70272         * sysdeps/sparc/crti.S: New file.
70273         * sysdeps/sparc/crtn.S: New file.
70274         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70275         * sysdeps/sparc/sparc64/Makefile: Likewise.
70277 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70279         [BZ #3335]
70280         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70282 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70284         [BZ #4822]
70285         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70287         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70288         (write, read, close): Likewise.
70289         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70291 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70293         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70294         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70295         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70296         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70297         <bits/signalfd.h>.
70298         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70300         bits/signalfd.h.
70302 2012-02-14  Marek Polacek  <polacek@redhat.com>
70304         * sysdeps/x86_64/crti.S: New file.
70305         * sysdeps/x86_64/crtn.S: New file.
70306         * sysdeps/x86_64/elf/initfini.c: Remove file.
70308 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70310         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70311         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70312         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70313         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70314         <bits/inotify.h>.
70315         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70317         bits/inotify.h.
70319 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70321         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70322         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70323         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70324         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70325         <bits/eventfd.h>.
70326         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70328         bits/eventfd.h.
70330 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70332         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70333         __feraiseexcept instead of feraiseexcept.
70335         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70336         nanosleep invocations.
70337         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70338         strings, and add error checking for a nanosleep invocations.
70340 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70342         Replace FSF snail mail address with URLs, as per GNU coding standards.
70343         Most of the snail mail addresses were wrong anyway, and omitting
70344         them makes the source code easier to maintain.  Almost all of the
70345         changes are to license notices and to locale LC_IDENTIFICATION
70346         addresses, except for this one:
70347         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70348         not its snail mail address.
70350 2012-02-09  Richard Henderson  <rth@twiddle.net>
70352         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70353         of kernel-features.h.
70355         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70357 2012-02-08  Marek Polacek  <polacek@redhat.com>
70359         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70360         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70361         * sysdeps/gnu/_G_config.h: Likewise.
70362         * sysdeps/generic/_G_config.h: Likewise.
70364 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70366         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70367         tests.
70368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70370         * sysdeps/powerpc/powerpc32/crti.S: New file.
70371         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70372         * sysdeps/powerpc/powerpc64/crti.S: New file.
70373         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70375         * Makeconfig (have-initfini): Don't set.
70376         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70377         * configure.in (nopic_initfini): Don't substitute.
70378         * config.h.in (HAVE_INITFINI): Don't #undef.
70379         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70380         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70382 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70384         Support crti.S and crtn.S provided directly by architectures.
70385         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70386         [crti.S in sysdirs] (omit-deps): Likewise.
70387         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70388         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70389         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70390         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70391         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70392         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70393         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70394         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70395         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70396         compiler output for sysdeps/generic/initfini.c.
70397         * sysdeps/i386/elf/Makefile: Remove file.
70398         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70400 2012-02-07  Marek Polacek  <polacek@redhat.com>
70402         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70403         * sysdeps/gnu/_G_config.h: Likewise.
70404         * sysdeps/mach/hurd/_G_config.h: Likewise.
70406 2012-02-07  Marek Polacek  <polacek@redhat.com>
70408         * math/Makefile (tests): Add tst-CMPLX2.
70409         * math/tst-CMPLX2.c: New file.
70411 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70413         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70415         * math/libm-test.inc (jn_test): Add missing L suffix.
70417 2012-02-06  Marek Polacek  <polacek@redhat.com>
70419         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70420         * sysdeps/i386/fpu/e_powf.S: Likewise.
70421         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70422         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70423         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70424         * sysdeps/i386/fpu/e_pow.S: Likewise.
70425         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70426         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70427         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70428         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70429         * sysdeps/i386/fpu/e_log2.S: Likewise.
70430         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70431         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70432         * sysdeps/i386/fpu/e_powl.S: Likewise.
70433         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70434         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70435         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70436         * sysdeps/i386/fpu/e_logl.S: Likewise.
70437         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70438         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70439         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70440         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70441         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70442         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70443         * sysdeps/i386/fpu/e_log.S: Likewise.
70444         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70445         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70446         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70447         * sysdeps/i386/fpu/e_logf.S: Likewise.
70448         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70449         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70450         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70451         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70452         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70453         * sysdeps/i386/fpu/e_log10.S: Likewise.
70454         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70455         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70456         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70457         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70458         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70459         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70460         * sysdeps/i386/asm-syntax.h: Likewise.
70461         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70462         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70463         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70464         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70465         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70466         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70467         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70468         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70469         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70470         * sysdeps/powerpc/sysdep.h: Likewise.
70471         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70472         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70474 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70476         [BZ #411]
70477         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70479 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70481         * sysdeps/i386/sysdep.h: Include <features.h>.
70482         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70483         version.
70485 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70487         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70488         Define.
70489         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70490         LOAD_PIC_REG_STR.
70492 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70494         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70495         (SETUP_PIC_REG): Use GET_PC_THUNK.
70496         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70497         macro.
70499 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70501         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70502         for non-PIC compilation.
70503         (SETUP_PIC_REG): Add .p2align directive.
70504         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70505         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70506         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70507         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70508         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70509         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70510         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70511         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70512         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70513         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70514         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70515         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70516         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70517         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70518         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70519         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70520         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70521         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70522         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70523         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70524         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70525         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70526         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70527         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70528         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70530         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70531         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70532         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70533         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70534         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70535         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70536         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70537         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70538         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70539         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70540         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70541         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70542         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70543         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70544         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70546 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70548         * math/tst-CMPLX.c: Include <stdio.h>.
70550 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70552         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70553         float.
70554         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70555         * sysdeps/sparc/bits/mathdef.h: Likewise.
70557 2012-01-31  Marek Polacek  <polacek@redhat.com>
70559         * libio/libio.h: Don't define _PARAMS.
70560         * locale/programs/config.h: Don't define PARAMS.
70561         * stdlib/strtol_l.c: Likewise.
70562         (__strtol_l): Remove PARAMS from the prototype.
70564 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70566         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70567         names.  Just use the correct names.  Remove unnecessary wrapper
70568         functions.
70569         * malloc/arena.c: Likewise.
70570         * malloc/hooks.c: Likewise.
70572         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70573         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70574         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70576 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70578         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70579         into tail calls.
70580         (update_get_addr): New function.
70581         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70582         GET_ADDR_MODULE parameter.
70584 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70586         * crypt/cert.c: Remove __STDC__ conditionals.
70587         * crypt/crypt-entry.c: Likewise.
70588         * crypt/crypt_util.c: Likewise.
70589         * libio/filedoalloc.c: Likewise.
70590         * libio/fileops.c: Likewise.
70591         * libio/genops.c: Likewise.
70592         * libio/iofclose.c: Likewise.
70593         * libio/iofdopen.c: Likewise.
70594         * libio/iofopen.c: Likewise.
70595         * libio/iofopen64.c: Likewise.
70596         * libio/iogetdelim.c: Likewise.
70597         * libio/iopopen.c: Likewise.
70598         * libio/obprintf.c: Likewise.
70599         * libio/oldfileops.c: Likewise.
70600         * libio/oldiofclose.c: Likewise.
70601         * libio/oldiofdopen.c: Likewise.
70602         * libio/oldiofopen.c: Likewise.
70603         * libio/oldiopopen.c: Likewise.
70604         * libio/wfiledoalloc.c: Likewise.
70605         * libio/wgenops.c: Likewise.
70606         * locale/programs/xmalloc.c: Likewise.
70607         * misc/syslog.c: Likewise.
70608         * stdio-common/xbug.c: Likewise.
70609         * string/memchr.c: Likewise.
70610         * string/memcmp.c: Likewise.
70611         * string/memrchr.c: Likewise.
70612         * string/rawmemchr.c: Likewise.
70613         * sysdeps/posix/getcwd.c: Likewise.
70614         * time/strftime_l.c: Likewise.
70616 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70618         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70619         * config.make.in (config-cflags-sse2avx): Define.
70620         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70621         Fix typo.
70623 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70625         * scripts/config.guess: Update from upstream config git repository.
70626         * scripts/config.sub: Likewise.
70628 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70630         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70631         (EM_NUM): Update.
70632         (R_TILEPRO_*, R_TILEGX_*): New macros.
70634         * scripts/firstversions.awk: Fix bug in version range handling.
70636         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70638         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70640         * include/sys/epoll.h: New file.
70641         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70642         libc_hidden_def.
70644 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70646         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70647         Avoid unnecessary __WORDSIZE == 64 test.
70648         (fmaxf): Use VEX format if possible.
70649         (fmax): Likewise.
70650         (fminf): Likewise.
70651         (fmin): Likewise.
70653         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70654         * math/math_private.h: Remove libc_fegetround* and
70655         libc_fesetround*.
70656         * sysdeps/i386/configure.in: Check for -msse2avx.
70657         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70658         also if SSE2AVX is defined.
70659         Remove libc_fegetround* and libc_fesetround*.
70660         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70661         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70662         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70663         of HAS_YMM_USABLE.
70664         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70665         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70666         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70667         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70668         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70670         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70672 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70674         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70675         size is not set.
70676         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70678 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70680         [BZ #13618]
70681         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70682         relocation.
70683         * Makeconfig (libm): Define.
70684         * elf/Makefile: Add rules to build and run tst-relsort1.
70685         * elf/tst-relsort1.c: New file.
70686         * elf/tst-relsort1mod1.c: New file.
70687         * elf/tst-relsort1mod2.c: New file.
70689 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70691         * math/s_ldexp.c: Remove __STDC__ conditionals.
70692         * math/s_ldexpf.c: Likewise.
70693         * math/s_ldexpl.c: Likewise.
70694         * math/s_nextafter.c: Likewise.
70695         * math/s_nexttowardf.c: Likewise.
70696         * math/s_significand.c: Likewise.
70697         * math/s_significandf.c: Likewise.
70698         * math/s_significandl.c: Likewise.
70699         * math/w_jnl.c: Likewise.
70700         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70701         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70702         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70703         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70704         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70705         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70706         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70707         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70708         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70709         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70710         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70711         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70712         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70713         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70714         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70715         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70716         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70717         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70718         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70719         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70720         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70721         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70722         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70723         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70724         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70725         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70726         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70727         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70728         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70729         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70730         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70731         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70732         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70733         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70734         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70735         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70736         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70737         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70738         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70739         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70740         * sysdeps/ieee754/k_standard.c: Likewise.
70741         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70743         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70745         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70747         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70748         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70749         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70750         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70751         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70752         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70753         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70755         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70757         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70758         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70759         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70760         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70761         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70762         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70766         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70767         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70769         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70771         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70772         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70773         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70774         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70776         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70777         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70778         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70781         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70783         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70785         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70786         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70787         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70789         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70790         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70791         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70792         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70794         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70795         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70796         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70797         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70798         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70800         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70801         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70802         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70803         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70804         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70805         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70807         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70808         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70809         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70810         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70811         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70812         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70813         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70814         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70815         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70816         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70818         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70819         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70820         * sysdeps/ieee754/s_matherr.c: Likewise.
70821         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70822         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70826 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70828         * crypt/md5.h: Remove __STDC__ conditionals.
70829         * libio/libioP.h: Likewise.
70830         * locale/programs/config.h: Likewise.
70831         * sysdeps/generic/sysdep.h: Likewise.
70832         * sysdeps/i386/asm-syntax.h: Likewise.
70833         * sysdeps/s390/asm-syntax.h: Likewise.
70834         * sysdeps/unix/sysdep.h: Likewise.
70835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70838 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70840         * libio/libio.h: Remove __STDC__ conditionals.
70841         * malloc/obstack.h: Likewise.
70842         * math/complex.h: Likewise.
70843         * math/math.h: Likewise.
70844         * sysdeps/generic/_G_config.h: Likewise.
70845         * sysdeps/gnu/_G_config.h: Likewise.
70846         * sysdeps/mach/hurd/_G_config.h: Likewise.
70847         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70848         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70849         * sysdeps/sparc/bits/mathdef.h: Likewise.
70851 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70853         [BZ #13583]
70854         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70855         Clean up HAS_* macros.
70856         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70857         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70858         possible.
70859         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70860         HAS_AVX.
70861         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70862         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70864         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70865         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70867 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70869         * elf/tst-unique3.cc (gets): Remove declaration.
70870         * elf/tst-unique3lib.cc (gets): Likewise.
70871         * elf/tst-unique3lib2.cc (gets): Likewise.
70872         * elf/tst-unique4.cc (gets): Likewise.
70874 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70876         * include/stdio.h: Add C++ protection.  Add gets declarations and
70877         definitions.
70878         * debug/tst-chk1.c: Don't declare gets here.
70879         * stdio-common/tst-gets.c: Likewise.
70881 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70883         * posix/glob: Remove directory.
70885 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70887         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70889 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70891         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70892         of the non-standard EPFNOSUPPORT.
70894 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70896         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70897         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70898         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70900 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70902         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70904 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70906         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70907         transient errors.
70908         * nscd/grpcache.c (cache_addgr): Likewise.
70909         * nscd/hstcache.c (cache_addhst): Likewise.
70910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70911         * nscd/pwdcache.c (cache_addpw): Likewise.
70912         * nscd/servicescache.c (cache_addserv): Likewise.
70914 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70916         * malloc/malloc.c: Various cleanups.
70917         * malloc/hooks.c: Likewise.
70919         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70920         * stdlib/bug-fmtmsg1.c: New file.
70922         * stdlib/fmtmsg.c (init): Add missing unlock.
70923         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70925 2012-01-12  Marek Polacek  <polacek@redhat.com>
70927         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70928         and _GNU_SOURCE.
70930 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70932         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70933         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70934         macro to ensure uniqueness of label name.
70935         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70936         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70938 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70940         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70942         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70943         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70944         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70945         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70947 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70949         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70951         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70952         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70953         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70955         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70957         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70958         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70959         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70960         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70962         * math/bits/math-finite.h: Add ldexp support.
70964 2012-01-10  Marek Polacek  <polacek@redhat.com>
70966         * locale/programs/localedef.h (show_archive_content): Add noreturn
70967         attribute.
70969 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70971         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70973 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70975         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70977         * io/Makefile (headers): Add bits/poll2.h.
70979 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70982         typo #include statement.
70984 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70986         * include/sys/cdefs.h: Define __attribute_alloc_size.
70987         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70988         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70989         * elf/pldd.c: Likewise.
70990         * iconv/iconv_charmap.c: Likewise.
70991         * iconv/iconvconfig.c: Likewise.
70992         * iconv/strtab.c: Likewise.
70993         * locale/programs/locale.c: Likewise.
70994         * locale/programs/localedef.h: Likewise.
70995         * locale/programs/simple-hash.c: Likewise.
70996         * nscd/nscd.h: Likewise.
70997         * nss/makedb.c: Likewise.
70998         * sysdeps/generic/ldconfig.h: Likewise.
70999         * locale/programs/localedef.c: Remove xmalloc prototype.
71000         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71002 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71004         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71005         appropriate.
71007 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71009         * math/Makefile (tests): Add tst-CMPLX.
71010         * math/tst-CMPLX.c: New file.
71012         * math/complex.h (CMPLXL): Fix typo.
71014         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71015         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71016         GLIBC_2.16.
71017         * debug/tst-chk1.c: Add poll and ppoll tests.
71018         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71019         * include/sys/poll.h: Add hidden proto for ppoll.
71020         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71021         * sysdeps/mach/hurd/ppoll.c: Likewise.
71022         * io/ppoll.c: Likewise.
71023         * debug/poll_chk.c: New file.
71024         * debug/ppoll_chk.c: New file.
71025         * include/bits/poll2.h: New file.
71026         * io/bits/poll2.h: New file.
71028         [BZ #1350]
71029         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71031         * configure.in: static is always set to yes.  Remove.
71032         * config.make.in: Don't set build-static.
71033         * Makeconfig: Remove use of build-static.
71034         * dlfcn/Makefile: Likewise.
71035         * elf/Makefile: Likewise.
71036         * math/Makefile: Likewise.
71037         * misc/Makefile: Likewise.
71038         * nptl/Makefile: Likewise.
71039         * sysdeps/mach/hurd/Makefile: Likewise.
71041         * configure.in: PWD_P is not used anymore.
71042         * config.make.in: Remove PWD_P entry.
71044         * configure.in: Remove last remnants of RANLIB.
71045         No need to check for signed size_t anymore.
71046         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71047         and IA-64.
71048         Remove __builtin_expect test because we require at least gcc 3.4.
71049         * aclocal.m4: Likewise.
71051         * wcsmbs/mbrtoc16.c: Implement using towc function.
71052         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71053         * wcsmbs/wcsmbsload.c: Likewise.
71054         * iconv/gconv_simple.c: Likewise.
71055         * iconv/gconv_int.h: Likewise.
71056         * iconv/gconv_builtin.h: Likewise.
71057         * iconv/iconv_prog.c: Remove CHAR16 handling.
71059         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71061         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71063         * configure.in: Remove --with-elf and --enable-bounded options.
71064         Dont set base_machine for ia64.  More non-ELF conditions removed.
71065         Remove testing and setting of leading underscore information.
71066         * config.make.in (build-bounded): Set to no.
71067         * config.h.in: Remove NO_UNDERSCORES entry.
71068         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71069         them.
71070         * csu/start.c: Remove !NO_UNDERSCORE code.
71071         * locale/localeinfo.h: Likewise.
71072         * sysdeps/generic/machine-gmon.h: Likewise.
71073         * sysdeps/generic/sysdep.h: Likewise.
71074         * sysdeps/i386/sysdep.h: Likewise.
71075         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71076         * sysdeps/mach/sysdep.h: Likewise.
71077         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71078         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71079         * sysdeps/sh/sysdep.h: Likewise.
71080         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71081         * sysdeps/unix/i386/sysdep.S: Likewise.
71082         * sysdeps/unix/sparc/start.c: Likewise.
71083         * sysdeps/unix/sparc/sysdep.S: Likewise.
71084         * sysdeps/unix/sparc/sysdep.h: Likewise.
71085         * sysdeps/unix/start.c: Likewise.
71086         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71087         * sysdeps/x86_64/sysdep.h: Likewise.
71089 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71091         [BZ #13553]
71092         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71093         for non-gcc.
71094         * argp/argp-fmtstream.h: Use const instead __const.
71095         * argp/argp.h: Likewise.
71096         * assert/assert.h: Likewise.
71097         * bits/fenv.h: Likewise.
71098         * bits/sched.h: Likewise.
71099         * bits/sigset.h: Likewise.
71100         * bits/sigthread.h: Likewise.
71101         * catgets/nl_types.h: Likewise.
71102         * conform/data/pthread.h-data: Likewise.
71103         * crypt/crypt-private.h: Likewise.
71104         * crypt/crypt.h: Likewise.
71105         * crypt/crypt_util.c: Likewise.
71106         * ctype/ctype.h: Likewise.
71107         * debug/execinfo.h: Likewise.
71108         * debug/mbsnrtowcs_chk.c: Likewise.
71109         * debug/mbsrtowcs_chk.c: Likewise.
71110         * debug/wcsnrtombs_chk.c: Likewise.
71111         * debug/wcsrtombs_chk.c: Likewise.
71112         * debug/wcstombs_chk.c: Likewise.
71113         * dirent/dirent.h: Likewise.
71114         * dlfcn/dlfcn.h: Likewise.
71115         * elf/neededtest4.c: Likewise.
71116         * grp/grp.h: Likewise.
71117         * gshadow/gshadow.h: Likewise.
71118         * iconv/gconv.h: Likewise.
71119         * iconv/gconv_int.h: Likewise.
71120         * iconv/gconv_simple.c: Likewise.
71121         * iconv/iconv.h: Likewise.
71122         * iconv/loop.c: Likewise.
71123         * iconv/skeleton.c: Likewise.
71124         * include/aio.h: Likewise.
71125         * include/aliases.h: Likewise.
71126         * include/argz.h: Likewise.
71127         * include/arpa/inet.h: Likewise.
71128         * include/assert.h: Likewise.
71129         * include/dirent.h: Likewise.
71130         * include/dlfcn.h: Likewise.
71131         * include/execinfo.h: Likewise.
71132         * include/fcntl.h: Likewise.
71133         * include/fenv.h: Likewise.
71134         * include/glob.h: Likewise.
71135         * include/grp.h: Likewise.
71136         * include/libintl.h: Likewise.
71137         * include/mntent.h: Likewise.
71138         * include/netdb.h: Likewise.
71139         * include/pwd.h: Likewise.
71140         * include/rpc/netdb.h: Likewise.
71141         * include/sched.h: Likewise.
71142         * include/search.h: Likewise.
71143         * include/shadow.h: Likewise.
71144         * include/signal.h: Likewise.
71145         * include/stdio.h: Likewise.
71146         * include/stdlib.h: Likewise.
71147         * include/string.h: Likewise.
71148         * include/sys/socket.h: Likewise.
71149         * include/sys/stat.h: Likewise.
71150         * include/sys/statfs.h: Likewise.
71151         * include/sys/statvfs.h: Likewise.
71152         * include/sys/syslog.h: Likewise.
71153         * include/sys/time.h: Likewise.
71154         * include/sys/uio.h: Likewise.
71155         * include/time.h: Likewise.
71156         * include/unistd.h: Likewise.
71157         * include/utmp.h: Likewise.
71158         * include/wchar.h: Likewise.
71159         * include/wctype.h: Likewise.
71160         * inet/aliases.h: Likewise.
71161         * inet/arpa/inet.h: Likewise.
71162         * inet/netinet/ether.h: Likewise.
71163         * inet/netinet/in.h: Likewise.
71164         * intl/libintl.h: Likewise.
71165         * io/bits/fcntl2.h: Likewise.
71166         * io/fcntl.h: Likewise.
71167         * io/ftw.h: Likewise.
71168         * io/sys/poll.h: Likewise.
71169         * io/sys/stat.h: Likewise.
71170         * io/sys/statfs.h: Likewise.
71171         * io/sys/statvfs.h: Likewise.
71172         * io/utime.h: Likewise.
71173         * libio/bits/stdio.h: Likewise.
71174         * libio/bits/stdio2.h: Likewise.
71175         * libio/libio.h: Likewise.
71176         * libio/libioP.h: Likewise.
71177         * libio/stdio.h: Likewise.
71178         * locale/lc-ctype.c: Likewise.
71179         * locale/locale.h: Likewise.
71180         * login/utmp.h: Likewise.
71181         * malloc/arena.c: Likewise.
71182         * malloc/malloc.c: Likewise.
71183         * malloc/malloc.h: Likewise.
71184         * malloc/mcheck.c: Likewise.
71185         * malloc/mtrace.c: Likewise.
71186         * math/bits/mathcalls.h: Likewise.
71187         * math/fenv.h: Likewise.
71188         * math/math_private.h: Likewise.
71189         * misc/bits/error.h: Likewise.
71190         * misc/bits/syslog.h: Likewise.
71191         * misc/err.h: Likewise.
71192         * misc/error.h: Likewise.
71193         * misc/fstab.h: Likewise.
71194         * misc/mntent.h: Likewise.
71195         * misc/regexp.h: Likewise.
71196         * misc/search.h: Likewise.
71197         * misc/sgtty.h: Likewise.
71198         * misc/sys/mman.h: Likewise.
71199         * misc/sys/syslog.h: Likewise.
71200         * misc/sys/uio.h: Likewise.
71201         * misc/sys/xattr.h: Likewise.
71202         * misc/ttyent.h: Likewise.
71203         * nis/rpcsvc/ypclnt.h: Likewise.
71204         * nss/nss.h: Likewise.
71205         * posix/bits/unistd.h: Likewise.
71206         * posix/fnmatch.h: Likewise.
71207         * posix/glob.h: Likewise.
71208         * posix/sched.h: Likewise.
71209         * posix/spawn.h: Likewise.
71210         * posix/sys/wait.h: Likewise.
71211         * posix/unistd.h: Likewise.
71212         * posix/wordexp.h: Likewise.
71213         * pwd/pwd.h: Likewise.
71214         * resolv/netdb.h: Likewise.
71215         * resource/sys/resource.h: Likewise.
71216         * rt/aio.h: Likewise.
71217         * rt/bits/mqueue2.h: Likewise.
71218         * rt/mqueue.h: Likewise.
71219         * shadow/shadow.h: Likewise.
71220         * signal/signal.h: Likewise.
71221         * socket/send.c: Likewise.
71222         * socket/sendto.c: Likewise.
71223         * socket/sys/socket.h: Likewise.
71224         * stdio-common/printf.h: Likewise.
71225         * stdlib/bits/stdlib.h: Likewise.
71226         * stdlib/fmtmsg.h: Likewise.
71227         * stdlib/monetary.h: Likewise.
71228         * stdlib/stdlib.h: Likewise.
71229         * stdlib/ucontext.h: Likewise.
71230         * streams/stropts.h: Likewise.
71231         * string/argz.h: Likewise.
71232         * string/bits/string2.h: Likewise.
71233         * string/string.h: Likewise.
71234         * string/strings.h: Likewise.
71235         * sunrpc/rpc/auth.h: Likewise.
71236         * sunrpc/rpc/auth_des.h: Likewise.
71237         * sunrpc/rpc/clnt.h: Likewise.
71238         * sunrpc/rpc/netdb.h: Likewise.
71239         * sunrpc/rpc/pmap_clnt.h: Likewise.
71240         * sunrpc/rpc/xdr.h: Likewise.
71241         * sysdeps/generic/inttypes.h: Likewise.
71242         * sysdeps/generic/net/if.h: Likewise.
71243         * sysdeps/generic/sys/swap.h: Likewise.
71244         * sysdeps/gnu/net/if.h: Likewise.
71245         * sysdeps/gnu/utmpx.h: Likewise.
71246         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71247         * sysdeps/i386/i486/bits/string.h: Likewise.
71248         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71249         * sysdeps/s390/bits/string.h: Likewise.
71250         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71251         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71252         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71253         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71254         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71255         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71256         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71257         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71258         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71259         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71260         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71261         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71262         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71263         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71264         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71265         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71266         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71267         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71268         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71269         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71270         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71271         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71272         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71273         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71274         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71275         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71276         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71277         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71278         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71279         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71280         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71281         * sysvipc/sys/ipc.h: Likewise.
71282         * sysvipc/sys/msg.h: Likewise.
71283         * sysvipc/sys/sem.h: Likewise.
71284         * sysvipc/sys/shm.h: Likewise.
71285         * termios/termios.h: Likewise.
71286         * time/sys/time.h: Likewise.
71287         * time/time.h: Likewise.
71288         * wcsmbs/bits/wchar2.h: Likewise.
71289         * wcsmbs/uchar.h: Likewise.
71290         * wcsmbs/wchar.h: Likewise.
71291         * wctype/wctype.h: Likewise.
71293         [BZ #13551]
71294         * Makeconfig: Remove all but ELF support including AIX support.
71295         * Makerules: Likewise.
71296         * config.h.in: Likewise.
71297         * config.make.in: Likewise.
71298         * configure: Likewise.
71299         * configure.in: Likewise.
71300         * csu/Makefile: Likewise.
71301         * csu/version.c: Likewise.
71302         * debug/Makefile: Likewise.
71303         * dlfcn/Makefile: Likewise.
71304         * elf/Makefile: Likewise.
71305         * extra-lib.mk: Likewise.
71306         * iconv/Makefile: Likewise.
71307         * include/libc-symbols.h: Likewise.
71308         * include/shlib-compat.h: Likewise.
71309         * resolv/Makefile: Likewise.
71310         * resolv/res_libc.c: Likewise.
71311         * rt/Makefile: Likewise.
71312         * sysdeps/i386/asm-syntax.h: Likewise.
71313         * sysdeps/i386/sysdep.h: Likewise.
71314         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71315         * sysdeps/mach/sysdep.h: Likewise.
71316         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71317         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71318         * sysdeps/s390/asm-syntax.h: Likewise.
71319         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71320         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71321         * sysdeps/sh/sysdep.h: Likewise.
71322         * sysdeps/unix/sparc/sysdep.h: Likewise.
71323         * sysdeps/wordsize-32/divdi3.c: Likewise.
71324         * sysdeps/x86_64/sysdep.h: Likewise.
71326         * argp/Versions: Remove _argp_unlock_xxx.
71328         [BZ #13559]
71329         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71330         * abilist/libBrokenLocale.abilist: Likewise.
71331         * abilist/libanl.abilist: Likewise.
71332         * abilist/libc.abilist: Likewise.
71333         * abilist/libcrypt.abilist: Likewise.
71334         * abilist/libdl.abilist: Likewise.
71335         * abilist/libm.abilist: Likewise.
71336         * abilist/libnsl.abilist: Likewise.
71337         * abilist/libpthread.abilist: Likewise.
71338         * abilist/libresolv.abilist: Likewise.
71339         * abilist/librt.abilist: Likewise.
71340         * abilist/libthread_db.abilist: Likewise.
71341         * abilist/libutil.abilist: Likewise.
71342         * abilist/libnss_db.abilist: New file.
71344         * scripts/abilist.awk: Add support for indirect functions.
71346         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71348         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71350         * shlib-versions: Remove entries for ports architectures.
71352         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71353         files in ports.
71354         * elf/stackguard-macros.h: Remove support for IA-64.
71355         * elf/tst-auditmod1.c: Likewise.
71356         * sysdeps/generic/ldsodefs.h: Likewise.
71358         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71359         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71360         configure files.
71362         [BZ #13552]
71363         * configure.in: Remove --enable-omitfp support.
71364         * FAQ.in: Adjust.
71365         * config.make.in: Likewise.
71366         * Makeconfig: Likewise.
71367         * manual/install.texi: Likewise.
71369         In case anyone cares, the IA-64 architecture could move to ports.
71370         * sysdeps/ia64/*: Removed.
71371         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71372         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71374         [BZ #13555]
71375         * configure.in: Remove entries for unsupported architectures.
71377         [BZ #13533]
71378         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71379         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71380         routines.
71381         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71382         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71383         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71384         fall back to using wcrtomb.
71385         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71386         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71387         renaming.
71388         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71389         * wcsmbs/tst-c16c32-1.c: New file.
71391         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71392         local variable.
71394         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71396         * elf/tst-unique3.cc: Add explicit declaration of gets.
71397         * elf/tst-unique3lib.cc: Likewise.
71398         * elf/tst-unique3lib2.cc: Likewise.
71399         * elf/tst-unique4.cc: Likewise.
71401         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71403 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71405         [BZ #13566]
71406         * assert/assert.h (static_assert): Don't define for C++.
71407         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71408         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71410 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71412         * iconv/loop.c (single loop): Fix assertion in storing of
71413         remaining bytes.
71415         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71417 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71419         * posix/getconf.c: Update copyright year.
71420         * nss/getent.c: Likewise.
71421         * nss/makedb.c: Likewise.
71422         * iconv/iconvconfig.c: Likewise.
71423         * iconv/iconv_prog.c: Likewise.
71424         * elf/ldconfig.c: Likewise.
71425         * elf/pldd.c: Likewise.
71426         * elf/sotruss.ksh: Likewise.
71427         * catgets/gencat.c: Likewise.
71428         * csu/version.c: Likewise.
71429         * elf/ldd.bash.in: Likewise.
71430         * elf/sprof.c (print_version): Likewise.
71431         * locale/programs/locale.c: Likewise.
71432         * locale/programs/localedef.c: Likewise.
71433         * login/programs/pt_chown.c: Likewise.
71434         * nscd/nscd.c (print_version): Likewise.
71435         * debug/xtrace.sh: Likewise.
71436         * malloc/memusage.sh: Likewise.
71437         * malloc/mtrace.pl: Likewise.
71438         * debug/catchsegv.sh: Likewise.
71440 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71442         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71443         pure attribute.
71445 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71447         [BZ #13533]
71448         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71449         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71450         transformations.
71451         * iconv/gconv_int.h: Likewise.
71452         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71453         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71454         from libc for GLIBC_2.16.
71455         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71456         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71457         * wcsmbs/uchar.h: Really define mbstate_t.
71458         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71459         * wcsmbs/c16rtomb.c: New file.
71460         * wcsmbs/mbrtoc16.c: New file.
71461         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71462         for C/POSIX locale.
71463         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71464         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71466         * wcsmbs/wchar.h: Add missing __restrict.
71468 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71470         [BZ #13532]
71471         * time/Makefile (routines): Add timespec_get.
71472         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71473         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71474         timespec for ISO C11.
71475         * time/timespec_get.c: New file.
71476         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71477         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71479         [BZ #13531]
71480         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71481         * stdlib/stdlib.h: Declare aligned_alloc.
71482         * Versions.def: Add GLIBC_2.16 for libc.
71483         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71485         [BZ 13527]
71486         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71487         ISO C11.
71489         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71490         code.
71492         [BZ #13528]
71493         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71495         [BZ #13529]
71496         * assert/assert.h (static_assert): Define.
71498         * version.h: Update for 2.16 development version.
71500         [BZ #13526]
71501         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71502         _ISOC11_SOURCE.
71504         * version.h (RELEASE): Bump for 2.15 release.
71505         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71507         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71508         Patch by Marek Polacek <mpolacek@redhat.com>.
71510         * bits/byteswap.h: Protect long long constants with __extension__.
71511         * sysdeps/i386/bits/byteswap.h: Likewise.
71512         * sysdeps/ia64/bits/byteswap.h: Likewise.
71513         * sysdeps/s390/bits/byteswap.h: Likewise.
71514         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71516 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71518         [BZ #13540]
71519         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71520         destination buffer.
71521         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71523 2011-12-23  Marek Polacek  <polacek@redhat.com>
71525         * elf/dl-addr.c (determine_info): Add inline keyword.
71526         * elf/tst-auditmod4b.c (check_avx): Likewise.
71527         * elf/tst-auditmod6b.c (check_avx): Likewise.
71528         * elf/tst-auditmod6c.c (check_avx): Likewise.
71529         * elf/tst-auditmod7b.c (check_avx): Likewise.
71531 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71533         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71534         !__SSE_MATH__.
71536 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71538         [BZ #13540]
71539         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71540         processing for last bytes.
71542 2011-08-06  Bruno Haible  <bruno@clisp.org>
71544         [BZ #13061]
71545         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71546         U+0385, not to U+1FEE.
71548         [BZ #13062]
71549         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71550         entry for U+00A5 U+0301.
71552 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71554         [BZ #13166]
71555         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71556         buffer for the output is too small.
71558         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71559         optimization.
71561         [BZ #13185]
71562         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71563         SSE flags if possible.
71565 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71567         [BZ #13540]
71568         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71569         processing for last bytes.
71571 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71573         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71574         (syscall-list-default-options, syscall-list-default-condition)
71575         (syscall-list-includes): Define.
71576         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71577         list of ABIs and options and #if conditions for each ABI.  Do not
71578         handle common syscalls between ABIs specially.
71579         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71580         Remove.
71581         (syscall-list-variants, syscall-list-32bit-options)
71582         (syscall-list-32bit-condition, syscall-list-64bit-options)
71583         (syscall-list-64bit-condition): Define.
71584         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71585         (syscall-list-variants, syscall-list-32bit-options)
71586         (syscall-list-32bit-condition, syscall-list-64bit-options)
71587         (syscall-list-64bit-condition): Define.
71588         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71589         Remove.
71590         (syscall-list-variants, syscall-list-32bit-options)
71591         (syscall-list-32bit-condition, syscall-list-64bit-options)
71592         (syscall-list-64bit-condition): Define.
71593         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71594         Remove.
71595         (syscall-list-variants, syscall-list-32bit-options)
71596         (syscall-list-32bit-condition, syscall-list-64bit-options)
71597         (syscall-list-64bit-condition): Define.
71599 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71601         * locale/iso-639.def: Add brx entry.
71603         [BZ #13328]
71604         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71605         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71607         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71608         __feraiseexcept_renamed.
71610 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71612         [BZ #13538]
71613         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71614         EPOLLET with unsigned values.
71615         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71616         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71618         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71619         to large cancellation.
71620         * math/s_cacoshf.c: Likewise.
71621         * math/s_cacoshl.c: Likewise.
71623 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71625         [BZ #13305]
71626         [BZ #12786]
71627         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71628         * math/s_cacoshf.c: Likewise.
71629         * math/s_cacoshl.c: Likewise.
71631 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71633         [BZ #13439]
71634         * iconv/gconv.h: Define __GCONV_SWAP.
71635         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71636         * iconvdata/utf-16.c: Likewise.
71637         * iconvdata/utf-32.c: Likewise.
71639 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71641         [BZ #13524]
71642         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71643         numerator after shifting it by one limb.
71645 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71647         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71648         under [__USE_EXTERN_INLINES].
71650 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71652         [BZ #13446]
71653         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71655 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71657         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71658         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71659         optimized code.
71660         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71661         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71662         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71663         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71664         for strncasecmp/strncasecmp_l compilation.
71665         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71666         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71668 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71670         [BZ #13484]
71671         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71672         of __asm__.
71674 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71676         [BZ #13506]
71677         * time/tzfile.c (__tzfile_read): Check values from file header.
71679 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71681         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71682         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71683         * powerpc/powerpc32/dl-start.S: Likewise.
71684         * powerpc/powerpc32/elf/start.S: Likewise.
71685         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71686         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71687         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71688         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71689         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71690         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71691         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71692         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71693         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71694         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71695         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71696         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71697         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71698         * powerpc/powerpc32/memset.S: Likewise.
71699         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71700         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71701         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71702         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71703         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71704         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71705         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71706         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71707         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71708         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71709         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71710         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71711         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71713 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71715         * math/libm-test.inc: Added more nearbyint tests.
71716         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71717         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71718         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71721 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71723         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71724         FD_CLOEXEC.
71726 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71728         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71729         Add wcscpy-ssse3 wcscpy-c.
71730         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71731         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71732         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71733         * sysdeps/x86_64/wcschr.S: New file.
71734         * sysdeps/x86_64/wcsrchr.S: New file.
71735         * string/test-strcmp.c: Remove checking of wcscmp function for
71736         wrong alignments.
71737         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71738         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71739         wcsrchr-sse2 wcsrchr-c.
71740         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71741         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71742         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71743         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71744         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71745         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71746         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71747         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71748         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71749         * wcsmbc/wcschr.c (WCSCHR): New macro.
71751 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71753         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71754         * wcsmbs/test-wcsrchr.c: New file.
71755         * string/test-strrchr.c: Add wcsrchr support.
71756         (WIDE): New macro.
71757         * wcsmbs/test-wcscpy.c: New file.
71758         * string/test-strcpy.c: Add wcscpy support.
71759         (WIDE): New macro.
71761 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71763         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71764         the inner loop.
71766 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71768         [BZ #13472]
71769         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71771 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71773         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71774         Minor optimizations.
71776         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71777         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71778         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71780 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71782         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71783         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71784         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71785         for gcc to avoid warnings.
71786         * inet/Makefile (tests): Add tst-checks.
71787         * inet/tst-checks.c: New file.
71789         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71790         warning.
71792         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71793         __wmemcmp_sse2.
71795         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71796         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71798         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71800 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71802         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71803         problem.
71805         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71807 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71809         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71810         conditional on GCC version.
71811         (__arch_compare_and_exchange_val_8_acq)
71812         (__arch_compare_and_exchange_val_16_acq)
71813         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71814         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71815         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71817 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71819         * sysdeps/sh/backtrace.c: New file.
71821 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71823         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71824         parenthesis.
71826 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71828         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71829         falling back to utime.
71831 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71833         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71834         expectations for float.
71836 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71838         * locale/weight.h (findidx): Add parameter len.
71839         * locale/weightwc.h (findidx): Likewise.
71840         * posix/fnmatch_loop.c (FCT): Adjust caller.
71841         * posix/regcomp.c (build_equiv_class): Likewise.
71842         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71843         * posix/regexec.c (check_node_accept_bytes): Likewise.
71844         * string/strcoll_l.c (STRCOLL): Likewise.
71845         * string/strxfrm_l.c (STRXFRM): Likewise.
71847 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71849         * Makefile.in: Remove CVSOPT handling.
71850         * configure.in: Remove use of AC_REVISION.
71851         * iconvdata/Makefile (distribute): No need to filter out CVS.
71852         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71853         handling.
71855 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71858         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71859         [USE_AS_STRNCASECMP_L]: Likewise.
71860         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71861         NO_TLS_DIRECT_SEG_REFS.
71862         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71863         Fix argument offsets for non-PIC.
71864         [USE_AS_STRNCASECMP_L]: Likewise.
71865         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71866         NO_TLS_DIRECT_SEG_REFS.
71868 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71870         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71871         O_CLOEXEC.
71872         * locale/loadlocale.c (_nl_load_locale): Likewise.
71874 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71876         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71877         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71878         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71879         (SYSCALL_GETTIME): Set errno on error.
71881         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71882         count references to noai6ai_cached.
71884 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71886         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71888         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71889         FD_CLOEXEC for /proc/self/maps.
71891         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71892         FD_CLOEXEC for /proc/meminfo.
71894         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71895         gai.conf.
71897         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71898         FD_CLOEXEC for given file.
71900         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71902         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71903         FD_CLOEXEC for /etc/hosts.
71904         (_gethtent): Likewise.
71906         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71908         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71909         cancellation and set FD_CLOEXEC for /etc/netgroup.
71911         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71912         reading /etc/publickey.
71914         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71915         allow cancellation when reading /etc/group.
71917         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71918         cancellation.
71919         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71921         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71922         when using data file.
71924         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71926         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71927         (write_nis_obj): Use "c" and "e" in fopen.
71929         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71931         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71933         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71935         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71937         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71938         locale.alias.
71940         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71942         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71944         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71946         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71947         file parsing and set FD_CLOEXEC.
71949 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71951         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71953 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71955         * malloc/arena.c (arena_get2): Don't call reused_arena when
71956         _int_new_arena failed.
71958 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71960         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71961         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71962         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71963         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71964         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71965         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71966         to compile strcasecmp and strncasecmp.
71967         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71968         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71970         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71972 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71974         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71975         locale-defines.sym to gen-as-const-headers.
71976         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71977         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71978         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71979         to compile strcasecmp and strncasecmp.
71980         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71981         strcasecmp_l and strncasecmp_l.
71982         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71983         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71984         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71985         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71986         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71987         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71988         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71989         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71990         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71991         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71992         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71994 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71996         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71997         result of SYSDEP_GETTIME_CPU to retval.
71998         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71999         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72001         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72002         variable.
72004         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72005         mantissa words.
72006         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72008         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72009         from unused variable.
72011         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72012         DWARF definitions.
72013         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72014         for assembling.
72016         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72017         over namespaces.
72019         * sunrpc/rpc_prot.c (rejected): Fix case value.
72021         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72022         unsigned long long int to avoid warnings in shift.
72024         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72025         of use of trans.
72026         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72027         variable tmp.
72029         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72030         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72031         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72033         * nis/nis_table.c (nis_list): Use variable of correct type for
72034         result of __follow_path call.
72036 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72038         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72039         of math functions ceil, trunc, floor, round, and sqrt, when
72040         avaliable on the platform.
72041         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72042         name clash.
72043         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72044         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72045         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72047 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72049         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72050         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72052 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72054         * include/unistd.h: Fix __readlink return type.
72055         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72057 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72059         * stdlib/ucontext.h: Undo last change for makecontext.
72061 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72063         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72065         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72066         * setjmp/setjmp.h: Mark functions as non-leaf.
72067         * setjmp/bits/setjmp2.h: Likewise.
72068         * stdlib/ucontext.h: Likewise.
72070 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72072         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72073         (reused_arena): Don't check arena limit.
72074         (arena_get2): Atomically check arena limit.
72076 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72078         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72079         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72081         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72082         instructions.
72084 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72086         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72087         handler when locking.
72089         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72090         Fix size of allocated buffer.
72092 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72094         [BZ #10103]
72095         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72096         declarations for long double functions.
72097         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72099         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72101 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72103         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72104         installed.
72106         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72107         is disabled.
72109 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72111         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72113 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72115         * include/alloca.h (stackinfo_alloca_round): Define.
72116         (extend_alloca): Use it.
72117         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72118         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72119         here.
72121         * scripts/check-local-headers.sh: Ignore libaudit.h.
72123         * nscd/Makefile (extra-objs): Make recursively expanded.
72125 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72127         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72128         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72130         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72131         * posix/tst-rfc3484-2.c: Likewise.
72132         * posix/tst-rfc3484-3.c: Likewise.
72134         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72135         process_vm_writev.
72136         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72137         process_vm_writev.
72138         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72139         process_vm_writev from libc using GLIBC_2.15 version.
72141         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72143 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72145         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72146         stack usage.
72148 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72150         [BZ #13367]
72151         * nss/getent.c (initgroups_keys): Show error message in case no group
72152         names are given.
72154         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72155         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72156         __bump_nl_timestamp.
72157         * nscd/connections (nscd_init): When host database is served open
72158         netlink socket and request notification about configuration changes.
72159         (main_loop_poll): Track netlink file descriptor and bump timestamp
72160         in case data becomes available.
72161         (main_loop_epoll): Likewise.
72162         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72163         (database_pers_head): Add extra_data fileds.
72164         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72165         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72166         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72167         Adjust caller.
72168         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72169         in6ai data, call __free_in6ai.
72170         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72171         Add -DHAVE_NETLINK.
72172         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72173         interface information.  Reuse previous data if netlink timestamp
72174         is not changed.
72175         (__bump_nl_timestamp): New function.
72176         (__free_in6ai): New function.
72178 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72180         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72181         close_not_cancel_no_status here.
72182         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72184 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72186         [BZ #13276]
72187         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72188         return value.
72190         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72191         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72192         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72194 2011-07-03  Andreas Jaeger  <aj@suse.de>
72196         [BZ #10709]
72197         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72198         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72199         * math/libm-test.inc (sin_test): Add test case.
72201 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72203         [BZ #13337]
72204         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72205         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72207         * elf/chroot_canon.c (chroot_canon): Cleanups.
72209         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72211         [BZ #13335]
72212         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72213         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72215         * string/test-strchr.c: Make usable for strchrnul testing.
72216         * string/test-strchrnul.c: New file.
72217         * string/Makefile (strop-tests): Add strchrnul.
72219         * po/it.po: Update from translation team.
72220         * po/es.po: Likewise.
72222 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72224         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72225         the three constants needed as parameters.  Drop the others.
72226         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72227         __m128i_strloadu_tolower.
72228         Create and initialize variable zero and use it in all the places
72229         where _mm_setzero_si128 was used.
72231         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72232         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72233         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72234         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72235         anymore.
72236         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72237         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72238         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72239         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72240         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72241         __mpranred, __mptan.
72242         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72243         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72244         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72245         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72246         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72247         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72248         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72249         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72250         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72252 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72254         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72255         redefine if SHARED.
72256         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72258         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72259         wide char related routines to wcsmbs subdir.
72261 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72263         [BZ #13344]
72264         * misc/sys/cdefs.h (__THROWNL): Define.
72265         * posix/unistd.h: Use __THREADNL instead of __THREAD
72266         for memory synchronization functions.
72268 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72270         [BZ #13349]
72271         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72272         doesn't exist.
72273         * manual/stdio.texi (Obstack Streams): Node removed.
72275 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72277         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72278         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72279         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72281         * math/math_private.h (math_force_eval): Allow non-addressable
72282         arguments.
72283         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72285 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72287         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72288         file is not needed.
72290         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72291         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72292         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72293         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72294         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72295         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72296         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72297         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72298         Add AVX variants.
72299         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72300         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72301         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72302         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72303         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72304         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72305         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72306         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72307         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72308         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72309         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72310         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72311         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72312         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72313         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72314         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72315         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72316         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72317         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72319         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72320         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72322         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72323         place.  Use VEX encoding when compiling for AVX.
72325 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72327         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72328         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72330         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72332 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72334         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72335         useless if() expression.
72336         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72337         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72338         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72339         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72340         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72341         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72342         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72343         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72344         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72345         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72346         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72347         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72348         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72349         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72350         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72351         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72352         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72353         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72354         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72356         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72358 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72360         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72361         condition.
72362         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72364 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72366         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72367         .text section.  Avoid duplicate constants.
72368         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72369         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72370         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72371         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72372         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72374         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72376         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72377         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72378         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72379         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72380         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72381         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72382         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72383         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72384         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72385         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72386         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72387         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72388         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72389         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72390         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72391         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72392         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72393         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72394         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72395         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72396         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72397         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72398         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72399         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72400         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72401         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72402         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72403         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72404         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72405         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72406         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72407         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72408         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72409         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72410         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72411         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72412         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72414 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72416         * sysdeps/x86_64/dla.h: Move to ...
72417         * sysdeps/x86_64/fpu/dla.h: ...here.
72418         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72419         situations.  Use __builtin_fma only for gcc 4.6 and up.
72421         * config.make.in: Add have-mfma4 entry.
72422         * configure.in: Substitute libc_cv_cc_fma4.
72423         * math/Makefile (dbl-only-routines): Add sincostab.
72424         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72425         Use __sincostab not sincos.
72426         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72427         name is a macro.
72428         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72429         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72430         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72431         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72432         using __copysign.
72433         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72434         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72435         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72436         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72437         and __inv.
72438         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72439         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72440         __copysign.
72441         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72442         define aliases when function name is a macro.
72443         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72444         sysdeps/ieee754/dbl-64/sincos.tbl.
72445         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72446         fma4-enabled routines.
72447         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72448         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72449         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72450         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72451         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72452         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72453         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72454         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72455         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72456         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72457         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72458         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72459         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72460         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72461         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72462         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72463         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72464         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72465         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72466         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72467         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72468         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72469         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72470         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72471         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72472         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72473         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72474         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72475         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72476         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72478         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72479         rename.
72480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72484         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72485         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72486         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72487         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72489 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72491         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72493 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72495         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72497         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72498         prediction.
72499         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72501         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72502         Remove unused variable magic_bits.
72503         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72505         * string/strnlen.c: Define and use STRNLEN macro.
72506         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72507         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72508         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72509         * wcsmbs/wcslen.c: Define and use WCSLEN.
72510         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72511         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72512         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72513         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72514         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72515         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72516         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72518 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72521         strnlen-sse2-no-bsf.
72522         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72523         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72524         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72525         Add strnlen support.
72526         (USE_AS_STRNLEN): New macro.
72527         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72528         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72529         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72530         * sysdeps/x86_64/wcslen.S: New file.
72532 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72534         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72535         XMM-moves are used for copying on small sizes.
72537 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72539         * wcsmbs/Makefile (strop-tests): Add wcschr.
72540         * wcsmbs/test-wcschr.c: New file.
72541         * string/test-strchr.c: Update.
72542         Add wcschr support.
72543         (WIDE): New macro.
72545 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72547         * wcsmbs/Makefile (strop-tests): Add wcslen.
72548         * wcsmbs/test-wcslen.c: New file.
72549         * string/test-strlen.c: Update.
72550         Add wcslen support.
72551         (WIDE): New macro.
72553 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72555         * po/it.po: Update from translation team.
72557 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72559         * sysdeps/x86_64/wcscmp.S: Update.
72560         Fix wrong comparison semantics.
72561         wcscmp shall use signed comparison not unsigned.
72562         Don't use substraction to avoid overflow bug.
72563         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72564         * wcsmbc/wcscmp.c: Likewise.
72565         * string/test-strcmp.c: Likewise.
72566         Add new tests to check cases with negative values.
72568 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72570         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72571         * sysdeps/x86_64/dla.h: ...here.  New file.
72572         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72573         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72574         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72576         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72577         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72578         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72579         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72580         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72582 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72585         __ynl_finite aliases.
72587 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72591         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72592         define DLA_FMA.
72593         [DLA_FMA] (EMULV): Use DLA_FMA.
72594         [DLA_FMA] (MUL12): Use EMULV.
72595         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72596         that are not needed.
72597         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72598         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72599         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72602         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72605 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72607         * math/s_nan.c: Undef __nan.
72608         * math/s_nanf.c: Undef __nanf.
72609         * math/s_nanl.c: Undef __nanl.
72610         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72611         "math_private.h".
72613 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72615         * math/s_catan.c: Add branch predictions.
72616         * math/s_catanf.c: Likewise.
72617         * math/s_catanh.c: Likewise.
72618         * math/s_catanhf.c: Likewise.
72619         * math/s_catanhl.c: Likewise.
72620         * math/s_catanl.c: Likewise.
72621         * math/s_cexp.c: Likewise.
72622         * math/s_cexpf.c: Likewise.
72623         * math/s_cexpl.c: Likewise.
72624         * math/s_clog.c: Likewise.
72625         * math/s_clog10.c: Likewise.
72626         * math/s_clog10f.c: Likewise.
72627         * math/s_clog10l.c: Likewise.
72628         * math/s_clogf.c: Likewise.
72629         * math/s_clogl.c: Likewise.
72630         * math/s_csqrt.c: Likewise.
72631         * math/s_csqrtf.c: Likewise.
72632         * math/s_csqrtl.c: Likewise.
72633         * math/s_ctanf.c: Likewise.
72634         * math/s_ctanh.c: Likewise.
72635         * math/s_ctanhf.c: Likewise.
72636         * math/s_ctanhl.c: Likewise.
72637         * math/s_ctanl.c: Likewise.
72639         * math/math_private.h: Define __nan, __nanf, __nanl.
72640         * math/s_cacosh.c: Include <math_private.h>.
72641         * math/s_cacoshl.c: Likewise.
72642         * math/s_casinh.c: Likewise.
72643         * math/s_casinhf.c: Likewise.
72644         * math/s_casinhl.c: Likewise.
72645         * math/s_ccos.c: Rely entire on ccosh.
72646         * math/s_ccosf.c: Rely entire on ccoshf.
72647         * math/s_ccosl.c: Rely entirely on ccoshl.
72648         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72649         Remove tests for FE_INVALID.
72650         * math/s_ccoshf.c: Likewise.
72651         * math/s_ccoshl.c: Likewise.
72652         * math/s_csin.c: Likewise.
72653         * math/s_csinf.c: Likewise.
72654         * math/s_csinh.c Likewise.
72655         * math/s_csinhf.c: Likewise.
72656         * math/s_csinhl.c: Likewise.
72657         * math/s_csinl.c: Likewise.
72658         * math/s_ctan.c: Likewise.
72659         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72660         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72661         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72663 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72666         compilation problems.
72668         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72669         __builtin_expect.
72671 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72673         * sysdeps/i386/configure.in: Test for -mfma4 option.
72674         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72675         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72676         COMMON_CPUID_INDEX_80000001.
72677         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72678         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72679         use it if FMA3 is not supported.
72680         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72682         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72683         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72685 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72687         [BZ #12892]
72688         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72689         it would create a cycle with a link time dependency.
72691 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72693         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72694         instruction.
72695         * string/Makefile (strop-tests): Add rawmemchr.
72696         * string/test-rawmemchr.c: New file.
72698         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72699         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72700         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72701         when compiling str{,n}casecmp and when AVX is available.  Hook up
72702         new optimized code in initializers.
72704 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72706         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72707         __feraiseexcept instead of feraiseexcept.
72709 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72711         * math/math_private.h: Define defaults for libc_fetestexcept and
72712         libc_feupdateenv.
72713         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72714         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72715         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72716         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72717         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72718         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72719         libc_fetestexcept and libc_feupdateenv.
72721         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72722         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72723         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72724         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72725         libc_feholdexcept_setround.
72727         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72728         Add s_nearbyint-c and s_nearbyintf-c.
72729         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72730         nearbyintf inlines.
72731         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72732         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72733         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72734         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72736         * math/math_private.h: Define defaults for libc_fegetround,
72737         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72738         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72739         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72740         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72741         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72742         standard functions.
72743         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72744         Remove comments and hacks for old compiler versions.
72745         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72746         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72747         libc_feholdexceptl.
72749 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72751         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72752         (__feraiseexcept_renamed): Add __NTH.
72753         (feraiseexcept): Add __NTH.  Rename local variables to fix
72754         namespace violations.
72756 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72758         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72760         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72762         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72763         recently added interfaces.
72764         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72766         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72767         about macro parameter expansion.
72769         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72770         __NO_MATH_INLINES is defined.  Cleanups.
72772         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72773         and __floorf is target has SSE4.1.
72774         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72775         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72776         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72777         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72779         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72780         name.
72781         (floorf): Likewise.
72783         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72785 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72787         * misc/sys/cdefs.h: Fix last change.
72789         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72790         database lookup.
72792 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72794         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72796         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72797         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72798         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72799         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72800         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72801         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72802         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72803         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72804         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72805         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72806         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72807         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72808         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72809         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72810         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72811         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72812         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72813         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72814         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72815         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72816         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72817         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72819         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72820         ceil, ceilf, floor, floorf.
72822         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72823         Perform IRELATIVE relocations last.
72825         * elf/do-rel.h: Add another parameter nrelative, replacing the
72826         local variable with the same name.  Change name of the function
72827         to end in Rel or Rela (uppercase).
72828         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72829         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72830         elf_dynamic_do_##reloc function.
72832 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72834         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72835         is sufficient, at least on modern CPUs.
72837         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72839         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72840         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72842         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72843         __expl_finite.
72844         * math/bits/math-finite.h: Add entries for exp.
72845         * math/e_expl.c: Add __*_finite alias.
72846         * sysdeps/i386/fpu/e_exp.S: Likewise.
72847         * sysdeps/i386/fpu/e_expf.S: Likewise.
72848         * sysdeps/i386/fpu/e_expl.c: Likewise.
72849         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72850         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72851         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72852         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72853         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72854         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72855         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72857         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72858         is sufficient, at least on modern CPUs.
72860         * ctype/ctype-info.c (__ctype_init): Define.
72861         * include/ctype.h (__ctype_init): Declare.
72862         (__ctype_b_loc): The variable is always initialized.
72863         (__ctype_toupper_loc): Likewise.
72864         (__ctype_tolower_loc): Likewise.
72865         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72866         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72868 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72870         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72872         * configure.in: Also look in $cxxmachine/include for C++ system
72873         headers.
72875 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72877         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72878         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72879         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72880         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72881         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72882         (USE_AS_WMEMCMP): New macro.
72883         Fixing indents.
72884         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72885         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72886         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72887         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72889         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72890         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72891         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72892         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72893         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72894         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72895         (USE_AS_WMEMCMP): New macro.
72896         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72897         * sysdeps/string/test-memcmp.c: Update.
72898         Fix simple_wmemcmp.
72899         Add new tests.
72900         * wcsmbs/wmemcmp.c: Update.
72901         (WMEMCMP): New macro.
72902         Fix overflow bug.
72904 2011-10-12  Andreas Jaeger  <aj@suse.de>
72906         [BZ #13268]
72907         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72909 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72911         * libio/iofwide.c (do_length): Avoid warning.
72913         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72915 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72917         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72919         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72920         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72921         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72922         * sysdeps/i386/i686/fpu/e_log.S: New file.
72923         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72924         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72926         * ctype/ctype.h: Add support for inlined isXXX functions when
72927         compiling C++ code.
72929 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72931         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72933         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72935 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72937         [BZ #13291]
72938         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72940 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72942         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72943         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72944         feraiseexcept.
72946         * sysdeps/x86_64/memrchr.S: Check for zero size.
72948         * string/stratcliff.c: Add memrchr tests.
72950 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72953         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72954         rawmemchr-sse2 rawmemchr-sse2-bsf.
72955         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72956         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72957         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72958         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72959         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72960         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72961         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72962         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72963         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72964         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72965         * string/memrchr.c (MEMRCHR): New macro.
72967 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72969         Add integration with gcc's -ffinite-math-only and optimize wrapper
72970         functions in libm.
72971         * Versions.def: Define GLIBC_2.15 version for libm.
72972         * math/Makefile (headers): Add bits/math-finite.h.
72973         * math/bits/math-finite.h: New file.
72974         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72975         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72976         * math/e_acoshl.c: Add __*_finite alias.
72977         * math/e_acosl.c: Likewise.
72978         * math/e_asinl.c: Likewise.
72979         * math/e_atan2l.c: Likewise.
72980         * math/e_atanhl.c: Likewise.
72981         * math/e_coshl.c: Likewise.
72982         * math/e_exp10.c: Likewise.
72983         * math/e_exp10f.c: Likewise.
72984         * math/e_exp10l.c: Likewise.
72985         * math/e_exp2l.c: Likewise.
72986         * math/e_fmodl.c: Likewise.
72987         * math/e_gammal_r.c: Likewise.
72988         * math/e_hypotl.c: Likewise.
72989         * math/e_j0l.c: Likewise.
72990         * math/e_j1l.c: Likewise.
72991         * math/e_jnl.c: Likewise.
72992         * math/e_lgammal_r.c: Likewise.
72993         * math/e_log10l.c: Likewise.
72994         * math/e_log2l.c: Likewise.
72995         * math/e_logl.c: Likewise.
72996         * math/e_powl.c: Likewise.
72997         * math/e_sinhl.c: Likewise.
72998         * math/e_sqrtl.c: Likewise.
72999         * math/e_scalb.c: Completely rewritten and optimized.
73000         * math/e_scalbf.c: Likewise.
73001         * math/e_scalbl.c: Likewise.
73002         * math/w_acos.c: Likewise.
73003         * math/w_acosf.c: Likewise.
73004         * math/w_acosl.c: Likewise.
73005         * math/w_acosh.c: Likewise.
73006         * math/w_acoshf.c: Likewise.
73007         * math/w_acoshl.c: Likewise.
73008         * math/w_asin.c: Likewise.
73009         * math/w_asinf.c: Likewise.
73010         * math/w_asinl.c: Likewise.
73011         * math/w_atan2.c: Likewise.
73012         * math/w_atan2f.c: Likewise.
73013         * math/w_atan2l.c: Likewise.
73014         * math/w_atanh.c: Likewise.
73015         * math/w_atanhf.c: Likewise.
73016         * math/w_atanhl.c: Likewise.
73017         * math/w_exp10.c: Likewise.
73018         * math/w_exp10f.c: Likewise.
73019         * math/w_exp10l.c: Likewise.
73020         * math/w_fmod.c: Likewise.
73021         * math/w_fmodf.c: Likewise.
73022         * math/w_fmodl.c: Likewise.
73023         * math/w_j0.c: Likewise.
73024         * math/w_j0f.c: Likewise.
73025         * math/w_j0l.c: Likewise.
73026         * math/w_j1.c: Likewise.
73027         * math/w_j1f.c: Likewise.
73028         * math/w_j1l.c: Likewise.
73029         * math/w_jn.c: Likewise.
73030         * math/w_jnf.c: Likewise.
73031         * math/w_log.c: Likewise.
73032         * math/w_logf.c: Likewise.
73033         * math/w_logl.c: Likewise.
73034         * math/w_log10.c: Likewise.
73035         * math/w_log10f.c: Likewise.
73036         * math/w_log10l.c: Likewise.
73037         * math/w_log2.c: Likewise.
73038         * math/w_log2f.c: Likewise.
73039         * math/w_log2l.c: Likewise.
73040         * math/w_pow.c: Likewise.
73041         * math/w_powf.c: Likewise.
73042         * math/w_powl.c: Likewise.
73043         * math/w_remainder.c: Likewise.
73044         * math/w_remainderf.c: Likewise.
73045         * math/w_remainderl.c: Likewise.
73046         * math/w_scalb.c: Likewise.
73047         * math/w_scalbf.c: Likewise.
73048         * math/w_scalbl.c: Likewise.
73049         * math/w_sqrt.c: Likewise.
73050         * math/w_sqrtf.c: Likewise.
73051         * math/w_sqrtl.c: Likewise.
73052         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73053         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73054         used.
73055         * math/math_private.h: Declare __kernel_standard_f.
73056         * math/w_cosh.c: Remove cruft and optimize a bit.
73057         * math/w_coshf.c: Likewise.
73058         * math/w_coshl.c: Likewise.
73059         * math/w_exp2.c: Likewise.
73060         * math/w_exp2f.c: Likewise.
73061         * math/w_exp2l.c: Likewise.
73062         * math/w_hypot.c: Likewise.
73063         * math/w_hypotf.c: Likewise.
73064         * math/w_hypotl.c: Likewise.
73065         * math/w_lgamma.c: Likewise.
73066         * math/w_lgamma_r.c: Likewise.
73067         * math/w_lgammaf.c: Likewise.
73068         * math/w_lgammaf_r.c: Likewise.
73069         * math/w_lgammal.c: Likewise.
73070         * math/w_lgammal_r.c: Likewise.
73071         * math/w_sinh.c: Likewise.
73072         * math/w_sinhf.c: Likewise.
73073         * math/w_sinhl.c: Likewise.
73074         * math/w_tgamma.c: Likewise.
73075         * math/w_tgammaf.c: Likewise.
73076         * math/w_tgammal.c: Likewise.
73077         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73078         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73079         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73080         Minor optimizations.  Pretty printing.  Remove cruft.
73081         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73082         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73083         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73084         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73085         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73086         * sysdeps/i386/fpu/e_asin.S: Likewise.
73087         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73088         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73089         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73090         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73091         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73092         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73093         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73094         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73095         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73096         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73097         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73098         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73099         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73100         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73101         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73102         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73103         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73104         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73105         * sysdeps/i386/fpu/e_log.S: Likewise.
73106         * sysdeps/i386/fpu/e_log10.S: Likewise.
73107         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73108         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73109         * sysdeps/i386/fpu/e_log2.S: Likewise.
73110         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73111         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73112         * sysdeps/i386/fpu/e_logf.S: Likewise.
73113         * sysdeps/i386/fpu/e_logl.S: Likewise.
73114         * sysdeps/i386/fpu/e_pow.S: Likewise.
73115         * sysdeps/i386/fpu/e_powf.S: Likewise.
73116         * sysdeps/i386/fpu/e_powl.S: Likewise.
73117         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73118         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73119         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73120         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73121         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73122         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73123         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73124         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73125         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73126         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73127         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73129         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73130         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73131         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73132         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73133         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73134         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73135         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73136         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73137         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73138         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73139         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73140         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73141         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73142         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73143         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73144         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73145         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73146         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73147         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73148         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73149         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73150         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73151         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73152         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73153         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73154         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73155         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73156         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73157         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73158         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73159         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73160         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73161         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73162         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73163         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73164         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73165         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73166         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73167         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73168         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73169         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73170         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73171         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73172         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73173         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73174         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73175         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73176         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73177         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73178         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73179         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73180         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73181         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73182         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73183         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73184         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73185         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73186         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73187         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73188         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73189         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73190         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73191         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73192         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73193         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73194         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73195         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73196         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73197         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73198         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73199         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73200         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73201         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73202         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73203         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73204         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73205         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73206         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73207         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73208         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73209         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73210         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73211         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73212         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73213         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73214         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73215         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73216         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73217         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73218         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73219         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73220         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73221         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73222         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73223         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73224         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73225         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73226         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73227         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73228         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73229         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73230         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73231         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73232         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73233         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73234         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73235         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73236         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73237         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73238         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73239         (__isnanf): Likewise.
73240         (__isinf_ns): Likewise.
73241         (__isinf_nsf): Likewise.
73242         (__finite): Likewise.
73243         (__finitef): Likewise.
73244         (__ieee754_sqrt): Define as macro.
73245         (__ieee754_sqrtf): Define as macro.
73246         (__ieee754_sqrtl): Define as macro.
73247         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73248         inlined copy.
73249         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73250         __FINITE_MATH_ONLY__ consistent.
73251         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73253 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73255         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73256         of rawmemchr.
73258         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73260 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73262         * po/ja.po: Update from translation team.
73264 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73266         * locale/programs/locarchive.c (prepare_address_space): New function.
73267         (create_archive, enlarge_archive, open_archive): Use it.
73269         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73270         inside [SHARED], where it is used.
73272         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73274         * nss/getent.c (netgroup_keys): Remove unused variable.
73275         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73277 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73279         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73280         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73281         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73282         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73283         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73284         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73285         * math/Makefile (libm-calls): Add s_isinf_ns.
73286         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73287         * math/multc3.c: Likewise.
73288         * math/s_casin.c: Likewise.
73289         * math/s_casinf.c: Likewise.
73290         * math/s_casinl.c: Likewise.
73291         * math/s_ccos.c: Likewise.
73292         * math/s_ccosf.c: Likewise.
73293         * math/s_ccosl.c: Likewise.
73294         * math/s_ctan.c: Likewise.
73295         * math/s_ctanf.c: Likewise.
73296         * math/s_ctanh.c: Likewise.
73297         * math/s_ctanhf.c: Likewise.
73298         * math/s_ctanhl.c: Likewise.
73299         * math/s_ctanl.c: Likewise.
73300         * math/w_fmod.c: Likewise.
73301         * math/w_fmodf.c: Likewise.
73302         * math/w_fmodl.c: Likewise.
73303         * math/w_remainder.c: Likewise.
73304         * math/w_remainderf.c: Likewise.
73305         * math/w_remainderl.c: Likewise.
73306         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73307         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73308         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73309         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73310         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73311         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73312         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73313         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73315         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73316         of the number.
73317         * stdio-common/printf_fphex.c: Likewise.
73318         * stdio-common/printf_size.c: Likewise.
73320         * math/e_exp10.c: Include math_private.h using <...> not "...".
73321         * math/e_exp10f.c: Likewise.
73322         * math/e_exp10l.c: Likewise.
73323         * math/e_exp2l.c: Likewise.
73324         * math/e_j0l.c: Likewise.
73325         * math/e_j1l.c: Likewise.
73326         * math/e_jnl.c: Likewise.
73327         * math/e_lgammal_r.c: Likewise.
73328         * math/e_rem_pio2l.c: Likewise.
73329         * math/e_scalb.c: Likewise.
73330         * math/e_scalbf.c: Likewise.
73331         * math/e_scalbl.c: Likewise.
73332         * math/k_cosl.c: Likewise.
73333         * math/k_sinl.c: Likewise.
73334         * math/k_tanl.c: Likewise.
73335         * math/s_cacoshf.c: Likewise.
73336         * math/s_catan.c: Likewise.
73337         * math/s_catanf.c: Likewise.
73338         * math/s_catanh.c: Likewise.
73339         * math/s_catanhf.c: Likewise.
73340         * math/s_catanhl.c: Likewise.
73341         * math/s_catanl.c: Likewise.
73342         * math/s_ccosh.c: Likewise.
73343         * math/s_ccoshf.c: Likewise.
73344         * math/s_ccoshl.c: Likewise.
73345         * math/s_cexp.c: Likewise.
73346         * math/s_cexpf.c: Likewise.
73347         * math/s_cexpl.c: Likewise.
73348         * math/s_clog.c: Likewise.
73349         * math/s_clog10.c: Likewise.
73350         * math/s_clog10f.c: Likewise.
73351         * math/s_clog10l.c: Likewise.
73352         * math/s_clogf.c: Likewise.
73353         * math/s_clogl.c: Likewise.
73354         * math/s_csin.c: Likewise.
73355         * math/s_csinf.c: Likewise.
73356         * math/s_csinh.c: Likewise.
73357         * math/s_csinhf.c: Likewise.
73358         * math/s_csinhl.c: Likewise.
73359         * math/s_csinl.c: Likewise.
73360         * math/s_csqrt.c: Likewise.
73361         * math/s_csqrtf.c: Likewise.
73362         * math/s_csqrtl.c: Likewise.
73363         * math/s_ctan.c: Likewise.
73364         * math/s_ctanf.c: Likewise.
73365         * math/s_ctanh.c: Likewise.
73366         * math/s_ctanhf.c: Likewise.
73367         * math/s_ctanhl.c: Likewise.
73368         * math/s_ctanl.c: Likewise.
73369         * math/s_ldexp.c: Likewise.
73370         * math/s_ldexpf.c: Likewise.
73371         * math/s_ldexpl.c: Likewise.
73372         * math/s_significand.c: Likewise.
73373         * math/s_significandf.c: Likewise.
73374         * math/s_significandl.c: Likewise.
73375         * math/w_acos.c: Likewise.
73376         * math/w_acosf.c: Likewise.
73377         * math/w_acosh.c: Likewise.
73378         * math/w_acoshf.c: Likewise.
73379         * math/w_acoshl.c: Likewise.
73380         * math/w_acosl.c: Likewise.
73381         * math/w_asin.c: Likewise.
73382         * math/w_asinf.c: Likewise.
73383         * math/w_asinl.c: Likewise.
73384         * math/w_atan2.c: Likewise.
73385         * math/w_atan2f.c: Likewise.
73386         * math/w_atan2l.c: Likewise.
73387         * math/w_atanh.c: Likewise.
73388         * math/w_atanhf.c: Likewise.
73389         * math/w_atanhl.c: Likewise.
73390         * math/w_cosh.c: Likewise.
73391         * math/w_coshf.c: Likewise.
73392         * math/w_coshl.c: Likewise.
73393         * math/w_dremf.c: Likewise.
73394         * math/w_exp10.c: Likewise.
73395         * math/w_exp10f.c: Likewise.
73396         * math/w_exp10l.c: Likewise.
73397         * math/w_exp2.c: Likewise.
73398         * math/w_exp2f.c: Likewise.
73399         * math/w_fmod.c: Likewise.
73400         * math/w_fmodf.c: Likewise.
73401         * math/w_fmodl.c: Likewise.
73402         * math/w_hypot.c: Likewise.
73403         * math/w_hypotf.c: Likewise.
73404         * math/w_hypotl.c: Likewise.
73405         * math/w_j0.c: Likewise.
73406         * math/w_j0f.c: Likewise.
73407         * math/w_j0l.c: Likewise.
73408         * math/w_j1.c: Likewise.
73409         * math/w_j1f.c: Likewise.
73410         * math/w_j1l.c: Likewise.
73411         * math/w_jn.c: Likewise.
73412         * math/w_jnf.c: Likewise.
73413         * math/w_jnl.c: Likewise.
73414         * math/w_lgamma.c: Likewise.
73415         * math/w_lgamma_r.c: Likewise.
73416         * math/w_lgammaf.c: Likewise.
73417         * math/w_lgammaf_r.c: Likewise.
73418         * math/w_lgammal.c: Likewise.
73419         * math/w_lgammal_r.c: Likewise.
73420         * math/w_log.c: Likewise.
73421         * math/w_log10.c: Likewise.
73422         * math/w_log10f.c: Likewise.
73423         * math/w_log10l.c: Likewise.
73424         * math/w_log2.c: Likewise.
73425         * math/w_log2f.c: Likewise.
73426         * math/w_log2l.c: Likewise.
73427         * math/w_logf.c: Likewise.
73428         * math/w_logl.c: Likewise.
73429         * math/w_pow.c: Likewise.
73430         * math/w_powf.c: Likewise.
73431         * math/w_powl.c: Likewise.
73432         * math/w_remainder.c: Likewise.
73433         * math/w_remainderf.c: Likewise.
73434         * math/w_remainderl.c: Likewise.
73435         * math/w_scalb.c: Likewise.
73436         * math/w_scalbf.c: Likewise.
73437         * math/w_scalbl.c: Likewise.
73438         * math/w_sinh.c: Likewise.
73439         * math/w_sinhf.c: Likewise.
73440         * math/w_sinhl.c: Likewise.
73441         * math/w_sqrt.c: Likewise.
73442         * math/w_sqrtf.c: Likewise.
73443         * math/w_sqrtl.c: Likewise.
73444         * math/w_tgamma.c: Likewise.
73445         * math/w_tgammaf.c: Likewise.
73446         * math/w_tgammal.c: Likewise.
73448         * po/ja.po: Update from translation team.
73450 2011-09-29  Andreas Jaeger  <aj@suse.de>
73452         [BZ #13179]
73453         * sunrpc/netname.c (netname2host): Fix logic.
73455         [BZ #6779]
73456         [BZ #6783]
73457         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73458         correctly.
73459         * math/w_remainder.c (__remainder): Likewise.
73460         * math/w_remainderf.c (__remainderf): Likewise.
73461         * math/libm-test.inc (remainder_test): Add test cases.
73463 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73465         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73466         sdiv_qrnnd.
73468 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73470         * string/test-memcmp.c: Avoid unncessary #defines.
73471         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73473 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73475         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73476         Use new sse2 version for core i3 - i7 as it's faster
73477         than sse42 version.
73478         (bit_Prefer_PMINUB_for_stringop): New.
73479         * sysdeps/x86_64/rawmemchr.S: Update.
73480         Replace with faster SSE2 version.
73481         * sysdeps/x86_64/memrchr.S: New file.
73482         * sysdeps/x86_64/memchr.S: Update.
73483         Replace with faster SSE2 version.
73485 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73487         * elf/dl-load.c (lose): Add cast to avoid warning.
73489 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73491         * po/ca.po: Update from translation team.
73493         * inet/getnetgrent_r.c: Hook up nscd.
73494         * nscd/Makefile (routines): Add nscd_netgroup.
73495         (nscd-modules): Add netgroupcache.
73496         (CFLAGS-netgroupcache.c): Define.
73497         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73498         (cache_search): Add const to second parameter.
73499         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73500         INNETGR.
73501         (dbs): Add netgrdb entry.
73502         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73503         (verify_persistent_db): Handle netgrdb.
73504         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73505         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73506         GETFDNETGR.
73507         (netgroup_response_header): Define.
73508         (innetgroup_response_header): Define.
73509         (datahead): Add netgroup_response_header and innetgroup_response_header
73510         elements.
73511         * nscd/nscd.conf: Add entries for netgroup cache.
73512         * nscd/nscd.h (dbtype): Add netgrdb.
73513         (_PATH_NSCD_NETGROUP_DB): Define.
73514         (netgroup_iov_disabled): Declare.
73515         (xmalloc, xcalloc, xrealloc): Move declarations here.
73516         (cache_search): Adjust prototype.
73517         Add netgroup-related prototypes.
73518         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73519         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73520         (__nscd_innetgr): Declare.
73521         * nscd/selinux.c (perms): Use access_vector_t as element type and
73522         add netgroup-related initializers.
73523         * nscd/netgroupcache.c: New file.
73524         * nscd/nscd_netgroup.c: New file.
73525         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73526         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73527         For four parameters use innetgr.
73528         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73529         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73530         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73531         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73533         * nscd/connections.c (register_traced_file): Don't register file
73534         for disabled databases.
73536 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73538         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73540         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73541         from tree and freeing node.
73543 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73545         * nss/nsswitch.c (__nss_database_lookup): Handle
73546         nss_parse_service_list out of memory case.
73548 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73550         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73551         out of memory case.
73553 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73555         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73556         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73557         pass it down.
73558         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73559         elf_machine_rela, elf_machine_lazy_rel.
73560         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73561         (ELF_DYNAMIC_DO_REL): Likewise.
73562         (ELF_DYNAMIC_DO_RELA): Likewise.
73563         (ELF_DYNAMIC_RELOCATE): Likewise.
73564         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73565         to ELF_DYNAMIC_DO_REL.
73566         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73567         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73568         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73569         elf_machine_rela.
73570         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73571         skip_ifunc, don't call ifunc function if non-zero.
73572         (elf_machine_rela): Likewise.
73573         (elf_machine_lazy_rel): Likewise.
73574         (elf_machine_lazy_rela): Likewise.
73575         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73576         (elf_machine_lazy_rel): Likewise.
73577         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73578         Likewise.
73579         (elf_machine_lazy_rel): Likewise.
73580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73581         Likewise.
73582         (elf_machine_lazy_rel): Likewise.
73583         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73584         (elf_machine_lazy_rel): Likewise.
73585         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73586         (elf_machine_lazy_rel): Likewise.
73587         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73588         (elf_machine_lazy_rel): Likewise.
73589         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73590         (elf_machine_lazy_rel): Likewise.
73591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73592         (elf_machine_lazy_rel): Likewise.
73593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73594         (elf_machine_lazy_rel): Likewise.
73596 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73598         * nss/nss_files/files-init.c (_nss_files_init): Use static
73599         initialization for all the *_traced_file variables.
73601 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73603         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73605 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73607         [BZ #13226]
73608         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73610 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73612         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73613         Reread the line before reparsing it.
73615 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73617         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73619 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73620             Maxim Kuvyrkov  <maxim@codesourcery.com>
73621             Joseph Myers  <joseph@codesourcery.com>
73623         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73624         if needed for __stack_chk_guard.
73626 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73628         * sysdeps/posix/spawni.c (script_execute): Always define it.
73629         It will be optimized away if unused.
73630         (maybe_script_execute): New function.
73631         (__spawni): Call it.
73633         * Makerules: Don't include tls.make.
73634         (config-tls): Always set to thread.
73635         * tls.make.c: File removed.
73637 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73639         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73640         * config.make.in (CPPFLAGS-config): New substituted variable.
73642 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73644         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73646         [BZ #13192]
73647         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73648         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73650 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73652         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73653         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73654         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73655         (CALL_FAIL): Likewise.
73656         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73657         (CALL_FAIL): Macro removed.
73658         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73660 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73662         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73663         for __FINITE_MATH_ONLY__ == 1.
73665 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73667         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73668         __ieee754_sqrt instead of sqrt.
73669         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73670         __ieee754_sqrtf instead of sqrtf.
73671         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73672         __floorf instead of floorf.
73673         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73674         __floorf, __truncf instead of floorf, truncf.
73676 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73678         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73680         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73681         __extern_always_inline.
73682         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73683         32-bit.
73685 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73687         * elf/rtld.c (dl_main): Also relocate in dependency order when
73688         doing symbol dependency testing.
73690 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73693         Always define `refsym'.
73695 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73697         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73698         (__FD_ELT): Renamed from __FDELT.
73699         * misc/bits/select2.h (__FD_ELT): Likewise.
73700         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73701         __FD_MASK instead of __FDELT, __FDMASK.
73702         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73703         Likewise.
73704         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73705         Likewise.
73707         * elf/Makefile (gen-ldd): Fix pattern.
73709         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73710         (init_tls): Likewise.
73712 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73714         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73716 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73718         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73719         `struct cmsghdr *' instead of `void *'.
73720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73721         Likewise.
73723 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73725         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73726         if non-absolute.
73727         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73728         ldd_rewrite_script.
73730 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73732         * configure.in: Remove --with-tls option.
73733         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73734         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73735         out in case it is missing.
73736         * sysdeps/ia64/elf/configure.in: Likewise.
73737         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73738         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73739         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73740         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73741         * sysdeps/sh/elf/configure.in: Likewise.
73742         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73743         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73744         * sysdeps/x86_64/elf/configure.in: Likewise.
73745         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73746         * sysdeps/mach/hurd/tls.h: Likewise.
73748         [BZ #13067]
73749         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73751         [BZ #13090]
73752         * configure.in: Fix use of AC_INIT.
73754         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73756 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73758         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73759         __set_errno.
73760         * malloc/hooks.c: Likewise.
73762         [BZ #11929]
73763         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73764         variables statically.
73765         (narenas): Initialize.
73766         (list_lock): Initialize.
73767         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73768         initializtion of main_arena and list_lock.  Small cleanups.
73769         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73770         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73771         Add initializers to main_arena and mp_.
73772         (malloc_state): Remove pagesize member.  Change all users to use
73773         GLRO(dl_pagesize).
73775         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73776         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73777         is always initialized.
73779         * malloc/malloc.c: Removed unused configurations and dead code.
73780         * malloc/arena.c: Likewise.
73781         * malloc/hooks.c: Likewise.
73782         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73784         * include/tls.h: Removed.  USE___THREAD must always be defined.
73785         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73786         * elf/dl-libc.c: Likewise.
73787         * elf/dl-tsd.c: Likewise.
73788         * include/errno.h: Likewise.
73789         * include/netdb.h: Likewise.
73790         * include/resolv.h: Likewise.
73791         * inet/herrno-loc.c: Likewise.
73792         * inet/herrno.c: Likewise.
73793         * malloc/arena.c: Likewise.
73794         * malloc/hooks.c: Likewise.
73795         * malloc/malloc.c: Likewise.
73796         * resolv/res-state.c: Likewise.
73797         * resolv/res_libc.c: Likewise.
73798         * sysdeps/i386/dl-machine.h: Likewise.
73799         * sysdeps/ia64/dl-machine.h: Likewise.
73800         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73801         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73802         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73803         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73804         * sysdeps/sh/dl-machine.h: Likewise.
73805         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73806         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73807         * sysdeps/unix/i386/sysdep.S: Likewise.
73808         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73809         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73814         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73816         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73817         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73818         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73819         * sysdeps/x86_64/dl-machine.h: Likewise.
73820         * tls.make.c: Likewise.
73822         * configure.in: Remove --with-__thread option.  Make tests for
73823         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73824         tls_model attribute fail if no support is available.  Remove
73825         USE_IN_LIBIO.
73826         * Makeconfig: Adjust for dropped configure option.  All features are
73827         now mandatory.
73828         * Makerules: Likewise.
73829         * Versions.def: Likewise.
73830         * argp/argp-fmtstream.c: Likewise.
73831         * argp/argp-fmtstream.h: Likewise.
73832         * argp/argp-help.c: Likewise.
73833         * assert/assert.c: Likewise.
73834         * config.h.in: Likewise.
73835         * config.make.in: Likewise.
73836         * configure: Likewise.
73837         * configure.in: Likewise.
73838         * csu/Versions: Likewise.
73839         * csu/init.c: Likewise.
73840         * elf/tst-audit2.c: Likewise.
73841         * elf/tst-tls10.c: Likewise.
73842         * elf/tst-tls10.h: Likewise.
73843         * elf/tst-tls11.c: Likewise.
73844         * elf/tst-tls12.c: Likewise.
73845         * elf/tst-tls14.c: Likewise.
73846         * elf/tst-tlsmod11.c: Likewise.
73847         * elf/tst-tlsmod12.c: Likewise.
73848         * elf/tst-tlsmod13.c: Likewise.
73849         * elf/tst-tlsmod13a.c: Likewise.
73850         * elf/tst-tlsmod14a.c: Likewise.
73851         * elf/tst-tlsmod15b.c: Likewise.
73852         * elf/tst-tlsmod16a.c: Likewise.
73853         * elf/tst-tlsmod16b.c: Likewise.
73854         * elf/tst-tlsmod7.c: Likewise.
73855         * elf/tst-tlsmod8.c: Likewise.
73856         * elf/tst-tlsmod9.c: Likewise.
73857         * gmon/gmon.c: Likewise.
73858         * grp/fgetgrent_r.c: Likewise.
73859         * grp/putgrent.c: Likewise.
73860         * hurd/fopenport.c: Likewise.
73861         * include/libc-symbols.h: Likewise.
73862         * include/tls.h: Likewise.
73863         * intl/gettextP.h: Likewise.
73864         * intl/loadinfo.h: Likewise.
73865         * locale/global-locale.c: Likewise.
73866         * locale/localeinfo.h: Likewise.
73867         * mach/devstream.c: Likewise.
73868         * malloc/arena.c: Likewise.
73869         * malloc/set-freeres.c: Likewise.
73870         * misc/err.c: Likewise.
73871         * misc/getttyent.c: Likewise.
73872         * misc/mntent_r.c: Likewise.
73873         * posix/getopt.c: Likewise.
73874         * posix/wordexp.c: Likewise.
73875         * pwd/fgetpwent_r.c: Likewise.
73876         * resolv/Versions: Likewise.
73877         * resolv/res_hconf.c: Likewise.
73878         * shadow/fgetspent_r.c: Likewise.
73879         * shadow/putspent.c: Likewise.
73880         * stdio-common/printf_fphex.c: Likewise.
73881         * stdio-common/tmpfile.c: Likewise.
73882         * stdlib/abort.c: Likewise.
73883         * stdlib/fmtmsg.c: Likewise.
73884         * sunrpc/auth_unix.c: Likewise.
73885         * sunrpc/clnt_perr.c: Likewise.
73886         * sunrpc/clnt_tcp.c: Likewise.
73887         * sunrpc/clnt_udp.c: Likewise.
73888         * sunrpc/clnt_unix.c: Likewise.
73889         * sunrpc/openchild.c: Likewise.
73890         * sunrpc/svc_simple.c: Likewise.
73891         * sunrpc/svc_tcp.c: Likewise.
73892         * sunrpc/svc_udp.c: Likewise.
73893         * sunrpc/svc_unix.c: Likewise.
73894         * sunrpc/xdr.c: Likewise.
73895         * sunrpc/xdr_array.c: Likewise.
73896         * sunrpc/xdr_rec.c: Likewise.
73897         * sunrpc/xdr_ref.c: Likewise.
73898         * sunrpc/xdr_stdio.c: Likewise.
73900 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73902         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73904 2011-07-03  Andreas Jaeger  <aj@suse.de>
73906         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73907         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73908         regenerate with gen-libm-tests.pl.
73910 2010-05-12  Petr Baudis  <pasky@suse.cz>
73912         [BZ #11589]
73913         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73914         around j0() zero points by switching to j1().
73915         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73916         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73918         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73920 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73922         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73923         instead of 0.
73924         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73925         instead of 0.
73926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73927         Patch in part by Pavel Roskin <proski@gnu.org>.
73929         [BZ #13138]
73930         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73931         realloc.
73932         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73933         Free memory block if necessary.
73935         [BZ #12847]
73936         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73937         be NULL.  Don't lock in this case.
73939 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73941         * elf/elf.h (ELFOSABI_GNU): New macro.
73942         (ELFOSABI_LINUX): Define to that.
73944 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73946         * string/strncat.c (strncat): Undef the symbol in case it has been
73947         defined in bits/string.h.
73949 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73951         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73953         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73954         link map.
73956 2011-08-17  Andreas Jaeger  <aj@suse.de>
73958         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73960 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73961             Ian Lance Taylor  <iant@google.com>
73963         * math/libm-test.inc (lround_test): New testcase.
73964         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73966 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73968         * Makefile: Remove support for automatic cvs check-ins.
73969         * Makerules: Likewise.
73970         * config.make.in: Likewise.
73971         * configure.in: Likewise.
73972         * intl/Makefile: Likewise.
73973         * locale/Makefile: Likewise.
73974         * po/Makefile: Likewise.
73975         * posix/Makefile: Likewise.
73976         * sysdeps/gnu/Makefile: Likewise.
73977         * sysdeps/mach/hurd/Makefile: Likewise.
73978         * sysdeps/sparc/sparc32/Makefile: Likewise.
73980         [BZ #13118]
73981         * posix/Makefile (bug-regex32-ENV): Define.
73982         Patch by John Stanley <jpsinthemix@verizon.net>.
73984         * misc/Makefile (headers): Add bits/select2.h.
73985         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73986         * misc/bits/select2.h: New file.
73987         * include/bits/select2.h: New file.
73988         * debug/Makefile (routines): Add fdelt_chk.
73989         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73990         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73991         FD_ISSET.
73992         * debug/fdelt_chk.c: New file.
73994         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73995         * wcsmbs/test-wmemcmp.c: Likewise.
73996         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73997         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73999 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74001         * string/Makefile (strop-tests): Add memcmp.
74002         * string/test-wmemcmp.c: New file.
74003         * string/test-memcmp.c: Add wmemcmp support.
74005 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74007         [BZ #13153]
74008         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74009         2011-07-19 change.
74011         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74012         garbage value in a __mach_port_mod_refs call in the cases of the
74013         task-self and thread-self ports.
74015 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74017         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74019 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74021         * elf/dl-load.c (lose): Check for non-null L.
74023 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74025         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74027         * elf/dl-libc.c (dlerror_run): Pass back error code from
74028         dl_catch_error.
74030         [BZ #13123]
74031         * elf/dl-load.c (lose): Free l_origin if it is valid.
74033         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74034         names.
74035         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74036         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74037         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74038         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74039         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74040         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74042 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74044         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74045         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74046         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74047         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74048         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74049         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74050         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74051         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74052         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74053         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74055 2011-08-15  Alan Modra  <amodra@gmail.com>
74057         [BZ #13092]
74058         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74059         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74060         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74061         ppc_mcount to static-only-routines.
74062         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74063         __mcount_internal.
74064         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74065         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74067 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74069         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74070         for finite and infinity parameters.
74072 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74074         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74075         and add nop instructions for throughput optimization.
74076         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74078 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74080         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74081         aligned copy for power7 with vector-scalar instructions.
74082         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74084 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74087         AVX check.
74089 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74091         [BZ #13144]
74092         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74093         last change.
74095 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74097         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74098         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74099         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74100         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74101         clock_gettime.
74103 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74105         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74106         Forgot to demangle the pointer.
74108         * sysdeps/i386/sysdep.h: Define atom_text_section.
74109         * sysdeps/x86_64/sysdep.h: Likewise.
74110         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74111         section with atom_text_section.
74112         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74113         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74114         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74115         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74116         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74118         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74119         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74120         already be defined.  Change to take two parameters and don't assign
74121         result to variable.  Adjust all users.
74122         Define INTERNAL_GETTIME if not already defined.
74123         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74124         call.
74125         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74126         HAVE_CLOCK_GETTIME_VSYSCALL.
74127         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74130         gettimeofday vsyscall, just use time.
74132 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74135         <errno.h>.
74137 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74139         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74140         syscall on x86-64.
74141         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74142         syscall.
74143         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74144         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74145         syscall if possible.
74147 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74149         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74150         e_ident.  Don't pass to find_mapsXX.
74151         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74153 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74156         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74157         * sysdeps/x86_64/multiarch/strchr.S: Update.
74158         Check bit_slow_BSF bit.
74159         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74160         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74161         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74163 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74165         [BZ #13134]
74166         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74167         before glibc 2.15.
74168         (tryshell): Define.
74169         (__spawni): Change last parameter to be flag.  Test
74170         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74171         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74172         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74173         * posix/spawni.c: Likewise.
74174         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74175         * posix/spawnp.c: Likewise.  Change normal version to use
74176         SPAWN_XFLAGS_USE_PATH.
74177         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74178         SPAWN_XFLAGS_TRY_SHELL.
74180         [BZ #13150]
74181         * posix/glob.h: Remove gcc 1.x support.
74183         [BZ #13068]
74184         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74186 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74189         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74190         strrchr-sse2-bsf
74191         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74192         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74193         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74194         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74195         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74196         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74198 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74200         * sysdeps/x86_64/wcscmp.S: New file.
74202         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74203         wcscmp-c wcscmp-sse2
74204         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74205         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74206         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74207         * wcsmbs/wcscmp.c: Allow renaming.
74209 2011-09-05  David S. Miller  <davem@davemloft.net>
74211         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74212         stack slot, rather than the struct return pointer slot.
74213         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74214         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74216         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74218 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74220         * po/ja.po: Update from translation team.
74222         [BZ #13144]
74223         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74224         kernel in 64-bit binaries.
74226 2011-09-01  David S. Miller  <davem@davemloft.net>
74228         * elf/elf.h (HWCAP_SPARC_*): Move to..
74229         * sysdeps/sparc/sysdep.h: this new file and add new values.
74230         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74231         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74232         _DL_HWCAP_COUNT to 24.
74233         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74234         entries.
74235         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74236         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74237         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74238         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74239         instead of magic constants.
74240         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74242 2011-08-31  David S. Miller  <davem@davemloft.net>
74244         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74246         Reimplement to do errno handling inline.
74247         (SYSCALL_ERROR_HANDLER): New macro.
74248         (__SYSCALL_STRING): Do not do errno handling in asm.
74249         (__CLONE_SYSCALL_STRING): Delete.
74250         (__INTERNAL_SYSCALL_STRING): Delete.
74251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74252         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74253         (PSEUDO): Reimplement to do errno handling inline.
74254         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
74260         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74261         i386.
74262         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74263         (inline_syscall*): Add 'err' argument.
74264         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74265         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74266         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74267         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74269         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74270         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74272 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74274         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74276 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74278         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74279         directive.
74281 2011-08-24  David S. Miller  <davem@davemloft.net>
74283         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74285 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74287         * elf/Makefile: Add rules to build and run unload8 test.
74288         * elf/unload8.c: New file.
74289         * elf/unload8mod1.c: New file.
74290         * elf/unload8mod1x.c: New file.
74291         * elf/unload8mod2.c: New file.
74292         * elf/unload8mod3.c: New file.
74294         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74295         it wasn't used.
74297 2011-08-23  David S. Miller  <davem@davemloft.net>
74299         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74300         subtract stack bias.
74301         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74302         %sp not %fp in calculations.
74303         (_JMPBUF_UNWINDS_ADJ): Likewise.
74305         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74306         (aio_suspend): Call it to force an exception region around the
74307         AIO_MISC_WAIT() invocation.
74309 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74311         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74312         backslash.
74314 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74316         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74317         protection macro.
74318         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74319         and <dl-machine.h>.
74320         (Elf64_FuncDesc): Remove.
74322 2011-08-22  David S. Miller  <davem@davemloft.net>
74324         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74325         sigaltstack check, add missing cfi directives.
74326         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74327         missing cfi directives, and sigaltstack handling.
74329 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74331         [BZ #11724]
74332         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74333         object is seen twice.
74334         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74336         * elf/Makefile (distribute): Add tst-initorder2.c.
74337         (tests): Add tst-initorder2.
74338         (modules-names): Add tst-initorder2a tst-initorder2b
74339         tst-initorder2c tst-initorder2d.  Add rules to build them.
74340         ($(objpfx)tst-initorder2.out): New rule.
74341         * elf/tst-initorder2.c: New file.
74342         * elf/tst-initorder2.exp: New file.
74344 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74346         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74348         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74349         dependencies back to end of function.
74351         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74352         $(elfobjdir)/ld.so.
74354 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74356         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74357         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74358         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74359         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74360         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74361         of __vdso_gettimeofday.
74362         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74363         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74364         attribute_hidden.
74365         (_libc_vdso_platform_setup): Remove initialization of
74366         __vdso_gettimeofday and __vdso_time.
74368 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74370         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74371         and fgetc_unlocked.
74372         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74373         getc_unlocked.
74375         * elf/dl-open.c (add_to_global): Report additions to the global scope
74376         for LD_DEBUG=scopes.
74377         (dl_open_worker): Also print scope of newly loaded dependencies.
74378         (_dl_show_scope): Indicate if there is no scope.
74380         [BZ #13114]
74381         * stdio-common/Makefile (tests): Add bug24.
74382         * stdio-common/bug24.c: New file.
74384 2011-08-19  Andreas Jaeger  <aj@suse.de>
74386         [BZ #13114]
74387         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74388         non-existant file when using close-on-exec mode.
74390 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74393         the very first instruction.
74395         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74396         the CFI state in the end.
74397         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74398         inclusion of dl-trampoline.h.
74399         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74401 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74403         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74404         expectations for long double.
74406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74407         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74409 2011-08-14  David S. Miller  <davem@davemloft.net>
74411         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74412         artificual limit depends upon the system page size.
74414 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74416         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74417         * resolv/Makefile: Define CFLAGS-libresolv.
74419 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74421         * nss/makedb.c (compute_tables): Make variables used in nested
74422         function static.
74424 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74426         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74427         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74428         if buffer was too small.
74430         * elf/pldd.c (main): Attach to all threads in the process.
74431         Rewrite /proc handling to use *at functions.
74433 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74435         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74436         specifies first scope to show.
74437         (dl_open_worker): Update callers.  Move printing scope of new
74438         object to before the relocation.
74439         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74440         * sysdeps/generic/ldsodefs.h: Update declaration.
74442         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74443         string for the scope number.
74445 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74447         * nscd/servicescache.c (cache_addserv): Make sure written is always
74448         initialized.
74450 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74452         * sysdeps/i386/i486/bits/atomic.h
74453         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74454         statement expression, so as to suppress "set but not used" warning.
74455         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74457         * string/strncat.c (STRNCAT): Use prototype definition.
74459         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74460         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74461         -Iprograms here.
74462         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74463         (localedef-modules): Add localedef.
74464         (locale-modules): Add locale.
74466         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74467         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74468         to avoid a warning.
74470 2011-08-14  David S. Miller  <davem@davemloft.net>
74472         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74473         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74475 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74477         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74478         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74479         * elf/rtld.c (dl_main): Set l_name of vDSO.
74480         Call _dl_show_scope when DL_DEBUG_SCOPES.
74481         (process_dl_debug): Recognize scopes flag and also set it for all.
74482         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74483         Declare _dl_show_scope.
74485         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74486         (do_dlopen): Pass caller_dlopen to dl_open.
74487         (__libc_dlopen_mode): Initialize caller_dlopen.
74489         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74490         of libc.  Make tolower call locale-independent.  Optimize a bit by
74491         using isdigit instead of isalnum.
74492         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74494 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74496         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74497         was a dependency or dynamically loaded.
74499 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74501         * intl/l10nflist.c: Allow architecture-specific pop function.
74502         * sysdeps/x86_64/l10nflist.c: New file.
74504         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74505         classification.
74507 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74509         * include/dirent.h: Add libc_hidden_proto for scandirat and
74510         scandirat64.  Don't declare __scandirat64.
74511         * dirent/scandirat.c: Add libc_hidden_def.
74512         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74513         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74515 2011-08-10  David S. Miller  <davem@davemloft.net>
74517         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74518         enum.
74519         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74521         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74523 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74525         * Versions.def [libc]: Add GLIBC_2.15.
74526         * dirent/Makefile (routines): Add scandirat and scandirat64.
74527         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74528         GLIBC_2.15.
74529         * dirent/dirent.h: Declare scandirat and scandirat64.
74530         * dirent/scandirat.c: New file.
74531         * dirent/scandirat64.c: New file.
74532         * sysdeps/wordsize-64/scandirat.c: New file.
74533         * sysdeps/wordsize-64/scandirat64.c: New file.
74534         * dirent/opendir.c: Define opendirat.
74535         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74536         using scandirat.
74537         * dirent/scandir64.c: Adjust for scandir.c change.
74538         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74539         __scandirat64, and __scandir_cancel_handler.
74540         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74541         additional parameter and use openat instead of open (outside of ld.so).
74542         Add new __opendir as wrapper around __opendirat.
74543         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74544         here without requiring old scandirat implementation.
74546 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74548         * dirent/scandir.c (cancel_handler): Renamed to
74549         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74550         defined.  Adjust users.
74551         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74552         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74554 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74556         * string/test-string.h (IMPL): Use __STRING to expand name and then
74557         stringify it.
74559         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74560         of cleanups.
74562 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74564         * string/Makefile: Update.
74565         (strop-tests): Append strncat.
74566         * string/test-wcscmp.c: New file.
74567         New comprehensive test for wcscmp.
74568         * string/test-strcmp.c: Update.
74569         (WIDE): New define.
74571 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74573         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74574         line.
74576 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74579         encoding to ACE if AI_IDN.
74581 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74583         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74584         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74586 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74588         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74589         Fix overflow bug in strncat.
74590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74592         * string/test-strncat.c: Update.
74593         Add new tests for checking overflow bugs.
74595 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74597         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74598         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74599         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74600         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74601         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74602         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74603         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74604         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74605         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74608         (USE_AS_STRCAT): Define.
74609         Add strcat and strncat support.
74610         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74612 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74614         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74615         __n bigger than INT_MAX+1.
74616         (__strncmp_g): Likewise.
74618 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74620         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74621         * libio/stido.h: Likewise.
74623         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74624         (AF_NFC): Define.
74625         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74626         (AF_NFC): Define.
74628         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74629         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74630         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74631         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74632         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74634         [BZ #13021]
74635         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74636         installed.
74638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74639         typo.
74640         (_dl_x86_64_save_sse): Likewise.
74642 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74644         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74645         OSXSAVE.
74646         (_dl_x86_64_save_sse): Likewise.
74648         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74650         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74652 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74655         change.
74656         (_dl_x86_64_save_sse): Use correct AVX check.
74658 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74660         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74661         bug in strncpy/strncat.
74662         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74664 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74666         * string/tester.c (test_strcat): Add tests for different alignments
74667         of source and destination.
74668         (test_strncat): Likewise.
74670 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74672         [BZ #12852]
74673         * posix/glob.c (glob): Check passed in values before using them in
74674         expressions to avoid some overflows.
74675         (glob_in_dir): Likewise.
74677         [BZ #13007]
74678         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74679         check for AVX enablement so that we don't crash with old kernels and
74680         new hardware.
74681         * elf/tst-audit4.c: Add same checks here.
74682         * elf/tst-audit6.c: Likewise.
74684         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74686 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74688         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74690 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74692         * po/cs.po: Update from translation team.
74693         * po/bg.po: Likewise.
74695 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74697         * misc/sys/cdefs.h: Add support for const attribute.
74698         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74699         to gnu_dev_{major,minor,makedev} functions.
74701 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74703         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74705 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74707         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74708         strlen results.
74710 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74713         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74714         register in order to avoid conflicts with the soft frame pointer
74715         being held in r11 when necessary.
74716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74717         (INTERNAL_VSYSCALL_NCS): Likewise.
74719 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74721         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74722         * elf/dl-fini.c (_dl_fini): Adjust caller.
74723         * elf/dl-close.c (_dl_close_worker): Likewise.
74724         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74726 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74728         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74729         "aux_cache->nlibs < 0".
74731         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74732         in the reload-count case.
74734 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74737         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74738         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74739         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74740         * sysdeps/x86_64/multiarch/strcat.S: New file.
74741         * sysdeps/x86_64/multiarch/strncat.S: New file.
74742         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74743         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74744         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74745         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74746         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74747         (USE_AS_STRCAT): Define.
74748         Add strcat and strncat support.
74749         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74750         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74751         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74752         * string/strncat.c: Update.
74753         (USE_AS_STRNCAT): Define.
74754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74755         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74756         and i7.
74757         * sysdeps/x86_64/multiarch/init-arch.h
74758         (bit_Prefer_PMINUB_for_stringop): New.
74759         (index_Prefer_PMINUB_for_stringop): Likewise.
74760         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74761         bit_Prefer_PMINUB_for_stringop.
74763 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74765         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74766         buffer64.
74767         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74768         of casting of buffer.
74769         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74770         buffer32 and buffer64.
74771         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74772         writes instead of casting of buffer.
74773         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74774         buffer32.
74775         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74776         casting of buffer.
74778 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74780         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74782 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74784         * nscd/nscd.c (termination_handler): Don't do anything for a database
74785         if it has not yet been initialized.
74787 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74789         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74791 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74793         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74795 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74797         * po/nl.po: Update from translation team.
74798         * po/sv.po: Likewise.
74800 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74802         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74803         now disallowed by GCC.
74805         * configure.in (use-default-link): Default to yes if a test -shared
74806         link meets our qualifications.
74807         * configure: Regenerated.
74809         * config.make.in (output-format): New variable.
74810         * configure.in: Check for ld --print-output-format support.
74811         * configure: Regenerated.
74812         * Makerules ($(common-objpfx)format.lds)
74813         [$(output-format) != unknown]: Just use $(output-format),
74814         instead of the linker-script munging.
74816 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74818         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74819         of $(common-objpfx)shlib.lds.
74820         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74822         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74823         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74825         * configure.in (-z relro check): Adjust test code to add a large
74826         writable data section after it.
74827         * configure: Regenerated.
74829 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74831         * configure.in (-z relro check): Fix test code to make the variable
74832         truly const.
74833         * configure: Regenerated.
74835 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74837         * nscd/nscd.h (struct traced_file): Define.
74838         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74839         elements.  Add traced_files.
74840         (inotify_fd): Declare.
74841         (register_traced_file): Declare.
74842         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74843         (inotify_fd): Export.
74844         (resolv_conf_descr): Remove.
74845         (nscd_init): Move inotify descriptor creation to main.
74846         Don't register files for notification here.
74847         (register_traced_file): New function.
74848         (invalidate_cache): Don't use reset_res to determine whether to call
74849         res_init, go through the list of registered files.
74850         (main_loop_poll): The inotify descriptors are now stored in the
74851         structures for the traced files.
74852         (main_loop_epoll): Likewise.
74853         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74854         to __nss_disable_nscd.
74855         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74856         for a database anymore.  Check the records for all the registered
74857         files instead.
74858         * nss/Makefile (libnss_files-routines): Add files-init.
74859         (libnss_db-routines): Add db-init.
74860         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74861         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74862         * nss/nss_db/db-init.c: New file.
74863         * nss/nss_files/files-init.c: New file.
74864         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74865         __nss_lookup_function.
74866         (__nss_lookup_function): Call nss_load_library.
74867         (nss_load_all_libraries): New function.
74868         (__nss_disable_nscd): Take parameter with callback function for files
74869         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74870         used for the cached services.
74871         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74872         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74873         options for features to all the files in nscd.
74875         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74877 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74879         * csu/elf-init.c (__libc_csu_init): Comment typo.
74881 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74883         * po/pl.po: Update from translation team.
74884         * po/ja.po: Likewise.
74885         * po/ru.po: Likewise.
74886         * po/ko.po: Likewise.
74887         * po/fr.po: Likewise.
74889 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74891         * configure.in (.ctors/.dtors header and trailer check):
74892         Use an empirical test on a built program.
74893         * configure: Regenerated.
74895         * configure.in (-z relro check): Use an empirical test on a built DSO.
74896         Detect, but do not require, on ia64.
74897         * configure: Regenerated.
74899         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74900         Update tests that use readelf to use $READELF instead.
74901         * configure: Regenerated.
74903 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74905         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74906         if the result is not used.
74908 2011-07-05  Andreas Jaeger  <aj@suse.de>
74910         [BZ#9696]
74911         * stdlib/tst-strtod.c: Add testcase.
74913 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74915         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74916         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74917         The latter has a higher limit.  Take additional parameter to pass to
74918         the new function.
74919         (__pathconf): Pass file to __statfs_link_max.
74920         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74921         __statfs_link_max.
74922         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74923         __statfs_link_max.
74925         [BZ #12868]
74926         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74927         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74928         Handle Lustre.
74929         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74930         (__statfs_filesize_max): Likewise.
74931         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74933 2011-07-05  Andreas Jaeger  <aj@suse.de>
74935         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74937 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74939         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74940         `status' variable.
74941         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74942         Likewise.
74944 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74946         * Makefile (strop-tests): Add strncat.
74947         * string/test-strncat.c: New file.
74949 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74951         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74953 2011-06-21  Andreas Jaeger  <aj@suse.de>
74955         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74956         Copy rule from iconvdata/Makefile.
74958 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74960         [BZ #12922]
74961         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74962         but no long options are defined, just return 'W'.
74964 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74966         [BZ #9696]
74967         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74969 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74971         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74972         netgroups to read.
74973         (innetgr): Likewise.
74975 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74977         * config.make.in (install_root): Default to $(DESTDIR).
74979 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74981         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74983 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74985         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74987         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74988         containing directory rather than embedding absolute directory names.
74990         * scripts/check-local-headers.sh: Rewritten using awk.
74991         Match by word, not by line.  Print error messages for matches.
74992         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74994         * Makerules [shlib-lds-flags empty]:
74995         ($(common-objpfx)libc_pic.opts): New target.
74996         ($(common-objpfx)libc_pic.os.clean): New target.
74997         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74999         * config.make.in (OBJCOPY): New variable.
75000         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75001         * configure: Regenerated.
75003         * config.make.in (use-default-link): New variable.
75004         * configure.in (use_default_link): Grok --with-default-link to set it.
75005         * configure: Regenerated.
75006         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75007         (shlib-lds, shlib-lds-flags): Define to empty.
75009         * Makerules (shlib-lds): New variable.
75010         (shlib-lds-flags): New variable.
75011         (build-shlib, build-moduile, build-module-asneeded): Use it.
75012         ($(common-objpfx)libc.so): Use $(shlib-lds).
75013         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75014         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75016         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75017         DT_FLAGS/DT_FLAGS_1 with zero flags.
75019         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75020         linker script munging.
75022 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75024         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75025         as 128-bit value.
75026         * crypt/sha512.c (sha512_process_block): Perform total addition using
75027         128-bit if possible.
75028         (__sha512_finish_ctx): Likewise.
75029         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75030         as 64-bit value.
75031         * crypt/sha256.c (SWAP64): Define.
75032         (sha256_process_block): Perform total addition using 64-bit if
75033         possible.
75034         (__sha256_finish_ctx): Likewise.
75036 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75038         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75039         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75040         * nscd/hstcache.c (cache_addhst): Likewise.
75041         * nscd/grpcache.c (cache_addgr): Likewise.
75042         * nscd/aicache.c (addhstaiX): Likewise.
75043         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75045 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75047         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75048         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75049         * nscd/hstcache.c (cache_addhst): Likewise.
75050         * nscd/grpcache.c (cache_addgr): Likewise.
75051         * nscd/aicache.c (addhstaiX): Likewise.
75053 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75055         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75056         domain only when needed.
75058 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75061         is always restored.
75063 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75065         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75066         are re-adding the entry.
75067         * nscd/servicescache.c (cache_addserv): Likewise.
75069 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75071         * sysdeps/generic/dl-irel.h: fix protection against multiple
75072         inclusions.
75073         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75075 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75077         [BZ #12935]
75078         * malloc/memusage.sh: Fix quoting in message.
75079         * debug/xtrace.sh: Likewise.
75081         * configure.in: Remove support for --experimental-malloc option, make
75082         it the default.
75083         * config.make.in: Likewise.
75084         * malloc/Makefile: Likewise.
75086 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75088         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75089         two-byte characters.
75091 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75093         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75094         AC_CACHE_CHECK invocation.
75095         * configure: Regenerated.
75097         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75099 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75101         [BZ #12350]
75102         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75103         bit from old_res_options.
75105         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75107         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75108         value type for setfct.
75110 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75113         __gettimeofday instead of gettimeofday.
75115 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75117         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75119 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75121         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75123         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75124         info.
75126 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75129         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75130         strcpy-sse2-unaligned strncpy-sse2-unaligned
75131         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75132         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75133         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75134         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75135         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75136         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75137         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75138         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75139         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75140         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75141         (STRCPY): Support SSE2 and SSSE3 versions.
75143 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75145         [BZ #12874]
75146         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75147         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75148         kernels which artificially limit size of requests.
75150 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75153         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75154         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75155         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75156         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75157         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75158         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75159         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75160         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75161         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75162         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75163         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75164         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75165         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75166         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75168         Enable unaligned load optimization for Intel Core i3, i5 and i7
75169         processors.
75170         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75171         Define.
75172         (index_Fast_Unaligned_Load): Define.
75173         (HAS_FAST_UNALIGNED_LOAD): Define.
75175 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75177         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75179 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75181         [BZ #12907]
75182         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75183         until it is clear that the information is realy needed.
75184         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75186 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75190 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75192         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75193         /sys/devices/system/cpu/online if it is usable.
75195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75196         reading the information from the /proc filesystem to once a second.
75198 2011-06-21  Andreas Jaeger  <aj@suse.de>
75200         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75201         NULL after inclusion of kernel headers.
75203 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75205         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75206         calls to internal_setent.
75208         [BZ #12885]
75209         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75210         addresses using gethostbyname4_r ignore IPv4 addresses.
75212         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75213         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75215         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75217 2011-06-20  David S. Miller  <davem@davemloft.net>
75219         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75220         inclusions.
75221         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75223         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75224         (elf_irel): Use it.
75225         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75226         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75227         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75228         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75229         * sysdeps/x86_64/dl-irel.h: Likewise.
75231         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75232         * elf/dl-sym.c: Likewise.
75234 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75236         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75237         need to dereference resplen2.
75239 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75241         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75243 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75245         * Makeconfig: Define vardbdir and inst_vardbdir.
75246         * nss/Makefile: Add rules to install db-Makefile.
75248         * nss/nss_db/db-XXX.c: Cleanup.
75250         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75251         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75252         GLIBC_PRIVATE.
75253         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75254         * nss/makedb.c: Implement -g option to specify that value strings
75255         are generated and should not be added to table iterated over for
75256         get*ent calls.
75257         * nss/nss_db/db-initgroups.c: New file.
75259         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75260         interface.
75262         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75263         (internal_getgrouplist): Adjust to name change.
75264         Update use_initgroups_entry if this is not the first call.
75265         * nss/databases.def: Add initgroups entry.
75267         * nss/makedb.c (compute_tables): Check result of multiple hash table
75268         sizes to minimize maximum chain length.
75270 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75272         * Versions.def: Add entry for libnss_db.
75273         * shlib-versions: Likewise.
75274         * nss/Makefile: Add rules to build libnss_db.
75275         * nss/Versions: Add libnss_db information.  Organize libnss_files
75276         entries better.
75277         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75278         makedb progra.  Some minor improvements to generate smaller files.
75279         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75280         here from...
75281         * nss/makedb.c: ...here.
75282         Improve database format to be smaller and require less memory at
75283         runtime.
75284         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75285         db anymore.
75286         * nss/nss_db/db-netgrp.c: Likewise.
75287         * nss/nss_db/db-open.c: Likewise.
75288         * nss/nss_files/flies-XXX.x: Adjust comments.
75289         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75290         * nss/nss_files/files-grp.c: Likewise.
75291         * nss/nss_files/files-hosts.c: Likewise.
75292         * nss/nss_files/files-network.c: Likewise.
75293         * nss/nss_files/files-proto.c: Likewise.
75294         * nss/nss_files/files-pwd.c: Likewise.
75295         * nss/nss_files/files-rpc.c: Likewise.
75296         * nss/nss_files/files-service.c: Likewise.
75297         * nss/nss_files/files-sgrp.c: Likewise.
75298         * nss/nss_files/files-spwd.c: Likewise.
75299         * nss/nss_db/db-alias.c: Removed.
75300         * nss/nss_db/dummy-db.h: Removed.
75302 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75304         * nss/makedb.c: Rewritten to not use database library.
75305         * nss/Makefile: Update to build new makedb program.
75307 2011-06-14  Andreas Jaeger  <aj@suse.de>
75309         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75310         memset declaration.
75312 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75315         tmpbuf.
75317 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75319         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75320         * elf/Makefile ($(objpfx)ld.so): Likewise.
75322         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75323         Don't list ld.so twice in dependencies.
75325         * posix/bug-regex31.c: Include <stdlib.h>.
75327         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75329         * nis/nss_compat/compat-spwd.c
75330         (getspent_next_nss_netgr): Remove unused variable.
75331         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75333         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75334         nonmembers" output to use the right array.
75336         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75338         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75340         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75341         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75342         * catgets/gencat.c (read_input_file): Likewise.
75343         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75345         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75346         variable definition inside #if's controlling its use.
75348         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75350         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75352         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75354         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75355         unreachable code.
75357         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75359         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75360         * configure: Regenerated.
75362         * Makerules: Revert last change.
75363         * elf/Makefile: Likewise.
75365 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75367         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75368         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75369         (reloc-link): Likewise.
75371 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75373         * elf/Makefile: Add rules to build pldd.
75374         * elf/pldd.c: New file.
75375         * elf/pldd-xx.c: New file.
75377 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75379         * version.h: Update for 2.15 development version.
75381 2011-06-07  David S. Miller  <davem@davemloft.net>
75383         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75384         ifuncs.
75385         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75386         elf_machine_lazy_rel): Likewise.
75387         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75389         elf_machine_lazy_rel): Likewise.
75390         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75391         dl_hwcap via passed in argument.
75392         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75393         Likewise.
75395 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75397         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75399 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75401         [BZ #12849]
75402         * manual/fdl-1.1.texi: New file, verbatim from:
75403         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75404         * manual/lgpl-2.1.texi: New file, verbatim from:
75405         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75406         * manual/Makefile (licenses): New variable, list those new file names.
75407         (texis): Use it.
75408         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75410         * manual/fdl.texi: File removed.
75411         * manual/lesser.texi: File removed.
75412         * manual/libc.texinfo (Copying, Documentation License):
75413         Use new @include file names, put @appendix directive before @include.
75415 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75417         [BZ #12841]
75418         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75419         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75420         (mq_open): Add __NTH.
75422 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75425         Assume Intel Core i3/i5/i7 processor if AVX is available.
75427 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75429         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75430         typo.
75432 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75434         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75435         memory.  Use alloca_account.  Fix memory leak when retrying.
75437 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75439         * version.h (RELEASE): Bump for 2.14 release.
75440         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75442         * config.make.in (RANLIB): Remove entry.
75444 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75446         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75447         (libc.pot): Work around missing support for .ksh extension in xgettext.
75449         [BZ #12684]
75450         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75451         if both request failed.
75452         (send_dg): In case of server errors clear resplen or *resplen2.
75454         [BZ #12454]
75455         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75456         when there are multiple maps.
75457         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75458         (_dl_fini): Remove test here.
75460         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75462 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75464         [BZ #12350]
75465         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75466         bit from old_res_options.
75467         (gaih_inet): Likewise.
75469         [BZ #11099]
75470         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75471         as signed.
75473         * resolv/res_init.c (res_setoptions): Make the code more compact.
75475         [BZ #11558]
75476         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75477         set RES_USEVC.
75479         [BZ #11634]
75480         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75482         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75484         [BZ #11781]
75485         * malloc/malloc.h: Declare malloc hook variables as volatile.
75487         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75488         in last patch.
75490         [BZ #11799]
75491         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75492         raise in the comment.
75493         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75494         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75495         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75497 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75499         [BZ #12811]
75500         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75501         grow the buffers more if it already has to be sufficient.
75502         (build_wcs_upper_buffer): Likewise.
75503         * posix/regexec.c (check_matching): Likewise.
75504         (clean_state_log_if_needed): Likewise.
75505         (extend_buffers): Don't enlarge buffers beyond size of the input
75506         buffer.
75507         Patches mostly by Emil Wojak <emil@wojak.eu>.
75508         * posix/bug-regex32.c: New file.
75509         * posix/Makefile (tests): Add bug-regex32.
75511         * locale/findlocale.c (_nl_find_locale): Return right away if
75512         _nl_explode_name failed.
75513         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75515         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75517         * debug/xtrace.sh: Unify messages.
75518         * malloc/memusage.sh: Likewise.
75520         [BZ #12813]
75521         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75522         time symbol from vDSO.  Substitute with vsyscall if not available.
75523         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75524         __vdso_time.
75526         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75527         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75528         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75529         Add sendmmsg and internal_sendmmsg.
75530         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75531         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75532         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75534         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75535         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75536         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75538 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75540         [BZ #12813]
75541         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75542         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75543         available.
75544         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75545         __vdso_getcpu.
75547         [BZ #12814]
75548         * iconvdata/Makefile (tests): Add bug-iconv9.
75549         * iconvdata/bug-iconv9.c: New file.
75551 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75553         [BZ #12814]
75554         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75556 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75558         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75559         (struct user_regs_struct): Change intcs field back to cs.
75561 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75563         * po/ja.po: Update from translation team.
75565 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75567         [BZ #12795]
75568         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75569         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75571 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75573         * stdlib/longlong.h: Update from GCC.
75575 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75577         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75578         parameter name.
75579         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75580         Add parameter name.
75581         (__sysconf): Pass it down.
75583 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75585         [BZ #12671]
75586         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75587         some situations.
75588         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75589         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75590         add in in __libc_use_alloca calls.  Adjust callers.
75591         (glob): Use malloc in some situations.
75593         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75594         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75595         pltexit.
75597 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75599         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75600         and CLOCK_BOOTTIME_ALARM.
75602         [BZ #12782]
75603         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75604         is returned.
75606         * string/_strerror.c (__strerror_r): Print negative errors as signed
75607         numbers.
75609         [BZ #12777]
75610         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75611         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75612         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75614         * configure.in: Fix typo in redirection and correct removal of test
75615         files in two cases.
75617         [BZ #12788]
75618         * locale/setlocale.c (new_composite_name): Fix test to check for
75619         identical name of all categories.
75621         [BZ #12792]
75622         * libio/filedoalloc.c (local_isatty): New function.
75623         (_IO_file_doallocate): Use local_isatty.
75624         * stdio-common/perror.c (perror): In case a new stream is used
75625         forward the stream error.
75626         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75627         error flag.
75629 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75631         [BZ #11884]
75632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75633         alloca.
75634         * include/alloca.h (extend_alloca_account): Define.
75636         [BZ #11857]
75637         * posix/regex.h: Fix comments with documentation of user-accessible
75638         fields after compilation and describe correct free'ing of pattern
75639         after re_compile_pattern.
75640         Patch by Reuben Thomas <rrt@sc3d.org>.
75642 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75644         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75645         and -mno-altivec to prevent the compiler from using Altivec and/or
75646         VSX instructions when the corresponding registers are not available.
75648 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75650         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75652 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75654         * libio/freopen.c (freopen): Use __dup2, not dup2.
75655         * libio/freopen64.c (freopen64): Likewise.
75657 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75659         [BZ #12775]
75660         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75661         * math/Makefile (tests): Add test-powl.
75662         (CFLAGS-test-powl.c): Define.
75663         * math/test-powl.c: New file.
75665 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75667         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75669 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75671         [BZ #11837]
75672         * iconvdata/gb18030.c: Update to GB18020-2005.
75674 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75676         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75677         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75678         Patch by Aharon Robbins <arnold@skeeve.com>.
75680         [BZ #11892]
75681         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75682         on the stack.
75684         [BZ #11895]
75685         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75686         through underflows.
75688         [BZ #12766]
75689         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75690         point to strings before performing equality test for error_one_per_line
75691         mode.
75693         [BZ #11697]
75694         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75696         [BZ #11820]
75697         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75698         (struct user_fpregs_struct): Avoid __uint*_t types.
75700         [BZ #6420]
75701         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75702         symbol info.  Use it instead of calling _dl_addr locally.
75703         (lock_and_info): New function.
75704         (tr_freehook): Call lock_and_info and pass symbol info as additional
75705         parameter to tr_where.
75706         (tr_mallochook): Likewise.
75707         (tr_reallochook): Likewise.
75708         (tr_memalignhook): Likewise.
75710         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75711         used and couldn't be at all thread-safe.
75713 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75715         * libio/freopen.c (freopen): Don't close old file descriptor
75716         before the new one is opened.  Instead dup the new file descriptor
75717         to the old one after the new stream is created.
75718         * libio/freopen64.c (freopen64): Likewise.
75719         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75720         * libio/fileops.c (_IO_new_file_close_it): Handle new
75721         _IO_FLAGS2_NOCLOSE flag.
75722         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75723         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75724         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75725         _IO_FLAGS2_NOCLOSE flag.
75726         * include/unistd.h: Add hidden_proto for dup3.
75727         Define __have_dup3.
75728         * io/dup3.c: Define hidden symbol.
75729         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75731         [BZ #7101]
75732         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75733         when an incomplete long option is used.
75734         * posix/tst-getopt_long1.c: New file.
75735         * posix/Makefile (tests): Add tst-getopt_long1.
75737         [BZ #10138]
75738         * scripts/config.guess: Update from autoconf-2.68.
75739         * scripts/config.sub: Likewise.
75741         [BZ #10157]
75742         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75743         tests into ...
75744         (has_cpuclock): ...this.  New function.
75745         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75746         macro here based on has_cpuclock code.
75748         [BZ #10149]
75749         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75750         First byte (not low byte) is now always NUL.
75751         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75754         Use non-cancelable interfaces.
75756         [BZ #9809]
75757         * locale/iso-639.def: Add entry for Sorani.
75759         [BZ #11901]
75760         * include/stdlib.h: Move include protection to the right place.
75761         Define abort_msg_s.  Declare __abort_msg with it.
75762         * stdlib/abort.c (__abort_msg): Adjust type.
75763         * assert/assert.c (__assert_fail_base): New function.  Majority
75764         of code from __assert_fail.  Allocate memory for __abort_msg with
75765         mmap.
75766         (__assert_fail): Now call __assert_fail_base.
75767         * assert/assert-perr.c: Remove bulk of implementation.  Use
75768         __assert_fail_base.
75769         * include/assert.hL Declare __assert_fail_base.
75770         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75771         mmap.
75772         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75774 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75776         [BZ #11952]
75777         [BZ #12453]
75778         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75779         until all modules are registered in the DTV.
75780         * elf/Makefile: Add rules to build and run tst-tls19.
75781         * elf/tst-tls19.c: New file.
75782         * elf/tst-tls19mod1.c: New file.
75783         * elf/tst-tls19mod2.c: New file.
75784         * elf/tst-tls19mod3.c: New file.
75785         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75787         [BZ #12083]
75788         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75789         correctly.
75791         [BZ #12601]
75792         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75793         two-byte sequence errors.
75794         * iconvdata/Makefile (tests): Add bug-iconv8.
75795         * iconvdata/bug-iconv8.c: New file.
75797         [BZ #12626]
75798         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75799         buf2 definition.
75801         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75803         [BZ #12432]
75804         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75805         (dummy_getcfa): New function.
75806         (init): Get _Unwind_GetCFA address, use dummy if not found.
75807         (backtrace_helper): In recursion check, also check whether CFA changes.
75808         (__backtrace): Completely initialize arg.
75810         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75811         storing incomplete byte sequence in state object.  Avoid testing for
75812         guaranteed too small input if we know there is enough data available.
75814 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75816         * Makeconfig (+link-pie): Indent.
75817         * Rules (binaries-pie): Define if $(have-fpie) and
75818         $(build-shared).
75819         (binaries-shared): Also filter out $(binaries-pie).
75820         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75821         * nscd/Makefile (others-pie): Add nscd.
75822         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75823         ($(objpfx)nscd): Remove command override.
75824         * login/Makefile (others-pie): Add pt_chown.
75825         ($(objpfx)pt_chown): Remove command override.
75826         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75827         remove command overrides.
75829 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75831         * libio/tst_putwc.c: Fix error messages.
75833         [BZ #12724]
75834         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75835         currently writing and seek to current position when not.
75836         * libio/Makefile (tests): Add bug-fclose1.
75837         * libio/bug-fclose1.c: New file.
75839 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75841         [BZ #12511]
75842         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75843         don't set DF_1_NODELETE here.
75844         (do_lookup_x): When entering new entry test for copy relocation
75845         and if necessary set DF_1_NODELETE flag.
75846         * elf/tst-unique4.cc: New file.
75847         * elf/tst-unique4.h: New file.
75848         * elf/tst-unique4lib.cc: New file.
75849         * elf/Makefile: Add rules to build and run tst-unique4.
75850         Patch by Piotr Bury <pbury@goahead.com>.
75852 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75854         [BZ #12052]
75855         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75857         [BZ #12625]
75858         * misc/mntent_r.c (addmntent): Flush the stream after the output
75860         [BZ #12393]
75861         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75862         (is_trusted_path_normalize): Skip initial colon.  Append slash
75863         to empty buffer.  Duplicate is_trusted_path code but allow
75864         constructed patch to be prefix.
75865         (is_dst): Allow $ORIGIN followed by /.
75866         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75867         Correct testing of result of is_trusted_path_normalize
75868         (decompose_rpath): Fix warning.
75870 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75872         [BZ #11257]
75873         * grp/initgroups.c (internal_getgrouplist): When we found the service
75874         list through the initgroups entry in nsswitch.conf do not always
75875         continue on a successful lookup.  Don't always use the
75876         __nss_group_database value if it is set.
75877         * nss/nsswitch.conf (initgroups): Change action for successful db
75878         lookup to continue for compatibility.
75880 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75882         [BZ #11532]
75883         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75884         and CP774 modules.
75885         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75886         and CP774 modules.
75887         * iconvdata/tst-tables.sh: Likewise.
75888         * iconvdata/cp770.c: New file.
75889         * iconvdata/cp771.c: New file.
75890         * iconvdata/cp772.c: New file.
75891         * iconvdata/cp773.c: New file.
75892         * iconvdata/cp774.c: New file.
75893         * iconvdata/testdata/CP770: New file.
75894         * iconvdata/testdata/CP770..UTF8: New file.
75895         * iconvdata/testdata/CP771: New file.
75896         * iconvdata/testdata/CP771..UTF8: New file.
75897         * iconvdata/testdata/CP772: New file.
75898         * iconvdata/testdata/CP772..UTF8: New file.
75899         * iconvdata/testdata/CP773: New file.
75900         * iconvdata/testdata/CP773..UTF8: New file.
75901         * iconvdata/testdata/CP774: New file.
75902         * iconvdata/testdata/CP774..UTF8: New file.
75904         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75905         END CHARMAP line.
75906         * iconvdata/gen-8bit-gap.sh: Likewise.
75907         * iconvdata/gen-8bit.sh: Likewise.
75909         * locale/iso-639.def: Add ary entry.
75911         [BZ #11258]
75912         * locale/C-translit.h.in: Add U20A1 transliteration.
75914         [BZ #12178]
75915         * locale/iso-639.def: Add wae entry.
75916         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75918         [BZ #12545]
75919         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75920         for n.
75922         [BZ #12711]
75923         * locale/C-translit.h.in: Add entry for U20B9.
75924         Patch by pravin.d.s@gmail.com.
75926 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75928         [BZ #12713]
75929         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75930         ENAMETOOLONG use generic getcwd.
75931         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75932         in rtld.  Use *stat64.
75933         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75934         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75935         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75936         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75937         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75938         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75939         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75940         __fstatat64 macros.
75941         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75942         * dirent/rewinddir.c: Add libc_hidden_def.
75943         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75944         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75946         * include/dirent.h (__alloc_dir): Add flags parameter.
75947         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75948         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75949         __alloc_dir.
75950         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75951         from fdopendir if O_CLOEXEC is already set.
75953 2011-03-15  Alan Modra  <amodra@gmail.com>
75955         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75956         l_tls_firstbyte_offset non-zero.  Save padding offset in
75957         l_tls_firstbyte_offset for later use.
75958         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75959         freeing static tls block.
75961 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75963         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75964         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75965         being defined by the kernel headers.
75967 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75969         [BZ #12734]
75970         * resolv/resolv.h: Define RES_NOTLDQUERY.
75971         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75972         no-tld-query and set RES_NOTLDQUERY.
75973         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75974         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75975         modern BIND to search name as TLD unless forbidden.
75977 2011-05-07  Petr Baudis  <pasky@suse.cz>
75978             Ulrich Drepper  <drepper@gmail.com>
75980         [BZ #12393]
75981         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75982         (is_trusted_path): ...to here.
75983         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75984         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75985         using is_trusted_path_normalize() in setuid scripts.
75987 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75989         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75990         __BEGIN/__END_DECLS.
75992 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75994         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75995         NSS_STATUS_NOTFOUND if no record was found.
75997 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75999         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76000         (headers-not-in-tirpc): Remove rpc/netdb.h
76001         * resolv/netdb.h: Revert last change.
76003 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76005         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76006         circular dependency between libgcc.a and libc.a.
76008 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76010         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76011         * nis/Makefile: Don't install rpcsvc/*.
76012         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76013         instead of <rpc/types.h>.
76014         (MAXHOSTNAMELEN): Define.
76016 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76018         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76020 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76022         [BZ #12714]
76023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76024         gethostbyname4_r when IPv6 results are possible.
76026 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76028         [BZ #12723]
76029         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76030         _PC_PIPE_BUF handling.
76032 2011-04-30  Bruno Haible  <bruno@clisp.org>
76034         [BZ #12717]
76035         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76036         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76037         to 'int'.
76038         * inet/getnameinfo.c (getnameinfo): Likewise.
76040 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76042         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76043         to groups setting in database lookup.
76044         * nss/nsswitch.conf: Add initgroups entry.
76046 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76048         [BZ #12685]
76049         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76050         mode string.
76051         Patch by Eric Blake <eblake@redhat.com>.
76053 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76055         * sunrpc/Makefile (need-export-routines): Add svc_run.
76056         (routines): Remove svc_run.
76057         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76058         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76059         * sunrpc/svc_run.c (svc_run): Likewise.
76060         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76062 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76064         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76065         problem in reallocation in last patch.
76067 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76069         * sunrpc/Makefile: Move inclusion of Rules.
76071 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76073         * nss/nss_files/files-initgroups.c: New file.
76074         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76075         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76076         _nss_files_initgroups_dyn.
76078 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76080         * elf/elf.h (R_ARM_IRELATIVE): Define.
76082 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76084         * po/ru.po: Update from translation team.
76086 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76088         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76089         dependencies.
76091 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76093         [BZ #12653]
76094         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76095         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76096         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76097         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76100 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76102         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76103         differing bytes.
76104         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76105         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76106         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76108 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76110         [BZ #12420]
76111         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76112         storing it.
76113         * stdlib/bug-getcontext.c: New file.
76114         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76116 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76118         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76119         instructions into .machine "z9-109".
76120         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76121         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76123 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76125         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76126         between environment variables and auxiliary vector.
76128 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76130         * Makefile: Add rules to build linkobj/libc.so.
76131         * include/libc-symbols.h: Define libc_hidden_nolink.
76132         * include/rpc/auth.h: Mark functions which are to be hidden.
76133         * include/rpc/auth_des.h: Likewise.
76134         * include/rpc/auth_unix.h: Likewise.
76135         * include/rpc/clnt.h: Likewise.
76136         * include/rpc/des_crypt.h: Likewise.
76137         * include/rpc/key_prot.h: Likewise.
76138         * include/rpc/pmap_clnt.h: Likewise.
76139         * include/rpc/pmap_prot.h: Likewise.
76140         * include/rpc/pmap_rmt.h: Likewise.
76141         * include/rpc/rpc_msg.h: Likewise.
76142         * include/rpc/svc.h: Likewise.
76143         * include/rpc/svc_auth.h: Likewise.
76144         * include/rpc/xdr.h: Likewise.
76145         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76146         * nss/Makefile: Likewise.
76147         * sunrpc/Makefile: Don't install headers.  Build library with normal
76148         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76149         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76150         for the compat linking library.  Remove use of INTDEF/INTUSE.
76151         * sunrpc/auth_none.c: Likewise.
76152         * sunrpc/auth_unix.c: Likewise.
76153         * sunrpc/authdes_prot.c: Likewise.
76154         * sunrpc/authuxprot.c: Likewise.
76155         * sunrpc/clnt_gen.c: Likewise.
76156         * sunrpc/clnt_perr.c: Likewise.
76157         * sunrpc/clnt_raw.c: Likewise.
76158         * sunrpc/clnt_simp.c: Likewise.
76159         * sunrpc/clnt_tcp.c: Likewise.
76160         * sunrpc/clnt_udp.c: Likewise.
76161         * sunrpc/clnt_unix.c: Likewise.
76162         * sunrpc/des_crypt.c: Likewise.
76163         * sunrpc/des_soft.c: Likewise.
76164         * sunrpc/get_myaddr.c: Likewise.
76165         * sunrpc/key_call.c: Likewise.
76166         * sunrpc/key_prot.c: Likewise.
76167         * sunrpc/netname.c: Likewise.
76168         * sunrpc/pm_getmaps.c: Likewise.
76169         * sunrpc/pm_getport.c: Likewise.
76170         * sunrpc/pmap_clnt.c: Likewise.
76171         * sunrpc/pmap_prot.c: Likewise.
76172         * sunrpc/pmap_prot2.c: Likewise.
76173         * sunrpc/pmap_rmt.c: Likewise.
76174         * sunrpc/publickey.c: Likewise.
76175         * sunrpc/rpc_cmsg.c: Likewise.
76176         * sunrpc/rpc_common.c: Likewise.
76177         * sunrpc/rpc_dtable.c: Likewise.
76178         * sunrpc/rpc_prot.c: Likewise.
76179         * sunrpc/rpc_thread.c: Likewise.
76180         * sunrpc/rtime.c: Likewise.
76181         * sunrpc/svc.c: Likewise.
76182         * sunrpc/svc_auth.c: Likewise.
76183         * sunrpc/svc_authux.c: Likewise.
76184         * sunrpc/svc_raw.c: Likewise.
76185         * sunrpc/svc_run.c: Likewise.
76186         * sunrpc/svc_simple.c: Likewise.
76187         * sunrpc/svc_tcp.c: Likewise.
76188         * sunrpc/svc_udp.c: Likewise.
76189         * sunrpc/svc_unix.c: Likewise.
76190         * sunrpc/svcauth_des.c: Likewise.
76191         * sunrpc/xcrypt.c: Likewise.
76192         * sunrpc/xdr.c: Likewise.
76193         * sunrpc/xdr_array.c: Likewise.
76194         * sunrpc/xdr_float.c: Likewise.
76195         * sunrpc/xdr_intXX_t.c: Likewise.
76196         * sunrpc/xdr_mem.c: Likewise.
76197         * sunrpc/xdr_rec.c: Likewise.
76198         * sunrpc/xdr_ref.c: Likewise.
76199         * sunrpc/xdr_sizeof.c: Likewise.
76200         * sunrpc/xdr_stdio.c: Likewise.
76202 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76204         [BZ #12650]
76205         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76206         * sysdeps/ia64/dl-tls.h: Likewise.
76207         * sysdeps/powerpc/dl-tls.h: Likewise.
76208         * sysdeps/s390/dl-tls.h: Likewise.
76209         * sysdeps/sh/dl-tls.h: Likewise.
76210         * sysdeps/sparc/dl-tls.h: Likewise.
76211         * sysdeps/x86_64/dl-tls.h: Likewise.
76212         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76214 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76216         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76217         rpath element also skip the following colon.
76218         (expand_dynamic_string_token): Add is_path parameter and pass
76219         down to DL_DST_REQUIRED and _dl_dst_substitute.
76220         (decompose_rpath): Call expand_dynamic_string_token with
76221         non-zero is_path.  Ignore empty rpaths.
76222         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76223         with zero is_path.
76225 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76228         Make cancelable.
76230 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76232         [BZ #12655]
76233         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76234         Patch by Filipe David Manana <fdmanana@apache.org>.
76236 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76238         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76239         Maintain aligned stack.
76240         (CHECK_RSP): Remove unused macro.
76242 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76244         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76245         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76247 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76249         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76251         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76253 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76255         [BZ #12518]
76256         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76257         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76258         * sysdeps/x86_64/memmove.c: New file.
76259         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76260         (memcpy): Renamed to ...
76261         (__new_memcpy): This.
76262         (memcpy): Provide GLIBC_2_14 memcpy.
76263         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76264         (memcpy): Provide GLIBC_2_2_5 memcpy.
76266 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76268         [BZ #12631]
76269         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76271 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76273         * misc/syncfs.c: New file.
76274         * misc/Makefile (routines): Add syncfs.
76275         * posix/unistd.h: Declare syncfs.
76276         * sysdeps/unix/syscalls.list: Add syncfs.
76278 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76280         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76281         open_by_handle_at.
76282         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76283         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76284         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76285         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76287         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76288         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76290 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76292         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76293         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76294         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76295         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76296         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76300         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76301         sync_file_range.c with -fexceptions.
76302         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76303         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76304         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76305         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76306         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76307         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76308         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76309         sync_file_range as cancellation point
76310         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76311         now a wrapper around __call_sync_file_range with cancellation handling.
76312         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76313         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76314         function name to __call_sync_file_range.
76315         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76316         Add call_sync_file_range.
76318 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76321         bits/timex.h.
76323 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76325         * iconv/iconv.h: Fix typo in comment.
76326         * io/fcntl.h: Likewise.
76327         * libio/stdio.h: Likewise.
76328         * posix/spawn.h: Likewise.
76329         * posix/unistd.h: Likewise.
76330         * stdlib/stdlib.h: Likewise.
76331         * time/time.h: Likewise.
76332         * wcsmbs/wchar.h: Likewise.
76334         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76335         open_by_handle): Add.
76336         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76337         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76338         Augment a few comments.
76339         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76340         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76341         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76342         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76343         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76344         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76345         open_by_handle.
76347         * io/fcntl.h (AT_EMPTY_PATH): Define.
76349 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76351         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76352         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76353         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76354         to...
76355         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76356         * Versions.def: Add GLIBC_2.14.
76357         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76358         Export.
76360 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76362         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76363         round counter.
76364         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76366 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76368         [BZ #12597]
76369         * string/test-strncmp.c (do_page_test): New function.
76370         (check2): Likewise.
76371         (test_main): Call check2.
76372         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76374 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76376         [BZ #12587]
76377         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76378         Handle cache information in CPU leaf 4.
76379         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76381 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76383         [BZ #12583]
76384         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76385         character representation.
76386         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76388 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76390         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76391         END(__isnan) to END(__isnanf) to match function entry point/label
76392         EALIGN(__isnanf,...).
76394 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76396         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76398 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76400         [BZ #12510]
76401         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76402         copy from the symbol referenced in the relocation to initialize the
76403         used variable.
76404         Patch by Piotr Bury <pbury@goahead.com>.
76405         * elf/Makefile: Add rules to build and tst-unique3.
76406         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76407         * elf/tst-unique3.cc: New file.
76408         * elf/tst-unique3.h: New file.
76409         * elf/tst-unique3lib.cc: New file.
76410         * elf/tst-unique3lib2.cc: New file.
76412         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76414 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76416         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76417         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76418         to _start.
76420 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76422         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76423         to-be-loaded object along a path to loader is ld.so.
76425 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76426             Ulrich Drepper  <drepper@gmail.com>
76428         * sysdeps/x86_64/memset.S: After aligning destination, code
76429         branches to different locations depending on the value of
76430         misalignment, when multiarch is enabled. Fix this.
76432 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76434         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76435         Set _x86_64_preferred_memory_instruction for AMD processsors.
76436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76437         Set bit_Prefer_SSE_for_memop for AMD processors.
76439 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76441         * libio/fmemopen.c (fmemopen): Optimize a bit.
76443 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76445         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76447 2011-03-03  Roland McGrath  <roland@redhat.com>
76449         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76451 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76453         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76454         __bzero_ultra1 instead of __memset_ultra1.
76456 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76457             Ulrich Drepper  <drepper@gmail.com>
76459         [BZ #12509]
76460         * include/link.h (struct link_map): Add l_orig_initfini.
76461         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76462         returning unsuccessfully.
76463         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76464         close of a file loaded at startup, restore the original l_initfini
76465         list.
76466         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76467         list, store the pointer.
76468         * elf/Makefile ($(objpfx)noload-mem): New rule.
76469         (noload-ENV): Define.
76470         (tests): Add $(objpfx)noload-mem.
76471         * elf/noload.c: Include <memcheck.h>.
76472         (main): Call mtrace.  Close all opened handles.
76474 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76476         [BZ #12454]
76477         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76478         dependencies are missing.
76480 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76482         Fix __if_freereq crash: Unlike the generic version which uses free,
76483         Hurd needs munmap.
76484         * sysdeps/mach/hurd/ifreq.h: New file.
76486 2011-01-27  Petr Baudis  <pasky@suse.cz>
76487             Ulrich Drepper  <drepper@gmail.com>
76489         [BZ 12445]#
76490         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76491         to extend_alloca().
76492         * stdio-common/bug23.c: New file.
76493         * stdio-common/Makefile (tests): Add bug23.
76495 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76496             Ulrich Drepper  <drepper@gmail.com>
76498         [BZ #12489]
76499         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76500         before performing relro protection.  At old place add assertion
76501         to make sure nothing changed.
76503 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76504             Glauber de Oliveira Costa  <glommer@gmail.com>
76506         * elf/elf.h: Add new ARM TLS relocs.
76508 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76511         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76512         cast from r3.
76513         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76514         'tests' variable.
76515         * sysdeps/wordsize-64/tst-writev.c: New file.
76517 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76519         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76520         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76521         insns in _dl_start to prevent a TOC reference before relocs are
76522         resolved.
76524 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76526         [BZ #12469]
76527         * Makeconfig: Remove RANLIB definition.
76528         * Makerules: Don't use RANLIB.
76529         * aclocal.m4: Remove ranlib test.
76530         * configure.in: No need to check for ranlib.
76531         * elf/rtld-Rules: Don't use RANLIB.
76533 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76535         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76536         protection macro.
76537         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76538         inclusion protection macro.
76540         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76541         SIGRTMIN and SIGRTMAX and print information in that case only when
76542         SIGRTMIN is defined.
76544 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76546         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76547         arginfo fn returning -1.
76549         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76550         and thousands string is zero terminated.
76552 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76554         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76555         sysdeps/unix/sysv/linux/bits/socket.h.
76557 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76559         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76560         (__CPU_COUNT): Remove old macros.
76561         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76562         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76563         (__CPU_ALLOC, __CPU_FREE): Add macros.
76564         (__sched_cpualloc, __sched_cpufree): Add declarations.
76566 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76568         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76569         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76570         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76571         (readdhstai): Return value of addhstaiX call.
76572         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76573         (addgrbyX): Return value returned by cache_addgr.
76574         (readdgrbyname): Return value returned by addgrbyX.
76575         (readdgrbygid): Likewise.
76576         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76577         (addpwbyX): Return value returned by cache_addpw.
76578         (readdpwbyname): Return value returned by addhstbyX.
76579         (readdpwbyuid): Likewise.
76580         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76581         (addservbyX): Return value returned by cache_addserv.
76582         (readdservbyname): Return value returned by addservbyX:
76583         (readdservbyport): Likewise.
76584         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76585         (addhstbyX): Return value returned by cache_addhst.
76586         (readdhstbyname): Return value returned by addhstbyX.
76587         (readdhstbyaddr): Likewise.
76588         (readdhstbynamev6): Likewise.
76589         (readdhstbyaddrv6): Likewise.
76590         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76591         (readdinitgroups): Return value returned by addinitgroupsX.
76592         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76593         (prune_cache): Keep track of timeout value of re-added entries.
76594         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76595         * nscd/nscd.h: Adjust prototypes of readd* functions.
76597 2011-02-04  Roland McGrath  <roland@redhat.com>
76599         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76600         (nis_stats): Likewise.
76601         * nis/nis_modify.c (nis_modify): Likewise.
76602         * nis/nis_remove.c (nis_remove): Likewise.
76603         * nis/nis_add.c (nis_add): Likewise.
76605         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76607         * posix/fnmatch_loop.c: Add some consts.
76609         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76611 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76613         [BZ #12460]
76614         * config.make.in (config-cflags-novzeroupper): Define.
76615         * configure.in: Substitute libc_cv_cc_novzeroupper.
76616         * elf/Makefile (AVX-CFLAGS): Define.
76617         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76618         (CFLAGS-tst-auditmod4a.c): Likewise.
76619         (CFLAGS-tst-auditmod4b.c): Likewise.
76620         (CFLAGS-tst-auditmod6b.c): Likewise.
76621         (CFLAGS-tst-auditmod6c.c): Likewise.
76622         (CFLAGS-tst-auditmod7b.c): Likewise.
76623         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76625 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76627         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76628         function to the callback.
76629         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76631 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76633         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76634         of errno.
76636 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76638         [BZ #11724]
76639         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76640         of constructors.
76641         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76642         of destructors.
76643         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76645         [BZ #11724]
76646         * elf/Makefile: Add rules to build and run new test.
76647         * elf/tst-initorder.c: New file.
76648         * elf/tst-initorder.exp: New file.
76649         * elf/tst-initordera1.c: New file.
76650         * elf/tst-initordera2.c: New file.
76651         * elf/tst-initordera3.c: New file.
76652         * elf/tst-initordera4.c: New file.
76653         * elf/tst-initorderb1.c: New file.
76654         * elf/tst-initorderb2.c: New file.
76655         * elf/tst-order-a1.c: New file.
76656         * elf/tst-order-a2.c: New file.
76657         * elf/tst-order-a3.c: New file.
76658         * elf/tst-order-a4.c: New file.
76659         * elf/tst-order-b1.c: New file.
76660         * elf/tst-order-b2.c: New file.
76661         * elf/tst-order-main.c: New file.
76662         New test case by George Gensure <werkt0@gmail.com>.
76664 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76667         decoding ACE if AI_CANONIDN.
76669 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76671         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76673 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76675         * version.h (RELEASE): Bump for 2.13 release.
76676         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76678         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76680         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76681         MADV_NOHUGEPAGE.
76682         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76683         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76684         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76685         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76686         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76687         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76689         * posix/getconf.c: Update copyright year.
76690         * catgets/gencat.c: Likewise.
76691         * csu/version.c: Likewise.
76692         * debug/catchsegv.sh: Likewise.
76693         * debug/xtrace.sh: Likewise.
76694         * elf/ldconfig.c: Likewise.
76695         * elf/ldd.bash.in: Likewise.
76696         * elf/sprof.c (print_version): Likewise.
76697         * iconv/iconv_prog.c: Likewise.
76698         * iconv/iconvconfig.c: Likewise.
76699         * locale/programs/locale.c: Likewise.
76700         * locale/programs/localedef.c: Likewise.
76701         * malloc/memusage.sh: Likewise.
76702         * malloc/mtrace.pl: Likewise.
76703         * nscd/nscd.c (print_version): Likewise.
76704         * nss/getent.c: Likewise.
76706         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76707         PF_CAIF, and PF_ALG.
76708         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76710 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76712         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76713         (modules-names): Use them.
76714         (ifunc-test-modules, ifunc-pie-tests): Define.
76715         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76716         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76717         (test-extras): Likewise.
76718         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76719         $(compile-command.c).
76720         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76721         (all-built-dso): Define.
76722         (check-textrel.out, check-execstack.out): Depend on it.
76724         * configure.in: Don't override --enable-multi-arch.
76726 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76728         [BZ #6812]
76729         * nscd/hstcache.c (tryagain): Define.
76730         (cache_addhst): Return tryagain not notfound for temporary errors.
76731         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76732         failed.
76734 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76736         [BZ #10563]
76737         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76738         to make the syscall.
76739         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76741         [BZ #12378]
76742         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76743         and fall back to matching as normal character if the string ends before
76744         the matching ']' is found.  This is what POSIX requires.
76745         * posix/testfnm.c: Adjust test result.
76746         * posix/globtest.sh: Adjust test result.  Add new test.
76747         * posix/tst-fnmatch.input: Likewise.
76748         * posix/tst-fnmatch2.c: Add new test.
76750 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76752         * elf/Makefile (check-execstack): Revert last change.  Depend on
76753         check-execstack.h.
76754         (check-execstack.h): New target.
76755         (generated): Add check-execstack.h.
76756         * elf/check-execstack.c: Include "check-execstack.h".
76757         (main): Revert last change.
76758         (handle_file): Return zero if GNU_STACK is absent and
76759         DEFAULT_STACK_PERMS doesn't include PF_X.
76761 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76763         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76764         in child fails because the descriptor is already closed.
76765         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76766         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76767         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76769         [BZ #12397]
76770         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76771         syscall.
76773         [BZ #10484]
76774         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76775         temporary buffer used to handle multi lookups locally.
76776         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76778 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76780         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76781         loader is ld.so.
76783 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76785         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76786         alignment for SSE2.
76788 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76790         [BZ #12394]
76791         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76792         characters.  When rounding increased number of integer digits recompute
76793         number of groups.
76794         * stdio-common/tst-grouping.c: New file.
76795         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76797 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76799         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76800         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76802         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76803         void.
76804         * bits/select.h: Likewise.
76806 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76808         * po/ja.po: Update from translation team.
76810 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76812         [BZ #11155]
76813         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76814         implementation just like for lxstat, fxstatat, et al.
76816 2010-12-27  Jim Meyering  <meyering@redhat.com>
76818         [BZ #12348]
76819         * posix/regexec.c (build_trtable): Return failure indication upon
76820         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76822 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76824         [BZ #12201]
76825         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76826         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76827         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76828         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76830         [BZ #12207]
76831         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76833         [BZ #12204]
76834         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76835         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76837 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76839         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76840         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76841         script has SORT_BY_INIT_PRIORITY.
76842         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76843         NO_CTORS_DTORS_SECTIONS is defined.
76844         * elf/soinit.c: Likewise.
76845         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76846         NO_CTORS_DTORS_SECTIONS is defined.
76847         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76848         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76849         * sysdeps/sh/init-first.c: Likewise.
76850         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76852 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76854         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76855         always use the slow path.
76857 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76859         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76860         similar rule which adds the sysdep directories to the header search in
76861         order to pick up the correct platform stackinfo.h.
76862         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76863         perform test if it is, otherwise return successfully without testing.
76864         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76865         DEFAULT_STACK_PERMS define in stackinfo.h.
76866         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76867         defined in stackinfo.h.
76868         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76869         DEFAULT_STACK_PERMS defined in stackinfo.h.
76870         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76871         * sysdeps/ia64/stackinfo.h: Likewise.
76872         * sysdeps/s390/stackinfo.h: Likewise.
76873         * sysdeps/sh/stackinfo.h: Likewise.
76874         * sysdeps/sparc/stackinfo.h: Likewise.
76875         * sysdeps/x86_64/stackinfo.h: Likewise.
76876         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76877         PF_X for powerpc64.  Retain PF_X for powerpc32.
76879 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76881         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76882         accurately.
76883         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76884         GETDENTS_64BIT_ALIGNED.
76886 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76888         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76890 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76892         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76893         _GNU_SOURCE.
76895         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76896         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76897         Remove __restrict.
76898         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76899         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76901 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76903         [BZ #11655]
76904         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76905         are initialized.
76907 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76909         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76911 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76913         * po/it.po: Update from translation team.
76915 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76917         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76918         unused codes.
76920 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76922         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76924 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76926         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76927         specially.
76928         (gaih_getanswer_slice): Likewise.
76930 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76934 2010-05-31  Petr Baudis  <pasky@suse.cz>
76936         [BZ #11149]
76937         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76938         silently even in the chroot mode.
76940 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76942         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76943         last patch a bit.  Pretty printing
76945 2010-05-31  Petr Baudis <pasky@suse.cz>
76947         [BZ #10085]
76948         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76949         initialization of skip_initgroups_dyn.
76951 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76953         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76954         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76956 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76958         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76960 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76962         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76963         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76964         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76965         ($(objpfx)tst-fnmatch-mem): New rule.
76966         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76967         * posix/tst-fnmatch.c (main): Call mtrace.
76969 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76972         Support Intel processor model 6 and model 0x2c.
76974 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76976         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76977           signed comparison.
76979 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76981         [BZ #12205]
76982         * string/test-strncasecmp.c (check_result): New function.
76983         (do_one_test): Use it.
76984         (check1): New function.
76985         (test_main): Use it.
76986         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76987         Support strcasecmp and strncasecmp.
76989 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76991         [BZ #12194]
76992         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76993         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76995 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76997         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76998         IFUNC support.
76999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77000         memset-x86-64.
77001         * sysdeps/x86_64/multiarch/bzero.S: New file.
77002         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77003         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77004         * sysdeps/x86_64/multiarch/memset.S: New file.
77005         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77007         Set bit_Prefer_SSE_for_memop for Intel processors.
77008         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77009         Define.
77010         (index_Prefer_SSE_for_memop): Define.
77011         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77013 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77015         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77016         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77018 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77020         [BZ #12191]
77021         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77022         (__x86_64_raw_data_cache_size_half): Likewise.
77023         (__x86_64_raw_shared_cache_size): Likewise.
77024         (__x86_64_raw_shared_cache_size_half): Likewise.
77026         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77027         (__x86_64_raw_data_cache_size_half): Likewise.
77028         (__x86_64_raw_shared_cache_size): Likewise.
77029         (__x86_64_raw_shared_cache_size_half): Likewise.
77030         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77031         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77032         and __x86_64_raw_shared_cache_size_half.  Round
77033         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77034         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77035         to multiple of 256 bytes.
77037 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77039         [BZ #12167]
77040         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77041         of inacessible symlinks.  Verify result of symlink before returning it.
77042         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77043         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77045 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77047         * math/math.h (isinf): Fix typo in comment.
77049 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77051         * po/da.po: Update from translation team.
77053 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77055         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77056         is added to the list.
77058 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77059             Ulrich Drepper  <drepper@gmail.com>
77061         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77062         the global list here.  Move code to...
77063         (_dl_add_to_namespace_list): ...here.  New function.
77064         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77065         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77066         * elf/dl-load.c (lose): Don't remove the element from the list.
77067         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77068         (_dl_map_object): Likewise.
77070 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77072         [BZ #12159]
77073         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77074         into all bytes of SSE register.
77075         Patch by Richard Li <richardpku@gmail.com>.
77077 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77079         [BZ #12140]
77080         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77081         perturbing.
77083 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77085         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77086         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77087         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77088         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77090         submachine.
77091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77093 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77095         * include/dlfcn.h (__RTLD_SECURE): Define.
77096         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77097         mode & __RTLD_SECURE instead.
77098         (open_path): Rename preloaded parameter to secure.
77099         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77100         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77101         * elf/dl-deps.c (openaux): Likewise.
77102         * elf/rtld.c (struct map_args): Remove is_preloaded.
77103         (map_doit): Don't use it.
77104         (dl_main): Likewise.
77105         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77106         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77108 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77110         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77111         (sysd-rules-targets): Remove duplicates.
77112         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77113         rtld-%.$o dependency.
77115 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77117         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77118         _dl_map_object do it.
77120 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77122         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77123         fast fma builtins, define the macros in the C99 standard.
77124         (FP_FAST_FMAF): Likewise.
77125         (FP_FAST_FMAL): Likewise.
77126         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77128         * bits/mathdef.h: Update copyright year.
77129         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77131 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77133         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77134         builtins, define the macros in the C99 standard.
77135         (FP_FAST_FMAF): Likewise.
77136         (FP_FAST_FMAL): Likewise.
77137         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77138         multiply/add.
77139         (FP_FAST_FMAF): Likewise.
77141 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77143         [BZ #3268]
77144         * math/libm-test.inc (fma_test): Some new testcases.
77145         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77146         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77147         y and infinite z.  Do multiplication by C already in long double.
77148         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77150         y and infinite z.  Do bitwise or of inexact bit into u.d.
77151         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77152         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77153         * sysdeps/i386/fpu/s_fma.S: Removed.
77154         * sysdeps/i386/fpu/s_fmal.S: Removed.
77156 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77158         [BZ #3268]
77159         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77161         computation is not scheduled after fetestexcept.  Fix value
77162         of minimum denormal long double.
77164 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77166         [BZ #3268]
77167         * math/libm-test.inc (fma_test): Add some more tests.
77168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77169         correctly.
77171 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77173         * scripts/data/localplt-s390-linux-gnu.data: New file.
77174         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77176 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77178         [BZ #3268]
77179         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77180         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77181         instead of dbl-64.
77182         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77183         inlines.
77184         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77186         if one of x and y is very large and the other is subnormal.
77187         * sysdeps/s390/fpu/s_fmaf.c: New file.
77188         * sysdeps/s390/fpu/s_fma.c: New file.
77189         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77190         * sysdeps/powerpc/fpu/s_fma.S: New file.
77191         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77192         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77193         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77195 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77197         [BZ #3268]
77198         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77199         fma tests.
77200         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77201         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77202         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77203         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77204         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77205         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77206         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77208 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77210         [BZ #12078]
77211         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77212         * posix/bug-regex31.input: Add test case.
77214 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77216         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77217         * posix/bug-regex31.input: New file.
77219         [BZ #12078]
77220         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77221         (parse_sub_exp): Fix last change, use postorder.
77223         * posix/bug-regex31.c: New file.
77224         * posix/Makefile: Add rules to build and run bug-regex31.
77226         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77228         [BZ #12078]
77229         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77231         [BZ #12108]
77232         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77233         to have entries in sys_siglist.
77235         [BZ #12093]
77236         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77237         be NULL.
77239 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77241         [BZ #3268]
77242         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77243         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77244         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77245         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77246         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77247         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77248         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77249         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77250         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77251         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77252         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77253         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77254         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77255         * math/ftestexcept.c (fetestexcept): Likewise.
77256         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77257         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77258         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77259         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77260         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77261         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77262         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77264 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77266         [BZ #12107]
77267         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77268         newline.
77270 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77272         * string/bug-strstr1.c: New file.
77273         * string/Makefile: Add rules to build and run bug-strstr1.
77275 2010-10-05  Eric Blake  <eblake@redhat.com>
77277         [BZ #12092]
77278         * string/str-two-way.h (two_way_long_needle): Always clear memory
77279         when skipping input due to the shift table.
77281 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77283         [BZ #12005]
77284         * malloc/mcheck.c: Handle large requests.
77286         [BZ #12077]
77287         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77288         for strncmp and strncasecmp.
77289         * string/stratcliff.c: Add tests for strcmp and strncmp.
77290         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77292 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77294         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77295         __set_fpscr.
77297 2010-09-30  Andreas Jaeger  <aj@suse.de>
77299         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77300         (CGROUP_SUPER_MAGIC): Define.
77301         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77302         Handle btrfs and cgroup file systems.
77303         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77304         Likewise.
77306 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77308         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77309         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77311 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77313         [BZ #12067]
77314         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77315         trying to locate the ELF header.
77317 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77319         [BZ #11611]
77320         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77321         Mask out sign-bit copies when constructing f_fsid.
77323 2010-09-24  Petr Baudis <pasky@suse.cz>
77325         * debug/stack_chk_fail_local.c: Add missing licence exception.
77326         * debug/warning-nop.c: Likewise.
77328 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77330         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77331         implementing getdents64 using getdents syscall, set d_type if
77332         __ASSUME_GETDENTS32_D_TYPE.
77334 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77336         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77337         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77339 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77341         [BZ #12037]
77342         * posix/unistd.h: Undo change of feature selection for ftruncate from
77343         2010-01-11.
77345 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77347         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77348         detection.
77350 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77352         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77353         fanotify_mark.
77354         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77356 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77358         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77359         variables after CHECK_SP call.
77360         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77362 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77363             Ulrich Drepper  <drepper@redhat.com>
77365         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77366         re-relocationg ld.so.
77367         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77368         _dl_init_paths call.
77369         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77370         here anymore.
77372 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77374         * resolv/res_init.c (__res_vinit): Count the default server we added.
77376 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77377             Ulrich Drepper  <drepper@redhat.com>
77379         [BZ #11968]
77380         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77381         (____longjmp_chk): Use %ebx for saving value across system call.
77382         Add unwind info.
77384 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77386         * manual/Makefile: Don't mix pattern rules with normal rules.
77388 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77390         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77391         operation.
77392         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77393         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77394         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77395         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77397         Likewise.
77399 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77401         [BZ #11979]
77402         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77403         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77405 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77407         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77408         * sysdeps/x86_64/addmul_1.S: Likewise.
77409         * sysdeps/x86_64/lshift.S: Likewise.
77410         * sysdeps/x86_64/mul_1.S: Likewise.
77411         * sysdeps/x86_64/rshift.S: Likewise.
77412         * sysdeps/x86_64/sub_n.S: Likewise.
77413         * sysdeps/x86_64/submul_1.S: Likewise.
77415 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77417         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77418         Define __sched_param instead of SCHED_* and sched_param when
77419         <bits/sched.h> is included with __need_schedparam defined.
77420         * bits/sched.h [__need_schedparam]
77421         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77422         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77423         (__defined_schedparam): Define to 1.
77424         (__sched_param): New structure, identical to sched_param.
77425         (__need_schedparam): Undefine.
77427 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77429         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77430         (epoll_create1): Declare.
77432         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77434 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77436         [BZ #7066]
77437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77438         shifting retval into place.
77440 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77442         * nis/rpcsvc/nis.h: Update copyright notice.
77443         * nis/rpcsvc/nis.x: Likewise.
77444         * nis/rpcsvc/nis_callback.h: Likewise.
77445         * nis/rpcsvc/nis_callback.x: Likewise.
77446         * nis/rpcsvc/nis_object.x: Likewise.
77447         * nis/rpcsvc/nis_tags.h: Likewise.
77448         * nis/rpcsvc/yp.h: Likewise.
77449         * nis/rpcsvc/yp.x: Likewise.
77450         * nis/rpcsvc/ypupd.h: Likewise.
77451         * nis/yp_xdr.c: Likewise.
77452         * nis/ypupdate_xdr.c: Likewise.
77454         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77455         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77456         (pmap_getport): Use __libc_rpc_getport.
77457         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77458         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77459         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77461 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77464         fanotify_mark.
77466 2010-08-27  Roland McGrath  <roland@redhat.com>
77468         * sysdeps/i386/i686/multiarch/Makefile
77469         (CFLAGS-varshift.c): New variable.
77471 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77473         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77474         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77476         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77478         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77480 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77482         * sysdeps/x86_64/strlen.S: Unroll the loop.
77483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77484         strlen-sse2 strlen-sse2-bsf.
77485         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77486         __strlen_no_bsf if bit_Slow_BSF is set.
77487         (__strlen_sse42): Removed.
77488         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77489         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77491 2010-08-25  Roland McGrath  <roland@redhat.com>
77493         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77494         * sysdeps/x86_64/multiarch/varshift.c: New file.
77495         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77496         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77497         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77498         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77500 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77502         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77503         strlen-sse2 strlen-sse2-bsf.
77504         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77505         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77506         (__strlen_sse2): Removed.
77507         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77508         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77510         bit_Slow_BSF for Atom.
77511         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77512         (index_Slow_BSF): Define.
77513         (HAS_SLOW_BSF): Define.
77515 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77517         [BZ #10851]
77518         * resolv/res_init.c (__res_vinit): When no server address at all
77519         is given default to loopback.
77521 2010-08-24  Roland McGrath  <roland@redhat.com>
77523         * configure.in: Remove config-name.h generation.
77524         * configure: Regenerated.
77525         * config-name.in: File removed.
77526         * scripts/config-uname.sh: New file.
77527         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77528         ($(objdir)config-name.h): New target.
77530         * sunrpc/rpc_parse.h: Avoid nested comment.
77532 2010-08-24  Richard Henderson  <rth@redhat.com>
77533             Ulrich Drepper  <drepper@redhat.com>
77534             H.J. Lu  <hongjiu.lu@intel.com>
77536         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77538         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77539         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77540         _mm_alignr_epi8 with _mm_loadu_si128.
77541         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77542         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77543         (__m128i_shift_right): Removed.
77544         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77545         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77546         * sysdeps/x86_64/multiarch/varshift.h: New file.
77547         * sysdeps/x86_64/multiarch/varshift.S: New file.
77549 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77551         * configure.in: Move assembler checks to before sysdep dir checking.
77553 2010-08-20  Petr Baudis  <pasky@suse.cz>
77555         * LICENSES: Sync the sunrpc license.
77557 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77559         * sunrpc/auth_des.c: Update copyright notice once again.
77560         * sunrpc/auth_none.c: Likewise.
77561         * sunrpc/auth_unix.c: Likewise.
77562         * sunrpc/authdes_prot.c: Likewise.
77563         * sunrpc/authuxprot.c: Likewise.
77564         * sunrpc/bindrsvprt.c: Likewise.
77565         * sunrpc/clnt_gen.c: Likewise.
77566         * sunrpc/clnt_perr.c: Likewise.
77567         * sunrpc/clnt_raw.c: Likewise.
77568         * sunrpc/clnt_simp.c: Likewise.
77569         * sunrpc/clnt_tcp.c: Likewise.
77570         * sunrpc/clnt_udp.c: Likewise.
77571         * sunrpc/clnt_unix.c: Likewise.
77572         * sunrpc/des_crypt.c: Likewise.
77573         * sunrpc/des_soft.c: Likewise.
77574         * sunrpc/get_myaddr.c: Likewise.
77575         * sunrpc/getrpcport.c: Likewise.
77576         * sunrpc/key_call.c: Likewise.
77577         * sunrpc/key_prot.c: Likewise.
77578         * sunrpc/openchild.c: Likewise.
77579         * sunrpc/pm_getmaps.c: Likewise.
77580         * sunrpc/pm_getport.c: Likewise.
77581         * sunrpc/pmap_clnt.c: Likewise.
77582         * sunrpc/pmap_prot.c: Likewise.
77583         * sunrpc/pmap_prot2.c: Likewise.
77584         * sunrpc/pmap_rmt.c: Likewise.
77585         * sunrpc/rpc/auth.h: Likewise.
77586         * sunrpc/rpc/auth_unix.h: Likewise.
77587         * sunrpc/rpc/clnt.h: Likewise.
77588         * sunrpc/rpc/des_crypt.h: Likewise.
77589         * sunrpc/rpc/key_prot.h: Likewise.
77590         * sunrpc/rpc/netdb.h: Likewise.
77591         * sunrpc/rpc/pmap_clnt.h: Likewise.
77592         * sunrpc/rpc/pmap_prot.h: Likewise.
77593         * sunrpc/rpc/pmap_rmt.h: Likewise.
77594         * sunrpc/rpc/rpc.h: Likewise.
77595         * sunrpc/rpc/rpc_des.h: Likewise.
77596         * sunrpc/rpc/rpc_msg.h: Likewise.
77597         * sunrpc/rpc/svc.h: Likewise.
77598         * sunrpc/rpc/svc_auth.h: Likewise.
77599         * sunrpc/rpc/types.h: Likewise.
77600         * sunrpc/rpc/xdr.h: Likewise.
77601         * sunrpc/rpc_clntout.c: Likewise.
77602         * sunrpc/rpc_cmsg.c: Likewise.
77603         * sunrpc/rpc_common.c: Likewise.
77604         * sunrpc/rpc_cout.c: Likewise.
77605         * sunrpc/rpc_dtable.c: Likewise.
77606         * sunrpc/rpc_hout.c: Likewise.
77607         * sunrpc/rpc_main.c: Likewise.
77608         * sunrpc/rpc_parse.c: Likewise.
77609         * sunrpc/rpc_parse.h: Likewise.
77610         * sunrpc/rpc_prot.c: Likewise.
77611         * sunrpc/rpc_sample.c: Likewise.
77612         * sunrpc/rpc_scan.c: Likewise.
77613         * sunrpc/rpc_scan.h: Likewise.
77614         * sunrpc/rpc_svcout.c: Likewise.
77615         * sunrpc/rpc_tblout.c: Likewise.
77616         * sunrpc/rpc_util.c: Likewise.
77617         * sunrpc/rpc_util.h: Likewise.
77618         * sunrpc/rpcinfo.c: Likewise.
77619         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77620         * sunrpc/rpcsvc/key_prot.x: Likewise.
77621         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77622         * sunrpc/rpcsvc/mount.x: Likewise.
77623         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77624         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77625         * sunrpc/rpcsvc/rex.x: Likewise.
77626         * sunrpc/rpcsvc/rstat.x: Likewise.
77627         * sunrpc/rpcsvc/rusers.x: Likewise.
77628         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77629         * sunrpc/rpcsvc/spray.x: Likewise.
77630         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77631         * sunrpc/rtime.c: Likewise.
77632         * sunrpc/svc.c: Likewise.
77633         * sunrpc/svc_auth.c: Likewise.
77634         * sunrpc/svc_authux.c: Likewise.
77635         * sunrpc/svc_raw.c: Likewise.
77636         * sunrpc/svc_run.c: Likewise.
77637         * sunrpc/svc_simple.c: Likewise.
77638         * sunrpc/svc_tcp.c: Likewise.
77639         * sunrpc/svc_udp.c: Likewise.
77640         * sunrpc/svc_unix.c: Likewise.
77641         * sunrpc/svcauth_des.c: Likewise.
77642         * sunrpc/xcrypt.c: Likewise.
77643         * sunrpc/xdr.c: Likewise.
77644         * sunrpc/xdr_array.c: Likewise.
77645         * sunrpc/xdr_float.c: Likewise.
77646         * sunrpc/xdr_mem.c: Likewise.
77647         * sunrpc/xdr_rec.c: Likewise.
77648         * sunrpc/xdr_ref.c: Likewise.
77649         * sunrpc/xdr_sizeof.c: Likewise.
77650         * sunrpc/xdr_stdio.c: Likewise.
77652         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77653         handling.
77655 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77657         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77659 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77661         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77662         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77663         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77664         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77665         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77666         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77667         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77668         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77669         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77670         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77671         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77672         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77673         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77674         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77676 2010-07-26  Anton Blanchard  <anton@samba.org>
77678         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77679         * malloc/arena.c (heap_trim): Likewise.
77681 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77683         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77684         here.  Not...
77685         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77686         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77688 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77690         * sysdeps/i386/elf/Makefile: New file.
77692 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77694         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77695         from fanotify_init.
77696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77697         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77699 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77701         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77702         of strncasecmp_l.
77703         * sysdeps/multiarch/strcmp.S: Likewise.
77705 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77707         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77708         strncase_l-nonascii.
77709         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77710         Add strncase_l-ssse3.
77711         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77712         * sysdeps/x86_64/strcmp.S: Likewise.
77713         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77714         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77715         * sysdeps/x86_64/strncase.S: New file.
77716         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77717         * sysdeps/x86_64/strncase_l.S: New file.
77718         * string/Makefile (strop-tests): Add strncasecmp.
77719         * string/test-strncasecmp.c: New file.
77721         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77722         warning.
77724         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77725         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77727 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77729         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77731 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77733         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77734         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77735         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77737 2010-05-01  Alan Modra  <amodra@gmail.com>
77739         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77740         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77741         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77742         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77743         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77744         tidying.  Don't tail-call __sigjmp_save for static lib.
77745         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77746         save location.
77747         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77748         (CALL_MCOUNT): Add eh info, and nop after bl.
77749         (TAIL_CALL_SYSCALL_ERROR): New macro.
77750         (PSEUDO_RET): Use it.
77751         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77752         Correct save location of integer regs and cr.
77753         (_dl_profile_resolve): Correct cr save location.  Delete nops
77754         after bl when SHARED.  Reduce cfi size a little by better
77755         placement of cfi directives.
77756         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77757         make a stack frame.  Instead use parm save area as a temp.
77758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77759         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77761         Don't make a stack frame for parent, use parm save area.
77762         Increase child stack frame to 112 bytes.  Don't save unused reg,
77763         and adjust reg usage.  Set up cfi on error recovery and
77764         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77766         (__makecontext): Add dummy nop after jump to exit.
77767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77768         Use correct parm save area and cr save, reduce stack frame.
77769         Correct cfi for possible PSEUDO_RET frame setup.
77770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77771         Branch to local label emitted by PSEUDO_RET rather than
77772         __syscall_error.
77774 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77776         [BZ #11904]
77777         * locale/programs/locale.c (print_assignment): New function.
77778         (show_locale_vars): Use it.
77780 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77782         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77783         field.
77784         (struct statfs64): Likewise.
77785         (_STATFS_F_FLAGS): Define.
77786         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77787         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77788         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77789         (ST_VALID): Define locally.
77790         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77791         __statvfs_getflags, use the provided value.
77792         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77793         __ASSUME_STATFS_F_FLAGS.
77795         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77797         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77798         Add sys/fanotify.h.
77799         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77800         fanotify_mask for GLIBC_2.13.
77801         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77802         fanotify_init and fanotify_mark.
77803         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77804         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77806         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77807         Add prlimit.
77808         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77809         prlimit64 for GLIBC_2.13.
77810         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77811         prlimit64.
77812         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77813         syscall.
77814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77815         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77816         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77817         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77818         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77819         add prlimit alias.
77820         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77822         [BZ #11903]
77823         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77824         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77826         * nss/Makefile: Add rules to build and run tst-nss-test1.
77827         * shlib-versions: Add entry for libnss_test1.
77828         * nss/nss_test1.c: New file.
77829         * nss/tst-nss-test1.c: New file.
77831         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77832         (__nss_configure_lookup): Set appropriate entry in
77833         __nss_configure_lookup to true.
77834         * nss/nsswitch.h: Define enum with indeces of databases in
77835         databases and __nss_database_custom arrays.  Declare
77836         __nss_database_custom.
77837         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77838         to avoid using nscd when custom rules are installed.
77839         * nss/getXXbyYY_r.c: Likewise.
77840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77842         * nss/nss_files/files-parse.c: Whitespace fixes.
77844 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77846         [BZ #11883]
77847         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77848         * posix/fnmatch_loop.c: Likewise.
77850 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77852         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77853         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77854         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77855         * Versions.def [GLIBC_2.13]: Add.
77857 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77859         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77860         Also fail if tpwd after pwuid call is NULL.
77862 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77864         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77865         when converting to ms.
77867 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77869         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77870         EOPNOTSUPP errors with ENOTTY.
77871         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77872         EOPNOTSUPP errors with ENOTTY.
77874 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77876         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77877         Add strcasecmp_l-ssse3.
77878         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77879         strcasecmp.
77880         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77881         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77882         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77884 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77886         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77888         * string/Makefile (strop-tests): Add strcasecmp.
77889         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77890         strcasecmp_l-nonascii.
77891         (gen-as-const-headers): Add locale-defines.sym.
77892         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77893         * sysdeps/x86_64/strcasecmp.S: New file.
77894         * sysdeps/x86_64/strcasecmp_l.S: New file.
77895         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77896         * sysdeps/x86_64/locale-defines.sym: New file.
77897         * string/test-strcasecmp.c: New file.
77899         * string/test-strcasestr.c: Test both ends of the range of characters.
77900         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77902 2010-07-29  Roland McGrath  <roland@redhat.com>
77904         [BZ #11856]
77905         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77907 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77909         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77910         for ld.so.
77912 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77914         * manual/memory.texi (Malloc Tunable Parameters): Document
77915         M_PERTURB.
77917 2010-07-26  Roland McGrath  <roland@redhat.com>
77919         [BZ #11840]
77920         * configure.in (-fgnu89-inline check): Set and substitute
77921         gnu89_inline, not libc_cv_gnu89_inline.
77922         * configure: Regenerated.
77923         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77925 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77927         * string/test-strnlen.c: New file.
77928         * string/Makefile (strop-tests): Add strnlen.
77929         * string/tester.c (test_strnlen): Add a few more test cases.
77930         * string/tst-strlen.c: Better error reporting.
77932         * sysdeps/x86_64/strnlen.S: New file.
77934 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77936         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77937         lower-latency instructions.
77939 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77941         * string/test-strcasestr.c: New file.
77942         * string/test-strstr.c: New file.
77943         * string/Makefile (strop-tests): Add strstr and strcasestr.
77944         * string/str-two-way.h: Don't undefine MAX.
77945         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77947 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77950         strcasestr-nonascii.
77951         (CFLAGS-strcasestr-nonascii.c): Define.
77952         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77953         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77954         Remove unused attribute.
77956 2010-07-20  Roland McGrath  <roland@redhat.com>
77958         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77959         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77960         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77961         like LD_HWCAP_MASK can disable hwcaps.
77963 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77965         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77967 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77969         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77970         call in strcasestr.
77971         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77972         __strcasestr_sse42_nonascii.
77973         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77974         strcasestr-nonascii.c.
77975         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77977 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77979         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77980         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77981         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77982         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77984 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77986         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77987         fcntl.
77989 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77991         [BZ #11577]
77992         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77993         dl_signal_cerror.
77995 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77997         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77998         _PC_PIPE_BUF using F_GETPIPE_SZ.
78000 2010-07-05  Roland McGrath  <roland@redhat.com>
78002         * manual/arith.texi (Rounding Functions): Fix rint description
78003         implicit in round description.
78005 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78007         * elf/Makefile: Fix linking for a few tests to make recent linker
78008         happy.
78010 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78012         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78013         $(common-objpfx)libc_nonshared.a.
78015 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78017         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78018         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78019         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78020         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78021         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78022         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78023         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78024         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78039         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78040         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78041         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78042         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78043         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78044         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78045         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78046         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78047         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78048         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78049         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78050         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78066 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78068         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78069         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78070         * string/memmove.c (memmove): Renamed to ...
78071         (MEMMOVE): ...this.  Default to memmove.
78072         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78073         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78074         (END_CHK): Define.
78075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78076         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78077         mempcpy-ssse3-back memmove-ssse3-back.
78078         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78079         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78080         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78081         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78082         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78083         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78084         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78085         * sysdeps/x86_64/multiarch/memmove.c: New file.
78086         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78087         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78088         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78089         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78090         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78091         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78092         Define.
78093         (index_Fast_Copy_Backward): Define.
78094         (HAS_ARCH_FEATURE): Define.
78095         (HAS_FAST_REP_STRING): Define.
78096         (HAS_FAST_COPY_BACKWARD): Define.
78098 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78100         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78101         Restore proper fallback handling.
78103 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78105         [BZ #11701]
78106         * posix/group_member.c (__group_member): Correct checking loop.
78108         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78109         OOM in getpwuid_r correctly.  Return error number when the caller
78110         should return, otherwise -1.
78111         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78112         call returning > 0 value.
78113         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78115 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78117         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78118         libc_nonshared.a from targets in modules-names.
78120 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78122         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78123         requires it.
78125 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78127         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78128         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78129         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78130         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78132 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78134         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78136 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78138         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78139         and F_GETPIPE_SZ.
78140         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78141         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78142         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78143         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78144         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78145         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78147 2010-06-14  Roland McGrath  <roland@redhat.com>
78149         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78151 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78153         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78154         __REDIRECT followed by __THROW.
78155         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78156         * posix/getopt.h (getopt): Likewise.
78158 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78160         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78161         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78162         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78163         in AT_FLAGS.
78164         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78165         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78167 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78169         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78171 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78173         [BZ #11640]
78174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78175         Properly check family and model.
78177 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78179         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78181 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78183         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78185 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78187         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78188         symbol reference.
78190 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78192         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78193         symbol reference.
78195 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78197         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78198         and internal_recvmmsg.
78199         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78200         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78201         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78202         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78204         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78205         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78206         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78208 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78210         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78212 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78214         POWER7 optimizations.
78215         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78216         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78218 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78220         * version.h: Update for 2.13 development version.
78222 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78224         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78225         exceptions.  Return 0.
78227 2010-05-07  Roland McGrath  <roland@redhat.com>
78229         * elf/ldconfig.c (main): Add a const.
78231 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78233         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78234         (args_options): Add no-idn option.
78235         (ahosts_keys_int): Add idn_flags to ai_flags.
78236         (parse_option): Handle 'i' option to clear idn_flags.
78238         * malloc/malloc.c (_int_free): Possible race in the most recently
78239         added check.  Only act on the data if no current modification
78240         happened.
78242 See ChangeLog.17 for earlier changes.